Here an example of datasource-file for Apache Derby database :

osgi.jdbc.driver.class=org.apache.derby.jdbc.EmbeddedDriver
dataSourceName=jdbc/vineyard
url=jdbc:derby:data/vineyard/derby;create=true


François Papon
[email protected]
Open3m - https://www.open3m.io

Le 08/06/2018 à 18:45, Jean-Baptiste Onofré a écrit :
> Yes, you have to install the datasource "provider".
>
> And then, use jdbc:ds-create that create
> etc/org.ops4j.datasource-xxx.cfg file
>
> Regards
> JB
>
> On 08/06/2018 16:24, ceugster wrote:
>> Hi
>>  I tried to follow the enterprise jdbc section of your documentation and had
>> some time to find out, that besides 
>>
>> karaf@root()> feature:repo-add pax-jdbc
>> karaf@root()> feature:install pax-jdbc
>> karaf@root()> feature:install pax-jdbc-config
>> karaf@root()> feature:install jdbc
>>
>> there should also be mentioned:
>>
>> karaf@root()> feature:install pax-jdbc-derby
>>
>> if one would try the example to create a datasource. I do not know, how I
>> can you inform better than this way.
>>
>>
>>
>>
>> --
>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>

Reply via email to