We're updating the issue view to help you get more done. 

Unmark deprecated the NativeQuery methods and add missing covariant overrides

Description

A lot of NativeQuery methods are marked as deprecated as they are inherited from SQLQuery (which is marked as deprecated) whereas they should not.

We should override these methods in NativeQuery so that they are not marked as deprecated.

Another issue is that a few covariant overrides are missing in NativeQuery. This is annoying as typically setFirstResult returns a Query instead of a NativeQuery breaking the ability to chain the calls.

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Guillaume Smet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Minor