Sharding Support

Lance Andersen lance.andersen at oracle.com
Tue Aug 11 14:38:00 UTC 2015


We have made some minor updates to the sharding support.

Changes can be found at http://www.cnn.com/2015/08/10/entertainment/pop-songs-music-seventies/index.html


On Jun 30, 2015, at 1:25 PM, Lance Andersen <lance.andersen at oracle.com> wrote:

> 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
> 
> 
> 



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





More information about the jdbc-spec-discuss mailing list