Jump to content
Excelsior Forums
Sign in to follow this  

Persistence.xml - JET with JPA question

Recommended Posts

When compiling my application with JET how do I make sure that a persistence.xml file will get picked up correctly when I run it with JET.

I have tried with the persistence.xml file inside the .jar file, and I have tried also adding the META-INF folder onto the classpath when I compile with JET.

It seems that both ways when I run the application the persistence.xml file is not found.

What should be the correct way of achieving this?

Share this post

Link to post
Share on other sites

Please send an example to reproduce the problem to Support Dept. (java at excelsior-usa.com).

Also send your JET project files (*.prj, *.jpn) and the Java command line that you use to start your application on the standard JRE. We will check if the settings are correct.

We will examine the problem on our end and post a follow-up with the results in this topic.

Share this post

Link to post
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
Sign in to follow this