Hibernate and JPA resources
Some articles and links about Hibernate ORM and JPA.
This article has a detailed explanation about the different cascade options with related tables.
When we have customized types (Java enums for example), it’s necessary to implement type conversors for persisting the type values. This article contains a simple example of type JPA converter:
A complete example about using the
for adding auditory data (creation date and author) for objects, using
an embedded class:
An implementation for a “soft delete” using a “
delete” boolean field