wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Default Entity Listeners Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Default Entity Listeners" Watch "Default Entity Listeners" New topic
Author

Default Entity Listeners

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
I am curious to know about,

that alway's Default Entity Listeners can be specified through only persistence.xml ?

Well i know that Listeners on Superclass and listeners on subclass are specified under classes.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Chaminda Amarasinghe
Ranch Hand

Joined: May 17, 2006
Posts: 402
Originally posted by Amandeep Singh:
I am curious to know about,

that alway's Default Entity Listeners can be specified through only persistence.xml ?



yes. but you can exclude default listeners using annotations


Well i know that Listeners on Superclass and listeners on subclass are specified under classes.

[ November 25, 2008: Message edited by: Chaminda Amarasinghe ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Default Entity Listeners