Re: [appfuse-user] Hibernate XDoclet question

2006-12-20 Thread GaryW
It's a formula field (e.g.): /** * @hibernate.property * formula="QUESTION_NUM" */ whose value is set as a result of being a child of a List association: * @hibernate.list-index * column="QUESTION_NUM" * base="1" The @hibernate.property tag does have an "access" parameter

Re: [appfuse-user] Hibernate XDoclet question

2006-12-20 Thread Bryan Noll
I would give yourself the setter. I believe Hibernate expects them to be there out of the box. Plus, how else do you plan on modifying your instance variables without one? Matt Raible wrote: I don't know - I've never tried to use XDoclet with field-level access. AFAIK, it's not possible to u

Re: [appfuse-user] Hibernate XDoclet question

2006-12-20 Thread Matt Raible
I don't know - I've never tried to use XDoclet with field-level access. AFAIK, it's not possible to use XDoclet and annotate fields, but I could be wrong. Matt On 12/20/06, GaryW <[EMAIL PROTECTED]> wrote: When using "field" level access, do you put the @hibernate.property tag on the field or

[appfuse-user] Hibernate XDoclet question

2006-12-20 Thread GaryW
When using "field" level access, do you put the @hibernate.property tag on the field or on the getter? Also, do you need a setter in this case or is that optional since it's setting the field and not the property? Thanks, Gary -- View this message in context: http://www.nabble.com/Hibernate-XD