2 Replies Latest reply on Aug 13, 2008 10:10 AM by Alexander Lvov

    import.sql feature problem

    Alexander Lvov Newbie
      I am confused about using import.sql feature as well a few things around it and i hope u guys could help me get
      a few clues how to solve it.
      i am using jboss seam 2.0.3.CR1, jboss AS 4.2.2 GA, Postgres db.

      Now i have 2 tables for 2 entitys/classes. None of the tables gets updated
      with stuff from import.sql if i am using setting
      <property name="hibernate.hbm2ddl.auto" value="update"/>
      but both gets updated with one of those 2 setting.
      <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
      or ||
      <property name="hibernate.hbm2ddl.auto" value="create"/>
      in persistence.xml file.

      My question is why or at least where can the problem be ? :) I can post those classes as well as table definition if needed.

      Please help!