7.2 Working with DataSources
Prev | 7. Working with Common Enterprise Libraries | Next

## 7.2 Working with DataSources

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.

- Apache Commons DBCP

- SimpleDriverDataSource available in Spring JDBC 2.5.5 and later

Prev | Up | Next
7. Working with Common Enterprise Libraries | Home | 7.3 Weaving and Instrumentation