# DatabaseManager

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 2,889 of 2,889 | 0% | 358 of 358 | 0% | 262 | 262 | 691 | 691 | 83 | 83
readDatabaseConfig(Database, DatabaseConfig) |  | 0% |  | 0% | 25 | 25 | 64 | 64 | 1 | 1
createSettings(TenantManager.Tenant, Database, TenantDatabaseDescriptor) |  | 0% |  | 0% | 11 | 11 | 54 | 54 | 1 | 1
readOrmSettings(DirectoryService, String, String, Settings) |  | 0% |  | 0% | 16 | 16 | 42 | 42 | 1 | 1
registerDatabase(DatabaseConfig, Database, boolean, boolean) |  | 0% |  | 0% | 18 | 18 | 34 | 34 | 1 | 1
initialize() |  | 0% |  | 0% | 9 | 9 | 35 | 35 | 1 | 1
deactivate(Database, long) |  | 0% |  | 0% | 8 | 8 | 34 | 34 | 1 | 1
initDb(String, String) |  | 0% |  | 0% | 4 | 4 | 24 | 24 | 1 | 1
getDatabaseDMOs(Database) |  | 0% |  | 0% | 4 | 4 | 24 | 24 | 1 | 1
deactivate(Integer, Database, boolean) |  | 0% |  | 0% | 9 | 9 | 20 | 20 | 1 | 1
activateTenantDatabases(TenantManager.Tenant) |  | 0% |  | 0% | 4 | 4 | 18 | 18 | 1 | 1
static {...} |  | 0% |  | n/a | 1 | 1 | 20 | 20 | 1 | 1
getTenantName(String) |  | 0% |  | 0% | 5 | 5 | 13 | 13 | 1 | 1
autoConnect() |  | 0% |  | 0% | 4 | 4 | 15 | 15 | 1 | 1
getDatabaseTables(Database) |  | 0% |  | n/a | 1 | 1 | 13 | 13 | 1 | 1
getTenantId(String) |  | 0% |  | 0% | 4 | 4 | 10 | 10 | 1 | 1
activateTenantDatabase(TenantManager.Tenant, String) |  | 0% |  | 0% | 4 | 4 | 15 | 15 | 1 | 1
updateTransientRefCount(Database, boolean) |  | 0% |  | 0% | 7 | 7 | 15 | 15 | 1 | 1
loadSettings(Database) |  | 0% |  | 0% | 4 | 4 | 10 | 10 | 1 | 1
registerDirtyDatabase(DatabaseConfig, Database, boolean) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
activate(String) |  | 0% |  | 0% | 3 | 3 | 10 | 10 | 1 | 1
getAllRecordLockInfo() |  | 0% |  | 0% | 4 | 4 | 9 | 9 | 1 | 1
initDb(DatabaseConfig, Database) |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1
registerDb(Database, DatabaseConfig) |  | 0% |  | 0% | 4 | 4 | 13 | 13 | 1 | 1
deregisterDatabase(Database) |  | 0% |  | 0% | 4 | 4 | 10 | 10 | 1 | 1
checkRemoteConnectURL(Database, Settings) |  | 0% |  | 0% | 3 | 3 | 9 | 9 | 1 | 1
updateTransientRefCountWorker(Database, int) |  | 0% |  | 0% | 2 | 2 | 7 | 7 | 1 | 1
getColumnToPropertyMap(Database, Class, Set, boolean) |  | 0% |  | 0% | 3 | 3 | 9 | 9 | 1 | 1
activateAndRegister(Integer, Database, DatabaseManager.Activator) |  | 0% |  | 0% | 2 | 2 | 8 | 8 | 1 | 1
getRemoteConfiguration(Database) |  | 0% |  | 0% | 2 | 2 | 9 | 9 | 1 | 1
getLockTableUpdater(Database) |  | 0% |  | 0% | 4 | 4 | 8 | 8 | 1 | 1
initTempDb() |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
bootstrap() |  | 0% |  | 0% | 3 | 3 | 8 | 8 | 1 | 1
getMutableDatabase(String) |  | 0% |  | 0% | 3 | 3 | 6 | 6 | 1 | 1
isDbMultiTenant(String) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
createEmbeddedSettings(Database) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
initMetaDb(Database, Database) |  | 0% |  | 0% | 3 | 3 | 8 | 8 | 1 | 1
getDialect(Database) |  | 0% |  | 0% | 4 | 4 | 5 | 5 | 1 | 1
activateDb(DatabaseConfig, Database) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
createDefaultTempSettings() |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
getLocalConfiguration(Database) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
activateMetaDb(Database, Database) |  | 0% |  | 0% | 3 | 3 | 7 | 7 | 1 | 1
lambda$getColumnToPropertyMap$4(Set, Map, Property) |  | 0% |  | 0% | 3 | 3 | 3 | 3 | 1 | 1
registerDirtyDatabase(Database) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getTenantId(character) |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
getTenantName(character) |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
removeTenantDbConfig(String, String) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
getAllDatabases() |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
lambda$getDatabaseDMOs$2(String, String) |  | 0% |  | 0% | 3 | 3 | 2 | 2 | 1 | 1
getManagedDatabases() |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
isDbMultiTenant(character) |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
isPermanentDB(Database) |  | 0% |  | 0% | 3 | 3 | 1 | 1 | 1 | 1
isAuthoritative(Database) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getConfiguration(Database) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
registerDatabase(Database) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getDatabaseConfig(Database) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$getDatabaseDMOs$3(Class) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$getDatabaseTables$1(Class) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
getIgnoreCase(Class, String) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getBackingTableName(Class) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isInitializing() |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
isMutable(Database) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getSchema(Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
removeTenantDbConfigs(String) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
removeTenantDbFromLockTable(Database) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
registerDb(Database) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
lambda$deactivate$5(Database, DatabaseConfig) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isDbMultiTenant() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTenantName() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getTenantId() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isTempTable(Class) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activate$12(Database, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activate$11(DatabaseConfig, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$deactivate$10(Database, long) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activateTenantDatabases$9(Database, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activateTenantDatabases$8(DatabaseConfig, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activateTenantDatabase$7(Database, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$activateTenantDatabase$6(DatabaseConfig, Database) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$getDatabaseTables$0(String, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
createDatabase(Text, boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
createDatabase(Text, Text, boolean, boolean) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
loadedOnStartup() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getEntityNameByTableName(Database, String) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isForceNoUndoTempTables() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1