Mnadragora 0.3.1, new powerful methods

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mnadragora 0.3.1, new powerful methods

Alessandro Colantoni
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


*
*
Loading...