Hi!
I am attempting to upgrade to karaf 4.2.8. We are using pax-jdbc configuration 
files.
When I added the pax-jdbc feature and a org.ops4j.datasource-xxx.cfg to the etc 
directory, it did not work as it used to. I messed around with it some, and 
found that I had to change the name of the driver. The data source factory for 
the H2 driver was showing a service name of "H2 JDBC Driver".  My cfg file 
previously contained:

osgi.jdbc.driver.name=H2

That no longer works. I have to change that to:

osgi.jdbc.driver.name = H2 JDBC Driver

Are others aware of this?  Was this intentional?
Thanks,
Doug


karaf@TcIF()> service:list org.osgi.service.jdbc.DataSourceFactory
[org.osgi.service.jdbc.DataSourceFactory]
-----------------------------------------
osgi.jdbc.driver.class = org.h2.Driver
osgi.jdbc.driver.name = H2 JDBC Driver
osgi.jdbc.driver.version = 1.4.199 (2019-03-13)
service.bundleid = 12
service.id = 191
service.scope = singleton
Provided by :
H2 Database Engine (12)

k

Reply via email to