PageRenderTime 46ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/EQEmuJSM/mysql-connector-java-5.1.13/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java

http://cubbers-eqemu-utils.googlecode.com/
Java | 2355 lines | 1610 code | 721 blank | 24 comment | 0 complexity | 6ff8be2e2a121b962c73fa280921c84c MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, Apache-2.0

Large files files are truncated, but you can click here to view the full file

  1. /*
  2. Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  3. The MySQL Connector/J is licensed under the terms of the GPL,
  4. like most MySQL Connectors. There are special exceptions to the
  5. terms and conditions of the GPL as it is applied to this software,
  6. see the FLOSS License Exception available on mysql.com.
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License as
  9. published by the Free Software Foundation; version 2 of the
  10. License.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  18. 02110-1301 USA
  19. */
  20. package com.mysql.jdbc;
  21. import java.sql.CallableStatement;
  22. import java.sql.DatabaseMetaData;
  23. import java.sql.PreparedStatement;
  24. import java.sql.SQLException;
  25. import java.sql.SQLWarning;
  26. import java.sql.Savepoint;
  27. import java.sql.Statement;
  28. import java.util.Calendar;
  29. import java.util.List;
  30. import java.util.Map;
  31. import java.util.Properties;
  32. import java.util.TimeZone;
  33. import java.util.Timer;
  34. import com.mysql.jdbc.log.Log;
  35. public class LoadBalancedMySQLConnection implements MySQLConnection {
  36. private LoadBalancingConnectionProxy proxy;
  37. protected MySQLConnection getActiveMySQLConnection() {
  38. return this.proxy.currentConn;
  39. }
  40. public LoadBalancedMySQLConnection(LoadBalancingConnectionProxy proxy) {
  41. this.proxy = proxy;
  42. }
  43. public void abortInternal() throws SQLException {
  44. getActiveMySQLConnection().abortInternal();
  45. }
  46. public void changeUser(String userName, String newPassword)
  47. throws SQLException {
  48. getActiveMySQLConnection().changeUser(userName, newPassword);
  49. }
  50. public void checkClosed() throws SQLException {
  51. getActiveMySQLConnection().checkClosed();
  52. }
  53. public void clearHasTriedMaster() {
  54. getActiveMySQLConnection().clearHasTriedMaster();
  55. }
  56. public void clearWarnings() throws SQLException {
  57. getActiveMySQLConnection().clearWarnings();
  58. }
  59. public PreparedStatement clientPrepareStatement(String sql,
  60. int resultSetType, int resultSetConcurrency,
  61. int resultSetHoldability) throws SQLException {
  62. return getActiveMySQLConnection().clientPrepareStatement(sql,
  63. resultSetType, resultSetConcurrency, resultSetHoldability);
  64. }
  65. public PreparedStatement clientPrepareStatement(String sql,
  66. int resultSetType, int resultSetConcurrency) throws SQLException {
  67. return getActiveMySQLConnection().clientPrepareStatement(sql,
  68. resultSetType, resultSetConcurrency);
  69. }
  70. public PreparedStatement clientPrepareStatement(String sql,
  71. int autoGenKeyIndex) throws SQLException {
  72. return getActiveMySQLConnection().clientPrepareStatement(sql,
  73. autoGenKeyIndex);
  74. }
  75. public PreparedStatement clientPrepareStatement(String sql,
  76. int[] autoGenKeyIndexes) throws SQLException {
  77. return getActiveMySQLConnection().clientPrepareStatement(sql,
  78. autoGenKeyIndexes);
  79. }
  80. public PreparedStatement clientPrepareStatement(String sql,
  81. String[] autoGenKeyColNames) throws SQLException {
  82. return getActiveMySQLConnection().clientPrepareStatement(sql,
  83. autoGenKeyColNames);
  84. }
  85. public PreparedStatement clientPrepareStatement(String sql)
  86. throws SQLException {
  87. return getActiveMySQLConnection().clientPrepareStatement(sql);
  88. }
  89. public synchronized void close() throws SQLException {
  90. getActiveMySQLConnection().close();
  91. }
  92. public void commit() throws SQLException {
  93. getActiveMySQLConnection().commit();
  94. }
  95. public void createNewIO(boolean isForReconnect) throws SQLException {
  96. getActiveMySQLConnection().createNewIO(isForReconnect);
  97. }
  98. public Statement createStatement() throws SQLException {
  99. return getActiveMySQLConnection().createStatement();
  100. }
  101. public Statement createStatement(int resultSetType,
  102. int resultSetConcurrency, int resultSetHoldability)
  103. throws SQLException {
  104. return getActiveMySQLConnection().createStatement(resultSetType,
  105. resultSetConcurrency, resultSetHoldability);
  106. }
  107. public Statement createStatement(int resultSetType, int resultSetConcurrency)
  108. throws SQLException {
  109. return getActiveMySQLConnection().createStatement(resultSetType,
  110. resultSetConcurrency);
  111. }
  112. public void dumpTestcaseQuery(String query) {
  113. getActiveMySQLConnection().dumpTestcaseQuery(query);
  114. }
  115. public Connection duplicate() throws SQLException {
  116. return getActiveMySQLConnection().duplicate();
  117. }
  118. public ResultSetInternalMethods execSQL(StatementImpl callingStatement,
  119. String sql, int maxRows, Buffer packet, int resultSetType,
  120. int resultSetConcurrency, boolean streamResults, String catalog,
  121. Field[] cachedMetadata, boolean isBatch) throws SQLException {
  122. return getActiveMySQLConnection().execSQL(callingStatement, sql,
  123. maxRows, packet, resultSetType, resultSetConcurrency,
  124. streamResults, catalog, cachedMetadata, isBatch);
  125. }
  126. public ResultSetInternalMethods execSQL(StatementImpl callingStatement,
  127. String sql, int maxRows, Buffer packet, int resultSetType,
  128. int resultSetConcurrency, boolean streamResults, String catalog,
  129. Field[] cachedMetadata) throws SQLException {
  130. return getActiveMySQLConnection().execSQL(callingStatement, sql,
  131. maxRows, packet, resultSetType, resultSetConcurrency,
  132. streamResults, catalog, cachedMetadata);
  133. }
  134. public String extractSqlFromPacket(String possibleSqlQuery,
  135. Buffer queryPacket, int endOfQueryPacketPosition)
  136. throws SQLException {
  137. return getActiveMySQLConnection().extractSqlFromPacket(
  138. possibleSqlQuery, queryPacket, endOfQueryPacketPosition);
  139. }
  140. public String exposeAsXml() throws SQLException {
  141. return getActiveMySQLConnection().exposeAsXml();
  142. }
  143. public boolean getAllowLoadLocalInfile() {
  144. return getActiveMySQLConnection().getAllowLoadLocalInfile();
  145. }
  146. public boolean getAllowMultiQueries() {
  147. return getActiveMySQLConnection().getAllowMultiQueries();
  148. }
  149. public boolean getAllowNanAndInf() {
  150. return getActiveMySQLConnection().getAllowNanAndInf();
  151. }
  152. public boolean getAllowUrlInLocalInfile() {
  153. return getActiveMySQLConnection().getAllowUrlInLocalInfile();
  154. }
  155. public boolean getAlwaysSendSetIsolation() {
  156. return getActiveMySQLConnection().getAlwaysSendSetIsolation();
  157. }
  158. public boolean getAutoClosePStmtStreams() {
  159. return getActiveMySQLConnection().getAutoClosePStmtStreams();
  160. }
  161. public boolean getAutoDeserialize() {
  162. return getActiveMySQLConnection().getAutoDeserialize();
  163. }
  164. public boolean getAutoGenerateTestcaseScript() {
  165. return getActiveMySQLConnection().getAutoGenerateTestcaseScript();
  166. }
  167. public boolean getAutoReconnectForPools() {
  168. return getActiveMySQLConnection().getAutoReconnectForPools();
  169. }
  170. public boolean getAutoSlowLog() {
  171. return getActiveMySQLConnection().getAutoSlowLog();
  172. }
  173. public int getBlobSendChunkSize() {
  174. return getActiveMySQLConnection().getBlobSendChunkSize();
  175. }
  176. public boolean getBlobsAreStrings() {
  177. return getActiveMySQLConnection().getBlobsAreStrings();
  178. }
  179. public boolean getCacheCallableStatements() {
  180. return getActiveMySQLConnection().getCacheCallableStatements();
  181. }
  182. public boolean getCacheCallableStmts() {
  183. return getActiveMySQLConnection().getCacheCallableStmts();
  184. }
  185. public boolean getCachePrepStmts() {
  186. return getActiveMySQLConnection().getCachePrepStmts();
  187. }
  188. public boolean getCachePreparedStatements() {
  189. return getActiveMySQLConnection().getCachePreparedStatements();
  190. }
  191. public boolean getCacheResultSetMetadata() {
  192. return getActiveMySQLConnection().getCacheResultSetMetadata();
  193. }
  194. public boolean getCacheServerConfiguration() {
  195. return getActiveMySQLConnection().getCacheServerConfiguration();
  196. }
  197. public int getCallableStatementCacheSize() {
  198. return getActiveMySQLConnection().getCallableStatementCacheSize();
  199. }
  200. public int getCallableStmtCacheSize() {
  201. return getActiveMySQLConnection().getCallableStmtCacheSize();
  202. }
  203. public boolean getCapitalizeTypeNames() {
  204. return getActiveMySQLConnection().getCapitalizeTypeNames();
  205. }
  206. public String getCharacterSetResults() {
  207. return getActiveMySQLConnection().getCharacterSetResults();
  208. }
  209. public String getClientCertificateKeyStorePassword() {
  210. return getActiveMySQLConnection()
  211. .getClientCertificateKeyStorePassword();
  212. }
  213. public String getClientCertificateKeyStoreType() {
  214. return getActiveMySQLConnection().getClientCertificateKeyStoreType();
  215. }
  216. public String getClientCertificateKeyStoreUrl() {
  217. return getActiveMySQLConnection().getClientCertificateKeyStoreUrl();
  218. }
  219. public String getClientInfoProvider() {
  220. return getActiveMySQLConnection().getClientInfoProvider();
  221. }
  222. public String getClobCharacterEncoding() {
  223. return getActiveMySQLConnection().getClobCharacterEncoding();
  224. }
  225. public boolean getClobberStreamingResults() {
  226. return getActiveMySQLConnection().getClobberStreamingResults();
  227. }
  228. public boolean getCompensateOnDuplicateKeyUpdateCounts() {
  229. return getActiveMySQLConnection()
  230. .getCompensateOnDuplicateKeyUpdateCounts();
  231. }
  232. public int getConnectTimeout() {
  233. return getActiveMySQLConnection().getConnectTimeout();
  234. }
  235. public String getConnectionCollation() {
  236. return getActiveMySQLConnection().getConnectionCollation();
  237. }
  238. public String getConnectionLifecycleInterceptors() {
  239. return getActiveMySQLConnection().getConnectionLifecycleInterceptors();
  240. }
  241. public boolean getContinueBatchOnError() {
  242. return getActiveMySQLConnection().getContinueBatchOnError();
  243. }
  244. public boolean getCreateDatabaseIfNotExist() {
  245. return getActiveMySQLConnection().getCreateDatabaseIfNotExist();
  246. }
  247. public int getDefaultFetchSize() {
  248. return getActiveMySQLConnection().getDefaultFetchSize();
  249. }
  250. public boolean getDontTrackOpenResources() {
  251. return getActiveMySQLConnection().getDontTrackOpenResources();
  252. }
  253. public boolean getDumpMetadataOnColumnNotFound() {
  254. return getActiveMySQLConnection().getDumpMetadataOnColumnNotFound();
  255. }
  256. public boolean getDumpQueriesOnException() {
  257. return getActiveMySQLConnection().getDumpQueriesOnException();
  258. }
  259. public boolean getDynamicCalendars() {
  260. return getActiveMySQLConnection().getDynamicCalendars();
  261. }
  262. public boolean getElideSetAutoCommits() {
  263. return getActiveMySQLConnection().getElideSetAutoCommits();
  264. }
  265. public boolean getEmptyStringsConvertToZero() {
  266. return getActiveMySQLConnection().getEmptyStringsConvertToZero();
  267. }
  268. public boolean getEmulateLocators() {
  269. return getActiveMySQLConnection().getEmulateLocators();
  270. }
  271. public boolean getEmulateUnsupportedPstmts() {
  272. return getActiveMySQLConnection().getEmulateUnsupportedPstmts();
  273. }
  274. public boolean getEnablePacketDebug() {
  275. return getActiveMySQLConnection().getEnablePacketDebug();
  276. }
  277. public boolean getEnableQueryTimeouts() {
  278. return getActiveMySQLConnection().getEnableQueryTimeouts();
  279. }
  280. public String getEncoding() {
  281. return getActiveMySQLConnection().getEncoding();
  282. }
  283. public String getExceptionInterceptors() {
  284. return getActiveMySQLConnection().getExceptionInterceptors();
  285. }
  286. public boolean getExplainSlowQueries() {
  287. return getActiveMySQLConnection().getExplainSlowQueries();
  288. }
  289. public boolean getFailOverReadOnly() {
  290. return getActiveMySQLConnection().getFailOverReadOnly();
  291. }
  292. public boolean getFunctionsNeverReturnBlobs() {
  293. return getActiveMySQLConnection().getFunctionsNeverReturnBlobs();
  294. }
  295. public boolean getGatherPerfMetrics() {
  296. return getActiveMySQLConnection().getGatherPerfMetrics();
  297. }
  298. public boolean getGatherPerformanceMetrics() {
  299. return getActiveMySQLConnection().getGatherPerformanceMetrics();
  300. }
  301. public boolean getGenerateSimpleParameterMetadata() {
  302. return getActiveMySQLConnection().getGenerateSimpleParameterMetadata();
  303. }
  304. public boolean getIgnoreNonTxTables() {
  305. return getActiveMySQLConnection().getIgnoreNonTxTables();
  306. }
  307. public boolean getIncludeInnodbStatusInDeadlockExceptions() {
  308. return getActiveMySQLConnection()
  309. .getIncludeInnodbStatusInDeadlockExceptions();
  310. }
  311. public int getInitialTimeout() {
  312. return getActiveMySQLConnection().getInitialTimeout();
  313. }
  314. public boolean getInteractiveClient() {
  315. return getActiveMySQLConnection().getInteractiveClient();
  316. }
  317. public boolean getIsInteractiveClient() {
  318. return getActiveMySQLConnection().getIsInteractiveClient();
  319. }
  320. public boolean getJdbcCompliantTruncation() {
  321. return getActiveMySQLConnection().getJdbcCompliantTruncation();
  322. }
  323. public boolean getJdbcCompliantTruncationForReads() {
  324. return getActiveMySQLConnection().getJdbcCompliantTruncationForReads();
  325. }
  326. public String getLargeRowSizeThreshold() {
  327. return getActiveMySQLConnection().getLargeRowSizeThreshold();
  328. }
  329. public int getLoadBalanceBlacklistTimeout() {
  330. return getActiveMySQLConnection().getLoadBalanceBlacklistTimeout();
  331. }
  332. public int getLoadBalancePingTimeout() {
  333. return getActiveMySQLConnection().getLoadBalancePingTimeout();
  334. }
  335. public String getLoadBalanceStrategy() {
  336. return getActiveMySQLConnection().getLoadBalanceStrategy();
  337. }
  338. public boolean getLoadBalanceValidateConnectionOnSwapServer() {
  339. return getActiveMySQLConnection()
  340. .getLoadBalanceValidateConnectionOnSwapServer();
  341. }
  342. public String getLocalSocketAddress() {
  343. return getActiveMySQLConnection().getLocalSocketAddress();
  344. }
  345. public int getLocatorFetchBufferSize() {
  346. return getActiveMySQLConnection().getLocatorFetchBufferSize();
  347. }
  348. public boolean getLogSlowQueries() {
  349. return getActiveMySQLConnection().getLogSlowQueries();
  350. }
  351. public boolean getLogXaCommands() {
  352. return getActiveMySQLConnection().getLogXaCommands();
  353. }
  354. public String getLogger() {
  355. return getActiveMySQLConnection().getLogger();
  356. }
  357. public String getLoggerClassName() {
  358. return getActiveMySQLConnection().getLoggerClassName();
  359. }
  360. public boolean getMaintainTimeStats() {
  361. return getActiveMySQLConnection().getMaintainTimeStats();
  362. }
  363. public int getMaxAllowedPacket() {
  364. return getActiveMySQLConnection().getMaxAllowedPacket();
  365. }
  366. public int getMaxQuerySizeToLog() {
  367. return getActiveMySQLConnection().getMaxQuerySizeToLog();
  368. }
  369. public int getMaxReconnects() {
  370. return getActiveMySQLConnection().getMaxReconnects();
  371. }
  372. public int getMaxRows() {
  373. return getActiveMySQLConnection().getMaxRows();
  374. }
  375. public int getMetadataCacheSize() {
  376. return getActiveMySQLConnection().getMetadataCacheSize();
  377. }
  378. public int getNetTimeoutForStreamingResults() {
  379. return getActiveMySQLConnection().getNetTimeoutForStreamingResults();
  380. }
  381. public boolean getNoAccessToProcedureBodies() {
  382. return getActiveMySQLConnection().getNoAccessToProcedureBodies();
  383. }
  384. public boolean getNoDatetimeStringSync() {
  385. return getActiveMySQLConnection().getNoDatetimeStringSync();
  386. }
  387. public boolean getNoTimezoneConversionForTimeType() {
  388. return getActiveMySQLConnection().getNoTimezoneConversionForTimeType();
  389. }
  390. public boolean getNullCatalogMeansCurrent() {
  391. return getActiveMySQLConnection().getNullCatalogMeansCurrent();
  392. }
  393. public boolean getNullNamePatternMatchesAll() {
  394. return getActiveMySQLConnection().getNullNamePatternMatchesAll();
  395. }
  396. public boolean getOverrideSupportsIntegrityEnhancementFacility() {
  397. return getActiveMySQLConnection()
  398. .getOverrideSupportsIntegrityEnhancementFacility();
  399. }
  400. public int getPacketDebugBufferSize() {
  401. return getActiveMySQLConnection().getPacketDebugBufferSize();
  402. }
  403. public boolean getPadCharsWithSpace() {
  404. return getActiveMySQLConnection().getPadCharsWithSpace();
  405. }
  406. public boolean getParanoid() {
  407. return getActiveMySQLConnection().getParanoid();
  408. }
  409. public String getPasswordCharacterEncoding() {
  410. return getActiveMySQLConnection().getPasswordCharacterEncoding();
  411. }
  412. public boolean getPedantic() {
  413. return getActiveMySQLConnection().getPedantic();
  414. }
  415. public boolean getPinGlobalTxToPhysicalConnection() {
  416. return getActiveMySQLConnection().getPinGlobalTxToPhysicalConnection();
  417. }
  418. public boolean getPopulateInsertRowWithDefaultValues() {
  419. return getActiveMySQLConnection()
  420. .getPopulateInsertRowWithDefaultValues();
  421. }
  422. public int getPrepStmtCacheSize() {
  423. return getActiveMySQLConnection().getPrepStmtCacheSize();
  424. }
  425. public int getPrepStmtCacheSqlLimit() {
  426. return getActiveMySQLConnection().getPrepStmtCacheSqlLimit();
  427. }
  428. public int getPreparedStatementCacheSize() {
  429. return getActiveMySQLConnection().getPreparedStatementCacheSize();
  430. }
  431. public int getPreparedStatementCacheSqlLimit() {
  432. return getActiveMySQLConnection().getPreparedStatementCacheSqlLimit();
  433. }
  434. public boolean getProcessEscapeCodesForPrepStmts() {
  435. return getActiveMySQLConnection().getProcessEscapeCodesForPrepStmts();
  436. }
  437. public boolean getProfileSQL() {
  438. return getActiveMySQLConnection().getProfileSQL();
  439. }
  440. public boolean getProfileSql() {
  441. return getActiveMySQLConnection().getProfileSql();
  442. }
  443. public String getProfilerEventHandler() {
  444. return getActiveMySQLConnection().getProfilerEventHandler();
  445. }
  446. public String getPropertiesTransform() {
  447. return getActiveMySQLConnection().getPropertiesTransform();
  448. }
  449. public int getQueriesBeforeRetryMaster() {
  450. return getActiveMySQLConnection().getQueriesBeforeRetryMaster();
  451. }
  452. public boolean getQueryTimeoutKillsConnection() {
  453. return getActiveMySQLConnection().getQueryTimeoutKillsConnection();
  454. }
  455. public boolean getReconnectAtTxEnd() {
  456. return getActiveMySQLConnection().getReconnectAtTxEnd();
  457. }
  458. public boolean getRelaxAutoCommit() {
  459. return getActiveMySQLConnection().getRelaxAutoCommit();
  460. }
  461. public int getReportMetricsIntervalMillis() {
  462. return getActiveMySQLConnection().getReportMetricsIntervalMillis();
  463. }
  464. public boolean getRequireSSL() {
  465. return getActiveMySQLConnection().getRequireSSL();
  466. }
  467. public String getResourceId() {
  468. return getActiveMySQLConnection().getResourceId();
  469. }
  470. public int getResultSetSizeThreshold() {
  471. return getActiveMySQLConnection().getResultSetSizeThreshold();
  472. }
  473. public boolean getRetainStatementAfterResultSetClose() {
  474. return getActiveMySQLConnection()
  475. .getRetainStatementAfterResultSetClose();
  476. }
  477. public int getRetriesAllDown() {
  478. return getActiveMySQLConnection().getRetriesAllDown();
  479. }
  480. public boolean getRewriteBatchedStatements() {
  481. return getActiveMySQLConnection().getRewriteBatchedStatements();
  482. }
  483. public boolean getRollbackOnPooledClose() {
  484. return getActiveMySQLConnection().getRollbackOnPooledClose();
  485. }
  486. public boolean getRoundRobinLoadBalance() {
  487. return getActiveMySQLConnection().getRoundRobinLoadBalance();
  488. }
  489. public boolean getRunningCTS13() {
  490. return getActiveMySQLConnection().getRunningCTS13();
  491. }
  492. public int getSecondsBeforeRetryMaster() {
  493. return getActiveMySQLConnection().getSecondsBeforeRetryMaster();
  494. }
  495. public int getSelfDestructOnPingMaxOperations() {
  496. return getActiveMySQLConnection().getSelfDestructOnPingMaxOperations();
  497. }
  498. public int getSelfDestructOnPingSecondsLifetime() {
  499. return getActiveMySQLConnection()
  500. .getSelfDestructOnPingSecondsLifetime();
  501. }
  502. public String getServerTimezone() {
  503. return getActiveMySQLConnection().getServerTimezone();
  504. }
  505. public String getSessionVariables() {
  506. return getActiveMySQLConnection().getSessionVariables();
  507. }
  508. public int getSlowQueryThresholdMillis() {
  509. return getActiveMySQLConnection().getSlowQueryThresholdMillis();
  510. }
  511. public long getSlowQueryThresholdNanos() {
  512. return getActiveMySQLConnection().getSlowQueryThresholdNanos();
  513. }
  514. public String getSocketFactory() {
  515. return getActiveMySQLConnection().getSocketFactory();
  516. }
  517. public String getSocketFactoryClassName() {
  518. return getActiveMySQLConnection().getSocketFactoryClassName();
  519. }
  520. public int getSocketTimeout() {
  521. return getActiveMySQLConnection().getSocketTimeout();
  522. }
  523. public String getStatementInterceptors() {
  524. return getActiveMySQLConnection().getStatementInterceptors();
  525. }
  526. public boolean getStrictFloatingPoint() {
  527. return getActiveMySQLConnection().getStrictFloatingPoint();
  528. }
  529. public boolean getStrictUpdates() {
  530. return getActiveMySQLConnection().getStrictUpdates();
  531. }
  532. public boolean getTcpKeepAlive() {
  533. return getActiveMySQLConnection().getTcpKeepAlive();
  534. }
  535. public boolean getTcpNoDelay() {
  536. return getActiveMySQLConnection().getTcpNoDelay();
  537. }
  538. public int getTcpRcvBuf() {
  539. return getActiveMySQLConnection().getTcpRcvBuf();
  540. }
  541. public int getTcpSndBuf() {
  542. return getActiveMySQLConnection().getTcpSndBuf();
  543. }
  544. public int getTcpTrafficClass() {
  545. return getActiveMySQLConnection().getTcpTrafficClass();
  546. }
  547. public boolean getTinyInt1isBit() {
  548. return getActiveMySQLConnection().getTinyInt1isBit();
  549. }
  550. public boolean getTraceProtocol() {
  551. return getActiveMySQLConnection().getTraceProtocol();
  552. }
  553. public boolean getTransformedBitIsBoolean() {
  554. return getActiveMySQLConnection().getTransformedBitIsBoolean();
  555. }
  556. public boolean getTreatUtilDateAsTimestamp() {
  557. return getActiveMySQLConnection().getTreatUtilDateAsTimestamp();
  558. }
  559. public String getTrustCertificateKeyStorePassword() {
  560. return getActiveMySQLConnection().getTrustCertificateKeyStorePassword();
  561. }
  562. public String getTrustCertificateKeyStoreType() {
  563. return getActiveMySQLConnection().getTrustCertificateKeyStoreType();
  564. }
  565. public String getTrustCertificateKeyStoreUrl() {
  566. return getActiveMySQLConnection().getTrustCertificateKeyStoreUrl();
  567. }
  568. public boolean getUltraDevHack() {
  569. return getActiveMySQLConnection().getUltraDevHack();
  570. }
  571. public boolean getUseAffectedRows() {
  572. return getActiveMySQLConnection().getUseAffectedRows();
  573. }
  574. public boolean getUseBlobToStoreUTF8OutsideBMP() {
  575. return getActiveMySQLConnection().getUseBlobToStoreUTF8OutsideBMP();
  576. }
  577. public boolean getUseColumnNamesInFindColumn() {
  578. return getActiveMySQLConnection().getUseColumnNamesInFindColumn();
  579. }
  580. public boolean getUseCompression() {
  581. return getActiveMySQLConnection().getUseCompression();
  582. }
  583. public String getUseConfigs() {
  584. return getActiveMySQLConnection().getUseConfigs();
  585. }
  586. public boolean getUseCursorFetch() {
  587. return getActiveMySQLConnection().getUseCursorFetch();
  588. }
  589. public boolean getUseDirectRowUnpack() {
  590. return getActiveMySQLConnection().getUseDirectRowUnpack();
  591. }
  592. public boolean getUseDynamicCharsetInfo() {
  593. return getActiveMySQLConnection().getUseDynamicCharsetInfo();
  594. }
  595. public boolean getUseFastDateParsing() {
  596. return getActiveMySQLConnection().getUseFastDateParsing();
  597. }
  598. public boolean getUseFastIntParsing() {
  599. return getActiveMySQLConnection().getUseFastIntParsing();
  600. }
  601. public boolean getUseGmtMillisForDatetimes() {
  602. return getActiveMySQLConnection().getUseGmtMillisForDatetimes();
  603. }
  604. public boolean getUseHostsInPrivileges() {
  605. return getActiveMySQLConnection().getUseHostsInPrivileges();
  606. }
  607. public boolean getUseInformationSchema() {
  608. return getActiveMySQLConnection().getUseInformationSchema();
  609. }
  610. public boolean getUseJDBCCompliantTimezoneShift() {
  611. return getActiveMySQLConnection().getUseJDBCCompliantTimezoneShift();
  612. }
  613. public boolean getUseJvmCharsetConverters() {
  614. return getActiveMySQLConnection().getUseJvmCharsetConverters();
  615. }
  616. public boolean getUseLegacyDatetimeCode() {
  617. return getActiveMySQLConnection().getUseLegacyDatetimeCode();
  618. }
  619. public boolean getUseLocalSessionState() {
  620. return getActiveMySQLConnection().getUseLocalSessionState();
  621. }
  622. public boolean getUseLocalTransactionState() {
  623. return getActiveMySQLConnection().getUseLocalTransactionState();
  624. }
  625. public boolean getUseNanosForElapsedTime() {
  626. return getActiveMySQLConnection().getUseNanosForElapsedTime();
  627. }
  628. public boolean getUseOldAliasMetadataBehavior() {
  629. return getActiveMySQLConnection().getUseOldAliasMetadataBehavior();
  630. }
  631. public boolean getUseOldUTF8Behavior() {
  632. return getActiveMySQLConnection().getUseOldUTF8Behavior();
  633. }
  634. public boolean getUseOnlyServerErrorMessages() {
  635. return getActiveMySQLConnection().getUseOnlyServerErrorMessages();
  636. }
  637. public boolean getUseReadAheadInput() {
  638. return getActiveMySQLConnection().getUseReadAheadInput();
  639. }
  640. public boolean getUseSSL() {
  641. return getActiveMySQLConnection().getUseSSL();
  642. }
  643. public boolean getUseSSPSCompatibleTimezoneShift() {
  644. return getActiveMySQLConnection().getUseSSPSCompatibleTimezoneShift();
  645. }
  646. public boolean getUseServerPrepStmts() {
  647. return getActiveMySQLConnection().getUseServerPrepStmts();
  648. }
  649. public boolean getUseServerPreparedStmts() {
  650. return getActiveMySQLConnection().getUseServerPreparedStmts();
  651. }
  652. public boolean getUseSqlStateCodes() {
  653. return getActiveMySQLConnection().getUseSqlStateCodes();
  654. }
  655. public boolean getUseStreamLengthsInPrepStmts() {
  656. return getActiveMySQLConnection().getUseStreamLengthsInPrepStmts();
  657. }
  658. public boolean getUseTimezone() {
  659. return getActiveMySQLConnection().getUseTimezone();
  660. }
  661. public boolean getUseUltraDevWorkAround() {
  662. return getActiveMySQLConnection().getUseUltraDevWorkAround();
  663. }
  664. public boolean getUseUnbufferedInput() {
  665. return getActiveMySQLConnection().getUseUnbufferedInput();
  666. }
  667. public boolean getUseUnicode() {
  668. return getActiveMySQLConnection().getUseUnicode();
  669. }
  670. public boolean getUseUsageAdvisor() {
  671. return getActiveMySQLConnection().getUseUsageAdvisor();
  672. }
  673. public String getUtf8OutsideBmpExcludedColumnNamePattern() {
  674. return getActiveMySQLConnection()
  675. .getUtf8OutsideBmpExcludedColumnNamePattern();
  676. }
  677. public String getUtf8OutsideBmpIncludedColumnNamePattern() {
  678. return getActiveMySQLConnection()
  679. .getUtf8OutsideBmpIncludedColumnNamePattern();
  680. }
  681. public boolean getVerifyServerCertificate() {
  682. return getActiveMySQLConnection().getVerifyServerCertificate();
  683. }
  684. public boolean getYearIsDateType() {
  685. return getActiveMySQLConnection().getYearIsDateType();
  686. }
  687. public String getZeroDateTimeBehavior() {
  688. return getActiveMySQLConnection().getZeroDateTimeBehavior();
  689. }
  690. public void setAllowLoadLocalInfile(boolean property) {
  691. getActiveMySQLConnection().setAllowLoadLocalInfile(property);
  692. }
  693. public void setAllowMultiQueries(boolean property) {
  694. getActiveMySQLConnection().setAllowMultiQueries(property);
  695. }
  696. public void setAllowNanAndInf(boolean flag) {
  697. getActiveMySQLConnection().setAllowNanAndInf(flag);
  698. }
  699. public void setAllowUrlInLocalInfile(boolean flag) {
  700. getActiveMySQLConnection().setAllowUrlInLocalInfile(flag);
  701. }
  702. public void setAlwaysSendSetIsolation(boolean flag) {
  703. getActiveMySQLConnection().setAlwaysSendSetIsolation(flag);
  704. }
  705. public void setAutoClosePStmtStreams(boolean flag) {
  706. getActiveMySQLConnection().setAutoClosePStmtStreams(flag);
  707. }
  708. public void setAutoDeserialize(boolean flag) {
  709. getActiveMySQLConnection().setAutoDeserialize(flag);
  710. }
  711. public void setAutoGenerateTestcaseScript(boolean flag) {
  712. getActiveMySQLConnection().setAutoGenerateTestcaseScript(flag);
  713. }
  714. public void setAutoReconnect(boolean flag) {
  715. getActiveMySQLConnection().setAutoReconnect(flag);
  716. }
  717. public void setAutoReconnectForConnectionPools(boolean property) {
  718. getActiveMySQLConnection().setAutoReconnectForConnectionPools(property);
  719. }
  720. public void setAutoReconnectForPools(boolean flag) {
  721. getActiveMySQLConnection().setAutoReconnectForPools(flag);
  722. }
  723. public void setAutoSlowLog(boolean flag) {
  724. getActiveMySQLConnection().setAutoSlowLog(flag);
  725. }
  726. public void setBlobSendChunkSize(String value) throws SQLException {
  727. getActiveMySQLConnection().setBlobSendChunkSize(value);
  728. }
  729. public void setBlobsAreStrings(boolean flag) {
  730. getActiveMySQLConnection().setBlobsAreStrings(flag);
  731. }
  732. public void setCacheCallableStatements(boolean flag) {
  733. getActiveMySQLConnection().setCacheCallableStatements(flag);
  734. }
  735. public void setCacheCallableStmts(boolean flag) {
  736. getActiveMySQLConnection().setCacheCallableStmts(flag);
  737. }
  738. public void setCachePrepStmts(boolean flag) {
  739. getActiveMySQLConnection().setCachePrepStmts(flag);
  740. }
  741. public void setCachePreparedStatements(boolean flag) {
  742. getActiveMySQLConnection().setCachePreparedStatements(flag);
  743. }
  744. public void setCacheResultSetMetadata(boolean property) {
  745. getActiveMySQLConnection().setCacheResultSetMetadata(property);
  746. }
  747. public void setCacheServerConfiguration(boolean flag) {
  748. getActiveMySQLConnection().setCacheServerConfiguration(flag);
  749. }
  750. public void setCallableStatementCacheSize(int size) {
  751. getActiveMySQLConnection().setCallableStatementCacheSize(size);
  752. }
  753. public void setCallableStmtCacheSize(int cacheSize) {
  754. getActiveMySQLConnection().setCallableStmtCacheSize(cacheSize);
  755. }
  756. public void setCapitalizeDBMDTypes(boolean property) {
  757. getActiveMySQLConnection().setCapitalizeDBMDTypes(property);
  758. }
  759. public void setCapitalizeTypeNames(boolean flag) {
  760. getActiveMySQLConnection().setCapitalizeTypeNames(flag);
  761. }
  762. public void setCharacterEncoding(String encoding) {
  763. getActiveMySQLConnection().setCharacterEncoding(encoding);
  764. }
  765. public void setCharacterSetResults(String characterSet) {
  766. getActiveMySQLConnection().setCharacterSetResults(characterSet);
  767. }
  768. public void setClientCertificateKeyStorePassword(String value) {
  769. getActiveMySQLConnection().setClientCertificateKeyStorePassword(value);
  770. }
  771. public void setClientCertificateKeyStoreType(String value) {
  772. getActiveMySQLConnection().setClientCertificateKeyStoreType(value);
  773. }
  774. public void setClientCertificateKeyStoreUrl(String value) {
  775. getActiveMySQLConnection().setClientCertificateKeyStoreUrl(value);
  776. }
  777. public void setClientInfoProvider(String classname) {
  778. getActiveMySQLConnection().setClientInfoProvider(classname);
  779. }
  780. public void setClobCharacterEncoding(String encoding) {
  781. getActiveMySQLConnection().setClobCharacterEncoding(encoding);
  782. }
  783. public void setClobberStreamingResults(boolean flag) {
  784. getActiveMySQLConnection().setClobberStreamingResults(flag);
  785. }
  786. public void setCompensateOnDuplicateKeyUpdateCounts(boolean flag) {
  787. getActiveMySQLConnection()
  788. .setCompensateOnDuplicateKeyUpdateCounts(flag);
  789. }
  790. public void setConnectTimeout(int timeoutMs) {
  791. getActiveMySQLConnection().setConnectTimeout(timeoutMs);
  792. }
  793. public void setConnectionCollation(String collation) {
  794. getActiveMySQLConnection().setConnectionCollation(collation);
  795. }
  796. public void setConnectionLifecycleInterceptors(String interceptors) {
  797. getActiveMySQLConnection().setConnectionLifecycleInterceptors(
  798. interceptors);
  799. }
  800. public void setContinueBatchOnError(boolean property) {
  801. getActiveMySQLConnection().setContinueBatchOnError(property);
  802. }
  803. public void setCreateDatabaseIfNotExist(boolean flag) {
  804. getActiveMySQLConnection().setCreateDatabaseIfNotExist(flag);
  805. }
  806. public void setDefaultFetchSize(int n) {
  807. getActiveMySQLConnection().setDefaultFetchSize(n);
  808. }
  809. public void setDetectServerPreparedStmts(boolean property) {
  810. getActiveMySQLConnection().setDetectServerPreparedStmts(property);
  811. }
  812. public void setDontTrackOpenResources(boolean flag) {
  813. getActiveMySQLConnection().setDontTrackOpenResources(flag);
  814. }
  815. public void setDumpMetadataOnColumnNotFound(boolean flag) {
  816. getActiveMySQLConnection().setDumpMetadataOnColumnNotFound(flag);
  817. }
  818. public void setDumpQueriesOnException(boolean flag) {
  819. getActiveMySQLConnection().setDumpQueriesOnException(flag);
  820. }
  821. public void setDynamicCalendars(boolean flag) {
  822. getActiveMySQLConnection().setDynamicCalendars(flag);
  823. }
  824. public void setElideSetAutoCommits(boolean flag) {
  825. getActiveMySQLConnection().setElideSetAutoCommits(flag);
  826. }
  827. public void setEmptyStringsConvertToZero(boolean flag) {
  828. getActiveMySQLConnection().setEmptyStringsConvertToZero(flag);
  829. }
  830. public void setEmulateLocators(boolean property) {
  831. getActiveMySQLConnection().setEmulateLocators(property);
  832. }
  833. public void setEmulateUnsupportedPstmts(boolean flag) {
  834. getActiveMySQLConnection().setEmulateUnsupportedPstmts(flag);
  835. }
  836. public void setEnablePacketDebug(boolean flag) {
  837. getActiveMySQLConnection().setEnablePacketDebug(flag);
  838. }
  839. public void setEnableQueryTimeouts(boolean flag) {
  840. getActiveMySQLConnection().setEnableQueryTimeouts(flag);
  841. }
  842. public void setEncoding(String property) {
  843. getActiveMySQLConnection().setEncoding(property);
  844. }
  845. public void setExceptionInterceptors(String exceptionInterceptors) {
  846. getActiveMySQLConnection().setExceptionInterceptors(
  847. exceptionInterceptors);
  848. }
  849. public void setExplainSlowQueries(boolean flag) {
  850. getActiveMySQLConnection().setExplainSlowQueries(flag);
  851. }
  852. public void setFailOverReadOnly(boolean flag) {
  853. getActiveMySQLConnection().setFailOverReadOnly(flag);
  854. }
  855. public void setFunctionsNeverReturnBlobs(boolean flag) {
  856. getActiveMySQLConnection().setFunctionsNeverReturnBlobs(flag);
  857. }
  858. public void setGatherPerfMetrics(boolean flag) {
  859. getActiveMySQLConnection().setGatherPerfMetrics(flag);
  860. }
  861. public void setGatherPerformanceMetrics(boolean flag) {
  862. getActiveMySQLConnection().setGatherPerformanceMetrics(flag);
  863. }
  864. public void setGenerateSimpleParameterMetadata(boolean flag) {
  865. getActiveMySQLConnection().setGenerateSimpleParameterMetadata(flag);
  866. }
  867. public void setHoldResultsOpenOverStatementClose(boolean flag) {
  868. getActiveMySQLConnection().setHoldResultsOpenOverStatementClose(flag);
  869. }
  870. public void setIgnoreNonTxTables(boolean property) {
  871. getActiveMySQLConnection().setIgnoreNonTxTables(property);
  872. }
  873. public void setIncludeInnodbStatusInDeadlockExceptions(boolean flag) {
  874. getActiveMySQLConnection().setIncludeInnodbStatusInDeadlockExceptions(
  875. flag);
  876. }
  877. public void setInitialTimeout(int property) {
  878. getActiveMySQLConnection().setInitialTimeout(property);
  879. }
  880. public void setInteractiveClient(boolean property) {
  881. getActiveMySQLConnection().setInteractiveClient(property);
  882. }
  883. public void setIsInteractiveClient(boolean property) {
  884. getActiveMySQLConnection().setIsInteractiveClient(property);
  885. }
  886. public void setJdbcCompliantTruncation(boolean flag) {
  887. getActiveMySQLConnection().setJdbcCompliantTruncation(flag);
  888. }
  889. public void setJdbcCompliantTruncationForReads(
  890. boolean jdbcCompliantTruncationForReads) {
  891. getActiveMySQLConnection().setJdbcCompliantTruncationForReads(
  892. jdbcCompliantTruncationForReads);
  893. }
  894. public void setLargeRowSizeThreshold(String value) {
  895. getActiveMySQLConnection().setLargeRowSizeThreshold(value);
  896. }
  897. public void setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout) {
  898. getActiveMySQLConnection().setLoadBalanceBlacklistTimeout(
  899. loadBalanceBlacklistTimeout);
  900. }
  901. public void setLoadBalancePingTimeout(int loadBalancePingTimeout) {
  902. getActiveMySQLConnection().setLoadBalancePingTimeout(
  903. loadBalancePingTimeout);
  904. }
  905. public void setLoadBalanceStrategy(String strategy) {
  906. getActiveMySQLConnection().setLoadBalanceStrategy(strategy);
  907. }
  908. public void setLoadBalanceValidateConnectionOnSwapServer(
  909. boolean loadBalanceValidateConnectionOnSwapServer) {
  910. getActiveMySQLConnection()
  911. .setLoadBalanceValidateConnectionOnSwapServer(
  912. loadBalanceValidateConnectionOnSwapServer);
  913. }
  914. public void setLocalSocketAddress(String address) {
  915. getActiveMySQLConnection().setLocalSocketAddress(address);
  916. }
  917. public void setLocatorFetchBufferSize(String value) throws SQLException {
  918. getActiveMySQLConnection().setLocatorFetchBufferSize(value);
  919. }
  920. public void setLogSlowQueries(boolean flag) {
  921. getActiveMySQLConnection().setLogSlowQueries(flag);
  922. }
  923. public void setLogXaCommands(boolean flag) {
  924. getActiveMySQLConnection().setLogXaCommands(flag);
  925. }
  926. public void setLogger(String property) {
  927. getActiveMySQLConnection().setLogger(property);
  928. }
  929. public void setLoggerClassName(String className) {
  930. getActiveMySQLConnection().setLoggerClassName(className);
  931. }
  932. public void setMaintainTimeStats(boolean flag) {
  933. getActiveMySQLConnection().setMaintainTimeStats(flag);
  934. }
  935. public void setMaxQuerySizeToLog(int sizeInBytes) {
  936. getActiveMySQLConnection().setMaxQuerySizeToLog(sizeInBytes);
  937. }
  938. public void setMaxReconnects(int property) {
  939. getActiveMySQLConnection().setMaxReconnects(property);
  940. }
  941. public void setMaxRows(int property) {
  942. getActiveMySQLConnection().setMaxRows(property);
  943. }
  944. public void setMetadataCacheSize(int value) {
  945. getActiveMySQLConnection().setMetadataCacheSize(value);
  946. }
  947. public void setNetTimeoutForStreamingResults(int value) {
  948. getActiveMySQLConnection().setNetTimeoutForStreamingResults(value);
  949. }
  950. public void setNoAccessToProcedureBodies(boolean flag) {
  951. getActiveMySQLConnection().setNoAccessToProcedureBodies(flag);
  952. }
  953. public void setNoDatetimeStringSync(boolean flag) {
  954. getActiveMySQLConnection().setNoDatetimeStringSync(flag);
  955. }
  956. public void setNoTimezoneConversionForTimeType(boolean flag) {
  957. getActiveMySQLConnection().setNoTimezoneConversionForTimeType(flag);
  958. }
  959. public void setNullCatalogMeansCurrent(boolean value) {
  960. getActiveMySQLConnection().setNullCatalogMeansCurrent(value);
  961. }
  962. public void setNullNamePatternMatchesAll(boolean value) {
  963. getActiveMySQLConnection().setNullNamePatternMatchesAll(value);
  964. }
  965. public void setOverrideSupportsIntegrityEnhancementFacility(boolean flag) {
  966. getActiveMySQLConnection()
  967. .setOverrideSupportsIntegrityEnhancementFacility(flag);
  968. }
  969. public void setPacketDebugBufferSize(int size) {
  970. getActiveMySQLConnection().setPacketDebugBufferSize(size);
  971. }
  972. public void setPadCharsWithSpace(boolean flag) {
  973. getActiveMySQLConnection().setPadCharsWithSpace(flag);
  974. }
  975. public void setParanoid(boolean property) {
  976. getActiveMySQLConnection().setParanoid(property);
  977. }
  978. public void setPasswordCharacterEncoding(String characterSet) {
  979. getActiveMySQLConnection().setPasswordCharacterEncoding(characterSet);
  980. }
  981. public void setPedantic(boolean property) {
  982. getActiveMySQLConnection().setPedantic(property);
  983. }
  984. public void setPinGlobalTxToPhysicalConnection(boolean flag) {
  985. getActiveMySQLConnection().setPinGlobalTxToPhysicalConnection(flag);
  986. }
  987. public void setPopulateInsertRowWithDefaultValues(boolean flag) {
  988. getActiveMySQLConnection().setPopulateInsertRowWithDefaultValues(flag);
  989. }
  990. public void setPrepStmtCacheSize(int cacheSize) {
  991. getActiveMySQLConnection().setPrepStmtCacheSize(cacheSize);
  992. }
  993. public void setPrepStmtCacheSqlLimit(int sqlLimit) {
  994. getActiveMySQLConnection().setPrepStmtCacheSqlLimit(sqlLimit);
  995. }
  996. public void setPreparedStatementCacheSize(int cacheSize) {
  997. getActiveMySQLConnection().setPreparedStatementCacheSize(cacheSize);
  998. }
  999. public void setPreparedStatementCacheSqlLimit(int cacheSqlLimit) {
  1000. getActiveMySQLConnection().setPreparedStatementCacheSqlLimit(
  1001. cacheSqlLimit);
  1002. }
  1003. public void setProcessEscapeCodesForPrepStmts(boolean flag) {
  1004. getActiveMySQLConnection().setProcessEscapeCodesForPrepStmts(flag);
  1005. }
  1006. public void setProfileSQL(boolean flag) {
  1007. getActiveMySQLConnection().setProfileSQL(flag);
  1008. }
  1009. public void setProfileSql(boolean property) {
  1010. getActiveMySQLConnection().setProfileSql(property);
  1011. }
  1012. public void setProfilerEventHandler(String handler) {
  1013. getActiveMySQLConnection().setProfilerEventHandler(handler);
  1014. }
  1015. public void setPropertiesTransform(String value) {
  1016. getActiveMySQLConnection().setPropertiesTransform(value);
  1017. }
  1018. public void setQueriesBeforeRetryMaster(int property) {
  1019. getActiveMySQLConnection().setQueriesBeforeRetryMaster(property);
  1020. }
  1021. public void setQueryTimeoutKillsConnection(
  1022. boolean queryTimeoutKillsConnection) {
  1023. getActiveMySQLConnection().setQueryTimeoutKillsConnection(
  1024. queryTimeoutKillsConnection);
  1025. }
  1026. public void setReconnectAtTxEnd(boolean property) {
  1027. getActiveMySQLConnection().setReconnectAtTxEnd(property);
  1028. }
  1029. public void setRelaxAutoCommit(boolean property) {
  1030. getActiveMySQLConnection().setRelaxAutoCommit(property);
  1031. }
  1032. public void setReportMetricsIntervalMillis(int millis) {
  1033. getActiveMySQLConnection().setReportMetricsIntervalMillis(millis);
  1034. }
  1035. public void setRequireSSL(boolean property) {
  1036. getActiveMySQLConnection().setRequireSSL(property);
  1037. }
  1038. public void setResourceId(String resourceId) {
  1039. getActiveMySQLConnection().setResourceId(resourceId);
  1040. }
  1041. public void setResultSetSizeThreshold(int threshold) {
  1042. getActiveMySQLConnection().setResultSetSizeThreshold(threshold);
  1043. }
  1044. public void setRetainStatementAfterResultSetClose(boolean flag) {
  1045. getActiveMySQLConnection().setRetainStatementAfterResultSetClose(flag);
  1046. }
  1047. public void setRetriesAllDown(int retriesAllDown) {
  1048. getActiveMySQLConnection().setRetriesAllDown(retriesAllDown);
  1049. }
  1050. public void setRewriteBatchedStatements(boolean flag) {
  1051. getActiveMySQLConnection().setRewriteBatchedStatements(flag);
  1052. }
  1053. public void setRollbackOnPooledClose(boolean flag) {
  1054. getActiveMySQLConnection().setRollbackOnPooledClose(flag);
  1055. }
  1056. public void setRoundRobinLoadBalance(boolean flag) {
  1057. getActiveMySQLConnection().setRoundRobinLoadBalance(flag);
  1058. }
  1059. public void setRunningCTS13(boolean flag) {
  1060. getActiveMySQLConnection().setRunningCTS13(flag);
  1061. }
  1062. public void setSecondsBeforeRetryMaster(int property) {
  1063. getActiveMySQLConnection().setSecondsBeforeRetryMaster(property);
  1064. }
  1065. public void setSelfDestructOnPingMaxOperations(int maxOperations) {
  1066. getActiveMySQLConnection().setSelfDestructOnPingMaxOperations(
  1067. maxOperations);
  1068. }
  1069. public void setSelfDestructOnPingSecondsLifetime(int seconds) {
  1070. getActiveMySQLConnection()
  1071. .setSelfDestructOnPingSecondsLifetime(seconds);
  1072. }
  1073. public void setServerTimezone(String property) {
  1074. getActiveMySQLConnection().setServerTimezone(property);
  1075. }
  1076. public void setSessionVariables(String variables) {
  1077. getActiveMySQLConnection().setSessionVariables(variables);
  1078. }
  1079. public void setSlowQueryThresholdMillis(int millis) {
  1080. getActiveMySQLConnection().setSlowQueryThresholdMillis(millis);
  1081. }
  1082. public void setSlowQueryThresholdNanos(long nanos) {
  1083. getActiveMySQLConnection().setSlowQueryThresholdNanos(nanos);
  1084. }
  1085. public void setSocketFactory(String name) {
  1086. getActiveMySQLConnection().setSocketFactory(name);
  1087. }
  1088. public void setSocketFactoryClassName(String property) {
  1089. getActiveMySQLConnection().setSocketFactoryClassName(property);
  1090. }
  1091. public void setSocketTimeout(int property) {
  1092. getActiveMySQLConnection().setSocketTimeout(property);
  1093. }
  1094. public void setStatementInterceptors(String value) {
  1095. getActiveMySQLConnection().setStatementInterceptors(value);
  1096. }
  1097. public void setStrictFloatingPoint(boolean property) {
  1098. getActiveMySQLConnection().setStrictFloatingPoint(property);
  1099. }
  1100. public void setStrictUpdates(boolean property) {
  1101. getActiveMySQLConnection().setStrictUpdates(property);
  1102. }
  1103. public void setTcpKeepAlive(boolean flag) {
  1104. getActiveMySQLConnection().setTcpKeepAlive(flag);
  1105. }
  1106. public void setTcpNoDelay(boolean flag) {
  1107. getActiveMySQLConnection().setTcpNoDelay(flag);
  1108. }
  1109. public void setTcpRcvBuf(int bufSize) {
  1110. getActiveMySQLConnection().setTcpRcvBuf(bufSize);
  1111. }
  1112. public void setTcpSndBuf(int bufSize) {
  1113. getActiveMySQLConnection().setTcpSndBuf(bufSize);
  1114. }
  1115. public void setTcpTrafficClass(int classFlags) {
  1116. getActiveMySQLConnection().setTcpTrafficClass(classFlags);
  1117. }
  1118. public void setTinyInt1isBit(boolean flag) {
  1119. getActiveMySQLConnection().setTinyInt1isBit(flag);
  1120. }
  1121. public void setTraceProtocol(boolean flag) {
  1122. getActiveMySQLConnection().setTraceProtocol(flag);
  1123. }
  1124. public void setTransformedBitIsBoolean(boolean flag) {
  1125. getActiveMySQLConnection().setTransformedBitIsBoolean(flag);
  1126. }
  1127. public void setTreatUtilDateAsTimestamp(boolean flag) {
  1128. getActiveMySQLConnection().setTreatUtilDateAsTimestamp(flag);
  1129. }
  1130. public void setTrustCertificateKeyStorePassword(String value) {
  1131. getActiveMySQLConnection().setTrustCertificateKeyStorePassword(value);
  1132. }
  1133. public void setTrustCertificateKeyStoreType(String value) {
  1134. getActiveMySQLConnection().setTrustCertificateKeyStoreType(value);
  1135. }
  1136. public void setTrustCertificateKeyStoreUrl(String value) {
  1137. getActiveMySQLConnection().setTrustCertificateKeyStoreUrl(value);
  1138. }
  1139. public void setUltraDevHack(boolean flag) {
  1140. getActiveMySQLConnection().setUltraDevHack(flag);
  1141. }
  1142. public void setUseAffectedRows(boolean flag) {
  1143. getActiveMySQLConnection().setUseAffectedRows(flag);
  1144. }
  1145. public void setUseBlobToStoreUTF8OutsideBMP(boolean flag) {
  1146. getActiveMySQLConnection().setUseBlobToStoreUTF8OutsideBMP(flag);
  1147. }
  1148. public void setUseColumnNamesInFindColumn(boolean flag) {
  1149. getActiveMySQLConnection().setUseColumnNamesInFindColumn(flag);
  1150. }
  1151. public void setUseCompression(boolean property) {
  1152. getActiveMySQLConnection().setUseCompression(property);
  1153. }
  1154. public void setUseConfigs(String configs) {
  1155. getActiveMySQLConnection().setUseConfigs(configs);
  1156. }
  1157. public void setUseCursorFetch(boolean flag) {
  1158. getActiveMySQLConnection().setUseCursorFetch(flag);
  1159. }
  1160. public void setUseDirectRowUnpack(boolean flag) {
  1161. getActiveMySQLConnection().setUseDirectRowUnpack(flag);
  1162. }
  1163. public void setUseDynamicCharsetInfo(boolean flag) {
  1164. getActiveMySQLConnection().setUseDynamicCharsetInfo(flag);
  1165. }
  1166. public void setUseFastDateParsing(boolean flag) {
  1167. getActiveMySQLConnection().setUseFastDateParsing(flag);
  1168. }
  1169. public void setUseFastIntParsing(boolean flag) {
  1170. getActiveMySQLConnection().setUseFastIntParsing(flag);
  1171. }
  1172. public void setUseGmtMillisForDatetimes(boolean flag) {
  1173. getActiveMySQLConnection().setUseGmtMillisForDatetimes(flag);
  1174. }
  1175. public void setUseHostsInPrivileges(boolean property) {
  1176. getActiveMySQLConnection().setUseHostsInPrivileges(property);
  1177. }
  1178. public void setUseInformationSchema(boolean flag) {
  1179. getActiveMySQLConnection().setUseInformationSchema(flag);
  1180. }
  1181. public void setUseJDBCCompliantTimezoneShift(boolean flag) {
  1182. getActiveMySQLConnection().setUseJDBCCompliantTimezoneShift(flag);
  1183. }
  1184. public void setUseJvmCharsetConverters(boolean flag) {
  1185. getActiveMySQLConnection().setUseJvmCharsetConverters(flag);
  1186. }
  1187. public void setUseLegacyDatetimeCode(boolean flag) {
  1188. getActiveMySQLConnection().setUseLegacyDatetimeCode(flag);
  1189. }
  1190. public void setUseLocalSessionState(boolean flag) {
  1191. getActiveMySQLConnection().setUseLocalSessionState(flag);
  1192. }
  1193. public void setUseLocalTransactionState(boolean flag) {
  1194. getActiveMySQLConnection().setUseLocalTransactionState(flag);
  1195. }
  1196. public void setUseNanosForElapsedTime(boolean flag) {
  1197. getActiveMySQLConnection().setUseNanosForElapsedTime(flag);
  1198. }
  1199. public void setUseOldAliasMetadataBehavior(boolean flag) {
  1200. getActiveMySQLConnection().setUseOldAliasMetadataBehavior(flag);
  1201. }
  1202. public void setUseOldUTF8Behavior(boolean flag) {
  1203. getActiveMySQLConnection().setUseOldUTF8Behavior(flag);
  1204. }
  1205. public void setUseOnlyServerErrorMessages(boolean flag) {
  1206. getActiveMySQLConnection().setUseOnlyServerErrorMessages(flag);
  1207. }
  1208. public void setUseReadAheadInput(boolean flag) {
  1209. getActiveMySQLConnection().setUseReadAheadInput(flag);
  1210. }
  1211. public void setUseSSL(boolean property) {
  1212. getActiveMySQLConnection().setUseSSL(property);
  1213. }
  1214. public void setUseSSPSCompatibleTimezoneShift(boolean flag) {
  1215. getActiveMySQLConnection().setUseSSPSCompatibleTimezoneShift(flag);
  1216. }
  1217. public void setUseServerPrepStmts(boolean flag) {
  1218. getActiveMySQLConnection().setUseServerPrepStmts(flag);
  1219. }
  1220. public void setUseServerPreparedStmts(boolean flag) {
  1221. getActiveMySQLConnection().setUseServerPreparedStmts(flag);
  1222. }
  1223. public void setUseSqlStateCodes(boolean flag) {
  1224. getActiveMySQLConnection().setUseSqlStateCodes(flag);
  1225. }
  1226. public void setUseStreamLengthsInPrepStmts(boolean property) {
  1227. getActiveMySQLConnection().setUseStreamLengthsInPrepStmts(property);
  1228. }
  1229. public void setUseTimezone(boolean property) {
  1230. getActiveMySQLConnection().setUseTimezone(property);
  1231. }
  1232. public void setUseUltraDevWorkAround(boolean property) {
  1233. getActiveMySQLConnection().setUseUltraDevWorkAround(property);
  1234. }
  1235. public void setUseUnbufferedInput(boolean flag) {
  1236. getActiveMySQLConnection().setUseUnbufferedInput(flag);
  1237. }
  1238. public void setUseUnicode(boolean flag) {
  1239. getActiveMySQLConnection().setUseUnicode(flag);
  1240. }
  1241. public void setUseUsageAdvisor(boolean useUsageAdvisorFlag) {
  1242. getActiveMySQLConnection().setUseUsageAdvisor(useUsageAdvisorFlag);
  1243. }
  1244. public void setUtf8OutsideBmpExcludedColumnNamePattern(String regexPattern) {
  1245. getActiveMySQLConnection().setUtf8OutsideBmpExcludedColumnNamePattern(
  1246. regexPattern);
  1247. }
  1248. public void setUtf8OutsideBmpIncludedColumnNamePattern(String regexPattern) {
  1249. getActiveMySQL

Large files files are truncated, but you can click here to view the full file