This is an example with Spring, JPA and HSQLDB.