Used, for example, to resolve data source names in JPA
persistence.xml files.
org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager#setDataSourceLookup
| Modifier and Type | Method and Description |
|---|---|
| public DataSource | Returns: the DataSource (nevernull)the name of the DataSource dataSourceName)Retrieve the DataSource identified by the given name. |
| getDataSource | back to summary |
|---|---|
| public DataSource getDataSource(String dataSourceName) throws DataSourceLookupFailureException Retrieve the DataSource identified by the given name.
| |