[
https://issues.jboss.org/browse/TEIID-2247?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-2247:
---------------------------------------
common-core is a little ambiguous on who should use what. It underlies our api module,
but we make an effort to isolate anything that might change. For Teiid Designer we have
considered it shared, but with Teiid weening out parts that it no longer needs - of which
there used to be a significant amount. So if the fastest resolution is to add back the
TeiidRuntimeException, that's ok.
I think we have to have a good look at weaning TD off internal teiid
and going with external API only.
That is a perennial topic. The short version is that Teiid Designer through the Teiid
Language objects reuses the Teiid parser/resolver/validator/sql-string logic. For
Designer to duplicate all of that logic has never been feasible - although it has some
obvious benefits for Teiid and allows for the UI to pursue other interesting problems,
such as incremental parsing, better representation of the AST (although we can supply you
with the raw JavaCC tokens as a workaroun), etc.
So the approach has been to just let Teiid evolve and have the Designer logic make changes
as needed. An incremental approach to the engine/language object dependency would be to
have designer interact with the Teiid components via the query strings and supply
parse/resolve/validation results that are appropriately consumable.
API changes in point release
----------------------------
Key: TEIID-2247
URL:
https://issues.jboss.org/browse/TEIID-2247
Project: Teiid
Issue Type: Bug
Affects Versions: 8.2
Reporter: Paul Richardson
Assignee: Steven Hawkins
Fix For: 8.2
Updated teiid designer 8.0 (unreleased) to 8.2.Alpha2 jars.
API changes have occurred between 8.1 and 8.2. Are the following changes essential and
could they be reverted and deprecated until 9.0?
* org.teiid.query.sql.proc.RaiseErrorStatement renamed to
org.teiid.query.sql.proc.RaiseStatement
* org.teiid.core.TeiidRuntimeException
** Constructor(String, String) visibility narrowed
** Constructor(Exception, String) removed
* org.teiid.query.sql.proc.CreateProcedureCommand
* Removal of getResultsCommand() method
--
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