[OJB-developers] ODMG question
Brought to you by:
thma
From: <Joa...@tp...> - 2002-06-10 14:59:56
|
Hy, I've got a question about ODMG. As I don't have the ODMG-Specification (yet), I don't know wether the problem that I have is caused by my lack of knowledge of how ODMG is supposed to work or if it is a real bug. I have an object of type SomeContainer that contains a List of other objects (let's say, they are of type SomeStuff). Now I place a upgrad-lock on the SomeContainer-Object, after I've aquired it from the Database. ODMG goes around and places a lock on all objects referenced by the SomeContainer object (directly and via collection). Just fine up to here. Now I add an object to the list of SomeStuff-objects. When I call commit now, should ODMG store the object and add a reference to the list or is it the job of the programmer to explicitely lock the new object? anyone can help? btw, does anyone know wether the ODMG-Standard is actually readable as a reference or if it is typical ISO/ANSI/IEEE-standard-language (i.e. totally useless for reference-purpose)? regards Joachim Sauer |