facebook

[Hibernate] Can Hibernate automatically create tables?

  1. MyEclipse IDE
  2.  > 
  3. FAQ – Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #275005 Reply

    Riyad Kalla
    Member

    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.

Viewing 1 post (of 1 total)
Reply To: [Hibernate] Can Hibernate automatically create tables?

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in