karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (KARAF-3203) jdbc:create command does not generate data source of type Derby using derby client driver
Date Thu, 04 Sep 2014 13:21:51 GMT

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

Jean-Baptiste Onofré reassigned KARAF-3203:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> jdbc:create command does not generate data source of type Derby using derby client driver
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-3203
>                 URL: https://issues.apache.org/jira/browse/KARAF-3203
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 2.3.5
>         Environment: OSX 10.9, Java 1.7.0_51, derby client driver 10.10.2.0
>            Reporter: Tiago Dias
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>              Labels: command, derby, feature, jdbc
>
> When trying to create a new Derby data source with derby client driver using jdbc:create
command the generated blueprint uses the Derby embedded version instead.
> The command used to create de data source is:
> jdbc:create -t derby -url jdbc:derby://localhost:1527/test -u user -p password -d org.apache.derby.jdbc.ClientDriver
derbyds
> The generated blueprint:
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>            default-activation="eager">
>     <bean id="dataSource" class="org.apache.derby.jdbc.EmbeddedXADataSource">
>         <property name="databaseName" value="derbyds"/>
>         <property name="createDatabase" value="create" />
>     </bean>
>     <service ref="dataSource" interface="javax.sql.DataSource">
>         <service-properties>
>             <entry key="osgi.jndi.service.name" value="jdbc/derbyds"/>
>         </service-properties>
>     </service>
>     <service ref="dataSource" interface="javax.sql.XADataSource">
>         <service-properties>
>             <entry key="osgi.jndi.service.name" value="jdbc/derbydsxa"/>
>         </service-properties>
>     </service>
> </blueprint>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message