From lance.andersen at oracle.com Tue Jun 30 17:25:33 2015 From: lance.andersen at oracle.com (Lance Andersen) Date: Tue, 30 Jun 2015 13:25:33 -0400 Subject: Sharding Support Message-ID: <2C4123CA-7B18-4998-B1E3-F36D7E6BC833@oracle.com> As there are several databases that provide support for sharding, we have put together a simple sharding API for JDBC. DataSource ds = new MyDataSource(); ShardKey shardKey = ds.createShardKeyBuilder() .subkey("abc", JDBCType.VARCHAR) .subkey(94002, JDBCType.INTEGER) .build(); Connection con = ds.createConnectionBuilder() .user("rafa") .password("tennis") .setShardKey(shardKey); .build(); You can find the specdiff at: http://cr.openjdk.java.net/~lancea/8085984/specdiffsjdbc43/ Note you will see the start of a few additional clean-ups as well in the javadocs Best, lance Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 Lance.Andersen at oracle.com