Here you can find the source of ExecuteUpdateQuery(String query, Connection con)
public static int ExecuteUpdateQuery(String query, Connection con) throws SQLException
//package com.java2s; //License from project: GNU General Public License import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; public class Main { public static int ExecuteUpdateQuery(String query, Connection con) throws SQLException { Statement statement = con.createStatement(); // System.out.println(query); return statement.executeUpdate(query); }/*w ww . j av a 2 s .c om*/ }