|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.rdbms.typeinfo.TypeInfo
org.jpox.store.rdbms.typeinfo.MySQLTypeInfo
Represents the metadata of a MySQL data type.
Field Summary |
Fields inherited from class org.jpox.store.rdbms.typeinfo.TypeInfo |
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute |
Constructor Summary | |
MySQLTypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set. |
Method Summary | |
boolean |
isCompatibleWith(ColumnInfo colInfo)
Utility to check the compatibility of this type with the supplied Column type. |
Methods inherited from class org.jpox.store.rdbms.typeinfo.TypeInfo |
areCompatibleTypes, equals, getJDBCTypeName, hashCode, isToValidate, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MySQLTypeInfo(java.sql.ResultSet rs)
ResultSet
object passed must have been obtained
from a call to DatabaseMetaData.getTypeInfo().
This method only retrieves the values from the current row; the caller
is required to advance to the next row with ResultSet.next()
.
rs
- The result set returned from DatabaseMetaData.getTypeInfo().Method Detail |
public boolean isCompatibleWith(ColumnInfo colInfo)
isCompatibleWith
in class TypeInfo
colInfo
- The Column type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |