ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Wille <m...@phatness.com>
Subject How to examine AutoResultMap?
Date Wed, 30 Aug 2006 21:08:14 GMT

I'm a new user to iBATIS and find it a very nice tool.  Thanks guys!

One of the difficulties I am experiencing with iBATIS is diagnosing what 
I did to cause an AutoResultMap to fail.  As I try and retrofit our code 
to work with iBATIS I'm routinely seeing an error like this:

org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is 
org.springframework.jdbc.UncategorizedSQLException: SqlMapClient 
operation; uncategorized SQLException for SQL []; SQL state [null]; 
error code [0];  
--- The error occurred in com/project/domain/Ticket.xml. 
--- The error occurred while applying a result map. 
--- Check the Ticket.selectAll-AutoResultMap. 
--- The error happened while setting a property on the result object. 
--- Cause: com.ibatis.common.exception.NestedRuntimeException: Error 
setting properties of 'Ticket #6'.  Cause: 

I have logging turned up to DEBUG, but I never see any details of the 
AutoResultMap, nor do I see any reference to what property caused the 
IllegalArgumentException.  Is there any easy way to determine what 
property is failing?




View raw message