Yes, you need to declare getters and setters, at least for the fields
that are used for primarykeys and foreignkeys.
But the benefit is that you can put whatever implementation you see
fit, the do not even need to have actual java fields for the values.
And the speed hit because of the reflection is not that much because
the field descriptor caches the method object, so it is minor
especially when compared to the database hit.

Btw, this works really nice with the XDoclet module because you don't
have to put anything into the impl classes at all, only in the
interface at the getters and/or setters.

Tom

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

Reply via email to