I want to run a query to pull out a corporateuser’s clientcontacts:
I’ve also substituted the username for the id e.g.:
In both cases I get the error:
"javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.bullhorn.entity.user.PersonData.userID",
I have tried a simple search e.g. on the name of all contacts and this returns as expected so it isn’t a problem with the query.
Does this error mean that I am not allowed to search on the owner of a contact? If so can you suggest a way of getting the clientcontacts for a coporateuser ?
Thank you for your help