DbConnector connector = s_connectors.get(key);
if (connector == null) {
synchronized (this) {
connector = s_connectors.get(key);
if (connector == null) {
DbDialect dbDialect = DbDialectUtils.getSupportedDbDialect(getDatabaseType());
DbConnectorFactoryBean factory = new DbConnectorFactoryBean();
factory.setName("DbTest-" + dbDialect.getName() + (scope != null ? "-" + scope.getSimpleName() : ""));
factory.setDialect(dbDialect);
factory.setDataSource(getDbTool().getDataSource());
factory.setTransactionIsolationLevelName("ISOLATION_READ_COMMITTED");
factory.setTransactionPropagationBehaviorName("PROPAGATION_REQUIRED");
initDbConnectorFactory(factory);