Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
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.
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