Skip to content

Using Spring Data JPA to access MySQL database. JUnit testing of some Repositories

Notifications You must be signed in to change notification settings

lenlag/Cycle_Race

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cycle_Race

Cycle_Race

In this project My SQL database is created using JPA annotations.

All the repositories extend CrudRepository.

In Application.java I use @Transactional public void run()... to create a temporary Session to deal with "LAZY" Entities.

All the repositories are tested via JUnit (using h2 test in-memory database).

About

Using Spring Data JPA to access MySQL database. JUnit testing of some Repositories

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages