[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John D. Ament updated DELTASPIKE-1089: -- Component/s: Data-Module > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug > Components: Data-Module >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: John D. Ament > Fix For: 1.6.2 > > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John D. Ament updated DELTASPIKE-1089: -- Fix Version/s: 1.6.2 > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: John D. Ament > Fix For: 1.6.2 > > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-1089: - Priority: Major (was: Critical) > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: Daniel Cunha > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Priority: Critical (was: Major) > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: Daniel Cunha >Priority: Critical > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-1089: - Assignee: Daniel Cunha (was: Thomas Hug) > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: Daniel Cunha > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-1089: - Affects Version/s: (was: 1.5.3) (was: 1.5.2) (was: 1.5.1) > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: Thomas Hug > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek updated DELTASPIKE-1089: - Assignee: Thomas Hug > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.1, 1.5.2, 1.5.3, 1.5.4 >Reporter: VITALIY SAVCHENKO >Assignee: Thomas Hug > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Affects Version/s: 1.5.1 > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.1, 1.5.2, 1.5.3, 1.5.4 >Reporter: VITALIY SAVCHENKO > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Affects Version/s: 1.5.2 1.5.3 1.5.4 > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Affects Versions: 1.5.1, 1.5.2, 1.5.3, 1.5.4 >Reporter: VITALIY SAVCHENKO > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Description: After DELTASPIKE-978 in repository no possible to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name FROM actions ") @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. was: After DELTASPIKE-978 in repository no possible to to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name FROM actions ") @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Reporter: VITALIY SAVCHENKO > > After DELTASPIKE-978 in repository no possible to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Description: After DELTASPIKE-978 in repository no possible to to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name FROM actions ") @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. was: After DELTASPIKE-978 in repository no possible to to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name " + "FROM actions " + ) @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Reporter: VITALIY SAVCHENKO > > After DELTASPIKE-978 in repository no possible to to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name FROM actions ") > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (DELTASPIKE-1089) No possible to select non Entity object via Native query
[ https://issues.apache.org/jira/browse/DELTASPIKE-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] VITALIY SAVCHENKO updated DELTASPIKE-1089: -- Description: After DELTASPIKE-978 in repository no possible to to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name " + "FROM actions " + ) @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. was: After DELTASPIKE-978 in repository no possible to to select non Entity object via Native query. For example(very simple): {code:java} @Query( isNative = true, value = " SELECT name " + "FROM actions " + ) @Override public abstract Collection listActions(); {code} Reason: Changes in AnnotatedQueryBuilder.java -result = params.applyTo(entityManager.createNativeQuery(jpqlQuery)); +result = params.applyTo(entityManager.createNativeQuery(jpqlQuery, context.getEntityClass())); Now native query can return only Entity of this repository. > No possible to select non Entity object via Native query > > > Key: DELTASPIKE-1089 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1089 > Project: DeltaSpike > Issue Type: Bug >Reporter: VITALIY SAVCHENKO > > After DELTASPIKE-978 in repository no possible to to select non Entity object > via Native query. > For example(very simple): > {code:java} > @Query( > isNative = true, > value = " SELECT name " + > "FROM actions " + > ) > @Override > public abstract Collection listActions(); > {code} > Reason: > Changes in AnnotatedQueryBuilder.java > -result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery)); > +result = > params.applyTo(entityManager.createNativeQuery(jpqlQuery, > context.getEntityClass())); > Now native query can return only Entity of this repository. -- This message was sent by Atlassian JIRA (v6.3.4#6332)