[ 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

        

Reply via email to