Skip to content

tunaranch/spring-boot-kotlin-jpa-kotlintest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlintest and Spring Data JPA

@DataJpaTest does not appear to work with kotlintest. The tests fail with the error:

javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call

Note that the standard JUnit 5 test works.

See tests:

Run the tests with:

$ ./mvnw test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages