You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2017/04/06 15:31:41 UTC
[jira] [Commented] (NIFI-3339) Add getDataSource() to DBCPService
[ https://issues.apache.org/jira/browse/NIFI-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959104#comment-15959104 ]
Rick Kellogg commented on NIFI-3339:
------------------------------------
Would it not be easier to simple add implements DataSource to the DBCPConnectionPool class? Then throw MethodNotSupportedException or do a NOOP on methods.
> Add getDataSource() to DBCPService
> ----------------------------------
>
> Key: NIFI-3339
> URL: https://issues.apache.org/jira/browse/NIFI-3339
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Toivo Adams
> Assignee: Toivo Adams
> Priority: Minor
>
> Currently DBCPService returns only Connection.
> Sometimes DataSource is needed, for example Spring JdbcTemplate, SimpleJdbcCall need DataSource.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)