JDBC-ODBC Bridge usage

Поиск
Список
Период
Сортировка
От
Тема JDBC-ODBC Bridge usage
Дата
Msg-id DC91351678E31E4FB24B551221F507EC0334FFF3@blr-itp-msg.wipro.com
обсуждение исходный текст
Ответы Re: JDBC-ODBC Bridge usage  (Jan de Visser <jdevisser@digitalfairway.com>)
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Simon Moses
Дата:
Сообщение: setting & using connection pool in beans for tomcat.
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: setting & using connection pool in beans for tomcat.