I am using Standalone Hibernate to practice basics of it. I want to create databases and tables using schema file how should i proceed.
I am using MySql . I don't want programmatic or Sql way to create tables. I want to create through Ant or maven tool.
You can specify the hibernate.hbm2dll.auto=create in your hibernate.cfg.xml so that Hibernate will create all those tables automatically. Of course, you need to have your hibernate mapping files or annotated entity classes ready.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
You would be much easier to understand if you took that bucket off of your head. And that goes for the tiny ad too!
a bit of art, as a gift, the permaculture playing cards