i am a hb 2.x user, and now try to migrate to anonation and want to keep our code still esp the hbm.xml, now part of hibernate core.
i got this error.
xygen/cimande/components/entity/Person.hbm.xml
16:53:22,814 ERROR DTDEntityResolver:51 - Don't use old DTDs, read the Hibernate
3.x Migration Guide!
16:53:38,717 INFO Configuration:1368 - Configured SessionFactory: WebWorkHIS
16:53:38,948 INFO HbmBinder:266 - Mapping class: org.blueoxygen.cimande.compone
this is my hibernate mapping.
<mapping class="org.blueoxygen.cimande.components.entity.LovReligiousCode"/>
<mapping resource="org/blueoxygen/cimande/components/entity/Person.hbm.xml"/>
i try to use the resource become class=org.blueoxygen.cimande.components.entity.Person, still now work..
any one can help?
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.1
Mapping documents:
3.0
Code between sessionFactory.openSession() and session.close():
yes.
Name and version of the database you are using:
mysql 4.1
The generated SQL (show_sql=true):
yes
Debug level Hibernate log excerpt:
how? never know how to debug log.