[jira] [Closed] (OFBIZ-12081) Setup database driver and entity engine delegator from build property

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-12081) Setup database driver and entity engine delegator from build property

Nicolas Malin (Jira)

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

Daniel Watford closed OFBIZ-12081.
----------------------------------
    Resolution: Won't Do

After [discussion on the developer mailing list|https://lists.apache.org/thread.html/r210c63f3f0d6efd0b4fe2e2141689ae501c518671cfe1e5d4f7a9417%40%3Cdev.ofbiz.apache.org%3E] I decided to drop the idea of having the ofbiz project be opinionated about the version of database drivers that should be used.



> Setup database driver and entity engine delegator from build property
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-12081
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12081
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/entity
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Major
>
> Use a gradle.properties property to drive dependency selection for a particular DBMS and to configure entity engine data sources.
> Identifying the relevant database driver to download and make available as part of an ofbiz environment is an additional configuration step that we can automate based on a user configured property in gradle.properties. Depending on the selection we can add a dependency to ofbiz to download a particular JDBC library version specific to the various DBMS we support.
> Further, based on that same property we can modify the contents of entityengine.xml to use the correct datasource for the chosen DBMS.
> These settings are thought to be useful for building docker images pre-configured to target specific DBMS containers deployed as part of a docker-compose application.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)