getDataSource(Database database) Returns a new DataSource instance.
Parameters: database - the configuration information for the data source. throws: DataSourceCreationException - if the connection could not be acquired.
Returns a new DataSource instance.
Parameters: database - the configuration information for the data source. throws: DataSourceCreationException - if the connection could not be acquired. the DataSource.