Open topic with navigation
Query By Example Limitations
Query By Example has by design a lot of limitations:
- You cannot perform advanced query expressions. (
OR, NOT, etc.)
- You cannot constrain for default-values like 0 on numbers, empty strings or nulls on references because they would be interpreted as
unconstrained.
- You need a constructor to create objects
without initialized fields.
- Complex queries by example are not easy to read and interpret what they query for.