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.

refer api doc


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -