站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

JDBCResultSetReader.AbstractPrimitiveReader (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.jdbc
Class JDBCResultSetReader.AbstractPrimitiveReader

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader.AbstractResultSetReader
      extended byorg.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader.AbstractPrimitiveReader
All Implemented Interfaces:
JDBCResultSetReader
Enclosing class:
JDBCResultSetReader

public abstract static class JDBCResultSetReader.AbstractPrimitiveReader
extends JDBCResultSetReader.AbstractResultSetReader


Nested Class Summary
 
Nested classes inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader
JDBCResultSetReader.AbstractPrimitiveReader, JDBCResultSetReader.AbstractResultSetReader
 
Field Summary
 
Fields inherited from interface org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader
ARRAY_READER, BIGDECIMAL_READER, BINARY_READER, BLOB_READER, BOOLEAN_READER, BYTE_ARRAY_READER, BYTE_READER, CHARACTER_READER, CLOB_READER, DOUBLE_READER, FLOAT_READER, INT_READER, JAVA_OBJECT_READER, JAVA_SQL_DATE_READER, JAVA_SQL_TIME_READER, JAVA_SQL_TIMESTAMP_READER, JAVA_UTIL_DATE_READER, LONG_READER, LONGVARBINARY_READER, LONGVARCHAR_READER, OBJECT_READER, OTHER_READER, REF_READER, SHORT_READER, STRING_READER, STRUCT_READER, VARBINARY_READER
 
Constructor Summary
JDBCResultSetReader.AbstractPrimitiveReader()
           
 
Method Summary
protected  Object coerceToJavaType(Object value, Class destination)
           
 Object get(ResultSet rs, int index, Class destination, org.jboss.logging.Logger log)
          Reads one column from the java.sql.ResultSet.
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCResultSetReader.AbstractResultSetReader
readResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCResultSetReader.AbstractPrimitiveReader

public JDBCResultSetReader.AbstractPrimitiveReader()
Method Detail

get

public Object get(ResultSet rs,
                  int index,
                  Class destination,
                  org.jboss.logging.Logger log)
           throws SQLException
Description copied from interface: JDBCResultSetReader
Reads one column from the java.sql.ResultSet.

Specified by:
get in interface JDBCResultSetReader
Overrides:
get in class JDBCResultSetReader.AbstractResultSetReader
Throws:
SQLException

coerceToJavaType

protected Object coerceToJavaType(Object value,
                                  Class destination)
                           throws SQLException
Overrides:
coerceToJavaType in class JDBCResultSetReader.AbstractResultSetReader
Throws:
SQLException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.