Daniel Winz [
http://community.jboss.org/people/danwin] created the discussion
"Re: NamedQuery problem: TABLE is not mapped"
To view the discussion, visit:
http://community.jboss.org/message/561113#561113
--------------------------------------------------------------
Detection of entity and binding to table works ...
2010-09-09 16:47:57,886 DEBUG [org.hibernate.ejb.Ejb3Configuration]
(main) Detect class: true; detect hbm: false
2010-09-09 16:47:57,907 INFO [org.hibernate.ejb.Ejb3Configuration] (main) found EJB3
Entity bean: employee.EmployeeEntity
2010-09-09 16:47:57,920 WARN [org.hibernate.ejb.Ejb3Configuration] (main) Persistence
provider caller does not implements the EJB3 spec correctly.
PersistenceUnitInfo.getNewTempClassLoader() is null.
2010-09-09 16:47:58,005 INFO [org.hibernate.cfg.Configuration] (main) Reading mappings
from resource : META-INF/orm.xml
2010-09-09 16:47:58,014 INFO [org.hibernate.ejb.Ejb3Configuration] (main)
[PersistenceUnit: Employee-Details] no META-INF/orm.xml found
2010-09-09 16:47:58,019 DEBUG [org.hibernate.cfg.AnnotationConfiguration] (main) Execute
first pass mapping processing
2010-09-09 16:47:58,080 DEBUG [org.hibernate.cfg.AnnotationConfiguration] (main) Process
hbm files
2010-09-09 16:47:58,080 DEBUG [org.hibernate.cfg.AnnotationConfiguration] (main) Process
annotated classes
2010-09-09 16:47:58,086 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity
from annotated class: employee.EmployeeEntity
2010-09-09 16:47:58,115 DEBUG [org.hibernate.cfg.Ejb3Column] (main) Binding column DTYPE
unique false
2010-09-09 16:47:58,140 DEBUG [org.hibernate.cfg.annotations.EntityBinder] (main) Import
with entity name=EmployeeEntity
2010-09-09 16:47:58,145 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind
entity employee.EmployeeEntity on table employee
First when I execute a hql statement I get the error.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/561113#561113]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]