[JBoss JIRA] (TEIIDDES-1709) Unable to import relational model from xml
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1709?page=com.atlassian.jira.plu... ]
Mark Drilling updated TEIIDDES-1709:
------------------------------------
Fix Version/s: 8.2
Assignee: Mark Drilling (was: Barry LaFond)
Designer stack trace:
java.lang.NullPointerException
at org.teiid.designer.relational.model.RelationalParameter.validate(RelationalParameter.java:192)
at org.teiid.designer.relational.model.RelationalReference.handleInfoChanged(RelationalReference.java:227)
at org.teiid.designer.relational.model.RelationalReference.setName(RelationalReference.java:111)
at org.teiid.designer.relational.model.RelationalParameter.setProperties(RelationalParameter.java:211)
at org.teiid.designer.relational.ui.wizards.RelationalModelXmlTextFileProcessor.parseFile(RelationalModelXmlTextFileProcessor.java:281)
at org.teiid.designer.relational.ui.wizards.RelationalModelXmlTextFileProcessor.loadLinesFromFile(RelationalModelXmlTextFileProcessor.java:124)
at org.teiid.designer.relational.ui.wizards.RelationalModelTextImporterMainPage.handleSourceBrowseButtonPressed(RelationalModelTextImporterMainPage.java:418)
at org.teiid.designer.relational.ui.wizards.RelationalModelTextImporterMainPage.handleEvent(RelationalModelTextImporterMainPage.java:177)
> Unable to import relational model from xml
> ------------------------------------------
>
> Key: TEIIDDES-1709
> URL: https://issues.jboss.org/browse/TEIIDDES-1709
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 8.1
> Reporter: Andrej Podhradsky
> Assignee: Mark Drilling
> Fix For: 8.2
>
> Attachments: relationalModel.xml
>
>
> Unable to import relational model from xml file. During the importing you can see that File Contents is still empty in the wizard (I think there is the problem). After importing the created xmi file is empty.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIIDDES-1660) DDL Importer should correct Primary Key referencing a nullable column
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1660?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-1660:
----------------------------------------
The "error" was the default EMF value for nullable is "NULLABLE", which has been that way for 10 years.
So if no nullable value is defined in DDL it was ending up NULLABLE independent of any PK/UC check.
We now check the PK/UC to make sure it's column is "NOT NULL".
> DDL Importer should correct Primary Key referencing a nullable column
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-1660
> URL: https://issues.jboss.org/browse/TEIIDDES-1660
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Import/Export
> Affects Versions: 8.1
> Reporter: Mark Drilling
> Assignee: Barry LaFond
> Fix For: 8.2
>
>
> If the DDL does not specify the nullability of a column, but the column is used as a primary key, the DDL Importer should go ahead and specify that the column is not nullable. If not this results in an error with the generated model.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIIDDES-1667) Ability to define UDF with vararg to be used in a static VDB
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1667?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-1667:
---------------------------------------
Trying to reconcile how I defined this in the dynamic vdb and how its done in Designer.
In the dynamic vdb, it was important to use the VARIADIC in the definition, as in the following example:
CREATE VIRTUAL FUNCTION performRuleOnData(className string, returnMethodName string, returnIfNull string, VARIADIC z object ) RETURNS string OPTIONS (JAVA_CLASS 'org.jboss.teiid.businessrules.udf.RulesUDF', JAVA_METHOD 'performRuleOnData', VARARGS 'true');
I would have thought there would be some correlation between how its defined in the Designer or dynamic vdb.
> Ability to define UDF with vararg to be used in a static VDB
> ------------------------------------------------------------
>
> Key: TEIIDDES-1667
> URL: https://issues.jboss.org/browse/TEIIDDES-1667
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.0
> Environment: JBoss AS 7.1.1
> Teiid 8.3.0
> Teiid Designer 8.0.0
> Reporter: Shakir Shaik
> Assignee: Mark Drilling
> Fix For: 8.2
>
>
> I am not able to use a UDF with vararg and deploy the same in a static VDB.
> Please see the details in the following thread of Teiid Designer User forum discussions:
> https://community.jboss.org/thread/223823?tstart=0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (TEIIDDES-1667) Ability to define UDF with vararg to be used in a static VDB
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1667?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-1667:
------------------------------------------
There are several aspects to this:
1. On the teiid side, we do not associate extension metadata with function models (as they are parsed through a legacy direct xml parser), so any usage of a function model for this purpose will fail.
2. I haven't reviewed the logic lately, but Designer was loading udfs directly into the workspace metadata rather than through an index load. If that's still the case you'd have to ensure the proper handling of all the extension properties there for proper use in the workspace.
3. Assuming the use of a non-function model, the vdb needs to be verified that it contains the proper extension.
> Ability to define UDF with vararg to be used in a static VDB
> ------------------------------------------------------------
>
> Key: TEIIDDES-1667
> URL: https://issues.jboss.org/browse/TEIIDDES-1667
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.0
> Environment: JBoss AS 7.1.1
> Teiid 8.3.0
> Teiid Designer 8.0.0
> Reporter: Shakir Shaik
> Assignee: Mark Drilling
> Fix For: 8.2
>
>
> I am not able to use a UDF with vararg and deploy the same in a static VDB.
> Please see the details in the following thread of Teiid Designer User forum discussions:
> https://community.jboss.org/thread/223823?tstart=0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months