jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Du <mrdu...@gmail.com>
Subject Re: bundle PM versus db PM
Date Fri, 11 Dec 2009 12:19:45 GMT
On Fri, Dec 11, 2009 at 10:29 AM, Dennis van der Laan
<d.g.van.der.laan@rug.nl> wrote:
> db PM? What's the difference? And should the javadoc not contain some
> information about how these two implementations relate to one another?

BundlePersistenceManager: The state and all property states of one
node are stored together in one record.
SimpleDbPersistenceManager: persists ItemState NodeReferences objects
using a simple custom binary serialization format and a very basic
non-normalized database schema.

The difference for singe node would be you will get one row for
BundlePersistenceManager and possible multi rows for
SimpleDbPersistenceManager.

You may find more details from following two javadocs:
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManage

-Guo

Mime
View raw message