When using Hibernate it is possible to mark field of JPA-entity with @org.hibernate.annotations.Type(type="org.hibernate.type.PostgresUUIDType")
if you want to map fields of type java.util.UUID
to uuid
type of PostgreSQL.
Is there such analogue in EclipseLink? Found solutions with writing your own converter (f.e.: http://www.enterprisedb.com/postgres-plus-edb-blog/richard-yen/4-steps-using-uuids-jpa-postgresql) are not convenient.