cbolduc/simplejpa — comment on commit b302e1d4d109c5616416a29e26c83e944f36c257
File:  line 0
By ChristianTellefsen:

Hi,

I get an exception in my code after this commit. My code:

@Entity
@EntityListeners(SomeEntityListener.class)
public class SomeEntity extends TimestampedEntity {
...

So, I think this commit may have introduced some unintended side effect. Stack trace:

javax.persistence.PersistenceException: The class com.somecompany.SomeEntity is not an entity.
at com.spaceprogram.simplejpa.EntityManagerSimpleJPA.ensureClassIsEntity(EntityManagerSimpleJPA.java:183)
at com.spaceprogram.simplejpa.query.QueryImpl.init(QueryImpl.java:352)
at com.spaceprogram.simplejpa.query.QueryImpl.(QueryImpl.java:91)
at com.spaceprogram.simplejpa.EntityManagerSimpleJPA.createQuery(EntityManagerSimpleJPA.java:492)
at ... (my code)

Cheers,
Christian Tellefsen