I have a database type called "foo", defined like:
CREATE TYPE foo AS ENUM('foo','bar','baz');
And when I generate classes for my tables via the Apache Cayenne Modeler, I get an error saying that that field is undefined. Come to find out, there is no type generated for this field.
How do I implement postgresql enumeration types on the java side so Cayenne handles them properly?