interface DataSourceProvider
Modifier and Type | Method and Description |
---|---|
javax.sql.DataSource |
getDataSource(Database database)
Obtain the
DataSource for a specific Database . |
javax.sql.DataSource getDataSource(Database database) throws PersistenceException
DataSource
for a specific Database
.database
- The FWD Database
that needs a connection to backing database.DataSource
for the specified Database
.PersistenceException
- If any error occurs in the process.