We are using Spring. What I mean is that if I have this in a SQLMap:
<result property="decisionFlag" column="decisionFlag"/>
it would be nice to have iBatis take a look at the database and tell
me that there really is no column named decisionFlag in this business
object (the real column name is decision_flag). Right now it only
tells me that the first time I access the object.
-M@
On Sep 5, 2006, at 9:24 AM, [EMAIL PROTECTED] wrote:
If you use Spring all SQL Maps get loaded and validated at startup.
From: Matthew Hixson <[EMAIL PROTECTED]> [mailto:Matthew
Hixson <[EMAIL PROTECTED]>]
Sent: Friday, September 01, 2006 5:22 PM
To: user-java@ibatis.apache.org
Subject: SQLMap validation at startup?
Was wondering if there was any way to get iBatis to validate that all
of the SQLMaps are sane at startup time instead of whenever a
business object is used. What I want to do is prevent having to run
through the code/deploy/login to webapp/test/get exception process 3
times when I have 3 typos in my SQLMaps.
Not that I'm bitter.
-M@