[jboss-user] [JBoss Seam] - Bypassing validations when using EntityQuery with example ob

stu2 do-not-reply at jboss.com
Sat Jan 19 19:08:49 EST 2008


I'm using the EntityQuery framework class, and it's working fine.  As per the seam docs I'm using the Example object to hold query parameters.  It works very well.  

BUT, Seam is running the validations on the example object, validation fails, and the search can't proceed.  While the entity validations are appropriate for persisting the entity (name must be at least 3 chars for instance), they don't apply to this use case.  

I'm not using s:validate or s:validateAll, which I thought was what triggered this behavior.  Any suggestions?  Is this how it is supposed to be?

Thanks,

Stu

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121561#4121561

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121561



More information about the jboss-user mailing list