This is a some simple example of using Hibernate ORM
.
Also inside it you can see JUnit 5
tests for classes.
mvnw clean install
cd target
java -jar demohibernate-1.0-SNAPSHOT.jar
You can see database connection (PostgreSQL
) setting in the hibernate.cfg.xml