Commit 8f4c7489 authored by Matija Obreza's avatar Matija Obreza Committed by Maxym Borodenko
Browse files

BetterHSQLDialect: TimeStamp with precision(8)

- Helps with @Version on Date fields
parent 7f4178ee
......@@ -41,6 +41,7 @@ public class BetterHSQLDialect extends HSQLDialect {
registerColumnType(Types.CLOB, "clob");
registerColumnType(Types.BLOB, "blob");
registerColumnType(Types.TIMESTAMP, "timestamp(8)");
registerFunction("stddev", new StandardSQLFunction("stddev_pop", DoubleType.INSTANCE));
registerKeyword("day"); // Needed for DATEDIFF(DAY, ...)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment