jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r495244 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java
Date Thu, 11 Jan 2007 14:57:03 GMT
Author: dpfister
Date: Thu Jan 11 06:57:01 2007
New Revision: 495244

URL: http://svn.apache.org/viewvc?view=rev&rev=495244
Log:
Fixed javadoc and added some technical details.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java?view=diff&rev=495244&r1=495243&r2=495244
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/cluster/DatabaseJournal.java
Thu Jan 11 06:57:01 2007
@@ -38,7 +38,10 @@
 import java.sql.Statement;
 
 /**
- * Database-based journal implementation. Stores records inside a database.
+ * Database-based journal implementation. Stores records inside a database table named
+ * <code>JOURNAL</code>, whereas the table <code>GLOBAL_REVISION</code>
contains the
+ * highest available revision number. These tables are located inside the schema specified
+ * in <code>schemaObjectPrefix</code>.
  * <p/>
  * It is configured through the following properties:
  * <ul>
@@ -54,10 +57,7 @@
  * defaults to an empty string</li>
  * <li><code>user</code>: username to specify when connecting</li>
  * <li><code>password</code>: password to specify when connecting</li>
- * <li><code>schema</code>: </li>
  * </ul>
- * This implementation maintains a database table, containing exactly one record with the
- * last available revision.
  */
 public class DatabaseJournal extends AbstractJournal {
 
@@ -233,7 +233,7 @@
      */
     public void init(String id, RecordProcessor processor, NamespaceResolver resolver)
             throws JournalException {
-        
+
         super.init(id, processor, resolver);
 
         if (driver == null) {



Mime
View raw message