src/java.sql/share/classes/javax/sql/XAConnectionBuilder.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 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

@@ -35,11 +35,11 @@
  * default values by the {@code XAConnectionBuilder}.
  * <p>The following example illustrates the use of {@code XAConnectionBuilder}
  * to create a {@link XAConnection}:
  *
  * <pre>{@code
- *     DataSource ds = new MyDataSource();
+ *     XADataSource ds = new MyXADataSource();
  *     ShardingKey superShardingKey = ds.createShardingKeyBuilder()
  *                           .subkey("EASTERN_REGION", JDBCType.VARCHAR)
  *                           .build();
  *     ShardingKey shardingKey = ds.createShardingKeyBuilder()
  *                           .subkey("PITTSBURGH_BRANCH", JDBCType.VARCHAR)

@@ -50,11 +50,11 @@
  *                       .setShardingKey(shardingKey)
  *                       .setSuperShardingKey(superShardingKey)
  *                       .build();
  * }</pre>
  *
- * @since 1.9
+ * @since 9
  *
  */
 public interface XAConnectionBuilder  {
 
     /**