diff --git a/src/main/java/com/samskivert/depot/impl/PostgreSQL4Builder.java b/src/main/java/com/samskivert/depot/impl/PostgreSQL4Builder.java index 90c9f4b..97b28cc 100644 --- a/src/main/java/com/samskivert/depot/impl/PostgreSQL4Builder.java +++ b/src/main/java/com/samskivert/depot/impl/PostgreSQL4Builder.java @@ -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) {