Sorry, Markus. Inheritance is _not_ needed. I have just copy-pasted some part of my code. BaseObject is the root of all my entities (using HashCodeBuilder, ToStringBuilder and EqualsBuilder of jakarta-commons for the respective methods of java.lang.Object).
So, please, just forget about these two ;-)
Regards,
Wolfram
Markus Karg wrote:
>Wolfram,
>
>that sounds pretty good! Thanks a lot for the example. I have two
>questions:
>
>(1) Is @Inheritance really needed? I do not use inheritance in my
>entity.
>
>(2) What is BaseObject good for?
>
>Thanks a lot!
>Markus
>
> (...)
>