At present, many people use Hibernate as their persistence, if we have written configuration file Poweracl.hbm.xml, no need to write SQL DDL. In addition to using tool SchemaExport, you can also write programs to automatically initialize the database and generate SQL DDL. (1) Hibernate configuration file hibernate.cfg.xml
Xml version = '1.0' encoding = 'gb2312'?>