* Java jdbc/odbc & Linux / Alpha
@ 2000-11-05 5:00 Mohan Vaghul
2000-11-06 5:00 ` Ulrich.Teichert
0 siblings, 1 reply; 2+ messages in thread
From: Mohan Vaghul @ 2000-11-05 5:00 UTC (permalink / raw)
Hi,
I would like information on how to get a java application that uses
jdbc/odbc to interface with Postgres db on a linux machine. Specifically, I
have a java application that uses jdbc/odbc to interface with MS access. I
would like the same app to use the Postgres db on my linux/alpha machine.
How can I configure the postgres, jdbc, and odbc on my linux machine to
enable the java application to access it? Any links, or pointers would be
appreciated.
I have the postgres db working fine on my machine, I am not sure what
components I need to get the ODBC/JDBC working.
Mohan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Java jdbc/odbc & Linux / Alpha
2000-11-05 5:00 Java jdbc/odbc & Linux / Alpha Mohan Vaghul
@ 2000-11-06 5:00 ` Ulrich.Teichert
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich.Teichert @ 2000-11-06 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]
In <w1hN5.4535$pe3.672681@dfiatx1-snr1.gtei.net> "Mohan Vaghul" <mohan.vaghul@gte.net> writes:
>Hi,
Hi!
>I would like information on how to get a java application that uses
>jdbc/odbc to interface with Postgres db on a linux machine.
Then why do you post to comp.os.linux.alpha? A better group would be
comp.lang.java.databases, or comp.databases.postgresql.general/admin.
>Specifically, I
>have a java application that uses jdbc/odbc to interface with MS access.
The JDBC/ODBC brigde driver for Access, right?
>I would like the same app to use the Postgres db on my linux/alpha machine.
>How can I configure the postgres, jdbc, and odbc on my linux machine to
>enable the java application to access it? Any links, or pointers would be
>appreciated.
The above USENET groups, or the fine docs to postgres 7.0.2.
>I have the postgres db working fine on my machine, I am not sure what
>components I need to get the ODBC/JDBC working.
OK, you only need the JDBC-jar file, postgres.jar, to be in your CLASSPATH
on your client machine, to get a connection. Of course, you have to
change the JDBC-URL. Be aware that there is a bug in both JDBC drivers
(1.1.x, 1.2) wrt to selects with BLOBS. I've mailed a patch to the
postgres patch mailing list, but got no response at all.
BTW: This all will be to no avail if you've used non-standard SQL-statments
in your application, which wouldn't surprise me, as Access (aka �chz
in Germany ;-) is totally non-standard. And in their inifinite
wisdom, the designers of JDBC coose NOT to hide these details...
HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24 |listening to: Paralysed (The Sewergrooves),
24539 Neumuenster, Germany|Cheap Excitement (Stratford Mercenaries)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-06 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-05 5:00 Java jdbc/odbc & Linux / Alpha Mohan Vaghul
2000-11-06 5:00 ` Ulrich.Teichert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox