Generic type signature of FullTextQuery should not be as flexible as the JPA Query

Description

In its current format we shouldn't suggest that the return type matches the types passed. Make sure to return a Query<T> whose T is Object or at best{{Object[]}} if projections are enabled. Keep in mind that in ORM a projection of one single element might actually not return an array but the instance directly.

See and

Environment

None

Assignee

Yoann Rodière

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Blocker
Configure