Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 76f2c8a59960813d44c2bf099ec032a3 > files > 18

postgresql-jdbc-manual-9.2.1002-6.mga4.noarch.rpm

<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Large Objects</title><meta content="DocBook XSL Stylesheets V1.78.1" name="generator"><link rel="home" href="index.html" title="The PostgreSQL&trade; JDBC Interface"><link rel="up" href="ext.html" title="Chapter&nbsp;9.&nbsp;PostgreSQL&trade; Extensions to the JDBC API"><link rel="prev" href="geometric.html" title="Geometric Data Types"><link rel="next" href="listennotify.html" title="Listen / Notify"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Large Objects</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="geometric.html">Prev</a>&nbsp;</td><th align="center" width="60%">Chapter&nbsp;9.&nbsp;<span class="productname">PostgreSQL</span>&trade; Extensions to the
    <acronym class="acronym">JDBC</acronym> <acronym class="acronym">API</acronym></th><td align="right" width="20%">&nbsp;<a accesskey="n" href="listennotify.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="largeobjects"></a>Large Objects</h2></div></div></div><p>
    Large objects are supported in the standard
    <acronym class="acronym">JDBC</acronym> specification.  However, that interface is
    limited, and the <acronym class="acronym">API</acronym> provided by <span class="productname">PostgreSQL</span>&trade; allows for random
    access to the objects contents, as if it was a local file.
   </p><p>
    The org.postgresql.largeobject package provides to Java the <span class="application">libpq</span>
    C interface's large object <acronym class="acronym">API</acronym>. It consists of
    two classes, <code class="classname">LargeObjectManager</code>, which deals with creating,
    opening and deleting large objects, and <code class="classname">LargeObject</code> which deals
    with an individual object.  For an example usage of this <acronym class="acronym">API</acronym>,
    please see <a class="xref" href="binary-data.html#binary-data-example" title="Example&nbsp;7.1.&nbsp;Processing Binary Data in JDBC">Example&nbsp;7.1, &ldquo;Processing Binary Data in <acronym class="acronym">JDBC</acronym>&rdquo;</a>.
   </p></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="geometric.html">Prev</a>&nbsp;</td><td align="center" width="20%"><a accesskey="u" href="ext.html">Up</a></td><td align="right" width="40%">&nbsp;<a accesskey="n" href="listennotify.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%">Geometric Data Types&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%">&nbsp;Listen / Notify</td></tr></table></div></body></html>