0 Replies Latest reply on Feb 21, 2007 1:14 PM by Micho Edershvili

    Best practice for deployment: updating database schema

    Micho Edershvili Newbie


      I used the "update " variant in the persistence.xml .
      I detected, that som things wont work with this option, for example, uniqueconstrains are not created correctly.

      For development the "create-drop" variant works fine.

      Deploying the application I have to update the schema in several databases.
      Is there a best practice how to do that.

      can hibernate create database scripts for the updates?