How can I avoid wildcards in a similar section?
eg:.
select foo from Foo as foo where foo.bar like '%' || : filter || '%'
query.setParameter ("filter", "%");
query.list ();
// I'd expect to get the foo containing the '%' in bar, not all of them!
Any ideas?
wildcard hibernate hql like
Pablo cabrera
source share