[exo-jcr-commits] exo-jcr SVN: r4471 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/backup/rdbms.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jun 2 10:24:29 EDT 2011
Author: tolusha
Date: 2011-06-02 10:24:29 -0400 (Thu, 02 Jun 2011)
New Revision: 4471
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/backup/rdbms/DBRestore.java
Log:
EXOJCR-1371: Properties can lose their "isMultivalued" flag after backup/restore operation.
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/backup/rdbms/DBRestore.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/backup/rdbms/DBRestore.java 2011-06-01 12:12:35 UTC (rev 4470)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/backup/rdbms/DBRestore.java 2011-06-02 14:24:29 UTC (rev 4471)
@@ -510,7 +510,7 @@
ba.read(readBuffer);
String value = new String(readBuffer);
- insertNode.setBoolean(targetIndex + 1, value.equals("true"));
+ insertNode.setBoolean(targetIndex + 1, value.equalsIgnoreCase("true"));
}
else if (columnType.get(i) == Types.VARBINARY || columnType.get(i) == Types.LONGVARBINARY
|| columnType.get(i) == Types.BLOB || columnType.get(i) == Types.BINARY
More information about the exo-jcr-commits
mailing list