equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
42 * .subkey("PITTSBURGH_BRANCH", JDBCType.VARCHAR) |
42 * .subkey("PITTSBURGH_BRANCH", JDBCType.VARCHAR) |
43 * .build(); |
43 * .build(); |
44 * Connection con = ds.createConnectionBuilder() |
44 * Connection con = ds.createConnectionBuilder() |
45 * .user("rafa") |
45 * .user("rafa") |
46 * .password("tennis") |
46 * .password("tennis") |
47 * .setShardingKey(shardingKey) |
47 * .shardingKey(shardingKey) |
48 * .setSuperShardingKey(superShardingKey) |
48 * .superShardingKey(superShardingKey) |
49 * .build(); |
49 * .build(); |
50 * }</pre> |
50 * }</pre> |
51 * |
51 * |
52 * @since 9 |
52 * @since 9 |
53 * |
53 * |