code: public final void setShardingKeys(Object shardingKey, Object superShardingKey) throws SQLException {
          if (mcf.beforeJDBCVersion(JDBCRuntimeVersion.VERSION_4_3))
              throw new SQLFeatureNotSupportedException();
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(this, tc, "Set sharding key/super sharding key to " + shardingKey + "/" + superShardingKey); 
  
          mcf.jdbcRuntime.doSetShardingKeys(sqlConn, shardingKey, superShardingKey);
          currentShardingKey = shardingKey;
          if (superShardingKey != JDBCRuntimeVersion.SUPER_SHARDING_KEY_UNCHANGED)
              currentSuperShardingKey = superShardingKey;
          connectionPropertyChanged = true;
      }
docs: Updates the value of the sharding keys.
  
  @param shardingKey the new sharding key.
  @param superShardingKey the new super sharding key. The 'unchanged' constant can be used to avoid changing it.