Beginner |
|
Joined: Sun Apr 25, 2010 7:14 am Posts: 30
|
Hi,
i am trying to get the 2nd level cache working properly with different kind of relations. According to what i've read the following is true:
OneToMany: Changes have to be done on both sides (setParent on the many side and collection.add on the one side). If something deleted by Cascade.DELETE i have to evict all affected collections from the cache.
ManyToMany: I don't know.
Could anybody tell me wether the OneToMany part is correct and where i can find information according to ManyToMany relations. The best thing would be a page with all necessary information to cache and all relation types.
Thanks a lot!
Yours Werzi2001
|
|