Is there something like Restrictions.eq(true, false) in Criteria API ?

Posted by chrsk on Stack Overflow See other posts from Stack Overflow or by chrsk
Published on 2010-04-19T11:58:01Z Indexed on 2010/04/19 16:23 UTC
Read the original article Hit count: 269

Filed under:
|
|

I need a generic Criterion which forces the result to zero matches.

Something like Restrictions.eq(true, false) ?

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about criteria