PROTECTED]
Sent: Saturday, January 18, 2003 4:30 AM
Subject: Re: [Hibernate] jcs cache
The cache is not used for *queries*. It is used for calls to load()
and for resolving associations.
Also note that the cache does not store actual Vertex instances; it
stores a *copy* of the state
]
To: [EMAIL PROTECTED]
Sent: Saturday, January 18, 2003 4:30 AM
Subject: Re: [Hibernate] jcs cache
The cache is not used for *queries*. It is used for calls to load()
and for resolving associations.
Also note that the cache does not store actual Vertex instances; it
stores a *copy* of the state
Little more thought on this subject ;)
Like i said in a previous mail, i understand fully now what Gavin is doing
(and why he is doing it) with the ReadWriteCache implementation.
However i believe such implementation which is 100% safe got some tradeoff
( each method are synchronized ), i am
-- The session hold a set of the items that have been updated/deleted in
the transaction,
when the transaction commit, we iterate the set and remove each entry from
the cache.
but merely removing is not enough, because after removal, another
transaction (that started *earlier*) could come
This is the email:
http://sourceforge.net/mailarchive/forum.php?thread_id=1033840forum_id=7517
- Original Message -
From:
Gavin
King
To: Christian Meunier
Cc: hibernate list
Sent: Thursday, September 19, 2002 9:25
PM
Subject: Re: [Hibernate] JCS cache