jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r628291 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Date Sat, 16 Feb 2008 13:31:05 GMT
Author: jukka
Date: Sat Feb 16 05:31:04 2008
New Revision: 628291

URL: http://svn.apache.org/viewvc?rev=628291&view=rev
Log:
JCR-1322: Cluster information is not persisted to database when connected to case sensitive
MS SQL Server 2005
   - Use upper case column names consistently
   - Fixed as suggested by Vijai Kalyan

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java?rev=628291&r1=628290&r2=628291&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Sat Feb 16 05:31:04 2008
@@ -689,9 +689,9 @@
             + schemaObjectPrefix + "JOURNAL where REVISION_ID > ?";
         updateGlobalStmtSQL =
             "update " + schemaObjectPrefix + "GLOBAL_REVISION"
-            + " set revision_id = revision_id + 1";
+            + " set REVISION_ID = REVISION_ID + 1";
         selectGlobalStmtSQL =
-            "select revision_id from "
+            "select REVISION_ID from "
             + schemaObjectPrefix + "GLOBAL_REVISION";
         insertRevisionStmtSQL =
             "insert into " + schemaObjectPrefix + "JOURNAL"



Mime
View raw message