Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > Instance choice...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 8874 of 9053
Post > Topic >>

Instance choice in JDBC url connection

by "Stefano Gibellini" <stefano.gibellini@[EMAIL PROTECTED] > May 10, 2008 at 10:42 AM

Hello all,

I'm using DB2 UDB 7.2 on a Linux server and I've installed the DB2
client on my Windows 2000 machine. I've defined on my client two
instances, one for test databases and one for production databases
and I've cataloged the same database (of course with the same name)
in both instances (these instances and databases have correspondents
on the server). I'm using for my Java tests the application driver
"COM.ibm.db2.jdbc.app.DB2Driver" (JDBC version 2.0) and all goes
well. My problem is I would like defining in the connection url the
instance where is located the database, avoiding the modification
of the environment variable DB2INSTANCE. Is there some property I
can specify in the url that defines the instance to use?

Thanks in advance for any reply.
Stefano Gibellini




 2 Posts in Topic:
Instance choice in JDBC url connection
"Stefano Gibellini&q  2008-05-10 10:42:05 
Re: Instance choice in JDBC url connection
"Marcin 'frodo2000'   2008-05-16 00:43:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 18:37:21 CDT 2008.