Java JDBC Collection Transaction rollbackQuietly(Connection conn)

Here you can find the source of rollbackQuietly(Connection conn)

Description

rollback Quietly

License

Open Source License

Declaration

public static void rollbackQuietly(Connection conn) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.sql.Connection;

public class Main {
    public static void rollbackQuietly(Connection conn) {
        try {/*  ww w.j  a va 2s .  c  om*/
            conn.rollback();
        } catch (Exception e) {
        }
    }
}

Related

  1. rollback(final Connection conn, final Logger logger)
  2. rollback(final Connection connection)
  3. rollbackAndClose(Connection con)
  4. rollbackAndCloseQuietly(Connection conn)
  5. rollbackQuietly(Connection conn)
  6. rollbackQuietly(Connection connection)
  7. safeCommit(Connection conn)
  8. setAutoCommit(Connection conn, boolean autoCommit)
  9. setAutoCommit(final Connection connection, final boolean value)