Ok. Mange tak. I'm still wondering if there is additional documenation that I am missing ;)
I see this ejb3="true" generates annotations relevant to schema generation. What I am really after is annotations for use with Hibernate Validator as described here
http://www.hibernate.org/hib_docs/annotations/reference/en/html/validator.html.
My fault, I wasn't specific because I'm a little confused by the whole thing as I'm new to it. So I'll try to be specific as I can.
I have a mapping.hbm.xml. Suppose I add a bunch of <meta/> elements that describe validation constraints (not nullable, min, max, etc). During pojo generation, i want these to turn into Hibernate Validator annotations.
If this functionality is avaialble out-of-the-box:
Is it documented?
If so, please tell me where... maybe I'm blind!
If this functionality is not available out of the box:
Is using a custom velocity template the answer?
I see in forums that people modify these, but I can't even find one to modify or know where to begin. I wouldn't even know how to specify a custom one in the ant task (again, I'm blind, I don't see the doc). And I don't know where to find the default one to look at it (I did file search on .vm and came up with nothing).
Sorry for all the newb questions. If this is all explained somewhere, please, someone show me the way! If not, I'd be very grateful for any small or large hints.
[/url]