Mnadragora 0.3.1, new powerful methods

Alessandro Colantoni <[email protected]> Tue, 17 Feb 2009 15:33:23 +0100
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
--001636c5ac8c73544604631e2f31
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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


*
*

--001636c5ac8c73544604631e2f31--