Package org.apache.jackrabbit.core.state.db

This package contains the class SimpleDbPersistenceManager, a simple generic JDBC-based PersistenceManager for Jackrabbit.

See:
          Description

Class Summary
DerbyPersistenceManager DerbyPersistenceManager is a JDBC-based PersistenceManager for Jackrabbit that persists ItemState and NodeReferences objects in an embedded Derby database using a simple custom serialization format and a very basic non-normalized database schema (in essence tables with one 'key' and one 'data' column).
SimpleDbPersistenceManager SimpleDbPersistenceManager is a generic JDBC-based PersistenceManager for Jackrabbit that persists ItemState and NodeReferences objects using a simple custom binary serialization format (see Serializer) and a very basic non-normalized database schema (in essence tables with one 'key' and one 'data' column).
 

Package org.apache.jackrabbit.core.state.db Description

This package contains the class SimpleDbPersistenceManager, a simple generic JDBC-based PersistenceManager for Jackrabbit.

It also contains [schemaName].ddl files which are read by SimpleDbPersistenceManager in order to automatically create the required schema objects on the target database. Every line in a [schemaName].ddl file is executed separatly by calling java.sql.Statement.execute(String) where every occurence of the the string "${schemaObjectPrefix}" has been replaced with the value of the property schemaObjectPrefix (see SimpleDbPersistenceManager#setSchemaObjectPrefix(String)). The schema name is either set programmtically by calling SimpleDbPersistenceManager#setSchema(String) or configured through the schema bean property.



Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.