[JBoss JIRA] (TEIID-5350) JPA translator vs de-typed entities
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-5350?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-5350:
-------------------------------------
[~traivor] Can you provide the above as the Pull Request, I will take a look merging it. This translator is little dated, as there was never enough community push for this feature.
> JPA translator vs de-typed entities
> -----------------------------------
>
> Key: TEIID-5350
> URL: https://issues.jboss.org/browse/TEIID-5350
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
> 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-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 updated TEIID-5350:
-----------------------------------
Attachment: 0001-TEIID-5350-JPAMetadataProcessor-Ignore-entities-mana.patch
> JPA translator vs de-typed entities
> -----------------------------------
>
> Key: TEIID-5350
> URL: https://issues.jboss.org/browse/TEIID-5350
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
> 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-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:
----------------------------------------
Here's a possible solution which works for me.
[^0001-TEIID-5350-JPAMetadataProcessor-Ignore-entities-mana.patch]
> JPA translator vs de-typed entities
> -----------------------------------
>
> Key: TEIID-5350
> URL: https://issues.jboss.org/browse/TEIID-5350
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Harold Campbell
> Assignee: Steven Hawkins
> 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-4898) Catch up with the latest thortail features
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4898?page=com.atlassian.jira.plugin... ]
Steven Hawkins reassigned TEIID-4898:
-------------------------------------
Component/s: WildFly Swarm
(was: Embedded)
Description: We should assess the linked JIRAs and upgrade to the initial thorntail release.
Fix Version/s: 11.0
(was: 11.x)
Summary: Catch up with the latest thortail features (was: Cach up with the latest wildfly-swarm features)
Assignee: Ramesh Reddy (was: Kylin Soong)
> Catch up with the latest thortail features
> ------------------------------------------
>
> Key: TEIID-4898
> URL: https://issues.jboss.org/browse/TEIID-4898
> Project: Teiid
> Issue Type: Feature Request
> Components: WildFly Swarm
> Reporter: Kylin Soong
> Assignee: Ramesh Reddy
> Fix For: 11.0
>
>
> We should assess the linked JIRAs and upgrade to the initial thorntail release.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIID-5351) Upgrade to WildFly 13
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5351:
-------------------------------------
Summary: Upgrade to WildFly 13
Key: TEIID-5351
URL: https://issues.jboss.org/browse/TEIID-5351
Project: Teiid
Issue Type: Task
Components: Server
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 11.0
We should move to WildFly 13, which should be at GA by the Teiid 11.0 release.
--
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 Harold Campbell (JIRA)
Harold Campbell created TEIID-5350:
--------------------------------------
Summary: JPA translator vs de-typed entities
Key: TEIID-5350
URL: https://issues.jboss.org/browse/TEIID-5350
Project: Teiid
Issue Type: Feature Request
Reporter: Harold Campbell
Assignee: Steven Hawkins
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-5349) JPA translator support for Enums
by Harold Campbell (JIRA)
Harold Campbell created TEIID-5349:
--------------------------------------
Summary: 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
[JBoss JIRA] (TEIID-5348) Debezium Integration
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-5348:
-------------------------------------
Summary: Debezium Integration
Key: TEIID-5348
URL: https://issues.jboss.org/browse/TEIID-5348
Project: Teiid
Issue Type: Feature Request
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Parent issue for Debezium related issues.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months