[JBoss JIRA] (TEIID-4349) NPE while creating local temporary table with "set showplan on"
by Lucie Fabrikova (JIRA)
[ https://issues.jboss.org/browse/TEIID-4349?page=com.atlassian.jira.plugin... ]
Lucie Fabrikova commented on TEIID-4349:
----------------------------------------
I am not sure what is entire stacktrace... this is what got printed with printStackTrace() after catching SQLException.
The exception seems related only to my IDE eclipse, it didn't appear if I re-run code from command line.
I guess there is no bug then.
> NPE while creating local temporary table with "set showplan on"
> ---------------------------------------------------------------
>
> Key: TEIID-4349
> URL: https://issues.jboss.org/browse/TEIID-4349
> Project: Teiid
> Issue Type: Bug
> Components: JDBC Driver
> Environment: driver jboss-dv-6.3.0.ER5-teiid-jdbc.jar
> DV 6.3.0 ER5
> Reporter: Lucie Fabrikova
> Assignee: Steven Hawkins
> Attachments: excStackTrace.log
>
>
> NPE is thrown while creating local temporary table if "set showplan on"/debug was previously set.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (TEIID-4349) NPE while creating local temporary table with "set showplan on"
by Lucie Fabrikova (JIRA)
Lucie Fabrikova created TEIID-4349:
--------------------------------------
Summary: NPE while creating local temporary table with "set showplan on"
Key: TEIID-4349
URL: https://issues.jboss.org/browse/TEIID-4349
Project: Teiid
Issue Type: Bug
Components: JDBC Driver
Environment: driver jboss-dv-6.3.0.ER5-teiid-jdbc.jar
DV 6.3.0 ER5
Reporter: Lucie Fabrikova
Assignee: Steven Hawkins
Attachments: excStackTrace.log
NPE is thrown while creating local temporary table if "set showplan on"/debug was previously set.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (TEIID-4319) Deprecate automatically adding of the class object to the source table
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-4319?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-4319:
-------------------------------
Git Pull Request: https://github.com/teiid/teiid/pull/772
> Deprecate automatically adding of the class object to the source table
> ----------------------------------------------------------------------
>
> Key: TEIID-4319
> URL: https://issues.jboss.org/browse/TEIID-4319
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 9.x
> Reporter: Van Halbert
> Assignee: Van Halbert
>
> If the source model is not defined with the metadata, but allowing the infinispan (object) translator to reverse engineer the metadata from the cache object class, the process will add a column that represents the cache object. This is a holdover from the original implementation that used the OBJECTTABLE function for transforming the object into a row in the result set. This column is not required and can be excluded (or removed) if modeling the object source table.
> This column also causes WARNING to show up in the server log because it is assumed by the engine to be part of materialization. However, this column is not updatable and can be excluded in materialization by not specifying it in the INSERT INTO statement.
> So to clean up all this, it would be good to stop adding the class object as a column in the source table. And the user can always add it back if they wish to use it.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months