]
Mark Addleman commented on TEIID-1585:
--------------------------------------
Another approach: place the payload on a thread local to let the data source (ie Factory
type) access to it. this provides for semi-neat separation of concerns
Make payload available in ExecutionFactory.getConnection
--------------------------------------------------------
Key: TEIID-1585
URL:
https://issues.jboss.org/browse/TEIID-1585
Project: Teiid
Issue Type: Feature Request
Components: Connector API
Affects Versions: 7.3
Reporter: Mark Addleman
Assignee: Steven Hawkins
We require user-specific connections to our backend datasources. We pass user
credentials to the translators using the payload but the payload is not available in the
getConnection(Factory f) method. I propose adding public getConnection(Factory f,
Serializable payload) method in ExecutionFactory whose default implementation is to call
getConnection(Factory f).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: