| org.apache.ojb.broker.metadata.JdbcType
JdbcType | public interface JdbcType extends Serializable(Code) | | 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).
See Also: FieldType version: $Id: JdbcType.java,v 1.6.2.2 2005/12/21 22:26:10 tomdz Exp $ |
Field Summary | |
final public static int | MIN_INT Intern used flag. |
MIN_INT | final public static int MIN_INT(Code) | | Intern used flag.
|
equals | public boolean equals(Object obj)(Code) | | Indicates whether some other object is "equal to" this one.
|
getFieldType | public FieldType getFieldType()(Code) | | Returns the associated
FieldType (java field type mapped to this sql type).
|
getObjectFromColumn | public Object getObjectFromColumn(ResultSet rs, CallableStatement stmt, String columnName, int columnId) throws SQLException(Code) | | Returns an java object for this jdbc type by extract from the given
CallableStatement or ResultSet.
NOTE: For internal use only!!
Exactly one of the arguments of type CallableStatement or ResultSet
have to be non-null. If the 'columnId' argument is equals
JdbcType.MIN_INT , then the given 'columnName'
argument is used to lookup column. Else the given 'columnId' is used as column index.
|
|
|