String url = this.config.getJdbcUrl(); String username = this.config.getUsername(); String password = this.config.getPassword(); Properties props = this.config.getDriverProperties(); boolean externalAuth = this.config.isExternalAuth();
String url = this.config.getJdbcUrl(); String username = this.config.getUsername(); String password = this.config.getPassword(); Properties props = this.config.getDriverProperties(); boolean externalAuth = this.config.isExternalAuth();
/** * Partition constructor * * @param pool handle to connection pool */ public ConnectionPartition(BoneCP pool) { BoneCPConfig config = pool.getConfig(); this.minConnections = config.getMinConnectionsPerPartition(); this.maxConnections = config.getMaxConnectionsPerPartition(); this.acquireIncrement = config.getAcquireIncrement(); this.url = config.getJdbcUrl(); this.username = config.getUsername(); this.password = config.getPassword(); this.poolName = config.getPoolName() != null ? "(in pool '"+config.getPoolName()+"') " : ""; this.pool = pool; this.disableTracking = config.isDisableConnectionTracking(); this.queryExecuteTimeLimitInNanoSeconds = TimeUnit.NANOSECONDS.convert(config.getQueryExecuteTimeLimitInMs(), TimeUnit.MILLISECONDS); }
&& Objects.equal(this.statementsCacheSize, that.getStatementsCacheSize()) && Objects.equal(this.username, that.getUsername()) && Objects.equal(this.password, that.getPassword()) && Objects.equal(this.lazyInit, that.isLazyInit()) && Objects.equal(this.transactionRecoveryEnabled, that.isTransactionRecoveryEnabled())