• 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: 17309
11
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!