in your mapping file set cache-usage to read-only (or whatever is
appropriate for your data) like here:
<class name="InputValueType" table="Input_Value_Type" lazy="false">
<cache usage="read-only"/>
then don't forget to setup 2nd level caching e.g. setting
hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider
if you want to use ehcache
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 07, 2005 5:10 PM
> To: Tapestry users
> Subject: Caching Lookup Tables with Tapestry and Hibernate
>
>
> How would you handle lookup tables
> with tapestry and hibernate ?
>
> The analogues approach using Cayenne is described here:
>
> http://www.objectstyle.org/cayenne/userguide/perform/caching-l
> ookup.html
>
> What about the hibernate approach for tapestry applications
> that need to cache lookup tables?
>
>
> ---------------------------------------------------------------------
> 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]