3 Replies Latest reply on Nov 12, 2003 2:59 AM by ekeland

    Deployment Problem: Creating fk-constraints before creating

    bluewhale_de

      Hi there,

      I got an ugly deployment problem here. I configured jboss to drop and create tables and to create pk and fk-constriants.

      However during deployment I got errors whil creating the FKs, telling me that the table does not exists. I thought Jboss will create all tables first, before adding the constriants...

      At the moment I can solve my problem by deploying three times and every step the missing table form the previous step was generated. I do this iterativly as long as no problem is reported.

      However I think this is not the way it should be. Do you had anyy of this experience and what can I do to ensure that the tables are created first?

      Cheers,

      Stefan