{"id":577,"date":"2011-06-17T23:51:44","date_gmt":"2011-06-17T20:51:44","guid":{"rendered":"http:\/\/hxml.me\/blog\/?p=577"},"modified":"2016-01-27T12:46:50","modified_gmt":"2016-01-27T09:46:50","slug":"php-soxranit-i-vygruzit-fajl-v-oracle","status":"publish","type":"post","link":"https:\/\/hxml.me\/blog\/coding\/php-soxranit-i-vygruzit-fajl-v-oracle\/","title":{"rendered":"PHP: \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438 \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0432 ORACLE"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"http:\/\/hxml.me\/img\/post\/nb.png\" alt=\"\" width=\"114\" height=\"114\" \/>\u041f\u0438\u0448\u0443 \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u0437\u0430\u043c\u0435\u0442\u043a\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Nota Bene. \u0421\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c <strong>\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435<\/strong> \u0447\u0435\u0440\u0435\u0437 html-\u0444\u043e\u0440\u043c\u0443 <strong>\u0444\u0430\u0439\u043b\u044b<\/strong> \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 <strong>Oracle \u0447\u0435\u0440\u0435\u0437 \u0445\u0440\u0430\u043d\u0438\u043c\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443<\/strong>. \u041f\u0440\u0435\u0436\u0434\u0435 \u044f \u0438\u043c\u0435\u043b \u0434\u0435\u043b\u043e \u0441 \u043f\u043e\u043b\u044f\u043c\u0438 BLOB \u0432 \u043e\u0440\u0430\u043a\u043b\u0435, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u0432\u043d\u0443\u0442\u0440\u0438 Java-\u043a\u043b\u0430\u0441\u0441\u0430, \u0438 \u0442\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434. \u041f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044e \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u0433\u0443\u0433\u043b \u043c\u043d\u0435 \u0432\u044b\u0434\u0430\u0441\u0442 \u043c\u0438\u043b\u043b\u0438\u043e\u043d \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 &#171;<strong>php oracle blob<\/strong>&#171;. \u0442\u0430\u043a \u043e\u043d\u043e \u0438 \u0431\u044b\u043b\u043e, \u043d\u043e&#8230;<!--more--><br \/>\n\u0432\u0441\u0435, \u0447\u0442\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u043e\u0441\u044c, \u0438\u043c\u0435\u043b\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u043a php-\u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0438\u0433\u0434\u0435 \u043d\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u043e\u0441\u044c, \u043a\u0430\u043a \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u0430\u043c\u0430 \u0445\u0440\u0430\u043d\u0438\u043c\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0434\u043e\u043b\u0433\u043e \u0442\u043e\u043f\u0442\u0430\u043b\u0441\u044f \u043d\u0430 \u043c\u0435\u0441\u0442\u0435, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435 \u043d\u0430\u0448\u0435\u043b \u0441\u043f\u043e\u0441\u043e\u0431. \u0421\u0435\u0439\u0447\u0430\u0441 \u0438\u0437\u043b\u043e\u0436\u0443 \u0435\u0433\u043e \u0442\u0443\u0442, \u0432\u0434\u0440\u0443\u0433 \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f (\u0445\u043e\u0442\u044f \u0431\u044b \u043c\u043d\u0435 \u0432 \u0431\u0443\u0434\u0443\u0448\u0435\u043c:)<br \/>\n\u0418 \u0442\u0430\u043a, \u0438\u043c\u0435\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0437\u0430\u043f\u0447\u0430\u0441\u0442\u0438.<br \/>\n\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<pre lang=\"plsql\">create table GEN.GEN_TRADE_FILES ( \r\n  FILE_ID                    NUMBER             NOT NULL,\r\n  FILE_NAME                  VARCHAR2(256 BYTE) NOT NULL,\r\n  FILE_SIZE                  NUMBER             NOT NULL,\r\n  CRC32                      NUMBER             NOT NULL,\r\n  FILE_DATA                  BLOB,               \r\n  CREATION_DATE              DATE               NOT NULL,\r\n  CREATED_BY                 NUMBER             NOT NULL,\r\n  LAST_UPDATE_DATE           DATE               NOT NULL,\r\n  LAST_UPDATED_BY            NUMBER             NOT NULL\r\n);\r\n\r\nCREATE SEQUENCE GEN.GEN_TRADE_FILES_S  START WITH 1 INCREMENT BY 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 20 NOCYCLE NOORDER;<\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c<br \/>\nGEN &#8212; \u044d\u0442\u043e \u043c\u043e\u044f \u0441\u0445\u0435\u043c\u0430 \u0432 OracleDB, \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u0441\u0432\u043e\u0435<br \/>\nGEN_TRADE_FILES &#8212; \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u0432 \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u0438 \u0438\u043c\u0435\u043d \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430<br \/>\nGEN.GEN_TRADE_FILES_S &#8212; \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0414\u0443\u043c\u0430\u044e, \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442. \u0415\u0441\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u043e\u043b\u044f \u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043b\u0438\u0448\u043d\u0438\u043c\u0438, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u044b\u043a\u0438\u0434\u044b\u0432\u0430\u0442\u044c, \u0441\u043c\u044b\u0441\u043b \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f.<\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0437\u0430\u043f\u0447\u0430\u0441\u0442\u044c &#8212; \u0445\u0440\u0430\u043d\u0438\u043c\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430.<\/p>\n<pre lang=\"plsql\">PROCEDURE store_file (\r\n    x_file_name         VARCHAR2,\r\n    x_file_size           NUMBER,\r\n    x_crc32               CHAR,\r\n    x_user_id\tNUMBER,\r\n    x_data\t                OUT BLOB,\r\n    x_file_id              OUT NUMBER\r\n)\r\n  IS\r\n  BEGIN\r\n    select GEN.GEN_TRADE_FILES_S.NEXTVAL into x_file_id from dual;\u00a0\r\n\r\n    insert into GEN.GEN_TRADE_FILES (\r\n      FILE_ID,\r\n      FILE_NAME,\r\n      FILE_SIZE,\r\n      CRC32,\r\n      FILE_DATA,\r\n      CREATION_DATE,\r\n      CREATED_BY,\r\n      LAST_UPDATE_DATE,\r\n      LAST_UPDATED_BY\r\n\t  ) values (\r\n\t    x_file_id,\r\n\t    x_file_name,\r\n\t    x_file_size,\r\n\t    x_crc32,\r\n\t    EMPTY_BLOB(),\r\n\t    SYSDATE,\r\n\t    x_user_id,\r\n\t    SYSDATE,\r\n\t    x_user_id\r\n\t  ) returning FILE_DATA into x_data;\r\n  END;<\/pre>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435, \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 BLOB-\u043f\u043e\u043b\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0431\u043b\u043e\u0431, \u0430 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 x_data \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440 LOB-\u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0432 php-\u043a\u043e\u0434\u0435 \u043b\u0435\u0433\u043a\u0438\u043c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u043c \u0440\u0443\u043a\u0438 \u043d\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u043d\u0435\u0441\u0443\u0442\u0441\u044f \u0432 \u044d\u0442\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u044c (\u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u0440\u0438\u0432\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043b, \u043d\u043e \u0441\u0443\u0442\u044c, \u0434\u0443\u043c\u0430\u044e, \u0434\u043e\u043d\u0435\u0441).<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 php-\u0437\u0430\u043f\u0447\u0430\u0441\u0442\u0438 (\u043c\u043e\u0439 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442).<br \/>\nupload.php:<\/p>\n<pre lang=\"php\">&lt;?php\r\n  function get_connect() {\r\n    return oci_connect($user, $pass);\/\/ \u0442\u0443\u0442 \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0430\r\n  }\r\n\r\n  function save_file($file) {\r\n    $conn = db_connect();\r\n    if (!$conn) return 'error connecting db';\r\n\r\n    \/\/Gen_Trade_Pkg - \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442 \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435\r\n    $stid = oci_parse($conn, 'begin Gen_Trade_Pkg.store_file(:p1, :p2, :p3, :p4, :p5, :p6); end;');\r\n\r\n    if (!$stid) {\r\n       $e = oci_error($stid); \r\n       return 'statement parse error: '.$e['message'];\r\n    }\r\n\r\n    $file_id = -1;\r\n    $user_id = 1024;  \/\/my stub user_id\r\n    $filedata = file_get_contents($file['tmp_name']);\r\n    $crc32 = crc32($filedata);\r\n\r\n    $filesize = filesize($file['tmp_name']);\r\n    $clob = oci_new_descriptor($conn, OCI_D_LOB);\r\n    if (!$clob) {return 'could not get oci descriptior';}\r\n    oci_bind_by_name($stid, ':p1', $file['name'], 256);\r\n    oci_bind_by_name($stid, ':p2', $filesize, 40);\r\n    oci_bind_by_name($stid, ':p3', $crc32);\r\n    oci_bind_by_name($stid, ':p4', $user_id, 40);\r\n    oci_bind_by_name($stid, ':p5', $clob, -1, OCI_B_BLOB);\r\n    oci_bind_by_name($stid, ':p6', $file_id, 40);\r\n    if (!oci_execute($stid)) {$e=oci_error($stid);return 'error: '.$e['message'];} \r\n    $clob-&gt;save($filedata);\r\n    oci_free_statement($stid);\r\n    return 'file successfully stored. file_id='.$file_id;\r\n  }\r\n?&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;title&gt;upload file and store in Oracle database table via PHP&lt;\/title&gt;\r\n&lt;body&gt;\r\n&lt;br\/&gt;\r\n&lt;?php \r\n  if ($_POST['savebtn'])\r\n    echo (save_file($_FILES['upload_file']));\r\n  else {\r\n?&gt;\r\n&lt;form id=\"uploadForm\" name=\"uploadForm\" method=\"post\" enctype=\"multipart\/form-data\"&gt;\r\n  &lt;input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"100000\" \/&gt;    \r\n  \u0424\u0430\u0439\u043b:&lt;br\/&gt;\r\n  &lt;input type=\"file\" name=\"upload_file\" style='height:21px;border: 1px solid #d0d0d0;'\/&gt;&lt;\/br&gt;\r\n  &lt;input name='savebtn' type=\"submit\" value=\"Save\" \/&gt;\r\n&lt;\/form&gt;\r\n&lt;?php } ?&gt;\r\n&lt;\/body&gt;<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430.<\/p>\n<pre lang=\"plsql\">  PROCEDURE get_file (\r\n    x_file_id                    NUMBER,\r\n    x_file_name                  OUT VARCHAR2,\r\n    x_file_size                  OUT NUMBER,\r\n    x_crc32                      OUT NUMBER,\r\n    x_data                       OUT BLOB\r\n  )\r\n  IS\r\n  BEGIN\r\n    select\r\n      FILE_NAME,\r\n      FILE_SIZE,\r\n      CRC32,\r\n      FILE_DATA\r\n    into \r\n      x_file_name,\r\n      x_file_size,\r\n      x_crc32,\r\n      x_data\r\n    from\r\n      GEN.GEN_TRADE_FILES\r\n    where\r\n      file_id = x_file_id;               \t  \r\n  END;<\/pre>\n<p>download.php:<\/p>\n<pre lang=\"php\">&lt;?php\r\n  function get_error($msg) {\r\n    return '&lt;html&gt;&lt;body&gt;'.$msg.'&lt;\/body&gt;&lt;\/html&gt;';\r\n  }\r\n  function get_connect() {\r\n    return oci_connect($user, $pass);\/\/ \u0442\u0443\u0442 \u043d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u0430\r\n  }\r\n\r\n  $file_id = $_GET['file_id'];\r\n  if (!$file_id) die(get_error('file_id is not specified'));\r\n  $file_id = intval($file_id);\r\n  error_log(\"trying to get file $file_id\");\r\n  $conn = get_connect();\r\n\r\n  $sql = \"BEGIN GEN_TRADE_PKG.get_file(:p1, :p2, :p3, :p4, :p5); END;\";\r\n  $stmt = oci_parse($conn , $sql);\r\n  if (!$stmt) {\r\n     $e = oci_error($stid); \r\n     $last_sql_error =  $e['message'];  \r\n     error_log('parse error_occured: ' . $last_sql_error);\r\n     die(get_error($last_sql_error));\r\n  }\r\n\r\n  $filename = '';\r\n  $filesize = '';\r\n  $crc32 = '';\r\n\r\n  $objClob = oci_new_descriptor($conn, OCI_D_LOB);\r\n  oci_bind_by_name($stmt, ':p1', $file_id, 40);\r\n  oci_bind_by_name($stmt, ':p2', $filename, 256);\r\n  oci_bind_by_name($stmt, ':p3', $filesize, 40);\r\n  oci_bind_by_name($stmt, ':p4', $crc32, 40);\r\n  oci_bind_by_name($stmt, ':p5', $objClob, -1, OCI_B_BLOB);\r\n\r\n\/\/ \u0442\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b crc32\r\n\r\n  $res = oci_execute($stmt, OCI_DEFAULT);\r\n  if (!$res) {$e=oci_error($stmt);$last_sql_error=$e['message'];error_log('oci_error:'.$last_sql_error); \r\n  die(get_error($last_sql_error));} \r\n  $filedata = $objClob-&gt;load();\r\n\r\n  $objClob-&gt;free();\r\n  oci_free_statement($stmt);\r\n  header('Content-Type: application\/octet-stream');\r\n  header(\"Cache-Control: must-revalidate, post-check=0, pre-check=0\");\r\n  header(\"Content-Type: application\/download; charset=Windows-1251\");\r\n  header(\"Content-Transfer-Encoding: binary\");\r\n  header('Accept-Ranges: bytes');\r\n  header('Content-Length: ' . $filesize);\r\n  header('Content-disposition: attachment; filename=' . $filename);\r\n  echo $filedata;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0438\u0448\u0443 \u043d\u0430 \u0441\u043a\u043e\u0440\u0443\u044e \u0440\u0443\u043a\u0443 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u0443\u044e \u0437\u0430\u043c\u0435\u0442\u043a\u0443 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Nota Bene. \u0421\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 html-\u0444\u043e\u0440\u043c\u0443 \u0444\u0430\u0439\u043b\u044b \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 Oracle \u0447\u0435\u0440\u0435\u0437 \u0445\u0440\u0430\u043d\u0438\u043c\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443. \u041f\u0440\u0435\u0436\u0434\u0435 \u044f \u0438\u043c\u0435\u043b \u0434\u0435\u043b\u043e \u0441 \u043f\u043e\u043b\u044f\u043c\u0438 BLOB \u0432 \u043e\u0440\u0430\u043a\u043b\u0435, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0430\u0441\u044c \u0432\u043d\u0443\u0442\u0440\u0438 Java-\u043a\u043b\u0430\u0441\u0441\u0430, \u0438 \u0442\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434. \u041f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044e \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u0433\u0443\u0433\u043b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[134,108,52,109],"class_list":["post-577","post","type-post","status-publish","format-standard","hentry","category-coding","tag-nota-bene","tag-orace","tag-php","tag-stored-procedures"],"_links":{"self":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":25,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":602,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions\/602"}],"wp:attachment":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}