openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-248) ForeignKey cascade delete action not working
Date Thu, 31 May 2007 21:27:15 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Sutter resolved OPENJPA-248.
----------------------------------

    Resolution: Fixed

Fixed via svn revision 543265.

> ForeignKey cascade delete action not working
> --------------------------------------------
>
>                 Key: OPENJPA-248
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-248
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 0.9.7
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
>             Fix For: 1.0.0
>
>
> The code in parseForeignKey is not correct.  It is accidentally using the deleteAction
setting for both the delete and update action settings.  This results in invalid SQL being
generated (at least for DB2 since it doesn't like cascading updates).  This report will be
used to correct these settings.  It looks like a simple case of cut-and-paste error.

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


Mime
View raw message