Hi Sanga,
I need a couple of clarifications to help diagnose your situation. If I'm
reading this right, you are attempting to run your test with and without the
following property in your persistence.xml. Is that right?
This property tells OpenJPA to use the mappings defined by you
Greetings,
I think i know the problems. My situation is I use real database and
not in memory database. So forgot 2 things which are :
1. I forgot to specify the ORM inside my persistence UML. So i put
hibernate inside the persitence.xml
2. I forgot to put also the OracleDialect.
After the two
Hi Sanga,
Hoping the OpenJPA folks have some insight on the error.
-David
On Dec 9, 2008, at 2:35 AM, sanga lawalata wrote:
Greetings,
I know the problem is that there is no in my persistence XML.
but I get problems here that in DB :
Table User (number id, varchar name, numb
Greetings,
I know the problem is that there is no in my persistence XML.
but I get problems here that in DB :
Table User (number id, varchar name, number address_id). And the address_id
can be null.
Table Address(number id, varchar description)
I map the User table into entity U
I have this error code while try to persist this entity bean.
it seems that It can get the sequence number from oracle dual sequence.
Below I put also the ddl.
Any advice ?
WARN - Unexpected exception from beforeCompletion; transaction will roll
back
org.apache.openjpa.persistence.PersistenceE