Java JDBC Collection Transaction commit(Connection conn)

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

Description

commit

License

Open Source License

Declaration

public static void commit(Connection conn) 

Method Source Code

//package com.java2s;

import java.sql.Connection;

import java.sql.SQLException;

public class Main {
    public static void commit(Connection conn) {
        try {//from  w  w  w. j a va  2  s  .co  m
            conn.commit();
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. commit(Connection conn)
  2. commit(Connection conn)
  3. commit(Connection conn)
  4. commit(Connection conn)
  5. commit(Connection connection)
  6. commitAndClose(Connection conn)