cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CAY-1289) Order delete statements before insert statements when committing changes to the database
Date Thu, 08 Oct 2009 09:03:31 GMT

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

Andrey Razumovsky closed CAY-1289.
----------------------------------

    Resolution: Duplicate

This is actually duplicate of CAY-536. Maybe you'll find some useful information there..

> Order delete statements before insert statements when committing changes to the database
> ----------------------------------------------------------------------------------------
>
>                 Key: CAY-1289
>                 URL: https://issues.apache.org/jira/browse/CAY-1289
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0M6
>         Environment: Java 1.6, Windows XP, JBoss
>            Reporter: Patrick Mayweg
>
> When committing changes to the database, the delete statements should be excuted before
the insert statements. 
> We often remove old objects and create new objects for the same unique key values. 
> If the delete statements are not executed before the insert statements, we are getting
unique key violations from the database.

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