Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Hi,
I'm new to the forums and kinda new to the Hibernate. After reading a bit about it in Hibernate in Action book and about the HBM2DDL tool, I decided to come here in hope for a tip.
What I need to do is build a java class that uses SchemaExport to build the DDL schemas instead of using an ant to do the job.
Actually, I think I need a class that works like SchemaExport, but does the job without needing an ant.
So, basically I need to know if there's anything like that done already so that I can check out or if there's any tips (including places to go check by myself) you guys could share with me.