[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1585) Make payload available in ExecutionFactory.getConnection

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jun 2 14:28:59 EDT 2011


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

Steven Hawkins resolved TEIID-1585.
-----------------------------------

    Fix Version/s: 7.4.1
       Resolution: Done


Added the getConnection(F factory, ExecutionContext executionContext) method, and deprecated the getConnection(F factory) method.

This was worked in 7.4.1 since it allows for MMX style functionality of using the execution payload (which can be used to emulate the old trusted payload) to customize getting a connection.

> 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
>             Fix For: 7.4.1
>
>
> 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: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list