We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8c598 commit 41716a3Copy full SHA for 41716a3
src/javaxt/sql/Database.java
@@ -412,7 +412,11 @@ else if (vendor.equals("H2")){
412
try{
413
if (d==null) d = driver.load();
414
if (d.getMajorVersion()>1){
415
- path = driver.getProtocol() + ":file:";
+ if (host == null || host.trim().isEmpty() || host.equalsIgnoreCase("memory")) {
416
+ path = driver.getProtocol() + ":mem:";
417
+ } else {
418
+ path = driver.getProtocol() + ":file:";
419
+ }
420
}
421
422
catch(Exception e){
0 commit comments