Many DataSource implementations use the DriverManager
class which is incompatible with typical OSGi class loading semantics. To get around this,
use a DataSource implementation that does not rely on
DriverManager. Versions of the following
DataSources that are known to work in an OSGi environment are available in the
SpringSource Enterprise Bundle Repository.
SimpleDriverDataSource available in Spring JDBC 2.5.5 and later