org.mentawai.bean
Interface DBType

All Known Implementing Classes:
AutoIncrementType, BooleanIntType, BooleanStringType, DateType, DoubleType, FloatType, IntegerType, LongType, SequenceType, StringType, TimestampType, TimeType

public interface DBType


Method Summary
 void bindToStmt(java.sql.PreparedStatement stmt, int index, java.lang.Object value)
           
 java.lang.Object getFromResultSet(java.sql.ResultSet rset, int index)
           
 java.lang.Object getFromResultSet(java.sql.ResultSet rset, java.lang.String field)
           
 java.lang.Class<? extends java.lang.Object> getTypeClass()
           
 

Method Detail

getFromResultSet

java.lang.Object getFromResultSet(java.sql.ResultSet rset,
                                  int index)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

bindToStmt

void bindToStmt(java.sql.PreparedStatement stmt,
                int index,
                java.lang.Object value)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

getFromResultSet

java.lang.Object getFromResultSet(java.sql.ResultSet rset,
                                  java.lang.String field)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getTypeClass

java.lang.Class<? extends java.lang.Object> getTypeClass()


Copyright © 2005 Mentawai Team. All Rights Reserved.