RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused

2009-07-28 Thread C N Davies
Original Message- From: Ravi Palacherla [mailto:ravi.palache...@oracle.com] Sent: Tuesday, 28 July 2009 7:17 AM To: users@openjpa.apache.org Subject: RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused Hi Chris, This exception can be seen if c

RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused

2009-07-27 Thread Ravi Palacherla
From: C N Davies [mailto:c...@cndavies.com] Sent: Monday, July 27, 2009 3:05 PM To: Ravi Palacherla; users@openjpa.apache.org Subject: RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused Hi Ravi, Here is what gets executed: public Object find(Object

RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused

2009-07-27 Thread C N Davies
herla [mailto:ravi.palache...@oracle.com] Sent: Tuesday, 28 July 2009 6:54 AM To: users@openjpa.apache.org; c...@cndavies.com Subject: RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused Hi, What are the values passed inside "com.trm.jpa.services.EntityService.find(EntitySe

RE: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused

2009-07-27 Thread Ravi Palacherla
apache.org Subject: Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused I am getting a very strange error when calling persist/merge on my entity under only one specific case. Basically I have a User entity and a UserProfile Entity. The User entity has a

Very weird enhancement error - is the class enhanced or not? - OpenJPA seems confused

2009-07-27 Thread C N Davies
I am getting a very strange error when calling persist/merge on my entity under only one specific case. Basically I have a User entity and a UserProfile Entity. The User entity has a one to one mapping to the UserProfile entity. This is all working fine. I have a Country entity, a Locale en