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 Alessandro Colantoni <al...@gmail.com> on 2009/02/17 15:33:23 UTC
Mnadragora 0.3.1, new powerful methods
Hi all,
to everybody who is interested in Mandragora, just notify that the new
version 0.3.1 has been released.(
http://mandragora.sourceforge.net/index.html)
There are new methods available, as
storePathsCascade(Object storeVO,Collection paths, Boolean
pathsHasToBeSorted, Boolean storeVOHasToBeStored)
that store trees of value obejcts.
The tree is represented by *storeVO*, that is the value object root, and *
paths*, that is a collection of strings that are the paths of the tree from
the root Each element of *paths* is a dot separated list of attributes; for
example it could be:
*attribute_1.attribute_2.attribute_3.attribute_4*
The store cascade is applied even if not specified in the repository.xml.
This method can be considered a way to specify the autoupdate at runtime.
Analogously an other method is
deletePathsCascade(Object parentVO, Collection paths,Boolean
ifM2NDeleteOnlyRelationship, Boolean deleteOneToOne),
but there are many other ones.
Hoping this can help ojb - users
Best regards
Alessandro Colantoni
http://mandragora.sourceforge.net/index.html
*
*