Here you can find the source of executeUpdate(String queryStatement, Connection database)
public static int executeUpdate(String queryStatement, Connection database) throws SQLException
//package com.java2s; //License from project: Open Source License import java.sql.Connection; import java.sql.SQLException; public class Main { public static int executeUpdate(String queryStatement, Connection database) throws SQLException { return database.createStatement().executeUpdate(queryStatement); }/*from ww w.ja va2 s .c o m*/ }