[JBoss JIRA] (TEIID-5350) JPA translator vs de-typed entities
by Harold Campbell (JIRA)
[ https://issues.jboss.org/browse/TEIID-5350?page=com.atlassian.jira.plugin... ]
Harold Campbell commented on TEIID-5350:
----------------------------------------
The sooner it's in something released the better from my perspective. I guess I should have done my work against the 10.3.x branch to begin with?
> JPA translator vs de-typed entities
> -----------------------------------
>
> Key: TEIID-5350
> URL: https://issues.jboss.org/browse/TEIID-5350
> Project: Teiid
> Issue Type: Quality Risk
> Components: Misc. Connectors
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
> Fix For: 11.0
>
> Attachments: 0001-TEIID-5350-JPAMetadataProcessor-Ignore-entities-mana.patch
>
>
> See here for some background: https://hibernate.atlassian.net/browse/HHH-10968
> When the JPA translator encounters a de-typed entity, such as those synthesized by Hibernate Envers, a NullPointerException is thrown. This is because the entity getJavaType() returns null, and calling getName() on that goes boom.
> The simplest solution I can think of is to wrap the Metamodel in another one which filters out any entities/managed types which return null for getJavaType(), but if something more useful could be done with these things that would be nice.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIID-5352) WS datasource indicates url is required, but it's not
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5352:
-------------------------------------
Summary: WS datasource indicates url is required, but it's not
Key: TEIID-5352
URL: https://issues.jboss.org/browse/TEIID-5352
Project: Teiid
Issue Type: Quality Risk
Components: Misc. Connectors
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 11.0
The ra.xml metadata indicates that the url property is required, but it's actually not. The user can of course ignore this, but it should also be corrected in the ra.xml.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIID-5350) JPA translator vs de-typed entities
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-5350?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-5350:
----------------------------------
Issue Type: Quality Risk (was: Feature Request)
Component/s: Misc. Connectors
Fix Version/s: 11.0
Looks good Harold, thank you. Did you also want this fix in a 10.3 fix release?
> JPA translator vs de-typed entities
> -----------------------------------
>
> Key: TEIID-5350
> URL: https://issues.jboss.org/browse/TEIID-5350
> Project: Teiid
> Issue Type: Quality Risk
> Components: Misc. Connectors
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
> Fix For: 11.0
>
> Attachments: 0001-TEIID-5350-JPAMetadataProcessor-Ignore-entities-mana.patch
>
>
> See here for some background: https://hibernate.atlassian.net/browse/HHH-10968
> When the JPA translator encounters a de-typed entity, such as those synthesized by Hibernate Envers, a NullPointerException is thrown. This is because the entity getJavaType() returns null, and calling getName() on that goes boom.
> The simplest solution I can think of is to wrap the Metamodel in another one which filters out any entities/managed types which return null for getJavaType(), but if something more useful could be done with these things that would be nice.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIID-5346) Improve costing of literals even with unknown values
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-5346?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-5346.
-----------------------------------
Resolution: Done
Updated the logic to better propagate ndv. Also added logic dealing with preventing the creation of unnecessary dependent joins with copy criteria - which were the majority of the test case changes.
> Improve costing of literals even with unknown values
> ----------------------------------------------------
>
> Key: TEIID-5346
> URL: https://issues.jboss.org/browse/TEIID-5346
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 11.0
>
>
> In the nodes above a projected literal if there are unknown cardinalities will become ndv unknown - rather than the expected ndv/nnv.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIID-5349) JPA translator support for Enums
by Harold Campbell (JIRA)
[ https://issues.jboss.org/browse/TEIID-5349?page=com.atlassian.jira.plugin... ]
Harold Campbell commented on TEIID-5349:
----------------------------------------
I can try. Is there another translator which deals with an enum like thing I can use as an example?
> JPA translator support for Enums
> --------------------------------
>
> Key: TEIID-5349
> URL: https://issues.jboss.org/browse/TEIID-5349
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
>
> The JPA translator does not currently support enums. Whenever it encounters one it throws a TranslatorException because an enum is neither a simpleType nor an entity/embeddable.
> It would be nice if the translator could support these mappings somehow.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months