[OTM] Updating a persistent object problem

2004-04-15 Thread Jean-Francois Beaulac
Hi everyone, I have some problem updating a persistent object with OTM Api, i'm trying to do it like in the otm tutorial : http://db.apache.org/ojb/otm-tutorial.html#More%20Sophisticated%20Transaction%20Handling Here is my code : public Object getObjectByIdentityQuery(Object object, int

RE: JDO - getObjectId, how to retrieve the id of identity obj afterinsert

2004-04-15 Thread Philippe Guillard
Hi, my problem is finally resolved by changing the sequence manager in repository.xml file, -SequenceManagerNativeImpl, and suprisingly, even no need to use the method getObjectId can be displayed the id: Department bean = new Department(); bean.setName(JDO

Re: JDO and OJB newbie Question

2004-04-15 Thread Charles N. Harvey III
I'm having a lot of trouble building from HEAD. Do I use maven or ant? I get the STRANGEST error when I try to use ant. Its probably something with my maven/ant installation though. Ok, so, I'm getting there. I'm starting to understand JDO a bit. I hadn't actually looked at it before today.

ProxyHelper.getRealClass(o) != ProxyHelper.getRealObject(o).getClass()

2004-04-15 Thread Coup, Robert Muir
Hi, Fairly self explanatory I'm using RC5 - does anyone have any ideas why this might occur (or has it been fixed - I couldn't find anything in the CVS changelogs)? Situation: Interfaces/Inheritance hierarchy: AbstractEntity - Group* - StaffGroup* - StudentGroup* -