jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1581714 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
Date Wed, 26 Mar 2014 07:31:59 GMT
Author: chetanm
Date: Wed Mar 26 07:31:59 2014
New Revision: 1581714

URL: http://svn.apache.org/r1581714
Log:
OAK-1544: fix field widths and add BLOB column for big documents; add DB2 fixture

Changing the H2 DB url to create file in target folder otherwise the file get created under
main folder causing rat plugin to fail

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java?rev=1581714&r1=1581713&r2=1581714&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
Wed Mar 26 07:31:59 2014
@@ -72,7 +72,7 @@ public class RDBDocumentStore implements
      */
     public RDBDocumentStore(DocumentMK.Builder builder) {
         try {
-            String jdbcurl = "jdbc:h2:file:oaknodes";
+            String jdbcurl = "jdbc:h2:file:./target/oaknodes";
             DataSource ds = RDBDataSourceFactory.forJdbcUrl(jdbcurl, "sa", "");
             initialize(ds, builder);
         } catch (Exception ex) {



Mime
View raw message