Hi,
I am new to hibernate and need some information. I looked at several examples online and tried them too.
One thing I can't figure out is how to use cfg2hbm and hbm2java, didn't find any docs., can someone point me to some tutorial that explains how to use these.
I see following text on most of the *.hbm.xml files
and on persistent classes (means I should have hbm.xml files available before I use hbm2java)
Can some please tell me how to use cfg2hbm and hbm2java a small example will really help. I tried posting on Hibernate forum but no answer. So posting here as most of you
probably have used Hibernate. Any help is appreciated.
Thanks
I am new to hibernate and need some information. I looked at several examples online and tried them too.
One thing I can't figure out is how to use cfg2hbm and hbm2java, didn't find any docs., can someone point me to some tutorial that explains how to use these.
I see following text on most of the *.hbm.xml files
Code:
<!--
Auto-generated mapping file from
the bibernate.org cfg2hbm engine
-->
and on persistent classes (means I should have hbm.xml files available before I use hbm2java)
Code:
/**
* generated by hbm2java
*/
Can some please tell me how to use cfg2hbm and hbm2java a small example will really help. I tried posting on Hibernate forum but no answer. So posting here as most of you
probably have used Hibernate. Any help is appreciated.
Thanks