org.datanucleus.store.rdbms.schema
Class OracleTypeInfo

java.lang.Object
  extended by org.datanucleus.store.rdbms.schema.SQLTypeInfo
      extended by org.datanucleus.store.rdbms.schema.OracleTypeInfo
All Implemented Interfaces:
org.datanucleus.store.schema.StoreSchemaData

public class OracleTypeInfo
extends SQLTypeInfo

SQL Type info for Oracle datastores.


Field Summary
static java.lang.String TYPES_NAME_SYS_XMLTYPE
          XMLType type - _SQL_NAME
static int TYPES_SDO_GEOMETRY
          internally defined number for SDO_GEOMETRY types
static int TYPES_SYS_XMLTYPE
          XMLType type - _SQL_TYPECODE
 
Fields inherited from class org.datanucleus.store.rdbms.schema.SQLTypeInfo
allowsPrecisionSpec, autoIncrement, caseSensitive, createParams, dataType, fixedPrecScale, literalPrefix, literalSuffix, localTypeName, maximumScale, minimumScale, nullable, numPrecRadix, precision, searchable, typeName, unsignedAttribute
 
Constructor Summary
OracleTypeInfo(java.sql.ResultSet rs)
          Constructs a type information object from the current row of the given result set.
OracleTypeInfo(java.lang.String typeName, short dataType, int precision, java.lang.String literalPrefix, java.lang.String literalSuffix, java.lang.String createParams, int nullable, boolean caseSensitive, short searchable, boolean unsignedAttribute, boolean fixedPrecScale, boolean autoIncrement, java.lang.String localTypeName, short minimumScale, short maximumScale, int numPrecRadix)
           
 
Method Summary
 
Methods inherited from class org.datanucleus.store.rdbms.schema.SQLTypeInfo
addProperty, equals, getCreateParams, getDataType, getLiteralPrefix, getLiteralSuffix, getLocalTypeName, getMaximumScale, getMinimumScale, getNullable, getNumPrecRadix, getPrecision, getProperty, getSearchable, getTypeName, hashCode, isAllowsPrecisionSpec, isAutoIncrement, isCaseSensitive, isCompatibleWith, isFixedPrecScale, isUnsignedAttribute, setAllowsPrecisionSpec, setLocalTypeName, setTypeName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPES_SDO_GEOMETRY

public static final int TYPES_SDO_GEOMETRY
internally defined number for SDO_GEOMETRY types

See Also:
Constant Field Values

TYPES_SYS_XMLTYPE

public static final int TYPES_SYS_XMLTYPE
XMLType type - _SQL_TYPECODE

See Also:
Constant Field Values

TYPES_NAME_SYS_XMLTYPE

public static final java.lang.String TYPES_NAME_SYS_XMLTYPE
XMLType type - _SQL_NAME

See Also:
Constant Field Values
Constructor Detail

OracleTypeInfo

public OracleTypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set.

Parameters:
rs - The result set returned from DatabaseMetaData.getTypeInfo().

OracleTypeInfo

public OracleTypeInfo(java.lang.String typeName,
                      short dataType,
                      int precision,
                      java.lang.String literalPrefix,
                      java.lang.String literalSuffix,
                      java.lang.String createParams,
                      int nullable,
                      boolean caseSensitive,
                      short searchable,
                      boolean unsignedAttribute,
                      boolean fixedPrecScale,
                      boolean autoIncrement,
                      java.lang.String localTypeName,
                      short minimumScale,
                      short maximumScale,
                      int numPrecRadix)


Copyright © 2009. All Rights Reserved.