nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toivo Adams <toivo.ad...@gmail.com>
Subject Spring JdbcTemplate, SimpleJdbcCall and DataSource
Date Mon, 09 Jan 2017 09:20:46 GMT
Spring JdbcTemplate, SimpleJdbcCall and DataSource

Does anybody use Spring JdbcTemplate, SimpleJdbcCall?
Both take DataSource constructor parameeter and not Connection.
And later when SimpleJdbcCall (or JdbcTemplate) need Connection, it will ask
it from DataSource and release afterwards.

Currently DBCPService returns only Connection.
I want to add method which returns also DataSource.

Opinions?

Thanks
Toivo




--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Spring-JdbcTemplate-SimpleJdbcCall-and-DataSource-tp14405.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Mime
View raw message