|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a jdbc sql type object defined by the JDBC 3.0 specification to handle data conversion (see JDBC 3.0 specification Appendix B, Data Type Conversion Tables).
FieldType
Field Summary | |
static int |
MIN_INT
Intern used flag. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
FieldType |
getFieldType()
Returns the associated FieldType (java field type mapped to this sql type). |
java.lang.Object |
getObjectFromColumn(java.sql.CallableStatement stmt,
int columnId)
Convenience method for getObjectFromColumn(ResultSet, CallableStatement, String, int) |
java.lang.Object |
getObjectFromColumn(java.sql.ResultSet rs,
java.sql.CallableStatement stmt,
java.lang.String columnName,
int columnId)
Returns an java object for this jdbc type by extract from the given CallableStatement or ResultSet. |
java.lang.Object |
getObjectFromColumn(java.sql.ResultSet rs,
java.lang.String columnName)
Convenience method for getObjectFromColumn(ResultSet, CallableStatement, String, int) |
int |
getType()
Returns the representing sql type . |
java.lang.Object |
sequenceKeyConversion(java.lang.Long identifier)
Convert the given Long value to
a java object representation of this jdbc type. |
Field Detail |
public static final int MIN_INT
Method Detail |
public java.lang.Object getObjectFromColumn(java.sql.ResultSet rs, java.sql.CallableStatement stmt, java.lang.String columnName, int columnId) throws java.sql.SQLException
MIN_INT
, then the given 'columnName'
argument is used to lookup column. Else the given 'columnId' is used as column index.
java.sql.SQLException
public java.lang.Object getObjectFromColumn(java.sql.CallableStatement stmt, int columnId) throws java.sql.SQLException
getObjectFromColumn(ResultSet, CallableStatement, String, int)
java.sql.SQLException
public java.lang.Object getObjectFromColumn(java.sql.ResultSet rs, java.lang.String columnName) throws java.sql.SQLException
getObjectFromColumn(ResultSet, CallableStatement, String, int)
java.sql.SQLException
public java.lang.Object sequenceKeyConversion(java.lang.Long identifier) throws SequenceManagerException
Long
value to
a java object representation of this jdbc type.
SequenceManagerException
public int getType()
sql type
.
public boolean equals(java.lang.Object obj)
public FieldType getFieldType()
FieldType
(java field type mapped to this sql type).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |