jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Gavazuk" <antongava...@gmail.com>
Subject Question about addNode and session.save()
Date Fri, 11 Jul 2008 07:32:29 GMT
Hi folks,

tiny question

i have code like this:

Node a = getBlaBlaBla();
Node b  = a.addNode("nodeB");
Node c = b.addNode("nodeC");
session.save();

And I recognized that nodeB has been stored but nodeC is not stored.
According to JCR docs all changes in which have been made in
particular session must be stored in a storage...
What is wrong?

Some env info:
Jackrabbit 1.4 used through JCA adapter in Jboss.

Many thanks.

Mime
View raw message