Here you can find the source of setAutoCommitEL(Connection conn, boolean b)
public static void setAutoCommitEL(Connection conn, boolean b)
//package com.java2s; //License from project: LGPL import java.sql.Connection; public class Main { public static void setAutoCommitEL(Connection conn, boolean b) { /*try {//from w w w. ja v a2 s. c o m if(conn!=null){ if(conn.getAutoCommit()==b) return; } } catch (Throwable e) {}*/ try { if (conn != null) conn.setAutoCommit(b); } catch (Throwable e) { } } }