Skip to content
Michiel Meeuwissen edited this page Feb 3, 2019 · 12 revisions

JCR-Criteria 2.0

Version 2.0 will be largely similar compatible with 1.2. Some minor API-changes will be made, which should be easy to fix. Support for SQL2 will be added.

  • java Restrictions.eq(<property>, Boolean.FALSE) will not any more implitely match on missing property. Use isFalsy(<property>) in stead.
  • Must methods on java Restrictions do not any more accept java Object, but only the types that are actually supported. This results in more methods, but it will be less error prone to use.
Clone this wiki locally