hbm2ddl -- the problems and remedy
For a project I had to create ddl from the hibernate mapping files (hbm.xml). I started with following configuration. Remember you need not have database details of hibernate.cfg.xml file hibernate.cfg.xml <hibernate-configuration> <session-factory> <mapping resource="com/gvt/sch/hibernate/ApplicationEnvironment.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/UserRole.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/Application.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/TaskType.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/WorkStatus.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/Users.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/Roles.hbm.xml"/> <mapping resource="com/gvt/sch/hibernate/Contacts.hbm.xml"/> <mapp...