Joined: Fri Feb 22, 2008 6:48 am Posts: 1
|
I set in hibernate.cfg.xml:
<property name="cache.use_query_cache">false</property>
<property name="cache.use_second_level_cache">false</property>
<property name="cache.provider_class">
org.hibernate.cache.NoCacheProvider</property>
In map :
<class name="MySite.User, MySite" table="Users" lazy="false">
<cache usage="read-write"/>
<id name="Id" type="Int32" column="UserID">
<generator class="identity"/>
</id>
<property name="Username" column="Username" type="String"/>
...
</class>
Also I have some page "UserInfo" presented MySite.User class.
According to my configs I expect no cache on page "UserInfo" but It is.
What should I do to completely disable cache?
|
|