Source:
<code>public WorkflowInstanceDao(SQLVariants sqlVariants, @NFlow JdbcTemplate nflowJdbcTemplate, @NFlow TransactionTemplate transactionTemplate, @NFlow NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate, ExecutorDao executorDao, WorkflowInstanceExecutor workflowInstanceExecutor, WorkflowInstanceFactory workflowInstanceFactory, Environment env) { this.sqlVariants = sqlVariants; this.jdbc = nflowJdbcTemplate; this.transaction = transactionTemplate; this.namedJdbc = nflowNamedParameterJdbcTemplate; this.executorInfo = executorDao; this.workflowInstanceExecutor = workflowInstanceExecutor; this.workflowInstanceFactory = workflowInstanceFactory; workflowInstanceQueryMaxResults = env.getRequiredProperty("nflow.workflow.instance.query.max.results", Long.class); workflowInstanceQueryMaxResultsDefault = env.getRequiredProperty("nflow.workflow.instance.query.max.results.default", Long.class); workflowInstanceQueryMaxActions = env.getRequiredProperty("nflow.workflow.instance.query.max.actions", Long.class); workflowInstanceQueryMaxActionsDefault = env.getRequiredProperty("nflow.workflow.instance.query.max.actions.default", Long.class); disableBatchUpdates = env.getRequiredProperty("nflow.db.disable_batch_updates", Boolean.class); if (disableBatchUpdates) { logger.info("nFlow DB batch updates are disabled (system property nflow.db.disable_batch_updates=true)"); } instanceStateTextLength = env.getProperty("nflow.workflow.instance.state.text.length", Integer.class, -1); actionStateTextLength = env.getProperty("nflow.workflow.action.state.text.length", Integer.class, -1); stateVariableValueMaxLength = env.getProperty("nflow.workflow.state.variable.value.length", Integer.class, -1); <START> maxWorkflowTypeCacheSize = env.getProperty("nflow.db.type.cache.size", Integer.class, 10_000); <END> }</code><technical_language>Rename field conf property? workflowInstanceTypeCacheSize = env.getProperty("nflow.workflow.instance.type.cache.size", Integer.class, 10_000);</technical_language>

Target:
public WorkflowInstanceDao(SQLVariants sqlVariants, @NFlow JdbcTemplate nflowJdbcTemplate, @NFlow TransactionTemplate transactionTemplate, @NFlow NamedParameterJdbcTemplate nflowNamedParameterJdbcTemplate, ExecutorDao executorDao, WorkflowInstanceExecutor workflowInstanceExecutor, WorkflowInstanceFactory workflowInstanceFactory, Environment env) { this.sqlVariants = sqlVariants; this.jdbc = nflowJdbcTemplate; this.transaction = transactionTemplate; this.namedJdbc = nflowNamedParameterJdbcTemplate; this.executorInfo = executorDao; this.workflowInstanceExecutor = workflowInstanceExecutor; this.workflowInstanceFactory = workflowInstanceFactory; workflowInstanceQueryMaxResults = env.getRequiredProperty("nflow.workflow.instance.query.max.results", Long.class); workflowInstanceQueryMaxResultsDefault = env.getRequiredProperty("nflow.workflow.instance.query.max.results.default", Long.class); workflowInstanceQueryMaxActions = env.getRequiredProperty("nflow.workflow.instance.query.max.actions", Long.class); workflowInstanceQueryMaxActionsDefault = env.getRequiredProperty("nflow.workflow.instance.query.max.actions.default", Long.class); disableBatchUpdates = env.getRequiredProperty("nflow.db.disable_batch_updates", Boolean.class); if (disableBatchUpdates) { logger.info("nFlow DB batch updates are disabled (system property nflow.db.disable_batch_updates=true)"); } workflowInstanceTypeCacheSize = env.getRequiredProperty("nflow.db.workflowInstanceType.cacheSize", Integer.class); instanceStateTextLength = env.getProperty("nflow.workflow.instance.state.text.length", Integer.class, -1); actionStateTextLength = env.getProperty("nflow.workflow.action.state.text.length", Integer.class, -1); stateVariableValueMaxLength = env.getProperty("nflow.workflow.state.variable.value.length", Integer.class, -1); }