jodd.db.type
Class CharacterSqlType
java.lang.Object
jodd.db.type.SqlType<T>
jodd.db.type.NullAwareSqlType<java.lang.Character>
jodd.db.type.CharacterSqlType
public class CharacterSqlType
- extends NullAwareSqlType<java.lang.Character>
Char SQL type.
|
Method Summary |
java.lang.Character |
get(java.sql.ResultSet rs,
int index,
int dbSqlType)
Returns value from result set. |
void |
set(java.sql.PreparedStatement st,
int index,
java.lang.Character value,
int dbSqlType)
Sets prepared statement value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterSqlType
public CharacterSqlType()
get
public java.lang.Character 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.lang.Character>
- Parameters:
rs - result setindex - column indexdbSqlType - java.sql.Types hint
- Throws:
java.sql.SQLException
set
public void set(java.sql.PreparedStatement st,
int index,
java.lang.Character value,
int dbSqlType)
throws java.sql.SQLException
- Sets prepared statement value.
- Specified by:
set in class SqlType<java.lang.Character>
- Throws:
java.sql.SQLException
Copyright © 2003-2010 Jodd Team