インタフェースjavax.sql.PooledConnectionBuilderの
使用
-
PooledConnectionBuilderを使用するパッケージ パッケージ 説明 javax.sql Java™プログラミング言語によるサーバー側のデータ・ソースへのアクセスと処理のためのAPIを提供します。 -
-
javax.sqlでのPooledConnectionBuilderの使用
PooledConnectionBuilderを戻すjavax.sqlのメソッド 修飾子と型 メソッド 説明 default PooledConnectionBuilder
ConnectionPoolDataSource. createPooledConnectionBuilder()
新しいPooledConnectionBuilder
インスタンスを作成PooledConnectionBuilder
PooledConnectionBuilder. password(String password)
接続を作成するときに使用するパスワードを指定しますPooledConnectionBuilder
PooledConnectionBuilder. shardingKey(ShardingKey shardingKey)
接続を作成するときに使用するshardingKey
を指定PooledConnectionBuilder
PooledConnectionBuilder. superShardingKey(ShardingKey superShardingKey)
接続を作成するときに使用するsuperShardingKey
を指定PooledConnectionBuilder
PooledConnectionBuilder. user(String username)
接続を作成するときに使用するユーザー名を指定
-