Thank you, Armin, I think i'am gonna try to use OJB 1.0.4, and if it does
not work i'll post details about my issue.

Jean-Yves


2006/2/21, Armin Waibel <[EMAIL PROTECTED]>:
>
> Hi Jean-Yves,
>
> Jean-Yves Sironneau wrote:
> > 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 ?
> >
>
> Assume no. But Tom have much more experience with xdoclet, so he can
> give you a professional answer.
>
>
> > - 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.
>
> I don't know about such an issue. But your question isn't detailed
> (auto-xxx settings, sample code, metadata mapping), so it's not possible
> to answer this. In generally anonymous FK should show same behavior as
> normal FK fields.
>
>
> >
> > 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 ?
> >
>
> It would be helpful if you can provide a test (source + mapping) to
> reproduce the issue.
>
>
> > 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).
>
> The 1.x trunk isn't for production environments
>
> >
> > - 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.
>
> SVN trunk is OJB 1.x (early alpha state). The OJB_1_0_RELEASE branch is
> OJB 1.0.x (upcoming 1.0.5).
> So it's recommended to use 1.0.4 or the OJB_1_0_RELEASE branch (run the
> test suite to get an impression of current stability - this will show
> open issues).
>
> regards,
> Armin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to