File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 2497
    
    8

Can you post the code that causes this exception?

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
wood burning stoves
 
subject: SQLCODE : -99999 JdbcType 0 is not yet Supported