From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,f21990649e4b3bd5 X-Google-Attributes: gid111c93,public From: Ulrich.Teichert@gmx.de Subject: Re: Java jdbc/odbc & Linux / Alpha Date: 2000/11/06 Message-ID: #1/1 X-Deja-AN: 690416512 References: X-Complaints-To: abuse@netsurf.de X-Trace: broadway.news.is-europe.net 973542960 14485 195.179.179.57 (6 Nov 2000 20:36:00 GMT) Organization: private Linux leaf site Reply-To: Ulrich.Teichert@gmx.de NNTP-Posting-Date: 6 Nov 2000 20:36:00 GMT Newsgroups: comp.os.linux.alpha In "Mohan Vaghul" 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)