Return ResultSet pros y contras.

Matriax
21 de Septiembre del 2004
Hola Amigos del foro, tengo una duda para compartir...
Que problemas tendria si creo una funcion de este tipo

private ResultSet getConsulta(String strSQL){
try{
this.getConnection();
Statement stmt = this.connection.createStatement();
ResultSet rs = stmt.executeQuery(strSQL);
stmt.close();
this.releaseConnection();
return rs;
}
catch(SQLException e){
this.releaseConnection();
return null;
}
}

¿¿Que problemas puedo tener al no cerra el resultset (rs.close())??
Mi idea es crear esta funcion de forma tal de que todas las consultas que quiera hacer las haga por medio de esta funcion. Pero mi duda surgio que pasa si no cierro el resultset.
Gracias