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).

It is configured through the following properties:

driver: the FQN name of the JDBC driver class

url: the database url of the form jdbc:subprotocol:subname

user: the database user

password: the user's password

schema: type of schema to be used
(e.g. mysql, mssql, etc.);

schemaObjectPrefix: prefix to be prepended to schema objects

externalBLOBs: if true (the default) BINARY
values (BLOBs) are stored in the local file system;
if false BLOBs are stored in the database

The required schema objects are automatically created by executing the DDL
statements read from the [schema].ddl file. The .ddl file is read from the
resources by calling getClass().getResourceAsStream(schema + ".ddl").
Every line in the specified .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.