The default settings auto-update="false" and auto-delete="false"
must be used in ODMG and JDO.

Vincenz Braun wrote:
Hello,

the advanced o/r tutorial says:

These default settings are mandatory for proper operation of the ODMG and JDO implementation.

In the following code sample, a reference-descriptor and a collection-descriptor are configured to use cascading retrieve (auto-retrieve="true" ), insert and update (auto-update="true" ) and delete (auto-delete="true" )
operations



In the repository.xml documentation one can read:


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.


The auto-delete attribute specifies whether OJB automatically
deletes this reference attribute on deleting the persistent object. This attribute must be set to false if using the OTM, ODMG or JDO layer.


So what is the right setting?

Thanks in advance,
Vincenz


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





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



Reply via email to