Hi guys!!!
The problem today is that I want to create a second Entity but hibernate say:
Exception in
thread "main" org.hibernate.MappingException: Unknown entity: org.lanaizen.dto.Vehicle
this is what I want
*****************************
Hibernate: select nextval ('hibernate_sequence')
Hibernate: select nextval ('hibernate_sequence')
Hibernate: insert into USER_DETAILS (userName) values (?,?)
Hibernate: insert into Vehicle (vehicleName,vehicleId) values (?,?)
*****************************
but only I have
*****************************
Hibernate: insert into USER_DETAILS (userName) values (?)
*****************************
so the question is what is the problem ? besides I have the annotation class mapping in the xml
thanks for the help
the cfg.xml
the vehicle class
the UserDetails class
and the main class