[
https://issues.jboss.org/browse/TEIIDDES-2925?page=com.atlassian.jira.plu...
]
Van Halbert commented on TEIIDDES-2925:
---------------------------------------
regarding:
But I see another problem. When I have already created JDG source tables and set
materialization, I have the option to generated POJO again (Right click to viewTable which
is materialized (viewAllBooks) and Modeling>Create POJO). But what I change the class
name again. How is use case ? Teiid designer should be rename JDG source tables which are
already set according to new class name or at least show warning that user has to rename
this tables?
The use case on creating a pojo (not thru materialization) could be for either for
materialization or to use it when going to access JDG as a data source. So yes, we should
probably add a warning so the user knows what they generated may not be usable in a
current materialization unless the JDG source tables are regenerated.
Designer doesn't change java class name in the generated POJO
module
--------------------------------------------------------------------
Key: TEIIDDES-2925
URL:
https://issues.jboss.org/browse/TEIIDDES-2925
Project: Teiid Designer
Issue Type: Bug
Components: Build
Affects Versions: 10.0.2
Environment: Fedora 24
Reporter: Matej Kralik
Assignee: Barry LaFond
Fix For: 10.0.2
Attachments: screenshot1.png, screenshot2.png
I have a table (for example PersonMatView) and I want to create materialization. I set
'create POJO' and set java class name to Person (screenshot1). After that in the
generated JDG module is Person.jar but in the jar, the class has name same like the table
(Personmatview.class). (screenshot2). Is it required to have class name same as
materialized table?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)