When using a @MappedSuperclass to define common attributes for a number of
entities, the callback annotations do not work. Placing the following method
private void doStuff()
in the @MappedSuperclass does not work, but placing it in the actual entity
The workaround is to use @EntityListeners in the @MappedSuperclass.