Postgresql specific types will be more client-friendly if they implementComparable interface. It's especially useful fororg.postgresql.util.PGmoney and enumerated types (it seems there is noappropriate Java class for this type).