COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0805N
Package
"NULLID.SYSSH200 0X5359534C564C3031" was not found. SQLSTATE=51002
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Un
known Source)
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Un
known Source)
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(Unk
nown Source)
at COM.ibm.db2.jdbc.app.DB2Statement.execute2(Unknown Source)
at COM.ibm.db2.jdbc.app.DB2Statement.executeQuery(Unknown
Source)
Can any help this out?
Thanks
--
John Wu
Toronto
Try binding the CLI packages against your database from the client
machine. You can do this with the Configuration Assistant. Choose
your database, and then go to "Selected...Bind"
Good luck,
ian
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
connection.prepareStatement(selectsql,ResultSet.TYPE_SCROLL_SENSITIVE
,ResultSet.CONCUR_UPDATABLE );
it said
java.sql.SQLException: [IBM][JDBC Driver] CLI0626E Updatable result
set is
not supported in this version of DB2 JDBC 2.0 driver.
at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwNotSupportedByDB
2(Unknown Source)
at COM.ibm.db2.jdbc.net.DB2Statement.checkResultSetType(Unknown
Sou
rce)
at COM.ibm.db2.jdbc.net.DB2PreparedStatement.<init>(Unknown
Source)
at COM.ibm.db2.jdbc.net.DB2Connection.prepareStatement(Unknown
Sour
ce)
What db2-driver support this?
Thanks again
--
John
Toronto
are you using JDBC type 2 drivers ?
marcos oliva
--
Posted via http://dbforums.com
I've tried type2 COM.ibm.db2.jdbc.app.DB2Driver
and type 3 COM.ibm.db2.jdbc.net.DB2Driver
running in the same machine which installed db2 8 for windows. but the
result is same it seemed these two driver didn't support
preparestatement.
--
John Wu
Toronto
Please see the "Programming in Java" section in the Application
Development Guide.
--
Larry Menard
IBM Workstation Database (DB2) Performance Team
Defender of Geese and of All Things Natural
"John" <joh...@yorku.ca> wrote in message
news:1673c1fd.03021...@posting.google.com...