Author: reschke
Date: Wed Aug 12 13:00:50 2015
New Revision: 1695500

URL: http://svn.apache.org/r1695500
Log:
OAK-3222: RDBDocumentStore: add missing RDBHelper support for JOURNAL table

Modified:
    
jackrabbit/oak/branches/1.2/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java

Modified: 
jackrabbit/oak/branches/1.2/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.2/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java?rev=1695500&r1=1695499&r2=1695500&view=diff
==============================================================================
--- 
jackrabbit/oak/branches/1.2/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
 (original)
+++ 
jackrabbit/oak/branches/1.2/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
 Wed Aug 12 13:00:50 2015
@@ -330,6 +330,7 @@ public class RDBDocumentStore implements
     static {
         Map<Object, String> tmp = new HashMap<Object, String>();
         tmp.put(Collection.CLUSTER_NODES, "CLUSTERNODES");
+        tmp.put(Collection.JOURNAL, "JOURNAL");
         tmp.put(Collection.NODES, "NODES");
         tmp.put(Collection.SETTINGS, "SETTINGS");
         TABLEMAP = Collections.unmodifiableMap(tmp);
@@ -464,7 +465,7 @@ public class RDBDocumentStore implements
         this.tnNodes = RDBJDBCTools.createTableName(options.getTablePrefix(), 
TABLEMAP.get(Collection.NODES));
         this.tnClusterNodes = 
RDBJDBCTools.createTableName(options.getTablePrefix(), 
TABLEMAP.get(Collection.CLUSTER_NODES));
         this.tnSettings = 
RDBJDBCTools.createTableName(options.getTablePrefix(), 
TABLEMAP.get(Collection.SETTINGS));
-        this.tnJournal = 
RDBJDBCTools.createTableName(options.getTablePrefix(), "JOURNAL");
+        this.tnJournal = 
RDBJDBCTools.createTableName(options.getTablePrefix(), 
TABLEMAP.get(Collection.JOURNAL));
 
         this.ch = new RDBConnectionHandler(ds);
         this.callStack = LOG.isDebugEnabled() ? new Exception("call stack of 
RDBDocumentStore creation") : null;


Reply via email to