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.NestedSQLException:
--- 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.ProduceDocumentAction >
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.NestedSQLException:
--- 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.NestedSQLException:
--- 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