/** * Whether static {@link Statement} should be executed. */ public static final boolean executeStaticStatements(Settings settings) { return getStatementType(settings) == STATIC_STATEMENT; }
/** * Whether a {@link PreparedStatement} should be executed. */ public static final boolean executePreparedStatements(Settings settings) { return getStatementType(settings) == PREPARED_STATEMENT; }
/** * Whether a {@link PreparedStatement} should be executed. */ public static final boolean executePreparedStatements(Settings settings) { return getStatementType(settings) == PREPARED_STATEMENT; }
/** * Whether static {@link Statement} should be executed. */ public static final boolean executeStaticStatements(Settings settings) { return getStatementType(settings) == STATIC_STATEMENT; }
this.forcedParamType = SettingsTools.getStatementType(settings()) == StatementType.STATIC_STATEMENT ? ParamType.INLINED : SettingsTools.getParamType(settings()) == ParamType.FORCE_INDEXED