Also testing time on queries between MySQL and Redis.
In DB using tables Country, City and Languages.
- Java 18
- Maven 4.0.0
- Hibernate 5.6.15.Final
- MySQL-connector 8.0.33
- p6spy 3.9.1
- Junit 5.9.2
- Log4j 2.20.0
- download project
git clone https://github.com/MaletyPerun/project-hibernate-final.git
- start docker container via console in package of project ".../project-hibernate-final"
docker-compose up
โ download and start containers on images of MySQL and Redis.
-
make dump DB from package:
..src/main/resourses/dump-hibernate-final.sql
-
build application via console in package of project "../project-hibernate-final"
mvn clean install
Using: SessionFactory, JPA-annotation, HQL, Logging, dockerfile, docker-compose