public static class PostgresMediaBlobHelper.LargeObjectProxy extends LibraryConnection.TransactionStateListener
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Close this LargeObjectProxy. 
 | 
void | 
close(boolean closeLob)
Close this LargeObjectProxy, optionally closing the Lob. 
 | 
void | 
handleCommit()
Handle a commit operation. 
 | 
void | 
handleDispose()
Handle a dispose (of the  LibraryConnection) operation. 
 | 
void | 
handleRollback()
Handle a rollback operation. 
 | 
int | 
read(byte[] b,
    int off,
    int len)
Reads from the large object. 
 | 
void | 
seek64(long pos)
Seeks to the specified position. 
 | 
long | 
size64()
Gets the size of the Lob. 
 | 
public long size64()
            throws SQLException
SQLExceptionpublic void seek64(long pos)
            throws SQLException
pos - the positionSQLExceptionpublic int read(byte[] b,
                int off,
                int len)
         throws SQLException
pos - the positionoff - the offset within the bufferlen - the number of bytes to (attempt to) readSQLExceptionpublic void close()
public void close(boolean closeLob)
closeLob - whether to close the Lobpublic void handleCommit()
handleCommit in class LibraryConnection.TransactionStateListenerpublic void handleRollback()
handleRollback in class LibraryConnection.TransactionStateListenerpublic void handleDispose()
handleDispose in class LibraryConnection.TransactionStateListenerCopyright © 2025. All rights reserved.