public int executeCommits(ArrayList<String> c){
		Statement s;
		for (int i = 0; i < c.size(); i++) {
			try {
				s =  StatusController.connection.createStatement();
				s.executeUpdate(c.get(i));
			} catch (SQLException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
				return -1;	
			}
		}
		return 1;
	}