You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Savva Kolbachev (JIRA)" <ji...@apache.org> on 2016/08/19 09:28:20 UTC
[jira] [Updated] (CAY-2104) Modeler reverse engineering
improvements
[ https://issues.apache.org/jira/browse/CAY-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savva Kolbachev updated CAY-2104:
---------------------------------
Issue Type: Bug (was: Improvement)
> Modeler reverse engineering improvements
> ----------------------------------------
>
> Key: CAY-2104
> URL: https://issues.apache.org/jira/browse/CAY-2104
> Project: Cayenne
> Issue Type: Bug
> Components: Modeler
> Reporter: Savva Kolbachev
> Priority: Minor
>
> Here are some ideas of how we could improve modeler reverse engineering UX.
> 1. Allow to create and save the reverse engineering config file without executing. Now it is created only after executing reverse engineering task and saving a project.
> 2. Allow to change the reverse engineering config file name in the Modeler.
> 3. Not sure that it is a good practice to add extra elements to the reverse engineering file after saving the project. Perhaps, this is a bug.
> For example I have the following code
> {code:xml}
> <?xml version="1.0" encoding="utf-8"?>
> <reverseEngineering xsi:schemaLocation="http://cayenne.apache.org/schema/8/reverseEngineering http://cayenne.apache.org/schema/8/reverseEngineering.xsd" xmlns="http://cayenne.apache.org/schema/8/reverseEngineering" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <skipRelationshipsLoading>false</skipRelationshipsLoading>
> <skipPrimaryKeyLoading>false</skipPrimaryKeyLoading>
> <catalog name="test">
> <excludeTable pattern="ordered_product"/>
> </catalog>
> </reverseEngineering>
> {code}
> After executing revere engineering and saving the project I have the same in the Modeler, but the following in the file:
> {code:xml}
> <?xml version="1.0" encoding="utf-8"?>
> <reverseEngineering xsi:schemaLocation="http://cayenne.apache.org/schema/8/reverseEngineering http://cayenne.apache.org/schema/8/reverseEngineering.xsd" xmlns="http://cayenne.apache.org/schema/8/reverseEngineering" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <skipRelationshipsLoading>false</skipRelationshipsLoading>
> <skipPrimaryKeyLoading>false</skipPrimaryKeyLoading>
> <catalog name="test">
> <schema>
> <includeTable/>
> <excludeTable pattern="ordered_product"/>
> </schema>
> </catalog>
> </reverseEngineering>
> {code}
> Also it cleans the file and deletes any comments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)