I have an Oracle database and use ant script to generate hbm files from it. But, now I want to get autogenerated from my script using the ant script. So, if anyone can help me how to do that using ant script while hbm files are being generated, then it would be great help.