RE: v8, v9 and java

RE: v8, v9 and java

 

  

Ahh,

Thats the key. You have to use a "pure" type 4 driver and not go through
any v8 catalogs or code.






"George I. Develekos "
<db2udbdba-ezmlmshield-x93049900.[Email address protected]
05/31/2007 03:16 AM

To
"LazyDBA Discussion" <[Email address protected]
cc

Subject
RE: v8, v9 and java






It's 1.4.2

Let me clarify that the database is accessed through v8 (cataloging and
so forth).

I'll try using the Type 4 URI scheme and see what happens (so the
database is accessed directly on the machine where it resides)

George I. Develekos


-----Original Message-----
From: DANIEL CALLAHAN
[mailto:db2udbdba-ezmlmshield-x48630418.[Email address protected]
Sent: ÐÝìðôç, 31 ÌáÀïõ 2007 12:57 ðì
To: LazyDBA Discussion
Subject: Re: v8, v9 and java

what is the sdk level on the v8 machine? This should work.






"George Develekos "
<db2udbdba-ezmlmshield-x96393474.[Email address protected]
05/30/2007 05:06 PM

To
"LazyDBA Discussion" <[Email address protected]
cc

Subject
Re: v8, v9 and java






Hi Daniel,

This is the code I use

db2ds = new DB2ConnectionPoolDataSource();
db2ds.setDatabaseName(dbname);
db2ds.setDescription("Our little RITOR Database");
db2ds.setUser("username");
db2ds.setPassword("password");

...and dbname is provided as "myDbName", not jdbc:db2:myDbName, or the
other notation:

db2://myHostname:myPort/myDbName




---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html




---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html



DB2 & UDB email list listserv db2-l LazyDBA home page