You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/01/26 17:24:34 UTC
[jira] [Created] (KARAF-3478) Switch jdbc commands to use
pax-jdbc-config and pax-jdbc-config-pool
Christian Schneider created KARAF-3478:
------------------------------------------
Summary: Switch jdbc commands to use pax-jdbc-config and pax-jdbc-config-pool
Key: KARAF-3478
URL: https://issues.apache.org/jira/browse/KARAF-3478
Project: Karaf
Issue Type: Improvement
Components: karaf-shell
Reporter: Christian Schneider
Assignee: Christian Schneider
Fix For: 4.0.0.M2
Currently the jdbc commands for the data sources create blueprint files from templates for some supported databases.
The problem with this is that we need to maintain these templates and have a quite tight coupling to these database implementations.
So if the database changes a class name we use we might even need to support two templates for the same database.
A better way would be to us pax-jdbc-config and pax-jdbc-pool. These modules allow to create datasources including pooling and XA support just by adding configurations.
The jdbc commands could help with that by providing a simple way to create or delete the configs. We can also provide features for the most common databases that install all needed bundles.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)