I am not nearly familiar enough with the type system to know the implications of the different approaches you're considering. Will the one you're focusing on now permit Java enums to be stored as native PostgreSQL enum columns? (I understand that the naive handling of string-encoded enums made this scenario work.)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira