[
https://issues.jboss.org/browse/TEIID-1800?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-1800.
-----------------------------------
Resolution: Done
Added the StatementCallback (with methods similar to the description) and
TeiidPreparedStatement interfaces. TeiidPreparedStatement and TeiidStatement expose
submitExecute methods that take a StatementCallback for non-blocking execution.
This approach hides any details of directly using the results futures or lower level apis.
Only the basic statement execution methods are exposed this way. Additional work will be
needed to expose non-blocking batched execution and other operations.
Async Event Processing: Standardize JDBC Callback API
-----------------------------------------------------
Key: TEIID-1800
URL:
https://issues.jboss.org/browse/TEIID-1800
Project: Teiid
Issue Type: Feature Request
Components: JDBC Driver
Affects Versions: 7.6
Reporter: Mark Addleman
Assignee: Steven Hawkins
Fix For: 7.6
The existing callback API used by ODBC should be standardized and made friendly for async
processing. Basically, an interface that specifies three methods should suffice:
public void processRow(ResultSet rs);
public void onComplete();
public void onException(Exception e);
--
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