You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Gabriele Kahlout (JIRA)" <ji...@apache.org> on 2010/03/16 08:14:27 UTC

[jira] Issue Comment Edited: (DERBY-735) Need implementation for `ON UPDATE CASCADE`

    [ https://issues.apache.org/jira/browse/DERBY-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845750#action_12845750 ] 

Gabriele Kahlout edited comment on DERBY-735 at 3/16/10 7:13 AM:
-----------------------------------------------------------------

Supported by SQLite and MySQL.

      was (Author: simpatico):
    Highly needed. Supported by SQLite and MySQL.
  
> Need implementation for `ON UPDATE CASCADE`
> -------------------------------------------
>
>                 Key: DERBY-735
>                 URL: https://issues.apache.org/jira/browse/DERBY-735
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.1.2.1
>         Environment: Gentoo Linux, JDK 1.5.0_04
>            Reporter: Igor Galchevsky
>
> 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 :(

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.