Fix QueryProducer.createNativeQuery documentation

Description

Documentation for QueryProducer's method:

states for parameter: resultClass - The Java type to map results to.

Trying to use it with Integer type results in the following error:
org.hibernate.MappingException: Unknown entity: java.lang.Integer

The documentation should be changed to reflect that the result class must be a valid JPA Entity.

Environment

None

Assignee

Unassigned

Reporter

Alex CD

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure