简体   繁体   中英

Is there a Criteria API for Spring Data JDBC?

since i can't find anything in the docs and the information out there seems to be restricted - what is the best way to achieve functionality equal to the Criteria API from spring data in Spring Data JDBC?

Is there any alternative or do i have to fall back to something like JdbcTemplate?

There is currently no Criteria API and there are no plans to create one.

But you can combine Spring Data JDBC with other libraries that provide such an API, like JOOQ or Querydsl by writing a custom method.

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