@EntityListeners not inherited when TABLE_PER_CLASS inheritance strategy is used? [message #511533] |
Mon, 01 February 2010 17:31  |
Eclipse User |
|
|
|
we have a class hierarchy where a base class X (@MappedSuperclass) has an @EntityListeners annotation and this works great for most classes (@Entity) extending this base class. It also works when there are multiple intermediate classes in the hierarchy that are also @MappedSuperclass. However we have one subclass Y (@Entity) of X which is a intermediate base class for a bunch of concrete subclasses and it uses the TABLE_PER_CLASS strategy. The @PostLoad method in X is not invoked for any of these concrete subclasses of Y and I can't figure out why. As far as I can tell there is nothing in the spec that prevents this. Any ideas? Is this a known bug? We use eclipselink 1.1.1
Thanks,
Frank
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03507 seconds