IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes ant scripts to generate the hbm file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "ant scripts to generate the hbm file " Watch "ant scripts to generate the hbm file " New topic
Author

ant scripts to generate the hbm file

saranga rao
Ranch Hand

Joined: Apr 24, 2007
Posts: 49
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
Marshal

Joined: Mar 22, 2005
Posts: 32765
Why would you want to avoid the tools that were created to do this?


Android appsImageJ pluginsJava web charts
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16622

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
saranga rao
Ranch Hand

Joined: Apr 24, 2007
Posts: 49
HI,

Mark Spritzler.......thank you........
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16622

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
 
 
subject: ant scripts to generate the hbm file
 
Threads others viewed
visually design UML and then generate hbm file
Generate Hibernate mappings from DB
Hibernate(How to generate hbm file)
How to put jars in APP-INF/lib with ant
MiddleGen : generate schema with hbm file
IntelliJ Java IDE