Support creation of arrays of stock enum values (which are turned into

strings). From Jamie.
This commit is contained in:
Michael Bayne
2011-02-16 02:13:35 +00:00
parent 10e97b55c9
commit 8670d0e109
@@ -74,6 +74,8 @@ public class PostgreSQL4Builder extends PostgreSQLBuilder
}
values = bytes;
type = "smallint"; // tinyint is in the spec, but PG doesn't recognize?
} else if (testValue instanceof Enum<?>) {
type = "varchar";
} else if (testValue instanceof Timestamp) {
type = "timestamp";
} else if (testValue instanceof Date) {