pb00067 wrote:
I was able to configure 2nd level Caching using Hibernate Annotations in my entity pojo java files.
My Requirement was :
My database tables are only ready only tables for reference purpose for teh first time when the user logs in . I don't want them to be changed by any user while he is updating the persistent entity objects through the provided user interfaces...
That is, the data is fetched and stored into entity classes only for the 1st time by hitting the database ,when the user logs in for the first time..
After that, there after, what ever changes the user does, to that data, it should be only updated in the cache.. and not in the database table......
Is it possible to achieve through Hibernate or any other ORM tool??????
Also , Is it possible to use any Cache Provider API's to obtain the above desired result.??????
KINDLY GUIDE.!!
THANKS.!!!