Announcement Announcement Module
Collapse
No announcement yet.
ActiveRecord not generated Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ActiveRecord not generated

    Hello to everybody,
    I'm trying to generate a base abstract EntityBase class and a derived Entity class with these Roo commands:

    entity jpa --class EntityBase --abstract true --activeRecord false --mappedSuperclass true
    entity jpa --class Entity --abstract false --activeRecord true --extends EntityBase

    I have a problem because Roo doesn't generate the Entity_Roo_Jpa_ActiveRecord.aj file with all the method to mange the entity. Did I forget something?

    Regards,
    Andrea

  • #2
    I've had the same problem: "Is there any problem with inheritance in JPA Active records?"

    As a solution, since the abstract base class has no implementation code, I've had the chance to change it to an interface. Maybe it helps you too.

    Greetings.

    Comment

    Working...
    X