RE: [Hibernate] Caching of collections

2005-05-13 Thread Gavin King
-devel@lists.sourceforge.net Subject: Re: [Hibernate] Caching of collections   You stated "there are some subtle concurrency issues" and that was what I keyed off on. I observed that we found Doug Lea's code extremely helpful in dealing with concurrency issues between a mem

Re: [Hibernate] Caching of collections

2005-05-11 Thread Lane Sharman
PROTECTED]] On Behalf Of Lane Sharman Sent: Tuesday, 10 May 2005 6:42 PM To: hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] Caching of collections the webmacro team (http://www.webmacro.org) struggled with many concurrency issues in its rendering engine several years ago. after m

RE: [Hibernate] Caching of collections

2005-05-10 Thread Gavin King
@lists.sourceforge.net Subject: Re: [Hibernate] Caching of collections the webmacro team (http://www.webmacro.org) struggled with many concurrency issues in its rendering engine several years ago. after much tribulation, we decided on using Doug Lea's conncurrent.jar. It solved some am

Re: [Hibernate] Caching of collections

2005-05-10 Thread Lane Sharman
bject: [Hibernate] Caching of collections I noticed that we don't put the collection in cache when creating an object ie item.addDistributors( new HashSet() ); session.persist(item); item will be in put in cache, but not item.distributors. Any reason for not

RE: [Hibernate] Caching of collections

2005-05-10 Thread Gavin King
Yes, there are some subtle concurrency issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, 9 May 2005 4:52 AM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Caching of collections I noticed that we don&#

[Hibernate] Caching of collections

2005-05-08 Thread Emmanuel Bernard
I noticed that we don't put the collection in cache when creating an object ie item.addDistributors( new HashSet() ); session.persist(item); item will be in put in cache, but not item.distributors. Any reason for not doing that? --- This SF.Net