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.
Could you please to give me a simple example for calling the Ant task to generate the hbm.xml from annotated classes?
you mean like this example in the documentation ?
:) (note, there is a typo in the spelling of annotationconfiguration but otherwise it should be fine)
Can it generate all the hbm.xml into one file ?
no, but you can probably tweak it to do so.
We don't do it by default since it generates waaay to big files ;)