try-with-resources

correction java.sql