MyEclipse: [Hibernate] Can Hibernate automatically create tables?
support-rkalla - Sep 04, 2007 - 03:17 PM
Post subject: [Hibernate] Can Hibernate automatically create tables?
Yes, Hibernate can be configured by way of the hibernate.hbm2ddl.auto property in the hibernate.cfg.xml file to automatically create tables in your DB in order to store your entities in them if the table doesn't already exist. This can be handy during development where a new, in-memory, DB can be used and created anew on every run of the application or during testing.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits