bob_manteck Posted September 13, 2006 Share Posted September 13, 2006 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 More sharing options...
fmcypriano Posted February 15, 2008 Share Posted February 15, 2008 I create a topic about EJBQL connection tro try solve once for all our problem, take a look: EJBQL connection not working and no error messages Link to comment Share on other sites More sharing options...
scutws Posted February 22, 2011 Share Posted February 22, 2011 fmcypriano, I can't access the link you posted, is it moved? if it is, do you mind to let me know your solution? I am with iReport 4.0.0. Thanks. Link to comment Share on other sites More sharing options...
NandiniBC Posted July 15, 2011 Share Posted July 15, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now