[JBoss JIRA] (TEIIDDES-2399) Creating view model from source model with generate transformations results in orphaned annotated object reference to source
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2399?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2399.
------------------------------------
Resolution: Done
> Creating view model from source model with generate transformations results in orphaned annotated object reference to source
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2399
> URL: https://issues.jboss.org/browse/TEIIDDES-2399
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 8.6
> Reporter: Barry LaFond
> Assignee: Barry LaFond
> Fix For: 9.2, 9.0.3
>
>
> Create a View model from a source model and choose the "Transform.." option to generate default transformations.
> The resulting View model will contain an extra <annotatedObject> reference in the same <annotations> element as the *relational* extension model reference
> {code:xml}
> <mmcore:AnnotationContainer xmi:uuid="mmuuid:9c7ac03c-bafc-4aa1-855f-4e6a43dd9c21">
> <annotations xmi:uuid="mmuuid:7aeb8904-fe0c-42ac-ae67-72c8ce5b397d">
> <tags xmi:uuid="mmuuid:873b6c71-41d4-476a-bf9a-442cb7fd7943" key="modelExtensionDefinition:relational" value="relational"/>
> <annotatedObject href="XXXXXXX.xmi#mmuuid/7291fb4c-da39-4bbc-9787-d2edd9b9551c"/>
> </annotations>
> {code}
> This won't cause problems for the View model, however if the View model is copied to yet another view model, the Model Import for the original source model will end up in the top level view model due to the orphaned "href=....."
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2460) JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2460?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2460:
----------------------------------------
When Importing via teiid connection importer, the expectation is to maintain the Teiid runtime types (Teiid DDL) in Designer. The JDBC importer is JDBC metadata, so the expectation is more or less "legacy" behavior for datatype mapping.
Assuming Teiid JDBC Metadata exposes the *int* version, we should be able to add a TeiidModelProcessor which can insure any *int* type stays *int*.
Propose targeting 9.0.4?
> JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
> -----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2460
> URL: https://issues.jboss.org/browse/TEIIDDES-2460
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Reporter: Barry LaFond
> Assignee: Mark Drilling
> Fix For: 9.0.3, 9.2
>
> Attachments: ErrorDialog.png
>
>
> When the JDBC importer is used to import a schema from an existing VDB integer types will be converted into biginterger types. This error is similar to Bug 1026892 except no exception is raised
> Version-Release number of selected component (if applicable):
> Actual results:
> Imported schema has changed integer data type to biginteger data type.
> Expected results:
> Imported schema will be identical to original schema.
> Additional info:
> Imported schema is so long as the JPA entity reflects the biginteger type. This is problematic because now two separate JPA entities are needed, one for the original schema and another for the imported schema.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2592) Connecting to remote server takes a very long time
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2592?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2592:
----------------------------------------
[~asmigala] There was still an illegal arg showing up with null driver name. I fixed that as part of this jira. User can't proceed without the driver, but that's still the EPA issue.
> Connecting to remote server takes a very long time
> --------------------------------------------------
>
> Key: TEIIDDES-2592
> URL: https://issues.jboss.org/browse/TEIIDDES-2592
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2, 9.0.3
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 9.0.3, 9.2
>
> Attachments: org.teiid.runtime.client.patch
>
>
> Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
> blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
> blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2460) JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2460?page=com.atlassian.jira.plu... ]
Andrej Šmigala edited comment on TEIIDDES-2460 at 8/4/15 2:59 AM:
------------------------------------------------------------------
Designer still sets the datatype to biginteger when the datatype in the deployed vdb is integer.
bq. Note that Designer was changed in 9.x to not allow selecting the "integer" datatype. So the use-case was changed to define both int and string typed columns.
bq. On re-import (deployed) VDB, the imported type is "integer" which is Teiid's runtime type which is supported for legacy purposes
I can create a table, set the datatype to int, create and deploy vdb, import through jdbc (the imported model has the the datatype set to integer), create and deploy another vdb with the new model and import through jdbc again. The second imported model has the datatype set to biginteger.
I agree this is a rather convoluted use-case, but it is not unthinkable that the user has an older vdb (created in previous versions of designer) deployed and is trying to import it.
was (Author: asmigala):
Designer still sets the datatype to biginteger when the datatype in the deployed vdb is integer.
bq. Note that Designer was changed in 9.x to not allow selecting the "integer" datatype. So the use-case was changed to define both int and string typed columns.
bq. On re-import (deployed) VDB, the imported type is "integer" which is Teiid's runtime type which is supported for legacy purposes
I can create a table set the datatype to int, create and deploy vdb, import through jdbc (the imported model has the the datatype set to integer), create and deploy another vdb with the new model and import through jdbc again. The second imported model has the datatype set to biginteger.
I agree this is a rather convoluted use-case, but it is not unthinkable that the user has an older vdb (created in previous versions of designer) deployed and is trying to import it.
> JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
> -----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2460
> URL: https://issues.jboss.org/browse/TEIIDDES-2460
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Reporter: Barry LaFond
> Assignee: Mark Drilling
> Fix For: 9.0.3, 9.2
>
> Attachments: ErrorDialog.png
>
>
> When the JDBC importer is used to import a schema from an existing VDB integer types will be converted into biginterger types. This error is similar to Bug 1026892 except no exception is raised
> Version-Release number of selected component (if applicable):
> Actual results:
> Imported schema has changed integer data type to biginteger data type.
> Expected results:
> Imported schema will be identical to original schema.
> Additional info:
> Imported schema is so long as the JPA entity reflects the biginteger type. This is problematic because now two separate JPA entities are needed, one for the original schema and another for the imported schema.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2460) JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2460?page=com.atlassian.jira.plu... ]
Andrej Šmigala reopened TEIIDDES-2460:
--------------------------------------
Designer still sets the datatype to biginteger when the datatype in the deployed vdb is integer.
bq. Note that Designer was changed in 9.x to not allow selecting the "integer" datatype. So the use-case was changed to define both int and string typed columns.
bq. On re-import (deployed) VDB, the imported type is "integer" which is Teiid's runtime type which is supported for legacy purposes
I can create a table set the datatype to int, create and deploy vdb, import through jdbc (the imported model has the the datatype set to integer), create and deploy another vdb with the new model and import through jdbc again. The second imported model has the datatype set to biginteger.
I agree this is a rather convoluted use-case, but it is not unthinkable that the user has an older vdb (created in previous versions of designer) deployed and is trying to import it.
> JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
> -----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2460
> URL: https://issues.jboss.org/browse/TEIIDDES-2460
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Reporter: Barry LaFond
> Assignee: Mark Drilling
> Fix For: 9.0.3, 9.2
>
> Attachments: ErrorDialog.png
>
>
> When the JDBC importer is used to import a schema from an existing VDB integer types will be converted into biginterger types. This error is similar to Bug 1026892 except no exception is raised
> Version-Release number of selected component (if applicable):
> Actual results:
> Imported schema has changed integer data type to biginteger data type.
> Expected results:
> Imported schema will be identical to original schema.
> Additional info:
> Imported schema is so long as the JPA entity reflects the biginteger type. This is problematic because now two separate JPA entities are needed, one for the original schema and another for the imported schema.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2600) DDL Importer does not yet support GLOBAL or LOCAL TEMP TABLE
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-2600:
--------------------------------------
Summary: DDL Importer does not yet support GLOBAL or LOCAL TEMP TABLE
Key: TEIIDDES-2600
URL: https://issues.jboss.org/browse/TEIIDDES-2600
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Reporter: Barry LaFond
Fix For: 9.2, 9.0.4
Trying to import the following DDL into a View model (see: TEIIDDES-1794) the resulting Table has the Global Temp Table value set to *false*.
I don't think the TeiidDdlImporter is handling these particular cases.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months
[JBoss JIRA] (TEIIDDES-2592) Connecting to remote server takes a very long time
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2592?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2592:
----------------------------------------
master: https://github.com/Teiid-Designer/teiid-designer/commit/0832d3ebb6b38c062...
> Connecting to remote server takes a very long time
> --------------------------------------------------
>
> Key: TEIIDDES-2592
> URL: https://issues.jboss.org/browse/TEIIDDES-2592
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 9.0.2, 9.0.3
> Reporter: Andrej Šmigala
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 9.0.3, 9.2
>
> Attachments: org.teiid.runtime.client.patch
>
>
> Any interaction with remote server, such as connecting, importing from teiid connection or listing vdbs and datasources takes a very long time (minutes) when there are many datasources (30+) defined on the server
> blafond: We're compiling lists of DS, Translator and VDB objects. DS's basically take 3 different CLI calls to pull together. If you're not carefull, this results in CLI calls, calling other CLI calls repeatedly
> blafond: 30 Data sources were resulting in 900 + calls to the server, when it should have been maybe.... 60
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 9 months