You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Kevin Menard (JIRA)" <de...@cayenne.apache.org> on 2008/03/31 03:08:38 UTC

[jira] Created: (CAY-1020) Problem accessing toMany Set relationships on client.

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.


[jira] Closed: (CAY-1020) Problem accessing toMany Set relationships on client.

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Menard closed CAY-1020.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

> 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
>             Fix For: 3.0
>
>
> 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.