I am having one problem using the JBoss EJB3 implementation that I cannot figure out and I'm hoping someone can point me in the right direction.
When I use the EntityManager to create(), persist(), and then find() an object using the supplied HSQL database, all works well. When I switch my DataSource to an Oracle database, I can create() and persist() an object to the database, but find() then returns a NPE. Using other tools such as Toad or Eclipse Databse Explorer, I can see the newly created objects in the Oracle database, but I cannot use find() to retrieve them. I am using the following:
JBoss 4.0.4.GA AS and EJB3
Does anyone have any suggestions as to what might be going on, or where I might look to resolve this problem?
Thanks in advance,
Can you post the exception?