OK, but you do realize that this is the Hibernate development mailing list, not the JavaRanch beginner forum, right?

 

We already know all about concurrent.jar. ;-)

 


From: Lane Sharman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 12 May 2005 1:34 AM
To: Gavin King
Cc: hibernate-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 memory image and a persistent image across multiple threads.

Since apparently this does not apply, I will not make suggestions like this in the future.

Lane

Gavin King wrote:

Huh??
 
What in hell does Java thread-level concurrency have to do with
maintaining consistency between a database and second-level cache???
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL 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 much tribulation, we decided on using Doug Lea's conncurrent.jar. 
It solved some amazing issues with the java memory model and was vetted 
by some really smart people.
 
just an idea, resource.
 
-Lane
 
Gavin King wrote:
 
  

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'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 email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great
    
events,
  
4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
 
 
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel
 
 
 
    
 
  



-- 
Lane Sharman
Providing Private and SPAM-Free Email
http://www.opendoors.com
858-755-2868

Reply via email to