Support creation of arrays of stock enum values (which are turned into
strings). From Jamie.
This commit is contained in:
@@ -74,6 +74,8 @@ public class PostgreSQL4Builder extends PostgreSQLBuilder
|
|||||||
}
|
}
|
||||||
values = bytes;
|
values = bytes;
|
||||||
type = "smallint"; // tinyint is in the spec, but PG doesn't recognize?
|
type = "smallint"; // tinyint is in the spec, but PG doesn't recognize?
|
||||||
|
} else if (testValue instanceof Enum<?>) {
|
||||||
|
type = "varchar";
|
||||||
} else if (testValue instanceof Timestamp) {
|
} else if (testValue instanceof Timestamp) {
|
||||||
type = "timestamp";
|
type = "timestamp";
|
||||||
} else if (testValue instanceof Date) {
|
} else if (testValue instanceof Date) {
|
||||||
|
|||||||
Reference in New Issue
Block a user