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 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 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-XDoclet-question-tf2861325s2369.html#a7994967
Sent from the AppFuse - User mailing list archive at Nabble.com.

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





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

Reply via email to