java - How to match any integer in hibernate? -
to match string table , use restrictions.like("fieldname","%")
. how achieve same when matching field integer?
restrictions has many methods eq, ge,gt,le, lt, in
you can use 1 above depending on contition check.
Comments
Post a Comment