Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-735

Need implementation for `ON UPDATE CASCADE`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.1.2.1
    • None
    • SQL
    • Gentoo Linux, JDK 1.5.0_04
    • Low

    Description

      Ifound no chance to implement such statement in derby

      CREATE TABLE A (
      ax INTEGER NOT NULL,

      PRIMARY KEY(ax)
      );

      CREATE TABLE B (

      bx INTEGER NOT NULL,

      FOREIGN KEY (bx) REFERENCES A (ax)
      ON UPDATE CASCADE – can't make this work
      ON DELETE CASCADE
      );

      Seems `ON UPDATE CASCADE` does not implemented in derby yet.

      P.S. I found this working in HSQL, M$SQL, PostgreSQL... but not in
      debry

      Attachments

        Activity

          People

            lahiruWijewardana Lahiru Wijewardana
            syncat Igor Galchevsky
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: