question: determine the database to use based on this configuration and the primary datasource . concode_field_sep String DEFAULT_PHYSICAL_STRATEGY concode_elem_sep String physicalStrategy concode_elem_sep Hibernate hibernate concode_elem_sep boolean generateDdl concode_elem_sep Naming naming concode_elem_sep String DEFAULT_IMPLICIT_STRATEGY concode_elem_sep String databasePlatform concode_elem_sep String implicitStrategy concode_elem_sep Database database concode_elem_sep String USE_NEW_ID_GENERATOR_MAPPINGS concode_elem_sep Map<String,String> properties concode_elem_sep boolean showSql concode_elem_sep Boolean useNewIdGeneratorMappings concode_elem_sep String ddlAuto concode_field_sep String getDefaultDdlAuto concode_elem_sep void applyNamingStrategies concode_elem_sep void setDatabasePlatform concode_elem_sep void setDatabase concode_elem_sep void setProperties concode_elem_sep void setImplicitStrategy concode_elem_sep String getPhysicalStrategy concode_elem_sep void setPhysicalStrategy concode_elem_sep boolean isUseNewIdGeneratorMappings concode_elem_sep void setHibernate concode_elem_sep Hibernate getHibernate concode_elem_sep void setDdlAuto concode_elem_sep String getDatabasePlatform concode_elem_sep void setGenerateDdl concode_elem_sep void applyNewIdGeneratorMappings concode_elem_sep boolean isGenerateDdl concode_elem_sep Map<String,String> getProperties concode_elem_sep Naming getNaming concode_elem_sep boolean isShowSql concode_elem_sep void setUseNewIdGeneratorMappings concode_elem_sep String getImplicitStrategy concode_elem_sep String getOrDeduceDdlAuto concode_elem_sep Database getDatabase concode_elem_sep void applyNamingStrategy concode_elem_sep String getDdlAuto concode_elem_sep void setShowSql concode_elem_sep Map<String,String> getAdditionalProperties concode_elem_sep Map<String,String> getHibernateProperties
target: Database function ( DataSource arg0 ) { if ( this . database != null ) { return this . database ; } return DatabaseLookup . getDatabase ( arg0 ) ; }