Code example for Connection

Methods: rollback

0
    } 
 
    public static void rollBack(Connection dbConnection) {
        try { 
            if (dbConnection != null) {
                dbConnection.rollback();
            } 
        } catch (SQLException e) {
            log.error("Error occurred while rolling back transactions", e);
        } 
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java