A question that has been asked on this forum, but doesn't seem to have an answer.
I basically want to use a named parameter with a value of 'Hello_World%' and actually have a SQL statement generated that escapes the wildcard characters.
Is this possible for Hibernate to do this in a database agnostic way?
If so, please point me to that jewel of information.
If not, just say no and the truth will set me free ... to write my own code to provide this functionality :)
I just do not want to re-invent the wheel, and I haven't seen the use of wildcards discussed in the documentation at all.
Any help is appreciated!
Thanks,
-Dave
|