cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Timofeev <>
Subject cdbimport: breaking changes in configuration
Date Mon, 30 Jan 2017 11:10:52 GMT
Hi all,

I've pushed the first part of changes that will break v4.0 cdbimport
plugin configuration's compatibility:

1) Connection properties are now grouped under new tag <dataSource>.
This new tag can be unified later with DataSource configuration
already present in cayenne-project.xml.

2) reverseEngineering tag renamed to dbimport.
This is done because Reverse Engineering term is not very good by
itself and not aligns well with other places where importing database
structure is mentioned.

3) All properties except <map>, <adapter> and <dataSource> are moved
down under <dbimport> tag.
This is done with an idea in mind that cdbimport configuration can be
used as a part of project files and managed from the Modeler. So you
can only specify <map> and everything else will be found through it.

Here is what new configuration will look like:

        <!-- Group all data-source related fields, they can later be
unified with data-source configured in project's DataNode -->

        <!-- Rename reverseEngineering to dbimport -->
            <!-- move all other top level settings here -->

               <!-- remove confusing plural forms of tags (like
includeTables) -->

This is a major part of changes but there is a list of smaller ones.
You can find details in Apache JIRA:

Best regards,
Nikita Timofeev

View raw message