Hi,
I have a sql statement which I want to move it into hibernate criteria, but I am not clue how to do this.
The problem is one of the WHERE clause which looks like the following
...(skip other parts)... ? ILIKE strprefix||'%' ...(continue)
strprefix is the column name, the ? is the place i need to fill in the value.
With criteria, I can use
criteria.add(Expression.ilike(propertyName, value));
but in this case, how can i do this.
Thanks in advance!