One more thing- I get this error the first time I hit this code after
idling or starting up, but subsequent runs work ok.
Dan

On Sat, Jan 16, 2010 at 2:51 AM, Daniel Benamy <[email protected]> wrote:
> I think I'm hitting this check since updating to 1.2.8. I've got
> something like:
> class A {
>  B bVar;
>  List<B> bList;
> }
> Should I be getting this error? I haven't noticed a problem with my
> app using this setup.
> Thanks!
> Dan
>
> On Dec 5 2009, 12:52 am, "Max Ross (Google)" <maxr
> [email protected]> wrote:
>> SDK 1.2.8 contains a new check that detects if one of your JDO or JPA model
>> objects has two relationship fields of the same type.  For example:
>>
>> class A {
>>   List<B> bList;
>>   List<B> anotherBList;
>>
>> }
>>
>> Unfortunately I was a little too aggressive with this check, so the
>> following also run afoul of the check:
>>
>> abstract class B {}
>>
>> class C extends B {}
>> class D extends B {}
>>
>> class A {
>>   List<C> cList:
>>   List<D> dList;
>>
>> }
>>
>> If you get an exception that says
>>
>> Class XXX has multiple relationship fields of type YYYY.  This is not yet
>> supported.
>>
>> and your class hierarchy resembles the one above, you can disable this check
>> by with the following config property:
>>
>> <property name="datanucleus.appengine.multipleRelationsOfSameTypeAreErrors"
>> value="true"/>
>>
>> We'll get this fixed shortly.
>>
>> Sorry for the trouble,
>> Max
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to