Problem accessing toMany Set relationships on client.
-----------------------------------------------------
Key: CAY-1020
URL: https://issues.apache.org/cayenne/browse/CAY-1020
Project: Cayenne
Issue Type: Bug
Components: Cayenne Core Library
Affects Versions: 3.0
Reporter: Kevin Menard
Assignee: Kevin Menard
Trying to access a Set relationship from the client, I get the following:
[v.3.0-SNAPSHOT Mar 30 2008 22:37:09] Expected property type 'java.util.List', got 'java.util.Set'. Property: com.servprise.www.models.client.Customer.billingInfo at org.apache.cayenne.reflect.FieldAccessor.prepareField(FieldAccessor.java:132) at org.apache.cayenne.reflect.FieldAccessor.<init>(FieldAccessor.java:50) at org.apache.cayenne.reflect.PersistentDescriptorFactory.createAccessor(PersistentDescriptorFactory.java:262) at org.apache.cayenne.reflect.valueholder.ValueHolderDescriptorFactory.createToManySetProperty(ValueHolderDescriptorFactory.java:107) at org.apache.cayenne.reflect.PersistentDescriptorFactory.getDescriptor(PersistentDescriptorFactory.java:109) at org.apache.cayenne.reflect.PersistentDescriptorFactory.getDescriptor(PersistentDescriptorFactory.java:58) at org.apache.cayenne.reflect.ClassDescriptorMap.createDescriptor(ClassDescriptorMap.java:129) at
...
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Sun Mar 30 2008 - 21:11:12 EDT