Announcement Announcement Module
No announcement yet.
entity manager injection in dbre created entities Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • entity manager injection in dbre created entities

    I'm worked through getting a Roo DBRE generated domain model into a J2ee project and deployed to glassfish 3.0.1, and I feel I'm just about there, but I've no run aground on a new problem (using Roo 1.1.2):

    SEVERE: Injection method name must start with "set"
    symbol: javax.persistence.PersistenceContext
    location: public static void com.mycompany.domain.Test_Roo_Entity.ajc$interFiel dInit$com_mycompany_domain_Test_Roo_Entity$com_myc ompany_domain_Test$entityManager(com.mycompany.dom ain.Test)

    I don't see any "set" method for the entity manager in the AspectJ stuff. Anyone have any information on why this is a problem/how to solve it?