Iwein Fuld opened SPR-5787 and commented
Based on a question from a student I tried to replace javax.persistence.Entity with org.hibernate.annotations.Entity, and found that it wasn't being picked up by the AnnotationSessionFactoryBean. Since it is documented as an extension of j.p.Entity this seems rightfully unexpected, so it would be nice if it was picked up.
Affects: 2.5.6
Referenced from: commits a5c324f