[
https://issues.apache.org/jira/browse/CAY-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682566#comment-17682566
]
Andrus Adamchik commented on CAY-2787:
--------------------------------------
[~ntimofeev] : I am not sure auto-sorting is the answer here. All names in DB
Import can be regexes (so no natural sort order in a general case). Also some
regexes may be crafted in a way that is order-dependent. So manual ordering
seems to be the only sensible solution.
> 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
> Assignee: Nikita Timofeev
> 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)