If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > ibatis - db2 problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-07, 12:19
danielbenedykt danielbenedykt is offline
Registered User
 
Join Date: Nov 2007
Posts: 1
ibatis - db2 problem

Hi

I currently have a problem with an Ibatis-db2 call.
Basically if I call a store procedure that returns a Date fields, I get an error. (If it doesn't have a Date fields, it works fine)

Here is the trace:

[Nov15 17:52:44] [ExecuteThread: '24' for queue:
'weblogic.kernel.Default'] ERROR
com.bdoc.mtier.xmlgenerator.base.DataListDao > Error DataList Dao :
SqlMapClient operation; uncategorized SQLException for SQL []; SQL state
[HY000]; error code [0]; --- The error occurred in configxml/sqlconfig/xmlDAO.xml. --- The error occurred while applying a result map. --- Check the ATUPSTAT-AutoResultMap. --- Check the result mapping for the 'D_REQST' property. --- Cause: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLExceptio n: --- The error occurred in configxml/sqlconfig/xmlDAO.xml. --- The error occurred while applying a result map. --- Check the ATUPSTAT-AutoResultMap. --- Check the result mapping for the 'D_REQST' property. --- Cause: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data
[Nov15 17:52:44] [ExecuteThread: '24' for queue:
'weblogic.kernel.Default'] ERROR
com.bdoc.web.presentation.actions.templates.Produc eDocumentAction >
Error while generating xml datastream
org.springframework.jdbc.UncategorizedSQLException : SqlMapClient
operation; uncategorized SQLException for SQL []; SQL state [HY000];
error code [0]; --- The error occurred in configxml/sqlconfig/xmlDAO.xml. --- The error occurred while applying a result map. --- Check the ATUPSTAT-AutoResultMap. --- Check the result mapping for the 'D_REQST' property. --- Cause: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data; nested exception is
com.ibatis.common.jdbc.exception.NestedSQLExceptio n: --- The error occurred in configxml/sqlconfig/xmlDAO.xml. --- The error occurred while applying a result map. --- Check the ATUPSTAT-AutoResultMap. --- Check the result mapping for the 'D_REQST' property. --- Cause: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data
com.ibatis.common.jdbc.exception.NestedSQLExceptio n: --- The error occurred in configxml/sqlconfig/xmlDAO.xml. --- The error occurred while applying a result map. --- Check the ATUPSTAT-AutoResultMap. --- Check the result mapping for the 'D_REQST' property. --- Cause: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data
Caused by: java.sql.SQLException: [BEA][DB2 JDBC Driver]Transliteration
failed, reason: invalid UTF8 data

Versions:
Db2 8.1
WebLogic 8.1 SP6
Ibatis 2.1.7.597
JDK 1.4.2

Thanks

Daniel
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On