|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.metadata.JdbcTypesHelper.BaseType
public abstract static class JdbcTypesHelper.BaseType
| Field Summary |
|---|
| Fields inherited from interface org.apache.ojb.broker.metadata.JdbcType |
|---|
MIN_INT |
| 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 JdbcType.getObjectFromColumn(ResultSet, CallableStatement, String, int) |
java.lang.Object |
getObjectFromColumn(java.sql.ResultSet rs,
java.sql.CallableStatement stmt,
java.lang.String columnName,
int columnIndex)
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 JdbcType.getObjectFromColumn(ResultSet, CallableStatement, String, int) |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.ojb.broker.metadata.JdbcType |
|---|
getType, sequenceKeyConversion |
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
JdbcType
equals in interface JdbcTypeequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic FieldType getFieldType()
JdbcTypeFieldType (java field type mapped to this sql type).
getFieldType in interface JdbcType
public java.lang.Object getObjectFromColumn(java.sql.CallableStatement stmt,
int columnId)
throws java.sql.SQLException
JdbcTypeJdbcType.getObjectFromColumn(ResultSet, CallableStatement, String, int)
getObjectFromColumn in interface JdbcTypejava.sql.SQLException
public java.lang.Object getObjectFromColumn(java.sql.ResultSet rs,
java.lang.String columnName)
throws java.sql.SQLException
JdbcTypeJdbcType.getObjectFromColumn(ResultSet, CallableStatement, String, int)
getObjectFromColumn in interface JdbcTypejava.sql.SQLException
public java.lang.Object getObjectFromColumn(java.sql.ResultSet rs,
java.sql.CallableStatement stmt,
java.lang.String columnName,
int columnIndex)
throws java.sql.SQLException
JdbcTypeJdbcType.MIN_INT, then the given 'columnName'
argument is used to lookup column. Else the given 'columnId' is used as column index.
getObjectFromColumn in interface JdbcTypejava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||