peter_backlund
21ffa2b051
Domain model persisted using Hibernate annotations.
Repository test against an actual database.
Hibernate needs package-protected no-args constructors, which blocks the use of final in many places.
"Long id" properties are excluded from equals and hashcode builders, to enforce the use of natural business keys that are separate from persistence details.