3677 *
3678 * @return {@code true} if this database supports REF CURSOR;
3679 * {@code false} otherwise
3680 * @exception SQLException if a database access error occurs
3681 * @since 1.8
3682 */
3683 default boolean supportsRefCursors() throws SQLException{
3684 return false;
3685 }
3686
3687 // JDBC 4.3
3688
3689 /**
3690 * Retrieves whether this database supports sharding.
3691 * @implSpec
3692 * The default implementation will return {@code false}
3693 *
3694 * @return {@code true} if this database supports sharding;
3695 * {@code false} otherwise
3696 * @exception SQLException if a database access error occurs
3697 * @since 1.9
3698 */
3699 default boolean supportsSharding() throws SQLException {
3700 return false;
3701 }
3702 }
|
3677 *
3678 * @return {@code true} if this database supports REF CURSOR;
3679 * {@code false} otherwise
3680 * @exception SQLException if a database access error occurs
3681 * @since 1.8
3682 */
3683 default boolean supportsRefCursors() throws SQLException{
3684 return false;
3685 }
3686
3687 // JDBC 4.3
3688
3689 /**
3690 * Retrieves whether this database supports sharding.
3691 * @implSpec
3692 * The default implementation will return {@code false}
3693 *
3694 * @return {@code true} if this database supports sharding;
3695 * {@code false} otherwise
3696 * @exception SQLException if a database access error occurs
3697 * @since 9
3698 */
3699 default boolean supportsSharding() throws SQLException {
3700 return false;
3701 }
3702 }
|