Package | Description |
---|---|
java.sql |
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java™ programming language.
|
javax.sql |
Provides the API for server side data source access and processing from
the Java™ programming language.
|
Modifier and Type | Method and Description |
---|---|
ConnectionBuilder |
ConnectionBuilder.password(String password)
Specifies the password to be used when creating a connection
|
ConnectionBuilder |
ConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies a
shardingKey to be used when creating a connection |
ConnectionBuilder |
ConnectionBuilder.superShardingKey(ShardingKey superShardingKey)
Specifies a
superShardingKey to be used when creating a connection |
ConnectionBuilder |
ConnectionBuilder.user(String username)
Specifies the username to be used when creating a connection
|
Modifier and Type | Method and Description |
---|---|
default ConnectionBuilder |
DataSource.createConnectionBuilder()
Create a new
ConnectionBuilder instance |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait