-
Notifications
You must be signed in to change notification settings - Fork 61
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
return type of createNativeQuery(String, Class) #52
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented returning Query. So for backwards compatibility you can't just change the signature. Unless backwards compatibility is thrown away of course ... |
@glassfishrobot Commented |
|
I don't think this is possible without breaking backwards compatibility and this seems very minor. I suggest just closing it to reduce clutter. Reza Rahman Please note views expressed here are my own as an individual community member and do not reflect the views of my employer. |
I think we should not do anything about this issue for now, but I do think it's something we should circle back to later, probably at the same time we look at #9. Changing the return type of the method from On the other hand, depending on how we do #9, it's remotely possible that this change won't be necessary after all. |
I support this for being included in 4 as well. |
preparing the way for jakartaee#52
finally fixes ancient issue jakartaee#52 Signed-off-by: Gavin King <gavin@hibernate.org>
Hi,
I've got a minor suggestion:
could return a TypedQuery as the result class is specified:
-Adrian
The text was updated successfully, but these errors were encountered: