There are ways to use Hibernate and JPA without a persistence XML file and it would be useful to be able to hook into the entity listener framework and add both default and entity-specific listeners based on business criteria since these listeners fire at different stages within the same operation than where hibernate events may be invoked.
|