You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/06/11 09:17:07 UTC
[jira] Closed: (CAY-1206) merge: a way to set value for null for
madatory columns
[ https://issues.apache.org/jira/browse/CAY-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1206.
--------------------------------
closin resolved
> merge: a way to set value for null for madatory columns
> -------------------------------------------------------
>
> Key: CAY-1206
> URL: https://issues.apache.org/jira/browse/CAY-1206
> Project: Cayenne
> Issue Type: Improvement
> Components: Cayenne Core Library
> Affects Versions: 3.0M2, 3.0M3, 3.0M4, 3.0M5
> Reporter: Tore Halset
> Assignee: Tore Halset
> Priority: Minor
> Fix For: 3.0M6
>
>
> When adding a "not null" column to a table with rows, or when setting a column to "not null", there should be a way to tell DbMerger about the values that should be used instead of null for existing rows.
> With this information, the merger should create sql like the following before setting the column to "not null".
> update table set col='the value' where col is null;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.