src/java.sql/share/classes/javax/sql/XADataSource.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 95,114 ****
*/
default XAConnectionBuilder createXAConnectionBuilder() throws SQLException {
throw new SQLFeatureNotSupportedException("createXAConnectionBuilder not implemented");
};
- /**
- * Creates a new {@code ShardingKeyBuilder} instance
- * @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");
- };
}
--- 95,100 ----