Affects Version/s: 1.2.0.RELEASE
Fix Version/s: 1.2.2.RELEASE
I have an abstract superclass who defines the properties. Two concrete subclasses I want to map into two databases.
The definition of my base class:
My default implementation who points to the persistenceUnit=pu1 is defined as:
My specialized implementation who points to persistenceUnit=pu2 is defined as:
The only EntityManager to inject is in the Message_Roo_Jpa_ActiveRecord.aj without any persistenceUnit name defined. I need in any concrete implementation an EntityManager pointing to the right persistence unit.