public boolean executeSQLs(String [] sql){
		Connection conn=ConnectionFactory.getConnection();
		Statement stmt=null;
		try {
			stmt=conn.createStatement();
			for(int i=0;i<sql.length;i++){
				stmt.addBatch(sql[i]);
			}
			int [] ret=stmt.executeBatch();
			for(int i=0;i<ret.length;i++){
				if(ret[i]==-1)
					return false;
			}
			return true;
		} catch (SQLException e) {
			 
			e.printStackTrace();
			return false;
		}finally{
			SQLCommand.close(stmt);
			SQLCommand.close(conn);
		
		}
		
	}