Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-553

Drop table fails with fk-constraint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-3.2.6 Final
    • CMP service
    • None

      SourceForge Submitter: pilhuhn .
      When you have two tables a,b
      where b has a fk-constraint on a.field,
      dropping table a before table b fails.

      JBossCMP unfortunately does not take those fk
      constraints into account when dropping EntityBeans/Tables.
      So when the container first drops b, everything is ok,
      but if it first tries to drop a, this fails while b
      will be dropped afterwards.

              olubyans@redhat.com Alexey Loubyansky
              sourceforge-user SourceForge legacy user (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: