Hi,
I've got a strange problem. I'm running a web project inside BEA Workshop (Eclipse) using Kodo as my persistence.
I have a persistence.xml file inside src/META-INF/ which specifies my persistence classes and other typical information.
I have a web service that instantiates an EntityMangerFactory from the Persistence class, which is used to persist data.
I've created a JUnit test that calls the web service methods. The funny thing is, when I run the test without launching an application server and just make the call to the interface web service class everything works fine. I get the following line of info in the console (among others.)
[b]openjpa.Runtime - Starting BEA Kodo 4.1.2 with patches:[/b]
However, if I create a WAR and deploy it to the Weblogic App Server and run my test against the webserver, the following is shown in the console:
[b]openjpa.Runtime - Starting OpenJPA 0.9.7[/b]
Why is the application server changing the runtime? How do I set the Runtime to Kodo?
Thanks in advance.
[Message sent by forum member 'phuenefe' (phuenefe)]
http://forums.java.net/jive/thread.jspa?messageID=277575