Migrate from Hibernate Criteria to JPA Criteria
Open
relates-to: gorm
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
The Hibernate Criteria API has been deprecated in Hibernate. So we have to move to the JPA Criteria API in GORM.
This may be a good time to deprecate CriteriaBuilder and friends, recommending instead to use where queries and DetachedCriteria
Contributor guide
Research direction
Start by locating GORM's uses of Hibernate Criteria, CriteriaBuilder, and DetachedCriteria, then review the JPA Criteria API migration requirements. The issue provides no file or test entry point, so map the affected code and existing tests first. Done means the relevant GORM Criteria usage is migrated and any deprecation guidance is agreed and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100