Solved

Hibernate object change listener

Posted on 2008-06-15
2
986 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
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.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 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