Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using the HibernateTool ant task to control the names of the models

Tony Ennis
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm reverse engineering models using the hibernatetool ant task. It works great except to conform to my client's standards the names of the models should be slightly different than what is being generated.

If the table is SOME_MODEL then model is created as That's good, but I'd prefer I like the content of the models as-is and as such don't want to use hbmtemplate which seems to want me to specify a template. The default would do nicely!

If someone could point me to some documentation on how to change the model name or how to use hbmtemplate without using a template (oxymoron?) I'd appreciate it.

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!