Em Thu, 30 Oct 2008 09:23:26 -0300, James Sherwood <[EMAIL PROTECTED]> escreveu:

Tapestry requires and @Validate("required") annotation in front of the
variables of the class that are required for global validation. (Unless
there is a way to do global validation without using @validate in the
entities class) I have to manually put these in each time I regenerate my
POJOs. Is there a way I can make this happen automatically when I generate my POJO's?

You would need to get Hibernate Tools source and change it to generate the @Validate annotations. It shouldn't be hard, I think.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to