[jira] Commented: (CAY-1108) [PATCH] MySQL/DbMerger compatibility

From: Tore Halset (JIRA) ("Tore)
Date: Wed Sep 17 2008 - 16:59:12 EDT

  • Next message: Scott Anderson (JIRA): "[jira] Updated: (CAY-1108) [PATCH] MySQL/DbMerger compatibility"

        [ https://issues.apache.org/cayenne/browse/CAY-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105#action_13105 ]

    Tore Halset commented on CAY-1108:
    ----------------------------------

    I have added the SetNotNullToDb-MySQL.patch. Thanks Scott!

    I have not added the increase_reuse.patch as that would make SetColumnTypeToDb and AddColumnToDb include the "not null" clause. We need not null to be a separate token to be able to add a default value after the column is added, but before setting not null.

    Please report back if this is ok Scott!

    > [PATCH] MySQL/DbMerger compatibility
    > ------------------------------------
    >
    > Key: CAY-1108
    > URL: https://issues.apache.org/cayenne/browse/CAY-1108
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Scott Anderson
    > Assignee: Tore Halset
    > Attachments: increase_reuse.patch, SetNotNullToDb-MySQL.patch
    >
    >
    > This patch will generate proper SQL for changing a MySQL field to NOT NULL

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



    This archive was generated by hypermail 2.0.0 : Wed Sep 17 2008 - 17:00:14 EDT