Quick Version
Basically, I\'m updating a Hibernate Table and subsequent queries are loading a stale value.
Detailed Version
After CwmService.get().flushChanges(); // commits the transaction do an explicit commit. flush() only flushes the changes to db but does not commit it. I am not sure about flushChanges() though.
CwmService.get().flushChanges(); // commits the transaction
flush()
flushChanges()