From fd0b20e4ac27f0744cfb4fcdf4538b682e7a0615 Mon Sep 17 00:00:00 2001 From: lukaseder Date: Thu, 22 Dec 2016 15:28:21 +0100 Subject: [PATCH] More HSQLDB @Support annotations --- jOOQ/src/main/java/org/jooq/DSLContext.java | 12 ++++---- jOOQ/src/main/java/org/jooq/impl/DSL.java | 32 ++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/DSLContext.java b/jOOQ/src/main/java/org/jooq/DSLContext.java index 376074c16d..3155369dd5 100644 --- a/jOOQ/src/main/java/org/jooq/DSLContext.java +++ b/jOOQ/src/main/java/org/jooq/DSLContext.java @@ -7905,7 +7905,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchema(String) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchema(String schema); /** @@ -7913,7 +7913,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchema(Name) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchema(Name schema); /** @@ -7921,7 +7921,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchema(Schema) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchema(Schema schema); /** @@ -7929,7 +7929,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchemaIfExists(String) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchemaIfExists(String schema); /** @@ -7937,7 +7937,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchemaIfExists(Name) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchemaIfExists(Name schema); /** @@ -7945,7 +7945,7 @@ public interface DSLContext extends Scope , AutoCloseable { * * @see DSL#dropSchemaIfExists(Schema) */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) DropSchemaStep dropSchemaIfExists(Schema schema); /** diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index d71e23cfee..3a755477a5 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -12448,7 +12448,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toDate(String value, String format) { return toDate(Tools.field(value, SQLDataType.VARCHAR), Tools.field(format, SQLDataType.VARCHAR)); } @@ -12459,7 +12459,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toDate(String value, Field format) { return toDate(Tools.field(value, SQLDataType.VARCHAR), nullSafe(format)); } @@ -12470,7 +12470,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toDate(Field value, String format) { return toDate(nullSafe(value), Tools.field(format, SQLDataType.VARCHAR)); } @@ -12481,7 +12481,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toDate(Field value, Field format) { return DSL.field("{to_date}({0}, {1})", SQLDataType.DATE, nullSafe(value), nullSafe(format)); } @@ -12492,7 +12492,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toTimestamp(String value, String format) { return toTimestamp(Tools.field(value, SQLDataType.VARCHAR), Tools.field(format, SQLDataType.VARCHAR)); } @@ -12503,7 +12503,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toTimestamp(String value, Field format) { return toTimestamp(Tools.field(value, SQLDataType.VARCHAR), nullSafe(format)); } @@ -12514,7 +12514,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toTimestamp(Field value, String format) { return toTimestamp(nullSafe(value), Tools.field(format, SQLDataType.VARCHAR)); } @@ -12525,7 +12525,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toTimestamp(Field value, Field format) { return DSL.field("{to_timestamp}({0}, {1})", SQLDataType.TIMESTAMP, nullSafe(value), nullSafe(format)); } @@ -12538,7 +12538,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDate(String value, String format) { return toDate(value, format).coerce(SQLDataType.LOCALDATE); } @@ -12549,7 +12549,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDate(String value, Field format) { return toDate(value, format).coerce(SQLDataType.LOCALDATE); } @@ -12560,7 +12560,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDate(Field value, String format) { return toDate(value, format).coerce(SQLDataType.LOCALDATE); } @@ -12571,7 +12571,7 @@ public class DSL { * @param value The formatted DATE value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDate(Field value, Field format) { return toDate(value, format).coerce(SQLDataType.LOCALDATE); } @@ -12582,7 +12582,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDateTime(String value, String format) { return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME); } @@ -12593,7 +12593,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDateTime(String value, Field format) { return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME); } @@ -12604,7 +12604,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDateTime(Field value, String format) { return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME); } @@ -12615,7 +12615,7 @@ public class DSL { * @param value The formatted TIMESTAMP value. * @param format The vendor-specific formatting string. */ - @Support({ H2, POSTGRES }) + @Support({ H2, HSQLDB, POSTGRES }) public static Field toLocalDateTime(Field value, Field format) { return toTimestamp(value, format).coerce(SQLDataType.LOCALDATETIME); }