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