Jump to content
Changes to the Jaspersoft community edition download ×

Recognizing hibernate/ejb3 connection

2006 IR Open Dicussion

Recommended Posts

By: Rob Guest - robguest

Recognizing hibernate/ejb3 connection

2006-06-06 11:50



I am trying to use iReport with my POJOs that have EJB3 annotations. I first tried to create a Hibernate connection but discovered that this requires mapping files. Since I am using Java 1.5 annotations I am not using mapping files.


So I tried the new EJBQL connection since it uses a "persistence.xml" file, which my web application has. This file is in the webroot/META-INF directory. I set my classpath to webroot. However I get an error message "No Persistence provider for EntityManager named bzem" where 'bzem' is the persistence unit name I used in the file.


This doesn't make sence to me. Am I missing something (in my configuration perhaps, if not my thinking)?




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...