3.5.1. Using the OpenJPA DataSource

OpenJPA defines a org.apache.openjpa.jdbc.schema.DriverDataSource interface, which provides a simple javax.sql.DataSource wrapper implementation for the normal cases where openjpa.ConnectionDriverName refers to a java.sql.Driver. See openjpa.jdbc.DriverDataSource for the list of provided implementations.