openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <>
Subject [jira] Created: (OPENJPA-248) ForeignKey cascade delete action not working
Date Thu, 31 May 2007 19:30:15 GMT
ForeignKey cascade delete action not working

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

View raw message