Si-Coder wrote:
Hi.
I'm trying to use @ManyToMay relationship first time and I have a problem. I've created 2 simple domains which are in "many to many" relationship. UserRole:
http://pastebin.com/m71fd3b39 , Resource:
http://pastebin.com/m6876e00e , and middle table is "user_role_resources". Apache throws error:
http://pastebin.com/m3e5916e4 .
This bug thows when I'm trying to get resources by this code:
http://pastebin.com/m7ebcc427 .
Can anybody help me with this bug ? :) Thx in advance.
Property 'resources' not readable on type java.util.List.
Maybe you should lookup hibernate lazy-init topic.