Joined: Tue Dec 27, 2005 9:01 am Posts: 2
|
I want to use hibernate in a swing application without a server component beside the database.
So I need to turn off the caching mechanism complete in order to get always the newest data from the database. I tried to turn off by setting the hibernate configuration parameters:
<property name="hibernate.cache.use_query_cache">false</property>
<property name="hibernate.cache.use_second_level_cache">false</property>
Unfortunately this doesn't work, because if I test I didn't get new records in my second application which I have already added in my first application.
I also tried to call flush() after all calls but with the same result.
Can anybody help me?
|
|