• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help me: Maven sql->hbm->class

 
asus asus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Asus Asus"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic