jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: [jira] Commented: (JCR-442) Implement a backup tool
Date Tue, 08 Aug 2006 11:18:07 GMT

On 8/8/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Also, now that I re-review the code... An s2.save() followed by
> s2.logout() after the import will probably solve the issue. :-)

BTW, you should use session.getWorkspace().importXML() to import
content directly into the persistence layer without going through the
transient space. Then there's no need to call Session.save(), but you
should still call Session.logout() to cleanup.


Jukka Zitting

Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

View raw message