we have an exsiting application, we decided to introduce hibernate into our application.
currently, there are lot of very complex query written in native SQL,we use feature such as union, native sql functions such as rank() and some OLAP functions.
I know we can use createSqlQuery, this may be the easiest way to convert the current application.
however,we like to take the advantage provided by hibernate, such as using HQL, critira API for complex searching screens.
any body have experience and suggestions on such complex SQL convertions.
Thank you
|