code: public int executeUpdate(String update) throws SQLException {
  		System.out.println(new LogEntry("executing: " + update));
  
  		//TODO time execution time
  		Connection conn = dataSource.getConnection();
  		Statement s = conn.createStatement();
  		int result = s.executeUpdate(update);
  		conn.close();
  		System.out.println(new LogEntry(result + " rows affected"));
  		return result;
  	}
docs: /////////////