Github user johnament commented on a diff in the pull request:
https://github.com/apache/deltaspike/pull/52#discussion_r65732553
--- Diff:
deltaspike/modules/data/api/src/main/java/org/apache/deltaspike/data/api/Query.java
---
@@ -83,7 +82,11 @@
/**
* For native queries only, whether or not this query returns the
defined entity class or not.
* Due to type erasure from generics, we don't have runtime
information about the return collection
+ *
+ * @deprecated Native queries can deduce the correct return type and
mapping. This property has no effect and can be
+ * removed safely.
*/
+ @Deprecated
boolean returnsEntity() default true;
--- End diff --
Please delete this parameter, just like in your original PR. This was only
added this week to address this problem originally.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---