cannot use JDBC2.0 
Author Message
 cannot use JDBC2.0

Hi there,

I want to use jdbc2.0 features , but when i try to use some of jdbc2.0
methods (for example creating scrollable result set) I get folowing
exception:
java.sql.SQLException: [IBM][JDBC Driver] CLI0625E  You specified JDBC
1.22 behavior; cannot use JDBC 2.0 functions.

Documentation states that I should not set JDBCVERSION or set it
to "200" to use jdbc2.0 features. I tried both alternatives, no change.
I use DB2 7 WE for Windows and COM.ibm.db2.jdbc.net.DB2Driver driver
class . Can someone help me? Thanks

Andy

Sent via Deja.com
http://www.***.com/



Sat, 05 Jul 2003 19:52:13 GMT
 cannot use JDBC2.0

Andy,
I've never heard of that way to set JDBCVERSION (but I seldomly read
manuals). What I do is:
db2stop
cd c:\sqllib\java12
jdbc20.exe  // this extracts the JDBC driver
usejdbc2.bat // this changes the libraries and class files from JDBC 1.22 to
JDBC 2.0. You have to close
                    // all apps that hold the DB2 libraries (e.g. all DB2
services and more)
db2start

Hope this helps, Dirk

Quote:

> Hi there,

> I want to use jdbc2.0 features , but when i try to use some of jdbc2.0
> methods (for example creating scrollable result set) I get folowing
> exception:
> java.sql.SQLException: [IBM][JDBC Driver] CLI0625E  You specified JDBC
> 1.22 behavior; cannot use JDBC 2.0 functions.

> Documentation states that I should not set JDBCVERSION or set it
> to "200" to use jdbc2.0 features. I tried both alternatives, no change.
> I use DB2 7 WE for Windows and COM.ibm.db2.jdbc.net.DB2Driver driver
> class . Can someone help me? Thanks

> Andy

> Sent via Deja.com
> http://www.deja.com/



Sun, 06 Jul 2003 03:46:14 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. pgsql/src/interfaces/jdbc/org/postgresql jdbc2 ...

2. pgsql/src/interfaces/jdbc/org/postgresql/test/jdbc2/optional

3. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/optional

4. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

5. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

6. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

7. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

8. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

9. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

10. pgsql/src/interfaces/jdbc/org/postgresql jdbc2 ...

11. pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

12. pgsql/src/interfaces/jdbc/org/postgresql jdbc2 ...


 
Powered by phpBB® Forum Software