This content has been marked as final.
Show 5 replies
-
1. Re: Generate hbm.xml problem ?
maxandersen Sep 20, 2006 2:35 AM (in response to ericmacau)yes (to the extent that the mapping conversions are implemented)
note that a bug in the current release prevent it from working in the IDE and only work in the Ant version.
The nightly build should work though. -
2. Re: Generate hbm.xml problem ?
ericmacau Sep 20, 2006 5:21 AM (in response to ericmacau)Could you please to give me a simple example for calling the Ant task to generate the hbm.xml from annotated classes?
Best regards,
Eric -
3. Re: Generate hbm.xml problem ?
maxandersen Sep 20, 2006 5:26 AM (in response to ericmacau)you mean like this example in the documentation ?
http://www.hibernate.org/hib_docs/tools/reference/en/html_single/#d0e1038
:) (note, there is a typo in the spelling of annotationconfiguration but otherwise it should be fine) -
4. Re: Generate hbm.xml problem ?
ericmacau Sep 21, 2006 4:23 AM (in response to ericmacau)Can it generate all the hbm.xml into one file ?
-
5. Re: Generate hbm.xml problem ?
maxandersen Sep 21, 2006 4:26 AM (in response to ericmacau)no, but you can probably tweak it to do so.
We don't do it by default since it generates waaay to big files ;)