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

Mark Addleman (JIRA) jira-events at lists.jboss.org
Thu May 12 14:08:31 EDT 2011


    [ https://issues.jboss.org/browse/TEIID-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601741#comment-12601741 ] 

Mark Addleman commented on TEIID-1585:
--------------------------------------

Is there a target release for this?  Right now, we create a lazily initialized connection in the getConnection method hoping that the createExecution method is called before the connection is used.  Seems to work but it's a bit messy and requires us to create a new translator class.  I suspect there is something we could do using the new delegating translator to make it a little less messy.

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

        


More information about the teiid-issues mailing list