jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
196 stars 58 forks source link

clarify the parameter order of the locate() function #349

Closed lukasj closed 2 years ago

lukasj commented 2 years ago

The current wording is very difficult for non-native speakers to understand, "located" being almost a synonym for "searched", and was apparently even misread by the person who wrote CriteriaBuilder, since CriteriaBuilder.locate() gets the parameters in the "wrong" order.