|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JdbcType
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 |
---|
static final int MIN_INT
Method Detail |
---|
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
java.lang.Object getObjectFromColumn(java.sql.CallableStatement stmt, int columnId) throws java.sql.SQLException
getObjectFromColumn(ResultSet, CallableStatement, String, int)
java.sql.SQLException
java.lang.Object getObjectFromColumn(java.sql.ResultSet rs, java.lang.String columnName) throws java.sql.SQLException
getObjectFromColumn(ResultSet, CallableStatement, String, int)
java.sql.SQLException
java.lang.Object sequenceKeyConversion(java.lang.Long identifier) throws SequenceManagerException
Long
value to
a java object representation of this jdbc type.
SequenceManagerException
int getType()
sql type
.
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
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 |