lives
May 11th, 2000, 09:04 AM
hi
can i connect to a db2 databse with the help of jdbcodbcdriver.or do u i have to go in for specialised driver for db2???
kib63613
May 11th, 2000, 11:21 PM
I have find the jdbc driver for db2 in the book, XML and Java Developing Web Application. It use
the jdbc driver, Com.ibm.db2.jdbc.app.DB2Driver , for the JDBC application in the book. It has the
url : http://www.software.ibm.com/data/db2/java . You may visit to there for that driver.
I am not sure if the driver does exist there. If no, you may contact IBM.
The jdbc-odbc brigde is used to connect to the database which provide the ODBC interface for
application to access data in the database. I do not know if the db2 provide ODBC interface, But
it seem not to connect to the data in such a way, jdbc-odbc-db2odbc-db2. It seems to lose the
performace of accessing database. Since the DB2 database have has the JDBC driver.
good luck,
Alfred Wu