Package io.ebean.util
Class JdbcClose
- java.lang.Object
-
- io.ebean.util.JdbcClose
-
-
Constructor Summary
Constructors Constructor Description JdbcClose()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close(Connection connection)
Close the connection logging if an error occurs.static void
close(ResultSet resultSet)
Close the resultSet logging if an error occurs.static void
close(Statement statement)
Close the resultSet logging if an error occurs.static void
rollback(Connection connection)
Rollback the connection logging if an error occurs.
-
-
-
Constructor Detail
-
JdbcClose
public JdbcClose()
-
-
Method Detail
-
close
public static void close(Statement statement)
Close the resultSet logging if an error occurs.
-
close
public static void close(ResultSet resultSet)
Close the resultSet logging if an error occurs.
-
close
public static void close(Connection connection)
Close the connection logging if an error occurs.
-
rollback
public static void rollback(Connection connection)
Rollback the connection logging if an error occurs.
-
-