Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Object Relational Mapping
Unknown entity bean class, but not always..
posted 7 years ago
hi, I want to use an entity bean in the ServletContextListener's contextInitialized, to read some variables from the database, it works well, but sometimes if I start the application get the following error message and I have to restart it..
: Unknown entity bean class: class ... , please verify that this class has been marked with the @Entity annotation.
What could be the reason for this? The class is marked with the @Entity annotation, and it is listed in the persistence.xml.
I get this error on every 4 - 5. start attempt.
Boost this thread!
Hibernate Mapping Files Ignored
can an Entity Bean be a private class?
use an entity bean in the contextInitialized method
Deployment problem in OC4J
persistence unit scope