Solved

Hibernate object change listener

Posted on 2008-06-15
2
981 Views
Last Modified: 2008-08-28
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
Comment
Question by:aquasw
2 Comments
 
LVL 4

Accepted Solution

by:
Meritor earned 500 total points
Comment Utility
Why dont you try using Observer/Observable.
http://www.javaworld.com/javaworld/jw-10-1996/jw-10-howto.html
0
 

Author Comment

by:aquasw
Comment Utility
I don't know how to implement the Observable under hibernate.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Read about achieving the basic levels of HRIS security in the workplace.
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now