VAJ DB2 JDBC Drivers
2 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, May 24, 2001 07:09 AM

Working in VAJ 3.5 and developping applications, I am connecting to DB2 via a gateway, therefore I use the
driver COM.ibm.db2.jdbc.net.DB2Driver
my database URL is in the form jdbc:db2://JDBCGW: / .
This works fine in VAJ.
But if I was not to use the gateway, my driver would be COM.ibm.db2.jdbc.app.DB2Driver and the URL jdbc:db2: but this doesn't work (although it does when using java in the prompt). Is the driver causing this?

Re: VAJ DB2 JDBC Drivers

Posted By:   Sampath_Kumar  
Posted On:   Wednesday, August 29, 2001 03:10 AM

If you want to use COM.ibm.db2.jdbc.app.DB2Driver, you should have installed UDB in ur local m/c.
Net drivers are used to connect to a DB when database is not in local.

Re: VAJ DB2 JDBC Drivers

Posted By:   kavitha_gudi  
Posted On:   Wednesday, June 13, 2001 01:48 PM

I think driver is causing problem. DBA has to set the environment variables for COM.ibm.db2.jdbc.app.DB2Driver .

We also faced the same kind of problem.
Our app works with COM.ibm.db2.jdbc.app.DB2Driver but not with COM.ibm.db2.jdbc.net.DB2Driver.
Our DBA told us that they do not allow and activate COM.ibm.db2.jdbc.net.DB2Driver . Based on this I think something is related with driver setup.
About | Sitemap | Contact