I have a problem with Spring Boot 2.0.0. When I throw an RuntimeException it is not rollback the transaction. I was using Spring Boot 1.5.9 with the same settings and it wor
Which dialect are you using? You must be specifying spring.jpa.properties.hibernate.dialect
spring.jpa.properties.hibernate.dialect
Springboot 2.0 @Transaction doesn't get supported by org.hibernate.dialect.MySQL5Dialect
Rather use org.hibernate.dialect.MySQL5InnoDBDialect