remove redundant configuration of datasource
remove redundant configuration of datasource
Centralized the code to close ResultSet and Statement