Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
mapping in hibernate
posted 2 years ago
We have the provision in to write mapping a resource and mapping a class in hibernate.cfg.xml,
I would like to know which one is best out of these two.
My assumption is writing .hbm.xml file is the better option, by this in future, if we want any changes mapping related then we cam directly change in hbm.xml, without touching the code?
please provide me some more information about
<!-- Mapping files -->
That feels good. Thanks. Here's a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
Boost this thread!
Hibernate: HBM files directory and dynamic HBMs
Query not returning any data..
Where is documentation for ant task schemaexport
org.hibernate.MappingException: Unknown entity: com.training.HelloWorld
hibernate package problem