riftsaw SVN: r1593 - branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/db.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2012-12-12 01:04:27 -0500 (Wed, 12 Dec 2012)
New Revision: 1593
Modified:
branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/db/H2Database.java
Log:
RIFTSAW-517: H2Database needs to be updated to work with directories containing spaces.
Modified: branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/db/H2Database.java
===================================================================
--- branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/db/H2Database.java 2012-10-19 09:12:21 UTC (rev 1592)
+++ branches/RiftSaw-2.3.x/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/db/H2Database.java 2012-12-12 06:04:27 UTC (rev 1593)
@@ -392,7 +392,7 @@
dbPath = new File(h2Dir, name);
- final String dbURL = JDBC_URL_PREFIX + dbPath.toURI().toString() + flags ;
+ final String dbURL = JDBC_URL_PREFIX + dbPath.toURL().toString() + flags ;
log.info(dbURL);
// Check we have connectivity