-
Oct 1st, 2011, 04:07 PM
#1
finder in many-to-many rel
Hi to all,
i'm new on spring and roo.
This is my problem:
in entityA:
field set --fieldName preferences --type com.bela.sencdc.domain.Preference --class com.bela.sencdc.domain.Contact
in entity2:
field set --fieldName contacts --class com.bela.sencdc.domain.Preference --type com.bela.sencdc.domain.Contact --mappedBy preferences
and then
finder add --finderName findContactsByPreferences
but i have this error when i search in UI by preferences: java.lang.String cannot be cast to com.bela.sencdc.domain.Preference
Why?
What i wrong?
Thanks to all.
Bel
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules