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 | 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 | 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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps