Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1019
  • Last Modified:

Hibernate object change listener

I'm using hibernate for object/data storage. Is there a way to be notify when an object change out of the SessionFactory scope. For example if the object is been change by other process.
0
aquasw
Asked:
aquasw
1 Solution
 
MeritorCommented:
Why dont you try using Observer/Observable.
http://www.javaworld.com/javaworld/jw-10-1996/jw-10-howto.html
0
 
aquaswAuthor Commented:
I don't know how to implement the Observable under hibernate.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now