openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abe White (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-90) "ON DELETE SET NULL" is getting overridden if the foreign column is "NOT NULL"
Date Fri, 15 Dec 2006 18:04:24 GMT
     [ http://issues.apache.org/jira/browse/OPENJPA-90?page=all ]

Abe White resolved OPENJPA-90.
------------------------------

    Resolution: Fixed

Right you are.  Changed to check local columns, not foreign ones.

> "ON DELETE SET NULL" is getting overridden if the foreign column is "NOT NULL"
> ------------------------------------------------------------------------------
>
>                 Key: OPENJPA-90
>                 URL: http://issues.apache.org/jira/browse/OPENJPA-90
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: sql
>            Reporter: Markus Herzog
>
> "ON DELETE SET NULL" is getting overridden if the foreign column is "NOT NULL".
> This behaviour was introduced in Revision 449532 of the DBDictionary (getForeignKeyConstraintSQL).
I think this is implemented wrongly - you're checking the wrong side of the relation.

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

        

Mime
View raw message