Topic
  • 1 reply
  • Latest Post - ‏2013-10-01T14:23:07Z by U4UE_xie_zhi
Rolie
Rolie
1 Post

Pinned topic EntityManager injection probelm

‏2013-09-11T14:48:15Z |

Hi

I have a strane problem (one that seems to have come out of nowhere). I am working with Wasce 3.0.0.4.

I have a ejb jar with entities (and respecitve, persistance.xml) and it works all fine deployed by itself, but once I stick it into a EAR the entity manager does no longer get injected (or any tables created).

I can see the OpenJPA parsing and enhancing the entity classes and seemingly setting up everything.

I have dependencies to the dbpool in both the openejb-jar.xml and the geronimo-application.xml.

Any ideas or leads?

Roland

  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: EntityManager injection probelm

    ‏2013-10-01T14:23:07Z  

    Could you send me your application to reproduce your issue? I think it will be helpful for investigating. You also can send it by email. daxiezhi@gmail.com