@Override
	public int update(TileMatrix tileMatrix) throws SQLException {

		UpdateBuilder<TileMatrix, TileMatrixKey> ub = updateBuilder();
		ub.updateColumnValue(TileMatrix.COLUMN_MATRIX_WIDTH,
				tileMatrix.getMatrixWidth());
		ub.updateColumnValue(TileMatrix.COLUMN_MATRIX_HEIGHT,
				tileMatrix.getMatrixHeight());
		ub.updateColumnValue(TileMatrix.COLUMN_TILE_WIDTH,
				tileMatrix.getTileWidth());
		ub.updateColumnValue(TileMatrix.COLUMN_TILE_HEIGHT,
				tileMatrix.getTileHeight());
		ub.updateColumnValue(TileMatrix.COLUMN_PIXEL_X_SIZE,
				tileMatrix.getPixelXSize());
		ub.updateColumnValue(TileMatrix.COLUMN_PIXEL_Y_SIZE,
				tileMatrix.getPixelYSize());

		ub.where().eq(TileMatrix.COLUMN_TABLE_NAME, tileMatrix.getTableName())
				.and()
				.eq(TileMatrix.COLUMN_ZOOM_LEVEL, tileMatrix.getZoomLevel());

		PreparedUpdate<TileMatrix> update = ub.prepare();
		int updated = update(update);

		return updated;
	}
@ Override public int update ( TileMatrix tileMatrix ) throws SQLException { UpdateBuilder < TileMatrix , TileMatrixKey > ub = updateBuilder ( ) ; ub . updateColumnValue ( TileMatrix . COLUMN_MATRIX_WIDTH , tileMatrix . getMatrixWidth ( ) ) ; ub . updateColumnValue ( TileMatrix . COLUMN_MATRIX_HEIGHT , tileMatrix . getMatrixHeight ( ) ) ; ub . updateColumnValue ( TileMatrix . COLUMN_TILE_WIDTH , tileMatrix . getTileWidth ( ) ) ; ub . updateColumnValue ( TileMatrix . COLUMN_TILE_HEIGHT , tileMatrix . getTileHeight ( ) ) ; ub . updateColumnValue ( TileMatrix . COLUMN_PIXEL_X_SIZE , tileMatrix . getPixelXSize ( ) ) ; ub . updateColumnValue ( TileMatrix . COLUMN_PIXEL_Y_SIZE , tileMatrix . getPixelYSize ( ) ) ; ub . where ( ) . eq ( TileMatrix . COLUMN_TABLE_NAME , tileMatrix . getTableName ( ) ) . and ( ) . eq ( TileMatrix . COLUMN_ZOOM_LEVEL , tileMatrix . getZoomLevel ( ) ) ; PreparedUpdate < TileMatrix > update = ub . prepare ( ) ; int updated = update ( update ) ; return updated ; }
{@inheritDoc}

Update using the complex key