https://lufficc.com/blog/spring-boot-jpa-basic
How Repository Bean is created
bugs
Transaction burst error is not turned on when 1.jpa use
solution:
identify @Transactional statement on the call jpa
2 jpa custom query
probably meant to say the query with named parameters, you need to provide the name of the method parameters used @param query method parameter is more than a sign of java8,
Solution: in front of the self-defined query parameters plus @Param
such as
bug: JPA java.lang.IllegalStateException: Queries with the For named the Parameters you need to use the Provide names
bug: Hibernate query error: org.hibernate.hql.internal.ast.QuerySyntaxException: XXX is not mapped
Learning:
Fuzzy query: How to Spring Data JPA fuzzy query (LIKE)?