Hi All,
This must be related to your dialect .Please look at the following link to get your right dialect class and replace it in your properties file or where ever you specified your hibernate.dialect properties.
http://www.hibernate.org/hib_docs/v3/ap ... mmary.html
Note - I was getting the SQL generated like limiting clause not "rownumber_ <= ?" before I switch my dialect from org.hibernate.dialect.DBDialect to org.hibernate.dialect.DB2390Dialect.
Thanks to curtis for pointing this out.
Regards,
Vinodh