Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Default Entity Listeners

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chaminda Amarasinghe
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic