[
https://jira.jboss.org/browse/TEIIDDES-581?page=com.atlassian.jira.plugin...
]
Dan Florian resolved TEIIDDES-581.
----------------------------------
Resolution: Done
Importer can now save DDL into the model object descriptions. Moved the setting of the
descriptions to after the model type was set and after the model was saved. The model
being saved is when the ModelAnnotation is added to its container. Had to unfortunately do
another save after setting the descriptions. Also fixed an issue with the DDL importer
where the set description checkbox was being restored to the state from the last session
but the non-GUI importer wasn't getting notified of that state. Reviewed by Barry L.
NPE importing DDL into Relational Model with "Set description of
model entities to corresponding DDL statement" option checked
------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-581
URL:
https://jira.jboss.org/browse/TEIIDDES-581
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.1.1
Environment: Error was reproduced on Linux in my Eclipse IDE, using a 3.6 Helios
w/Teiid Designer CR1 installed and 3.6 Helios with JBoss aggregate build:
jbosstools-3.2.0.M2.aggregate-Update-2010-08-26_02-57-10-H188.zip
Reporter: Barry LaFond
Assignee: Dan Florian
Priority: Critical
Fix For: 7.1.1
Attachments: org.teiid.designer.compare.patch,
org.teiid.designer.ddl.importer.patch, ProductsDB2.ddl, ProductsSQLServer.ddl,
TEIIDDES_581.txt
I exported Products relational model into both DB2 and SQL Server DDL files.
Tried importing them into relational models and checking the "Set description of
model entities to corresponding DDL statement" option.
In both cases I got NPE's hitting "Next>" or "Finish".
See attacheck DDL and Stacktrace log.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira