Package io.ebean.util
Class JdbcClose
java.lang.Object
io.ebean.util.JdbcClose
public class JdbcClose extends Object
Utility for closing raw Jdbc resources.
-
Constructor Summary
Constructors Constructor Description JdbcClose() -
Method Summary
Modifier and Type Method Description static voidclose(Connection connection)Close the connection logging if an error occurs.static voidclose(ResultSet resultSet)Close the resultSet logging if an error occurs.static voidclose(Statement statement)Close the resultSet logging if an error occurs.static voidrollback(Connection connection)Rollback the connection logging if an error occurs.
-
Constructor Details
-
JdbcClose
public JdbcClose()
-
-
Method Details
-
close
Close the resultSet logging if an error occurs. -
close
Close the resultSet logging if an error occurs. -
close
Close the connection logging if an error occurs. -
rollback
Rollback the connection logging if an error occurs.
-