pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JDBC-ODBC Bridge usage
2+ messages / 2 participants
[nested] [flat]

* JDBC-ODBC Bridge usage
@ 2005-12-16 10:54 jyoti.kulkarni@wipro.com
  2005-12-16 14:03 ` Re: JDBC-ODBC Bridge usage Jan de Visser <jdevisser@digitalfairway.com>
  0 siblings, 1 reply; 2+ messages in thread

From: jyoti.kulkarni@wipro.com @ 2005-12-16 10:54 UTC (permalink / raw)
  To: 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: JDBC-ODBC Bridge usage
  2005-12-16 10:54 JDBC-ODBC Bridge usage jyoti.kulkarni@wipro.com
@ 2005-12-16 14:03 ` Jan de Visser <jdevisser@digitalfairway.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jan de Visser @ 2005-12-16 14:03 UTC (permalink / raw)
  To: pgsql-jdbc

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!
--------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-12-16 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-16 10:54 JDBC-ODBC Bridge usage jyoti.kulkarni@wipro.com
2005-12-16 14:03 ` Jan de Visser <jdevisser@digitalfairway.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox