vidakovic opened a new pull request #2188:
URL: https://github.com/apache/fineract/pull/2188


   We are creating a lot of JdbcTemplate instances just to ensure that we use 
RoutingDataSource with it. It's way easier to do this once in a Spring Java 
config class and then just inject the JdbcTemplate. I'm not entirely sure what 
impact this change will have on memory usage, doing 150x `new 
JdbcTemplate(...)` must have an effect.
   
   In a couple of places the data source object wsa stored in service classes, 
but never used. I cleaned this up.
   
   Another nice side effect of this cleanup action: we are *NOTE* exposing any 
internal details (RoutingDataSource)  in our ser


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to