System.out.println("Insert into ic_group_relation for child group "+userID);
	private void userRelations(boolean sap, java.sql.PreparedStatement insertGroupRelationStatement, java.sql.PreparedStatement groupRelationNextVal, java.util.HashMap groupMap, String userID, boolean setFirstGroupAsPrimaryGroup, PreparedStatement updateICUserPrimaryGroupUs) throws SQLException {		int nextGroupRelationID;		if(groupMap.containsKey(userID)){			System.out.println("Insert into ic_group_relation for child group "+userID);			java.util.ArrayList groupIDs = (java.util.ArrayList) groupMap.get(userID);			for (int j = 0; j < groupIDs.size(); j++) {				if (sap) {					java.sql.ResultSet groupIDrs = groupRelationNextVal.executeQuery();					if (groupIDrs != null && groupIDrs.next()) {						nextGroupRelationID = groupIDrs.getInt("NEXTID");						insertGroupRelationStatement.setString(3, Integer.toString( nextGroupRelationID));					}					groupIDrs.close();				}				insertGroupRelationStatement.setString(1,(String)groupIDs.get(j));				insertGroupRelationStatement.setString(2,userID);				insertGroupRelationStatement.execute();								if (setFirstGroupAsPrimaryGroup && j == 0) {					updateICUserPrimaryGroupUs.setString(1, (String)groupIDs.get(j));					updateICUserPrimaryGroupUs.setString(2, userID);					updateICUserPrimaryGroupUs.execute();				}			}								}	}