org.apache.ojb.broker.util
Class JdbcTypesHelper.T_SmallInt

java.lang.Object
  extended byorg.apache.ojb.broker.util.JdbcTypesHelper.BaseType
      extended byorg.apache.ojb.broker.util.JdbcTypesHelper.T_SmallInt
All Implemented Interfaces:
JdbcType, java.io.Serializable
Enclosing class:
JdbcTypesHelper

public static final class JdbcTypesHelper.T_SmallInt
extends JdbcTypesHelper.BaseType

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.ojb.broker.metadata.JdbcType
MIN_INT, serialVersionUID
 
Constructor Summary
JdbcTypesHelper.T_SmallInt()
           
 
Method Summary
 int getType()
          Returns the representing sql type.
(package private)  java.lang.Object readValueFromResultSet(java.sql.ResultSet rs, int columnIndex)
           
(package private)  java.lang.Object readValueFromResultSet(java.sql.ResultSet rs, java.lang.String columnName)
           
(package private)  java.lang.Object readValueFromStatement(java.sql.CallableStatement stmt, int columnIndex)
           
 java.lang.Object sequenceKeyConversion(java.lang.Long identifier)
          Convert the given Long value to a java object representation of this jdbc type.
 
Methods inherited from class org.apache.ojb.broker.util.JdbcTypesHelper.BaseType
equals, getObjectFromColumn, getObjectFromColumn, getObjectFromColumn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcTypesHelper.T_SmallInt

public JdbcTypesHelper.T_SmallInt()
Method Detail

sequenceKeyConversion

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

Throws:
SequenceManagerException

readValueFromStatement

java.lang.Object readValueFromStatement(java.sql.CallableStatement stmt,
                                        int columnIndex)
                                  throws java.sql.SQLException
Specified by:
readValueFromStatement in class JdbcTypesHelper.BaseType
Throws:
java.sql.SQLException

readValueFromResultSet

java.lang.Object readValueFromResultSet(java.sql.ResultSet rs,
                                        java.lang.String columnName)
                                  throws java.sql.SQLException
Specified by:
readValueFromResultSet in class JdbcTypesHelper.BaseType
Throws:
java.sql.SQLException

readValueFromResultSet

java.lang.Object readValueFromResultSet(java.sql.ResultSet rs,
                                        int columnIndex)
                                  throws java.sql.SQLException
Specified by:
readValueFromResultSet in class JdbcTypesHelper.BaseType
Throws:
java.sql.SQLException

getType

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



Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14