You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Vincenz Braun <vb...@evelox.de> on 2003/03/30 01:48:36 UTC
misleading documentation regarding auto settings in refence and collection descriptors
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
Re: misleading documentation regarding auto settings in refence and
collection descriptors
Posted by Thomas Mahler <th...@web.de>.
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: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>