Results 1 to 2 of 2

Thread: @RooEntity aspect

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Posts
    3

    Default @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. #2
    Join Date
    Apr 2011
    Posts
    3

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •