You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2023/01/31 13:10:00 UTC
[jira] [Commented] (CAY-2787) Ability to sort DB Import rules
[ https://issues.apache.org/jira/browse/CAY-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682563#comment-17682563 ]
Nikita Timofeev commented on CAY-2787:
--------------------------------------
Per [this PR|https://github.com/apache/cayenne/pull/559] done auto sorting by name. This should ease the struggle and maintain stable ordering in all cases.
> Ability to sort DB Import rules
> -------------------------------
>
> Key: CAY-2787
> URL: https://issues.apache.org/jira/browse/CAY-2787
> Project: Cayenne
> Issue Type: Improvement
> Affects Versions: 4.2.RC2
> Reporter: Andrus Adamchik
> Priority: Minor
> Fix For: 5.0.M1
>
>
> Currently there seems to be no way to sort DB Import rules in the Modeler.
> I have a model with about 50 entities syncing from a DB with hundreds of entities, and there's no pattern to match the tables that I need. So I have to specify them individually. I ended up manually editing XML files to maintain an alphabetic list of included entity names.
> To maintain a desired ordering we may need a couple of things in the UI:
> * The ability to insert new table rules below/above the selected rule
> * The ability to drag and drop the existing rules to reorder them
--
This message was sent by Atlassian Jira
(v8.20.10#820010)