Solved

Hibernate object change listener

Posted on 2008-06-15
2
989 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
ID: 21792807
Why dont you try using Observer/Observable.
http://www.javaworld.com/javaworld/jw-10-1996/jw-10-howto.html
0
 

Author Comment

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

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

840 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