|
||||||||||
| 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.MSSQLTypeInfo
public class MSSQLTypeInfo
Represents the metadata of a MSSQL data type.
| Field Summary | |
|---|---|
static int |
NTEXT
sql type NTEXT |
static int |
NVARCHAR
sql type NVARCHAR |
static int |
UNIQUEIDENTIFIER
sql type UNIQUEIDENTIFIER |
| 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 | |
|---|---|
MSSQLTypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set. |
|
| Method Summary | |
|---|---|
boolean |
isCompatibleWith(ColumnInfo colInfo)
Indicates whether the type of a given database column is "compatible" with this 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 |
| Field Detail |
|---|
public static final int NVARCHAR
public static final int NTEXT
public static final int UNIQUEIDENTIFIER
| Constructor Detail |
|---|
public MSSQLTypeInfo(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)
TypeInfo
isCompatibleWith in class TypeInfocolInfo - The ColumnInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||