Kallin Nagelberg
2012-03-21 21:25:23 UTC
Hey everyone,
I am trying to upgrade from milestone-2 to milestone-9 and have noticed
something peculiar. When running my tests none of my persistence classes
are found:
java.lang.IllegalArgumentException: Unknown entity: com....SimpleTestEntity
at
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:626)
When I add them as class tags to persistence.xml they work, but I never had
to do that before. Is there some new classloader funkiness that could be
causing this? Any suggestions?
Cheers,
-Kal
I am trying to upgrade from milestone-2 to milestone-9 and have noticed
something peculiar. When running my tests none of my persistence classes
are found:
java.lang.IllegalArgumentException: Unknown entity: com....SimpleTestEntity
at
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:626)
When I add them as class tags to persistence.xml they work, but I never had
to do that before. Is there some new classloader funkiness that could be
causing this? Any suggestions?
Cheers,
-Kal