FWIW, I was running up against this very issue with enums and I have had a chance to play with the pgjdbc-ng driver mentioned above, and it appears that @Enumerated(EnumType.STRING) enum fields will map to db enums right out of the box with this driver. |