Announcement Announcement Module No announcement yet. Using a
BaseObject in Roo JPA with Hibernate Page Title Module Move
Remove Collapse Conversation Detail Module   • Filter   • Time
• Show Clear All new posts    • Using a BaseObject in Roo JPA
with Hibernate      In Hibernate MySQL webapps (non-Roo) I've
done before I have been able to use a BaseObject class to handle
common behavior such as maintaining chicken-tracks properties
(initial add date/user/location, last modified
date/user/location).      It seems that using AspectJ might be a
more Roo-like way of doing this, but now was not the time for me
to go down that path. I also looked at a add-on that just
handled date added/modified - but I needed to do a bit more.
Anyway I have tried every which way with Roo 1.2.3 using JPA and
Hibernate. the only way I got it to work was using a base object
like the one below, with the following subclass. The problem was
that it uses a single sequence to assign id numbers across all
subclasses, not a separate