Package io.ebean.util

Class JdbcClose


  • public class JdbcClose
    extends Object
    Utility for closing raw Jdbc resources.
    • 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.