This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes SQLCODE : -99999 JdbcType 0 is not yet Supported Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQLCODE : -99999 JdbcType 0 is not yet Supported" Watch "SQLCODE : -99999 JdbcType 0 is not yet Supported" New topic
Author

SQLCODE : -99999 JdbcType 0 is not yet Supported

Kartik Patel
Ranch Hand

Joined: Sep 12, 2005
Posts: 73
Hi
I am trying to execute insert statement on IBM DB2 using Java. insert is working for all other tables in same datasource but for one specific table its giving following error.

Sep 20 14:08:02.957 Notice Got SqlException: SQL CODE = -99999 SQL STATE = null
Sep 20 14:08:02.995 Notice Got SqlException: SQL CODE = -99999 SQL STATE = null
Sep 20 14:08:03.000 Info Exception detected at tcdbArchiveFlow2.StoreExchTRSideTable : com.msdw.appmw.jxb.broker.JXBDBException:
Caused by: msjava.tools.db.MSDBSQLException: SQLException while using database connection: ets
com.ibm.db2.jcc.a.SqlException: Jdbc type 0 not yet supported.

Caused by: com.ibm.db2.jcc.a.SqlException: Jdbc type 0 not yet supported.

I am not sure about this.
Can anyone please reply to this ASAP?


Chop your own wood, and it will warm you twice. - Henry Ford
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Can you post the code that causes this exception?

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
Don't get me started about those stupid light bulbs.
 
subject: SQLCODE : -99999 JdbcType 0 is not yet Supported
 
Similar Threads
Db2 v8.0 Type 4 driver with Websphere
DB2DBException on insert
Hibernate3.0 with DB2 8.1.3UDB - org.hibernate.exception. SQLGrammarException
Error during large batch insertion for preparedstatement (395 parameters)
DB2 Insert Problem - Invalid Table State