Home > Archive > PostgreSQL JDBC > December 2005 > JDBC-ODBC Bridge usage









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author JDBC-ODBC Bridge usage
jyoti.kulkarni@wipro.com

2005-12-16, 7:23 am


Hi,

Am trying to user JDBC-ODBC Bridge to connect to ORACLE database.
Client in on one Linux m/c and DB on another (network). To use the
Bridge, itseems the client m/c needs to be configured. Specifically Data
Source Name needs to be created. I don't know how to do this in Linux.

Since I am using JDBC-ODBC brigde, my url would look like String url =
"jdbc:odbc://<ip address of db>:port/db inst name"; The "db inst name"
would be Data Source Name, this should be available on Client machine
itseems (somewhere in .odbcinit.ini file).

I created this file (this has details about the DB server) and populated
it in my home directory. Now the question is how will the Driver Manager
(in client code), read this file and communicate with the DB server.

Please let me know how to progress from here.

Thanks,
Jyoti







The information contained in this electronic message and any attachments tothis message are intended for the exclusive use of the addressee(s) andmay contain proprietary, confidential or privileged information. If youare not the intended recipient, you should not disseminate, distribute orcopy this e-mail. Please notify the sender immediately and destroy allcopies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipientshould check this email and any attachments for the presence of viruses.The company accepts no liability for any damage caused by any virustransmitted by this email.

www.wipro.com
Jan de Visser

2005-12-16, 9:23 am

On Friday 16 December 2005 05:54, jyoti.kulkarni@wipro.com wrote:
> Am trying to user JDBC-ODBC Bridge to connect to ORACLE database.


1. This is a postgresql-jdbc list. We don't know much about ODBC.
2. Why don't you use oracle's JDBC driver? It's quite capable :)

JdV!!

--
--------------------------------------------------------------
Jan de Visser Â_ Â_ Â_ Â_ Â_ Â_ Â_ Â_ Â_ Â_ jdevisser@digitalfai
rway.com

Â_ Â_ Â_ Â_ Â_ Â_ Â_ Â_ Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com