The OJB documentation says the following.
"The auto-update attribute specifies whether OJB automatically stores this
reference attribute on storing the persistent object. This attribute must be
set to false if using the OTM, ODMG or JDO layer. "

If I use the ODMG layer why does this attribute need to be false?.Can't I
take advantage of the "auto-update" attribute's feature using ODMG API?.

I tried using auto-update="true", in the OJB 0.9.5 release(using ODMG API)
and, I was able to update (both the parent and child) fine but while trying
to insert the parent I get a PRIMARY-KEY violation error.This error goes
away if I give the auto-update="false".

The error seems to indicate that the insert happens twice bcs of the "true"
value on the auto-update flag.Has anyone seen this bug before?.

Has anyone got the update and insert working (for parents and its
references) when the auto-update flag has a value of "true".

Thanks
Rajesh


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to