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 "Igor Galchevsky (JIRA)" <de...@db.apache.org> on 2005/11/30 20:10:30 UTC

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

Need implementation for `ON UPDATE CASCADE` 
--------------------------------------------

         Key: DERBY-735
         URL: http://issues.apache.org/jira/browse/DERBY-735
     Project: Derby
        Type: New Feature
  Components: SQL  
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Posted by "Gabriele Kahlout (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Sylvain Leroux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845790#action_12845790 ] 

Sylvain Leroux commented on DERBY-735:
--------------------------------------

It does seem to be a desirable feature.

I don't have any idea how much work it is - nor where to start from.
But with some help I could work on it.

- Sylvain

> 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.


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

Posted by "Sylvain Leroux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Leroux reassigned DERBY-735:
------------------------------------

    Assignee: Sylvain Leroux

> 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
>            Assignee: Sylvain Leroux
>
> 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.


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

Posted by "Gabriele Kahlout (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845750#action_12845750 ] 

Gabriele Kahlout commented on DERBY-735:
----------------------------------------

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.