I'm not sure.  I do not cache in hibernate.  I cache
above my orm layer since I cache data from a variety
of sources (such as web services).  Basically, I cache
at a layer above my dao's, usually after converting
the data transfer objects, thereby achieving better
decoupling.    

The data manager layer has its own interface that
returns a particular type of object.  It in turn uses
dao's or web service clients that have their own
interfaces which return different types of object from
the manager.  Caching and queuing the refreshing of
stale data occurs at the layer above the dao.

Someone else may have the answer, for you, but I would
never let my orm package do caching for me.  I need
more control over the cache.  

Cheers,

Aaron

--- Rastislav Komara / ET NETERA
<[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
>       i'm want to use JCS with Hibernate in multinode
> transactional
> environment. Which hibernate cache strategy can be
> used with JCS? The
> read-only model is not usable for my purposes.
> 
> Best regards, Rastislav Komara
> - --
> Rastislav Komara
> Developer
> ET NETERA | smart e-business solutions
> ~
> [ www.ahold.cz       | www.annonce.cz    |
> www.datart.cz        ]
> [ www.eurotel.cz    | www.knizniweb.cz    |
> www.nestle.cz        ]
> [ www.siemens.cz   | www.telecom.cz    |
> www.volksbank.cz ]
> Created by ET NETERA | Powered by jNetPublish
> [i] www.etnetera.cz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> 
>
iD8DBQFEGrOrAJ3mIyemzs4RAusHAKDDgVv/RMUFms6sVe/ytWnOF7j2XgCgpvBy
> KpFdkRPqFr+PaemEgNAuE7w=
> =OGEk
> -----END PGP SIGNATURE-----
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to