Issue Details (XML | Word | Printable)

Key: OPENJPA-248
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Kevin Sutter
Reporter: Kevin Sutter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenJPA

ForeignKey cascade delete action not working

Created: 31/May/07 07:29 PM   Updated: 31/Jul/07 07:03 PM
Return to search
Component/s: jdbc
Affects Version/s: 0.9.7
Fix Version/s: 1.0.0

Time Tracking:
Not Specified

Resolution Date: 31/May/07 09:26 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.