<html> <head> <title>Interface XSQLOutput</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XSQLOutput-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">sdbc</a> :: </p> </td> </tr> <tr> <td class="title">interface XSQLOutput</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>is used as an output stream for writing the attributes of a user-defined type back to the database. This interface, used only for custom mapping, is used by the driver, and its methods are never directly invoked by a programmer. </dd> <dd><p> When an object of a class implementing interface <a href="XSQLData.html">XSQLData</a> is passed as an argument to a SQL statement, the JDBC driver calls <method scope="com::sun::star::sdbc">SQLData::getSQLType</method> to determine the kind of SQL datum being passed to the database. <br/> The driver then creates an instance of <code>XSQLOutput</code> and passes it to the method <method scope="com::sun::star::sdbc">XSQLData::writeSQL</method> . The method <code>writeSQL</code> in turn calls the appropriate <code>XSQLOutput.writeXXX</code> methods to write data from the <a href="XSQLData.html">XSQLData</a> object to the <code>XSQLOutput</code> output stream as the representation of a SQL user-defined type.</p> </dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#writeString">writeString</a></td> <td class="imsum_right">writes the next attribute to the stream as a string. </td> </tr> <tr> <td class="imsum_left"><a href="#writeBoolean">writeBoolean</a></td> <td class="imsum_right">writes the next attribute to the stream as boolean. </td> </tr> <tr> <td class="imsum_left"><a href="#writeByte">writeByte</a></td> <td class="imsum_right">writes the next attribute to the stream as byte. </td> </tr> <tr> <td class="imsum_left"><a href="#writeShort">writeShort</a></td> <td class="imsum_right">writes the next attribute to the stream as short. </td> </tr> <tr> <td class="imsum_left"><a href="#writeInt">writeInt</a></td> <td class="imsum_right">writes the next attribute to the stream as long. </td> </tr> <tr> <td class="imsum_left"><a href="#writeLong">writeLong</a></td> <td class="imsum_right">writes the next attribute to the stream as hyper. </td> </tr> <tr> <td class="imsum_left"><a href="#writeFloat">writeFloat</a></td> <td class="imsum_right">writes the next attribute to the stream as float. </td> </tr> <tr> <td class="imsum_left"><a href="#writeDouble">writeDouble</a></td> <td class="imsum_right">writes the next attribute to the stream as double. </td> </tr> <tr> <td class="imsum_left"><a href="#writeBytes">writeBytes</a></td> <td class="imsum_right">writes the next attribute to the stream as byte sequence. </td> </tr> <tr> <td class="imsum_left"><a href="#writeDate">writeDate</a></td> <td class="imsum_right">writes the next attribute to the stream as a date. </td> </tr> <tr> <td class="imsum_left"><a href="#writeTime">writeTime</a></td> <td class="imsum_right">writes the next attribute to the stream as a time. </td> </tr> <tr> <td class="imsum_left"><a href="#writeTimestamp">writeTimestamp</a></td> <td class="imsum_right">writes the next attribute to the stream as a datetime. </td> </tr> <tr> <td class="imsum_left"><a href="#writeBinaryStream">writeBinaryStream</a></td> <td class="imsum_right">writes the next attribute to the stream as a stream of uninterpreted bytes. </td> </tr> <tr> <td class="imsum_left"><a href="#writeCharacterStream">writeCharacterStream</a></td> <td class="imsum_right">writes the next attribute to the stream as a stream of unicode string. </td> </tr> <tr> <td class="imsum_left"><a href="#writeObject">writeObject</a></td> <td class="imsum_right">writes to the stream the data contained in the given <code>XSQLData</code> object. </td> </tr> <tr> <td class="imsum_left"><a href="#writeRef">writeRef</a></td> <td class="imsum_right">writes a REF(&lt;structured-type&gt;) to the stream. </td> </tr> <tr> <td class="imsum_left"><a href="#writeBlob">writeBlob</a></td> <td class="imsum_right">writes a BLOB to the stream. </td> </tr> <tr> <td class="imsum_left"><a href="#writeClob">writeClob</a></td> <td class="imsum_right">writes a CLOB to the stream. </td> </tr> <tr> <td class="imsum_left"><a href="#writeStruct">writeStruct</a></td> <td class="imsum_right">writes a structured-type to the stream. </td> </tr> <tr> <td class="imsum_left"><a href="#writeArray">writeArray</a></td> <td class="imsum_right">writes an array to the stream. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="writeString" class="membertitle">writeString</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeString</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a string. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeBoolean" class="membertitle">writeBoolean</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeBoolean</b>(</td> <td valign="top">[in] boolean</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as boolean. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeByte" class="membertitle">writeByte</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeByte</b>(</td> <td valign="top">[in] byte</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as byte. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeShort" class="membertitle">writeShort</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeShort</b>(</td> <td valign="top">[in] short</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as short. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeInt" class="membertitle">writeInt</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeInt</b>(</td> <td valign="top">[in] long</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as long. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeLong" class="membertitle">writeLong</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeLong</b>(</td> <td valign="top">[in] hyper</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as hyper. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeFloat" class="membertitle">writeFloat</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeFloat</b>(</td> <td valign="top">[in] float</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as float. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeDouble" class="membertitle">writeDouble</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeDouble</b>(</td> <td valign="top">[in] double</td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as double. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeBytes" class="membertitle">writeBytes</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeBytes</b>(</td> <td valign="top">[in] sequence< byte ></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as byte sequence. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeDate" class="membertitle">writeDate</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeDate</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/Date.html">Date</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a date. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeTime" class="membertitle">writeTime</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeTime</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/Time.html">Time</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a time. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeTimestamp" class="membertitle">writeTimestamp</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeTimestamp</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/DateTime.html">DateTime</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a datetime. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeBinaryStream" class="membertitle">writeBinaryStream</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeBinaryStream</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a stream of uninterpreted bytes. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeCharacterStream" class="membertitle">writeCharacterStream</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeCharacterStream</b>(</td> <td valign="top">[in] ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes the next attribute to the stream as a stream of unicode string. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeObject" class="membertitle">writeObject</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeObject</b>(</td> <td valign="top">[in] <a href="XSQLData.html">XSQLData</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes to the stream the data contained in the given <code>XSQLData</code> object. </dd> <dd><p >When the <code>XSQLData</code> object is <b>NULL</b> , this method writes an SQL NULL to the stream. Otherwise, it calls the <a href="XSQLData.html">XSQLData</a>::<a href="XSQLData.html#writeSQL">writeSQL()</a> method of the given object, which writes the object's attributes to the stream. The implementation of the method <code>XSQLData::writeSQL()</code> calls the appropriate <code>XSQLOutput.writeXXX</code> method(s) for writing each of the object's attributes in order. <br/> The attributes must be read from an <a href="XSQLInput.html">XSQLInput</a> input stream and written to an <code>XSQLOutput</code> output stream in the same order in which they were listed in the SQL definition of the user-defined type. </p> </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeRef" class="membertitle">writeRef</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeRef</b>(</td> <td valign="top">[in] <a href="XRef.html">XRef</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes a REF(&lt;structured-type&gt;) to the stream. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeBlob" class="membertitle">writeBlob</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeBlob</b>(</td> <td valign="top">[in] <a href="XBlob.html">XBlob</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes a BLOB to the stream. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeClob" class="membertitle">writeClob</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeClob</b>(</td> <td valign="top">[in] <a href="XClob.html">XClob</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes a CLOB to the stream. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeStruct" class="membertitle">writeStruct</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeStruct</b>(</td> <td valign="top">[in] <a href="XStruct.html">XStruct</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes a structured-type to the stream. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="writeArray" class="membertitle">writeArray</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">void</td> </tr> <tr> <td valign="top"><b>writeArray</b>(</td> <td valign="top">[in] <a href="XArray.html">XArray</a></td> <td valign="bottom"> x )</td> </tr> <tr> <td valign="top" align="right">raises( </td> <td valign="top" colspan="2"><a href="SQLException.html">SQLException</a> );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>writes an array to the stream. </dd> <dt><b>Parameter x</b></dt> <dd>the value to pass to the database. </dd> <dt><b>Throws</b></dt> <dd>SQLException if a database access error occurs. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>