Jump to content

iReport EJBQL Connection


stanley1610

Recommended Posts

I added my folder My Documents\NetBeansProjects\MyApp\src\META-INF\ into the classpath of iReport (3.6.0) in OPTIONS > CLASSPATH

However, when I create a database connection, I selected EJBQL Connection, Name: MyAppPU Connection, Persistence Unit Name: MyAppPU (the same name as coded in persistence.xml), it still prompted that

No Persistence provider for EntityManager named MyAppPU

What's my problem? Please kindly advise.

Code:
<?xml version="1.0" encoding="UTF-8"?>http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">      oracle.toplink.essentials.PersistenceProvider    myapp.entity.TableA    myapp.entity.TableB    myapp.entity.TableC    myapp.entity.TableD                                        
Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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