v8, v9 and java

v8, v9 and java

 

  

I'm running java code on host-b, which has db2 v8 installed

The code accesses a database that's on host-a, which has db2 v9
installed

(host-a is windows, host-b is AIX)

The database is properly cataloged, no problem there

BUT: The code makes use of v9's xml/xquery features, which didn't exist
in v8

The problem is that, while I can successfully run simple SQL queries
with JDBC, I can't run XQUERY-type queries (they don't bomb, they just
return nothing)

I have transferred db2jcc.jar, db2java.zip and db2jcc_license_cu.jar
from host-a to host-b and run the command like this:

Java -cp ./db2jcc.jar:./db2jcc_license_cu.jar:./db2java.zip <classname>

.but nothing changed.

Is what I'm trying possible, to begin with?

Thanks for reading!


George I. Develekos


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