Hibernate enhancement fails when using AspectJ compile time weaving on Entity with a Generic declaration and a specific Spring aspect. The aspect weaving is started first and then the enhancement because in the opposite order the enhancement is lost. The problem is probably with the aspect output (org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect)
A reproducible test is in attachment. Workaround is currently revoking the declaration of the implements Serializable. |