Hi, I have my ant script doing sql->hbm->classes thing. I'm new to it and i used examples form Internet. Especially good one is avaiable when downloading middlegen 2.1 (samples) u just need to run hbm2java task which depends on middlegen.
It works. The Big problem for me is to rewrite it to maven script. There are no examples, i don't have any book.
I have mysql db. I need two goals: one generating hbm files and second, using generated hbms and generating classes. I jus can't cope with it myself, so please send me examples if u have with project.xml, *.properties and everything what is needed. I really stuck in one point and i need help.