{
    "id": "pdo182-document-attachment",
    "title": "Сохранить текст документа и восстановить двоичное вложение",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Текст документа",
            "5001 символ; 10001 байт UTF-8; точное совпадение"
        ],
        [
            "Вложение",
            "25 байт, включая 00 и FF; точное совпадение"
        ],
        [
            "Повторное чтение",
            "Новое подключение после commit"
        ],
        [
            "Пусто и отсутствует",
            "EMPTY_CLOB\/BLOB: длина 0; NULL: значение отсутствует"
        ],
        [
            "SHA256 вложения",
            "d503dd337e1e51fadde49eee280d85ab426c4c84795d99ea0d8c3d345cc3d0dd"
        ],
        [
            "Файл",
            "attachment.bin: восстановленные байты документа"
        ]
    ],
    "checks": {
        "fresh_connection_streams": true,
        "binary_exact": true,
        "binary_hash": true,
        "binary_zero_ff": true,
        "clob_exact": true,
        "clob_utf8_bytes": true,
        "clob_server_characters": true,
        "blob_server_bytes": true,
        "empty_lobs_not_null": true,
        "null_lobs": true,
        "released_handles": true,
        "export_exact": true,
        "owned_objects_removed": true
    },
    "observations": {
        "fresh_read_types": {
            "body": "stream",
            "file_data": "stream"
        },
        "lob_lengths": [
            {
                "id": "1",
                "text_characters": "5001",
                "binary_bytes": "25",
                "text_is_null": "0",
                "binary_is_null": "0"
            },
            {
                "id": "2",
                "text_characters": "0",
                "binary_bytes": "0",
                "text_is_null": "0",
                "binary_is_null": "0"
            },
            {
                "id": "3",
                "text_characters": null,
                "binary_bytes": null,
                "text_is_null": "1",
                "binary_is_null": "1"
            }
        ],
        "clob": {
            "bytes": 10001,
            "characters": 5001,
            "sha256": "95e7fb9298011d17644a64f443b5cf6e959b51c4e5d7d6954e4d194861ebc35b",
            "prefix": "ЖЖЖЖЖ",
            "last_character": "!"
        },
        "blob": {
            "bytes": 25,
            "sha256": "d503dd337e1e51fadde49eee280d85ab426c4c84795d99ea0d8c3d345cc3d0dd",
            "hex": "50444f5f4f43490a0001ff7f7265766973696f6e3d3138320a"
        },
        "locator_write_transaction": "explicit",
        "read_order": "consume streams; close streams; release statement; close reader"
    },
    "runtime": {
        "php": "8.5.11",
        "extension": "1.2.0",
        "pdo": "8.5.11",
        "driver": "oci",
        "server_version": "23.0.0.0.0",
        "client": "23.26.4.0.0",
        "database": "FREEPDB1",
        "transport": "loopback_tcp"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "P182_DOCUMENT_64B005894D15"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "P182_DOCUMENT_64B005894D15"
        }
    ]
}
