Jump to content
We've recently updated our Privacy Statement, available here ×

EJBQL Connection problem


bob_manteck

Recommended Posts

Hi.

 

I want to use an EJBQL connection as datasource for my report.

 

I fill the "Name" and "Persistance Unit Name" fields and I select from the listbox "EJBQL connection".

 

I've tried to set the CLASSPATH to my persistence.xml file with the export command from a console and I've tried to set it inside iReport too.

 

The error is always the same: No Persistence provider for EntityManager named XXX.

 

Where's the problem? What I need to make this thing work?

 

Thanks.

 

Bob

Link to comment
Share on other sites

  • 1 year later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...
  • 4 months later...

Place the persistence.xml in meta-inf directory and jar the entity class along with "META_INF" folder.

place the jar in ireprot\platform9\lib folder.

restart the ireport, set class path to persistence jar files, and custom jar file.

 

Hope this helps.

 

-Sonata software Limited 

 

 

Link to comment
Share on other sites

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...