|
Hello,
I have an issue with caching data in Hibernate. I have an existing applicationg which interacts with mySQL database and performs all operations with it. Now I'm developing a web console for this application which will also interact with this DB and also change data.
When I read data from the DB first time I get correct list of records. (I do this by createQuery("from table").list ). Next times I select records from the same table I get the same results though my application might have changed records and removed some of them.
I tried to disable caching by using NoCacheProvider. I tried to use transactional policy for this table in the mapping file. Without success.
Can someone help me?
hibernate3.2
|