jodd.db.type
Class TimeSqlType

java.lang.Object
  extended by jodd.db.type.SqlType<java.sql.Time>
      extended by jodd.db.type.TimeSqlType

public class TimeSqlType
extends SqlType<java.sql.Time>


Field Summary
 
Fields inherited from class jodd.db.type.SqlType
sqlType
 
Constructor Summary
TimeSqlType()
           
 
Method Summary
 java.sql.Time get(java.sql.ResultSet rs, int index, int dbSqlType)
          Returns value from result set.
 void set(java.sql.PreparedStatement st, int index, java.sql.Time value, int dbSqlType)
          Sets prepared statement value.
 
Methods inherited from class jodd.db.type.SqlType
prepareGetValue, readValue, storeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSqlType

public TimeSqlType()
Method Detail

get

public java.sql.Time get(java.sql.ResultSet rs,
                         int index,
                         int dbSqlType)
                  throws java.sql.SQLException
Returns value from result set.

Specified by:
get in class SqlType<java.sql.Time>
Parameters:
rs - result set
index - column index
dbSqlType - java.sql.Types hint
Throws:
java.sql.SQLException

set

public void set(java.sql.PreparedStatement st,
                int index,
                java.sql.Time value,
                int dbSqlType)
         throws java.sql.SQLException
Sets prepared statement value.

Specified by:
set in class SqlType<java.sql.Time>
Throws:
java.sql.SQLException


Copyright © 2003-2011 Jodd Team