com.danidemi.jlubricant.embeddable.hsql.InProcessInResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jlubricant-embeddable-hsql Show documentation
Show all versions of jlubricant-embeddable-hsql Show documentation
A JLubricant Embeddable that runs the HSQLDB - http://hsqldb.org/
package com.danidemi.jlubricant.embeddable.hsql;
public class InProcessInResource extends Storage {
private String resourcePath;
public InProcessInResource(String resourcePath) {
super();
this.resourcePath = resourcePath;
}
@Override
public boolean requireStandaloneServer() {
return false;
}
@Override
public String getProtocol() {
return "res";
}
@Override
public String getLocation(String dbName, HsqlDbms dbms) {
return resourcePath;
}
}