• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant scripts to generate the hbm file

 
saranga rao
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

Do you have any ant scripts to generate the hbm file from database "with out" help of xdoclet or middlegen etc...jst simple ant script.

any suggestion will be thankfull


Regards,
saranga
[ May 03, 2007: Message edited by: Bear Bibeault ]
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to avoid the tools that were created to do this?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate tools is built exactly for this. It can create hbm files from a database or even create database tables based on mapped classes and files. Please check out

Main page
http://www.hibernate.org/255.html

Hibernate Ant tasks documentation
http://www.hibernate.org/hib_docs/tools/reference/en/html/

Good Luck

Mark
 
saranga rao
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

Mark Spritzler.......thank you........
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by saranga rao:
HI,

Mark Spritzler.......thank you........


You are very welcome, it is out priviledge to help you and everyone at the Ranch.

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