Announcement Announcement Module
Collapse
No announcement yet.
@RooEntity aspect Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @RooEntity aspect

    Hello,
    I am new in Spring Roo. I created an entity and roo automatically generated aspects. I'd like to ask if there is some possibility how to intercept generated aspect methods e.g. persist, because I need make some modifications before saving object to persistence and if I understand well, direct modification of generated aspect is not allowed/recommended.

    Thank you.

  • #2
    Hello,
    I already found the solution. It can be solved by JPA annotation @PrePersist.

    Comment

    Working...
    X