Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA configuratin issue, spring integration with JPA,hibernate

 
aravindu sreerangam
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

Please help me on this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic