title: JPA mapping to Oracle user defined types
body: <p>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.</p>
  
  <p>Using straight JPA, how would one do the same thing?</p>