Hi Matteo,

You can find this in the JCR spec (7.1.4 Adding Nodes, page 176):

In order to save a newly added node, save must be called either on the Session, or on the new node's parent or higher-order ancestor (grandparent, etc.). An attempt to call save only on the newly added node will throw a RepositoryException.

Ralf

Matteo Pelucco schrieb:
Grégory Joseph ha scritto:

Not often, always ;)

-g

Yes, it is true.
But why?

Maybe something related to jcr observation?

M.


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to