aspose file tools
The moose likes Object Relational Mapping and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark ""like clause" in HQL?" Watch ""like clause" in HQL?" New topic
Author

"like clause" in HQL?

S.Subhash Chandran
Greenhorn

Joined: Dec 31, 2002
Posts: 27
Does Hibernate support "like clause" of SQL. We are using Oracle9i and Oracle9i dialect in Hibernate. If it does not support the "like clause", are there any alternatives for the same?

Thank u!


Subhash Chandran S<br /><a href="http://www.indiwiz.com/" target="_blank" rel="nofollow">http://www.indiwiz.com/</a>
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes. In HQL "LIKE" is supported exactly as it is in SQL.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: "like clause" in HQL?
 
Similar Threads
Unable to create schema
is this orderby query right? as i am getting an error
Does Hinernate require any application server like Websphere ?
does weblogic 910 support hibernate 3 ?
PojoCache for Hibernate second-level caching