Is there any hibernate listener to handle any updates in db?
posted 2 years ago
I am using Hibernate3.2 and i have to get the task updation count with using big query. The task updation happen periodically in background. When i fetch the count at first time from database its taking long time. Second time pretty fast due to cache. If any updation happen in database third time its take long time.
Is there any hibernate listener to handle any updates in database by any other server?
Is there any way to find the updation happen or not without hitting the database? I can match the existing count and database's current count programmatic.