JPA & JDBC may be used together in Spring Boot

Plan to create a blog post around this tweet:

"Yes, you can use Spring Data JPA and Spring Data JDBC together. Spring Boot will do the configuration for you, you just have to make sure that all entities handled by Spring Data JDBC have a @Table annotation." - StackOverflow question 64624083

Plan: Perhaps a JPA crud application for teams & players (with a many to many relationship). Then add tags to the players and use JDBC to filter on tags? IDK there are likely better examples.



Tags: java, programming, spring, spring-boot

← Back home