30 Oct
2008
30 Oct
'08
2:06 p.m.
Henk Schouten wrote:
Hello,
I have a simple question, although I could not find the answer in the archives or google.
Is it possible to use a [0-9] pattern in the where clause of a HQL query. Something like:
where doc.title like '[0-9]%'
I don't think so. Hibernate leverages the different SQL syntaxes, and AFAIK, SQL does not support regular expressions or patterns. -- Sergiu Dumitriu http://purl.org/net/sergiu/