[teiid-issues] [JBoss JIRA] (TEIID-2062) Produce an embeddable Teiid engine

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Aug 3 12:13:07 EDT 2012


     [ https://issues.jboss.org/browse/TEIID-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2062.
-----------------------------------

    Resolution: Done


modified executeQuery to methods on the Connection interface EmbeddedConnection.  This allows queries to share session cache entries, be non-query commands, be prepared, etc. and use other jdbc facilities such as the continuous/async logic.

The usage is to obtain a connection off of the TeiidDriver:

Connection c = embeddedServer.getDriver().connect("jdbc:teiid:vdb", new Properties());
EmbeddedConnection ec = c.unwrap(EmbeddedConnection.class);
...

At this point we'll consider the initial phase of development complete and any additional work can be spawned under new JIRAs.
                
> Produce an embeddable Teiid engine
> ----------------------------------
>
>                 Key: TEIID-2062
>                 URL: https://issues.jboss.org/browse/TEIID-2062
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Embedded
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.1
>
>
> Teiid's federation and query processing features are of use to several other projects.  An embeddedable form is desired such that:
> - the application server is not required
> - queries could be issued in the engine object model to by-pass parsing/validation and results retrieved without the need for JDBC
> - new translators could be added
> The following would be open for discussion:
> - the inclusion of saxon/xom/nux for SQL/XML processing
> - if the general deployment logic would be needed, or if just a single dynamic vdb is all that is needed
> See the org.teiid.jdbc.FakeServer in the test-integration/common module for a rough approximation at the entry point for a embeddable server.  Note that it is more geared at unit testing JDBC/ODBC rather than providing the features needed here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list