Skip to content

arielcarrera/cdi-spring-data-jpa-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Project: CDI + JPA + JTA + Spring Data JPA integration

Sample project for CDI, JPA, JTA and Spring Data JPA integration.

Added Support for:

  • Better repository composition (Spring Data JPA)
  • @Transactional (JTA)
  • @TransactionalScoped EntityManager (JPA + CDI) / Support for a second entityManager with @Dependent (for initialization usage)
  • @ChacheResult, @CachePut, @CacheRemove, @CacheRemoveAll (JCache)
  • @Cacheable (JPA 2ND Level Cache)

Other resources:

hibernate-demos Link: https://github.com/hibernate/hibernate-demos/tree/master/other/cdi-jpa-testing

Gunnar Morling post: http://in.relation.to/2019/01/23/testing-cdi-beans-and-persistence-layer-under-java-se/

About

Test Integration between Spring Data Jpa and CDI + JPA + JTA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages