-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: New to hibernate
PostPosted: Thu Oct 23, 2008 6:24 am 
Newbie

Joined: Thu Oct 23, 2008 6:07 am
Posts: 1
Location: Kathmandu
Hi all,
I am new to Hibernate,

Just went through the examples on JPA,
Would like to know two things,

Firstly I am inquisitive to know whether the EntityListener class could be used to track changes in the entities only or the database as well.

I mean I have the database and at runtime I have the entities, so is it that EntityListener can track changes in entities only or any change on the database ?

Secondly (assuming the answer to first is NO)
Is it possible that a SessionBean know any change in the database (not entity) somewhat like a database trigger using Hibernate and JPA?

Thank you,

_________________
Max


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.