Thread: JDBC-ODBC Bridge usage
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 to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com |
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@digitalfairway.com Baruk Khazad! Khazad ai-menu! --------------------------------------------------------------