jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller
Date Mon, 10 Mar 2008 16:10:04 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/DataStore

------------------------------------------------------------------------------
      <DataStore class="org.apache.jackrabbit.core.data.FileDataStore"/> 
  }}}
  
- == Additional configuration options ==
+ == File Data Store Configuration Options ==
  
  This is a full configuration using the default values:
  
@@ -18, +18 @@

      <DataStore class="org.apache.jackrabbit.core.data.FileDataStore">
          <param name="path" value="${rep.home}/repository/datastore"/>
          <param name="minRecordLength" value="100"/>
+     </DataStore>
+ }}}
+ 
+ == Database Data Store ==
+ 
+ Here is a possible configuration using the database data store:
+ 
+ {{{
+      <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
+         <param name="url" value="jdbc:postgresql:test"/>
+         <param name="user" value="sa"/>
+         <param name="password" value="sa"/>
+         <param name="databaseType" value="postgresql"/>
+         <param name="driver" value="org.postgresql.Driver"/>
+         <param name="minRecordLength" value="1024"/>
+         <param name="maxConnections" value="2"/>
+         <param name="copyWhenReading" value="true"/>
+         <param name="tablePrefix" value=""/>
      </DataStore>
  }}}
  
@@ -75, +93 @@

  
  == How to write a new data store implementation ==
  
- New implementations are welcome! Cool would be a S3 data store (http://en.wikipedia.org/wiki/Amazon_S3).
Maybe somebody needs a database data store. A caching data store would be great as well (items
that are used a lot are stored in fast file system, others in a slower one).
+ New implementations are welcome! Cool would be a S3 data store (http://en.wikipedia.org/wiki/Amazon_S3).
A caching data store would be great as well (items that are used a lot are stored in fast
file system, others in a slower one).
  
  == Future ideas ==
  

Mime
View raw message