public interface JdbcType
extends java.io.Serializable
FieldType
Modifier and Type | Field and Description |
---|---|
static int |
MIN_INT
Intern used flag.
|
Modifier and Type | Method and Description |
---|---|
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. |
static final int MIN_INT
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
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30