< prev index next >
jdk/src/java.sql/share/classes/javax/sql/DataSource.java
Print this page
*** 117,127 ****
* @implSpec
* The default implementation will throw a {@code SQLFeatureNotSupportedException}
* @return The ConnectionBuilder instance that was created
* @throws SQLException if an error occurs creating the builder
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
! * @since 1.9
* @see createConnectionBuilder
*/
default ConnectionBuilder createConnectionBuilder() throws SQLException {
throw new SQLFeatureNotSupportedException("createConnectionBuilder not implemented");
};
--- 117,127 ----
* @implSpec
* The default implementation will throw a {@code SQLFeatureNotSupportedException}
* @return The ConnectionBuilder instance that was created
* @throws SQLException if an error occurs creating the builder
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
! * @since 9
* @see createConnectionBuilder
*/
default ConnectionBuilder createConnectionBuilder() throws SQLException {
throw new SQLFeatureNotSupportedException("createConnectionBuilder not implemented");
};
*** 131,141 ****
* @implSpec
* The default implementation will throw a {@code SQLFeatureNotSupportedException}
* @return The ShardingKeyBuilder instance that was created
* @throws SQLException if an error occurs creating the builder
* @throws SQLFeatureNotSupportedException if the driver does not support this method
! * @since 1.9
* @see ShardingKeyBuilder
*/
default ShardingKeyBuilder createShardingKeyBuilder()
throws SQLException {
throw new SQLFeatureNotSupportedException("createShardingKeyBuilder not implemented");
--- 131,141 ----
* @implSpec
* The default implementation will throw a {@code SQLFeatureNotSupportedException}
* @return The ShardingKeyBuilder instance that was created
* @throws SQLException if an error occurs creating the builder
* @throws SQLFeatureNotSupportedException if the driver does not support this method
! * @since 9
* @see ShardingKeyBuilder
*/
default ShardingKeyBuilder createShardingKeyBuilder()
throws SQLException {
throw new SQLFeatureNotSupportedException("createShardingKeyBuilder not implemented");
< prev index next >