简体   繁体   中英

Which class does the parsing and query building in spring data JPA repository?

我已经在 spring 文档“Spring Data 存储库基础结构中内置的查询构建器机制”中阅读了这一行,谁能告诉我这个查询构建在 spring 中到底是哪个类?

You should look at org.springframework.data.jpa.repository.query.JpaQueryCreator and also at org.springframework.data.jpa.repository.query.PartTreeQuery . The former does the actual construction of the query. The latter holds all the pieces together: The parsed PartTree containing the structure of the method name, arguments, the processing of results and so on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM