Tuesday, June 13, 2006 06:35 AM
I have the following problem scenario.
Configure Oracle Toplink through eclipse, creating persistible entities and consuming these.
Dali project of eclipse provides a way of doing this. I have succeeded in creating a persistible entity. The problem is in consuming this.
When I try to create an EntityManagerFactory using Persistence.createEntityManagerFactory a NPE is thrown. "Persistence." is the cause of this. It means that the persistance class is not loaded itself.
Any ideas as to how this can be done?
I am using -javaagent toplink-essentials-agent.jar as VM argument.
Any help would be really appreciated.