Hi... I'm new to iBATIS, just started a new job last week and am trying to get up to speed on a bunch of stuff, including iBATIS. The task I'm given is to modify some existing code, which seems pretty straightforward.
Having made most of my mods (working and running within Eclipse) I'm getting an error that I can't decipher: 2009-04-28 15:30:27,419[main ] DEBUG rrorCodeSQLExceptionTranslator - Unable to translate SQLException with Error code '0', will now try the fallback translator 2009-04-28 15:30:27,419[main ] DEBUG DataSourceUtils - Returning JDBC Connection to DataSource unable to execute upic translator. Error message = SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; --- The error occurred in cdw.upic.sqlmap.xml. --- The error occurred while applying a result map. --- Check the cdwUpic.aprIncentiveResultMap. --- The error happened while setting a property on the result object. --- Cause: java.lang.reflect.UndeclaredThrowableException; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in cdw.upic.sqlmap.xml. --- The error occurred while applying a result map. --- Check the cdwUpic.aprIncentiveResultMap. --- The error happened while setting a property on the result object. --- Cause: java.lang.reflect.UndeclaredThrowableException I'm fairly sure that the problem is not cdwUpic.aprIncentiveResultMap, because that has not changed and was working yesterday. This error occurs no matter what resultmap my code uses. In fact, this worked yesterday, but at some point today it started giving this error. I'm guessing wildly that the problem is in the JDBC layer, although the queries all work fine in SquirrelSQL. My other theory is that my project (Maven based) is not configured properly somehow. Anyone seen this before, or can suggest how I can get more information? Cheers, Sean