com.danidemi.jlubricant.embeddable.hsql.OracleCompatibility 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 OracleCompatibility extends Compatibility {
public OracleCompatibility() {
super();
}
@Override
public void postStartSetUp(HsqlDatabase hsqlDatabase) {
hsqlDatabase.setSyntax("ORA");
hsqlDatabase.setTransactionControl();
hsqlDatabase.setTransactionRollbackOnConflict(true);
hsqlDatabase.setDatabaseSqlUniqueNulls(true);
hsqlDatabase.setDatabaseSqlNullsFirst(false);
hsqlDatabase.setDatabaseSqlConcatNulls(true);
}
}