-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In request there is first() but no last() #20
Comments
Yes, I can. But this |
So maybe better make method that will call SQL for first and last? |
To use SQL to getting the last record, we need to use the |
I see that first() uses CollectionUtils which returns first element so let's for now do last Method there that like you said returns last element |
Did you mean, that we should use something like |
There is implementation of: H.request(MyClass.class).first();
but no: H.request(MyClass.class).last();
I need to make list() call than get last element, but the rest is not needed and takes unnecesary memory banks. Can you implement it in HibernateRequest ?
The text was updated successfully, but these errors were encountered: