Reputation: 4719
Oracle allows for the definition of user defined types. Hibernate can map to these types using the org.hibernate.usertype.UserType class. This defines a mapping between a java bean and the Oracle type.
Using straight JPA, how would one do the same thing?
Upvotes: 1
Views: 2180
Reputation: 42084
You cannot do it with straight JPA. It doesn't have concept of user defined type. For this need you have to use vendor extensions.
Upvotes: 2