org.apache.ojb.broker.metadata
Class JdbcTypesHelper.T_LongVarBinary

java.lang.Object
  extended by org.apache.ojb.broker.metadata.JdbcTypesHelper.BaseType
      extended by org.apache.ojb.broker.metadata.JdbcTypesHelper.T_LongVarBinary
All Implemented Interfaces:
Serializable, JdbcType
Enclosing class:
JdbcTypesHelper

public static final class JdbcTypesHelper.T_LongVarBinary
extends JdbcTypesHelper.BaseType

See Also:
Serialized Form

Field Summary
protected static int BUFSZ
           
 
Fields inherited from interface org.apache.ojb.broker.metadata.JdbcType
MIN_INT
 
Constructor Summary
JdbcTypesHelper.T_LongVarBinary()
           
 
Method Summary
 int getType()
          Returns the representing sql type.
protected static byte[] retrieveStreamDataFromRs(InputStream is)
          Retrieve LONGVARBINARY InputStream data and pack into a byte array.
 Object sequenceKeyConversion(Long identifier)
          Convert the given Long value to a java object representation of this jdbc type.
 
Methods inherited from class org.apache.ojb.broker.metadata.JdbcTypesHelper.BaseType
equals, getFieldType, getObjectFromColumn, getObjectFromColumn, getObjectFromColumn, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BUFSZ

protected static final int BUFSZ
See Also:
Constant Field Values
Constructor Detail

JdbcTypesHelper.T_LongVarBinary

public JdbcTypesHelper.T_LongVarBinary()
Method Detail

retrieveStreamDataFromRs

protected static byte[] retrieveStreamDataFromRs(InputStream is)
                                          throws SQLException
Retrieve LONGVARBINARY InputStream data and pack into a byte array.

Parameters:
is - the input stream to be retrieved
Returns:
a string containing the clob data
Throws:
SQLException - if conversion fails or the clob cannot be read

sequenceKeyConversion

public Object sequenceKeyConversion(Long identifier)
Description copied from interface: JdbcType
Convert the given Long value to a java object representation of this jdbc type.


getType

public int getType()
Description copied from interface: JdbcType
Returns the representing sql type.



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.