cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1584) Improve Cayenne modeler re-ordering named query in the cayenne map xml
Date Fri, 01 Jul 2011 00:56:28 GMT

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

Frank Zhu updated CAY-1584:
---------------------------

    Summary: Improve Cayenne modeler re-ordering named query in the cayenne map xml  (was:
Improve Cayenne modeler re-ordering named query in the cayenne.xml)

> Improve Cayenne modeler re-ordering named query in the cayenne map xml
> ----------------------------------------------------------------------
>
>                 Key: CAY-1584
>                 URL: https://issues.apache.org/jira/browse/CAY-1584
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.0.2
>         Environment: Windows 7, SUN JDK 1.6
>            Reporter: Frank Zhu
>            Priority: Minor
>             Fix For: Undefined future
>
>
> We have got this issue that where multiple cayenne modeler re-orders differently for
the named query every time we modify it and save.
> Someone in my team modified the named query, and check the code in. The order for a particular
named query becomes
> <sql><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.oracle.OracleAdapter"><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.sqlserver.SQLServerAdapter"><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.mysql.MySQLAdapter"><![CDATA[...]]></sql>
> After I check out and make some changes, the order becomes 
> <sql><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.mysql.MySQLAdapter"><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.sqlserver.SQLServerAdapter"><![CDATA[...]]></sql>
> <sql adapter-class="org.apache.cayenne.dba.oracle.OracleAdapter"><![CDATA[...]]></sql>
> Since we have a lot of named query defined in Cayenne. This makes our merging process
difficult. After check out, we'll see a lot of queries are changed. In fact, only re-ordering
has been done. So we can't see what others did to the cayenne.xml easily.
> Any short workaround about this problem is appreciated as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message