package org.apache.lucene.store.jdbc.dialect; public class H2Dialect extends Dialect { public boolean supportsForUpdate() { return false; } public String getForUpdateString() { return ""; } public boolean supportTransactionalScopedBlobs() { return true; } public boolean supportsIfExistsAfterTableName() { return true; } public String getVarcharType(int length) { return "varchar(" + length + ")"; } public String getBlobType(long length) { return "blob"; } public String getNumberType() { return "integer"; } public String getTimestampType() { return "timestamp"; } public String getCurrentTimestampFunction() { return "current_timestamp()"; } public String getBitType() { return "bit"; } }