For the most part you can persist your domain objects just by marking up your domain objects using the JPA annotations. However, persisting custom value types does require additional coding to allow Hibernate to persist these objects.
The JPA Objects application library therefore provides some helper classes to allow you to persist your values types. Specifically it provides:
See the user guide for more details on using these classes.