Announcement Announcement Module
Collapse
No announcement yet.
How to update Exisiting JPA Entities With ROO Annotations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to update Exisiting JPA Entities With ROO Annotations

    I was wondering if there is a way to update an existing jpa entities with roo annotations or decorate them with roo functionality. Can you some one point me in right direction?

  • #2
    If the entities already exist it makes sense to annotate them manually with the relevant Roo annotations (@RooJavaBean, @RooToString, @RooEntity come to mind) and then start the Roo shell to have Roo generate the relevant ITDs for your newly annotated Entities. Once that is done you need to make sure that the AspectJ compiler is integrated with your build solution so the ITDs can be woven in to the entity bytecode at build time.

    Does that help?

    Cheers,
    Stefan

    Comment

    Working...
    X