Hello, I have a few unrelated questions regarding OJB :

- Is there a way to set the deferrable foreign key constraint setting using
OJB xdoclet module ?

- When i use anonymous foreign key in a relationship, it's working perfectly
for collections, but
for simple reference to an object, i have to store the referenced object and
then store the object referencing
it, otherwise the two objects are created in db but the foreign key id is
not set.

It's pretty hard to discover it because, when i retrieve the objects they
are ok even if the db foreign key is not set. It's
just later, if i restart my application for example, that the referenced
objects fields are null.

So i have two questions : Do you think it's normal behaviour ? And how can i
force OJB to retrieve everything
from database to be able to test this kind of possible issues ?

By the way i'am using CVS version of OJB 1.1 approximately 2-3 months ago
and the ODMG API
(which is really working fine except for that).

- Is the code for OJB 1.1 located in the 1.0 SVN branch ? Because i don't
know if i better use
OJB 1.0.4 (or future 1.0.5)  or the version i got from CVS.


Thanks your for your help.

Jean-Yves

Reply via email to