This repository contains example projects about various Spring technologies.
There are separate folders for each technology.
Projects are setup for Maven.
in-memory-db-test1
, this project just puts together the code from article:
Unit Testing with an In-Memory Database for a Spring/Hibernate Project
-
in-memory-db-test2
updates the previous project with JPA 2.1, Spring 4, Hibernate 4 and commons-dbcp2 -
in-memory-db-test3
replaces XML Spring configuration with a (almost) pure java one. -
in-memory-db-test4
updates logging and uses DataSourceInitializer to populate the database with the same data before each test.