I recall the Java version of iBatis having an Ant task that would check
config files at compile time to make sure they didn't contain syntax
errors. I believe the task would also check to make sure the correct
getters and setters were being referenced. I can't seem to find the
task in the Java documentation. Does this sound familiar to any Java
lurkers on the list?

--- Kit Cragin <[EMAIL PROTECTED]> wrote:

> Ideally ibatis would do the validation itself, but until then I
> suppose you
> could do the validation at some appropriate point in your code. For
> example,
> a web app could do it in the Global.Application_Start() method. The
> schemas
> are in <ibatis install dir>/souce/IBatisNet.Schemas.
> 
> -----Original Message-----
> From: Emmanuele De Andreis [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 17, 2005 2:54 PM
> To: ibatis-user-cs@incubator.apache.org
> Subject: Re: A debug day with ibatis and netpetshop dao pattern
> 
> Hi, thanks for reply...
> the idea of validate against schema is very good.
> Where is the best place to do such validation?
> Could make sense that ibatis performs a validation internally before
> loading the xml config?
> Manu

Reply via email to