DAO : connection pool changed, closing connections (try-with-resources), throwing exceptions (commented), select with varargs