inscoCodes is a list.
my handler:
clients = getClientService().findAllByCodeInList(inscoCodes);
the property in the orm class:
property name=“code” fieldtype=“id” setter=false generated=false sqltype=“char(10)”;
the error message:
The property you requested Code is not a valid property in the Client entity.
Using a criteria builder, this works:
clients = criteria.ISIN(“code”,inscoCodes).list();