Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA configuratin issue, spring integration with JPA,hibernate  RSS feed

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

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
Boost this thread!