code: @Deprecated
  	public Database determineDatabase(DataSource dataSource) {
  		if (this.database != null) {
  			return this.database;
  		}
  		return DatabaseLookup.getDatabase(dataSource);
  	}
docs: Determine the {@link Database} to use based on this configuration and the primary
  {@link DataSource}.
  @param dataSource the auto-configured data source
  @return {@code Database}
  @deprecated since 2.2.0 in favor of letting the JPA container detect the database
  to use.