Empleador activo
How to close connections on exception
Anónimo
You can use try with resource, so that it will close the connection if it is success or failure.
You can use finally block to close exceptions generally catch block should be fine but you need to make sure that connection gets closed everytime
Sigue a tus empresas favoritas para estar al tanto de las últimas oportunidades y disponer de información desde adentro.
Recibe recomendaciones y actualizaciones personalizadas al iniciar tu búsqueda.