📄 connectionpropertiesimpl.java
字号:
Messages.getString("ConnectionProperties.holdRSOpenOverStmtClose"), //$NON-NLS-1$ "3.1.7", PERFORMANCE_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty includeInnodbStatusInDeadlockExceptions = new BooleanConnectionProperty( "includeInnodbStatusInDeadlockExceptions", false, "Include the output of \"SHOW ENGINE INNODB STATUS\" in exception messages when deadlock exceptions are detected?", "5.0.7", DEBUGING_PROFILING_CATEGORY, Integer.MIN_VALUE); private BooleanConnectionProperty ignoreNonTxTables = new BooleanConnectionProperty( "ignoreNonTxTables", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.ignoreNonTxTables"), //$NON-NLS-1$ "3.0.9", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty initialTimeout = new IntegerConnectionProperty( "initialTimeout", 2, 1, Integer.MAX_VALUE, //$NON-NLS-1$ Messages.getString("ConnectionProperties.initialTimeout"), //$NON-NLS-1$ "1.1", HA_CATEGORY, 5); //$NON-NLS-1$ private BooleanConnectionProperty isInteractiveClient = new BooleanConnectionProperty( "interactiveClient", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.interactiveClient"), //$NON-NLS-1$ "3.1.0", CONNECTION_AND_AUTH_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty jdbcCompliantTruncation = new BooleanConnectionProperty( "jdbcCompliantTruncation", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.jdbcCompliantTruncation"), "3.1.2", MISC_CATEGORY, //$NON-NLS-1$ //$NON-NLS-2$ Integer.MIN_VALUE); private boolean jdbcCompliantTruncationForReads = this.jdbcCompliantTruncation.getValueAsBoolean(); protected MemorySizeConnectionProperty largeRowSizeThreshold = new MemorySizeConnectionProperty("largeRowSizeThreshold", 2048, 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.largeRowSizeThreshold"), "5.1.1", PERFORMANCE_CATEGORY, Integer.MIN_VALUE); private StringConnectionProperty loadBalanceStrategy = new StringConnectionProperty( "loadBalanceStrategy", //$NON-NLS-1$ "random", //$NON-NLS-1$ new String[] {"random", "bestResponseTime"}, //$NON-NLS-1$ //$NON-NLS-2$ Messages.getString("ConnectionProperties.loadBalanceStrategy"), //$NON-NLS-1$ "5.0.6", PERFORMANCE_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private StringConnectionProperty localSocketAddress = new StringConnectionProperty("localSocketAddress", //$NON-NLS-1$ null, Messages.getString("ConnectionProperties.localSocketAddress"), //$NON-NLS-1$ "5.0.5", CONNECTION_AND_AUTH_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private MemorySizeConnectionProperty locatorFetchBufferSize = new MemorySizeConnectionProperty( "locatorFetchBufferSize", //$NON-NLS-1$ 1024 * 1024, 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.locatorFetchBufferSize"), //$NON-NLS-1$ "3.2.1", PERFORMANCE_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private StringConnectionProperty loggerClassName = new StringConnectionProperty( "logger", STANDARD_LOGGER_NAME, //$NON-NLS-1$ Messages.getString("ConnectionProperties.logger", new Object[] {Log.class.getName(), STANDARD_LOGGER_NAME}), //$NON-NLS-1$ "3.1.1", DEBUGING_PROFILING_CATEGORY, //$NON-NLS-1$ //$NON-NLS-2$ 0); private BooleanConnectionProperty logSlowQueries = new BooleanConnectionProperty( "logSlowQueries", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.logSlowQueries"), //$NON-NLS-1$ "3.1.2", DEBUGING_PROFILING_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty logXaCommands = new BooleanConnectionProperty( "logXaCommands", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.logXaCommands"), //$NON-NLS-1$ "5.0.5", DEBUGING_PROFILING_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty maintainTimeStats = new BooleanConnectionProperty( "maintainTimeStats", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.maintainTimeStats"), "3.1.9", PERFORMANCE_CATEGORY, //$NON-NLS-1$ //$NON-NLS-2$ Integer.MAX_VALUE); private boolean maintainTimeStatsAsBoolean = true; private IntegerConnectionProperty maxQuerySizeToLog = new IntegerConnectionProperty( "maxQuerySizeToLog", //$NON-NLS-1$ 2048, 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.maxQuerySizeToLog"), //$NON-NLS-1$ "3.1.3", DEBUGING_PROFILING_CATEGORY, 4); //$NON-NLS-1$ private IntegerConnectionProperty maxReconnects = new IntegerConnectionProperty( "maxReconnects", //$NON-NLS-1$ 3, 1, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.maxReconnects"), //$NON-NLS-1$ "1.1", HA_CATEGORY, 4); //$NON-NLS-1$ private IntegerConnectionProperty maxRows = new IntegerConnectionProperty( "maxRows", -1, -1, Integer.MAX_VALUE, //$NON-NLS-1$ Messages.getString("ConnectionProperties.maxRows"), //$NON-NLS-1$ Messages.getString("ConnectionProperties.allVersions"), MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private int maxRowsAsInt = -1; private IntegerConnectionProperty metadataCacheSize = new IntegerConnectionProperty( "metadataCacheSize", //$NON-NLS-1$ 50, 1, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.metadataCacheSize"), //$NON-NLS-1$ "3.1.1", PERFORMANCE_CATEGORY, 5); //$NON-NLS-1$ private IntegerConnectionProperty netTimeoutForStreamingResults = new IntegerConnectionProperty( "netTimeoutForStreamingResults", 600, //$NON-NLS-1$ 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.netTimeoutForStreamingResults"), //$NON-NLS-1$ "5.1.0", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty noAccessToProcedureBodies = new BooleanConnectionProperty( "noAccessToProcedureBodies", false, "When determining procedure parameter types for CallableStatements, and the connected user " + " can't access procedure bodies through \"SHOW CREATE PROCEDURE\" or select on mysql.proc " + " should the driver instead create basic metadata (all parameters reported as IN VARCHARs," + " but allowing registerOutParameter() to be called on them anyway) instead " + " of throwing an exception?", "5.0.3", MISC_CATEGORY, Integer.MIN_VALUE); private BooleanConnectionProperty noDatetimeStringSync = new BooleanConnectionProperty( "noDatetimeStringSync", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.noDatetimeStringSync"), //$NON-NLS-1$ "3.1.7", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty noTimezoneConversionForTimeType = new BooleanConnectionProperty( "noTimezoneConversionForTimeType", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.noTzConversionForTimeType"), //$NON-NLS-1$ "5.0.0", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty nullCatalogMeansCurrent = new BooleanConnectionProperty( "nullCatalogMeansCurrent", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.nullCatalogMeansCurrent"), //$NON-NLS-1$ "3.1.8", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty nullNamePatternMatchesAll = new BooleanConnectionProperty( "nullNamePatternMatchesAll", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.nullNamePatternMatchesAll"), //$NON-NLS-1$ "3.1.8", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty packetDebugBufferSize = new IntegerConnectionProperty( "packetDebugBufferSize", //$NON-NLS-1$ 20, 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.packetDebugBufferSize"), //$NON-NLS-1$ "3.1.3", DEBUGING_PROFILING_CATEGORY, 7); //$NON-NLS-1$ private BooleanConnectionProperty padCharsWithSpace = new BooleanConnectionProperty( "padCharsWithSpace", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.padCharsWithSpace"), //$NON-NLS-1$ "5.0.6", //$NON-NLS-1$ MISC_CATEGORY, Integer.MIN_VALUE); private BooleanConnectionProperty paranoid = new BooleanConnectionProperty( "paranoid", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.paranoid"), //$NON-NLS-1$ "3.0.1", SECURITY_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty pedantic = new BooleanConnectionProperty( "pedantic", false, Messages.getString("ConnectionProperties.pedantic"), "3.0.0", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ MISC_CATEGORY, Integer.MIN_VALUE); private BooleanConnectionProperty pinGlobalTxToPhysicalConnection = new BooleanConnectionProperty( "pinGlobalTxToPhysicalConnection", false, Messages.getString("ConnectionProperties.pinGlobalTxToPhysicalConnection"), //$NON-NLS-1$ "5.0.1", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty populateInsertRowWithDefaultValues = new BooleanConnectionProperty( "populateInsertRowWithDefaultValues", false, //$NON-NLS-1$ Messages.getString("ConnectionProperties.populateInsertRowWithDefaultValues"), //$NON-NLS-1$ "5.0.5", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty preparedStatementCacheSize = new IntegerConnectionProperty( "prepStmtCacheSize", 25, 0, Integer.MAX_VALUE, //$NON-NLS-1$ Messages.getString("ConnectionProperties.prepStmtCacheSize"), //$NON-NLS-1$ "3.0.10", PERFORMANCE_CATEGORY, 10); //$NON-NLS-1$ private IntegerConnectionProperty preparedStatementCacheSqlLimit = new IntegerConnectionProperty( "prepStmtCacheSqlLimit", //$NON-NLS-1$ 256, 1, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.prepStmtCacheSqlLimit"), //$NON-NLS-1$ "3.0.10", PERFORMANCE_CATEGORY, 11); //$NON-NLS-1$ private BooleanConnectionProperty processEscapeCodesForPrepStmts = new BooleanConnectionProperty("processEscapeCodesForPrepStmts", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.processEscapeCodesForPrepStmts"), //$NON-NLS-1$ "3.1.12", //$NON-NLS-1$ MISC_CATEGORY, Integer.MIN_VALUE); private StringConnectionProperty profileSql = new StringConnectionProperty( "profileSql", //$NON-NLS-1$ null, Messages.getString("ConnectionProperties.profileSqlDeprecated"), //$NON-NLS-1$ "2.0.14", DEBUGING_PROFILING_CATEGORY, 3); //$NON-NLS-1$ private BooleanConnectionProperty profileSQL = new BooleanConnectionProperty( "profileSQL", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.profileSQL"), //$NON-NLS-1$ "3.1.0", DEBUGING_PROFILING_CATEGORY, 1); //$NON-NLS-1$ private boolean profileSQLAsBoolean = false; private StringConnectionProperty propertiesTransform = new StringConnectionProperty( NonRegisteringDriver.PROPERTIES_TRANSFORM_KEY, null, Messages.getString("ConnectionProperties.connectionPropertiesTransform"), //$NON-NLS-1$ "3.1.4", CONNECTION_AND_AUTH_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty queriesBeforeRetryMaster = new IntegerConnectionProperty( "queriesBeforeRetryMaster", //$NON-NLS-1$ 50, 1, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.queriesBeforeRetryMaster"), //$NON-NLS-1$ "3.0.2", HA_CATEGORY, 7); //$NON-NLS-1$ private BooleanConnectionProperty reconnectAtTxEnd = new BooleanConnectionProperty( "reconnectAtTxEnd", false, //$NON-NLS-1$ Messages.getString("ConnectionProperties.reconnectAtTxEnd"), "3.0.10", //$NON-NLS-1$ //$NON-NLS-2$ HA_CATEGORY, 4); private boolean reconnectTxAtEndAsBoolean = false; private BooleanConnectionProperty relaxAutoCommit = new BooleanConnectionProperty( "relaxAutoCommit", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.relaxAutoCommit"), //$NON-NLS-1$ "2.0.13", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty reportMetricsIntervalMillis = new IntegerConnectionProperty( "reportMetricsIntervalMillis", //$NON-NLS-1$ 30000, 0, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.reportMetricsIntervalMillis"), //$NON-NLS-1$ "3.1.2", DEBUGING_PROFILING_CATEGORY, 3); //$NON-NLS-1$ private BooleanConnectionProperty requireSSL = new BooleanConnectionProperty( "requireSSL", false, //$NON-NLS-1$ Messages.getString("ConnectionProperties.requireSSL"), //$NON-NLS-1$ "3.1.0", SECURITY_CATEGORY, 3); //$NON-NLS-1$ private StringConnectionProperty resourceId = new StringConnectionProperty( "resourceId", //$NON-NLS-1$ null, Messages.getString("ConnectionProperties.resourceId"), //$NON-NLS-1$ "5.0.1", //$NON-NLS-1$ HA_CATEGORY, Integer.MIN_VALUE); private IntegerConnectionProperty resultSetSizeThreshold = new IntegerConnectionProperty("resultSetSizeThreshold", 100, //$NON-NLS-1$ Messages.getString("ConnectionProperties.resultSetSizeThreshold"), "5.0.5", DEBUGING_PROFILING_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ //$NON-NLS-2$ private BooleanConnectionProperty retainStatementAfterResultSetClose = new BooleanConnectionProperty( "retainStatementAfterResultSetClose", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.retainStatementAfterResultSetClose"), //$NON-NLS-1$ "3.1.11", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty rewriteBatchedStatements = new BooleanConnectionProperty( "rewriteBatchedStatements", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.rewriteBatchedStatements"), //$NON-NLS-1$ "3.1.13", PERFORMANCE_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty rollbackOnPooledClose = new BooleanConnectionProperty( "rollbackOnPooledClose", //$NON-NLS-1$ true, Messages.getString("ConnectionProperties.rollbackOnPooledClose"), //$NON-NLS-1$ "3.0.15", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private BooleanConnectionProperty roundRobinLoadBalance = new BooleanConnectionProperty( "roundRobinLoadBalance", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.roundRobinLoadBalance"), //$NON-NLS-1$ "3.1.2", HA_CATEGORY, 5); //$NON-NLS-1$ private BooleanConnectionProperty runningCTS13 = new BooleanConnectionProperty( "runningCTS13", //$NON-NLS-1$ false, Messages.getString("ConnectionProperties.runningCTS13"), //$NON-NLS-1$ "3.1.7", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty secondsBeforeRetryMaster = new IntegerConnectionProperty( "secondsBeforeRetryMaster", //$NON-NLS-1$ 30, 1, Integer.MAX_VALUE, Messages.getString("ConnectionProperties.secondsBeforeRetryMaster"), //$NON-NLS-1$ "3.0.2", HA_CATEGORY, 8); //$NON-NLS-1$ private StringConnectionProperty serverTimezone = new StringConnectionProperty( "serverTimezone", //$NON-NLS-1$ null, Messages.getString("ConnectionProperties.serverTimezone"), //$NON-NLS-1$ "3.0.2", MISC_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private StringConnectionProperty sessionVariables = new StringConnectionProperty(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -