public int executeSQL(String sql){
		Connection conn=ConnectionFactory.getConnection();
		Statement stmt=null;
		try {
			stmt=conn.createStatement();
			return stmt.executeUpdate(sql);
		} catch (SQLException e) {
			 
			e.printStackTrace();
			return -1;
		} finally{
			SQLCommand.close(stmt);
			SQLCommand.close(conn);
			
		}
		
	}