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:35:41 UTC
[jira] [Comment Edited] (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 edited comment on NIFI-3339 at 4/6/17 3:34 PM:
------------------------------------------------------------
Would it not be easier to simple add implements DataSource to the DBCPConnectionPool class? Then throw MethodNotSupportedException or do a NOOP on methods.
We created a fascade class around the DBCPService which simply deletes the getConnection method. Problem solved for use of Spring JDBCTemplates.
was (Author: rkellogg):
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)