org.apache.ojb.broker.platforms
Class BlobWrapper
java.lang.Object
org.apache.ojb.broker.platforms.BlobWrapper
public class BlobWrapper
- extends Object
Wraps the Oracle BLOB type and makes it accessible via reflection
without having to import the Oracle Classes.
- Version:
- CVS $Id: BlobWrapper.java,v 1.1 2007-08-24 22:17:35 ewestfal Exp $
- Author:
- Matthew Baird, Erik Forkalsrud, Martin Kalén
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_blob
protected Object m_blob
durationSession
protected static Field durationSession
durationCall
protected static Field durationCall
modeReadOnly
protected static Field modeReadOnly
modeReadWrite
protected static Field modeReadWrite
createTemporary
protected static Method createTemporary
freeTemporary
protected static Method freeTemporary
open
protected static Method open
isOpen
protected static Method isOpen
getBinaryStream
protected static Method getBinaryStream
getBinaryOutputStream
protected static Method getBinaryOutputStream
getBufferSize
protected static Method getBufferSize
close
protected static Method close
trim
protected static Method trim
BlobWrapper
public BlobWrapper()
getBlob
public Object getBlob()
setBlob
public void setBlob(Object blob)
staticIntFieldValue
protected static int staticIntFieldValue(Field field)
getDurationSessionValue
public static int getDurationSessionValue()
getDurationCallValue
public static int getDurationCallValue()
getModeReadOnlyValue
public static int getModeReadOnlyValue()
getModeReadWriteValue
public static int getModeReadWriteValue()
createTemporary
public static BlobWrapper createTemporary(Connection conn,
boolean b,
int i)
throws Exception
- Throws:
Exception
open
public void open(int i)
throws SQLException
- Throws:
SQLException
isOpen
public boolean isOpen()
throws SQLException
- Throws:
SQLException
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- Throws:
SQLException
getBinaryOutputStream
public OutputStream getBinaryOutputStream()
throws SQLException
- Throws:
SQLException
getBufferSize
public int getBufferSize()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
trim
public void trim(long l)
throws SQLException
- Throws:
SQLException
freeTemporary
public void freeTemporary()
throws SQLException
- Throws:
SQLException
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.