JPA configuratin issue, spring integration with JPA,hibernate
posted 3 years ago
I'm working on webservice , spring integration and JPA. divided into two modules. one module webservice other one jpa with hibernate engine.
Webservice :- war (services proj)
hibernate+jpa, hibernatejpa adapter :- jar ( ORM project)
I'm using maven over here, by using the spring integration communicated webservice to ORM project, here my persistence.xml and application context xml are reside ORM project. when i ran the test case( ORM project) loading the xml by using application contextxml it is working fine, if control comes from webservice to ORM project, my entity manager is null, how to configure JPA over here.