Hi I am new to Hibernate and this group as well, first of all please let me know if is this right group to ask following question?
I have following line in my code:
objectsList = mSession.createCriteria(LibraryObject.class).addOrder(Order.asc("partnumber")).setMaxResults(10).list();
This is not returning anything neither throwing excpetion. I am using Hibernate3 and Oracle9. I am also using proper Dialect class for Oracle.
When I enabled the log I found in query rownum_ was not coming as 10 rather it was showing "?", so not sure if I have done anything with mapping or configuration.
Thanks and Regards
Sunil
|