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

Andrus Adamchik closed CAY-2966.
--------------------------------
    Resolution: Fixed

> "comment" field is lost when upgrading from v10 to v12
> ------------------------------------------------------
>
>                 Key: CAY-2966
>                 URL: https://issues.apache.org/jira/browse/CAY-2966
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 5.0-M2
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 5.0-M3
>
>
> When upgrading a DataMap with comments from v10 (4.2.x) to v12 (5.0-M2), the 
> comment fields are lost:
>  
> {noformat}
> -<data-map xmlns="http://cayenne.apache.org/schema/10/modelMap";
> +<data-map xmlns="http://cayenne.apache.org/schema/12/modelMap";
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> -        xsi:schemaLocation="http://cayenne.apache.org/schema/10/modelMap 
> https://cayenne.apache.org/schema/10/modelMap.xsd";
> -        project-version="10">
> +        xsi:schemaLocation="http://cayenne.apache.org/schema/12/modelMap 
> https://cayenne.apache.org/schema/12/modelMap.xsd";
> +        project-version="12">@@ -17,7 +17,6 @@
>         <db-entity name="etl12t">
>                 <db-attribute name="MixedCaseId" type="INTEGER" 
> isPrimaryKey="true" isMandatory="true"/>
>                 <db-attribute name="StartsWithUpperCase" type="VARCHAR" 
> length="100"/>
> -               <info:property 
> xmlns:info="http://cayenne.apache.org/schema/10/info"; name="comment" 
> value="mixed case column names"/>
>         </db-entity>
>         <db-entity name="etl1t">
>                 <db-attribute name="age" type="INTEGER"/> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to