org.jpox.store.rdbms.typeinfo
Class PostgreSQLTypeInfo

java.lang.Object
  extended byorg.jpox.store.rdbms.typeinfo.TypeInfo
      extended byorg.jpox.store.rdbms.typeinfo.PostgreSQLTypeInfo

public class PostgreSQLTypeInfo
extends TypeInfo

Represents the metadata of a PostgreSQL data type.

Version:
$Revision: 1.3 $

Field Summary
static int MAX_PRECISION
          The maximum precision we allow to be reported.
 
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
PostgreSQLTypeInfo(java.sql.ResultSet rs)
          Constructs a type information object from the current row of the given result set.
 
Methods inherited from class org.jpox.store.rdbms.typeinfo.TypeInfo
areCompatibleTypes, equals, getJDBCTypeName, hashCode, isCompatibleWith, isToValidate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_PRECISION

public static final int MAX_PRECISION
The maximum precision we allow to be reported.

See Also:
Constant Field Values
Constructor Detail

PostgreSQLTypeInfo

public PostgreSQLTypeInfo(java.sql.ResultSet rs)
Constructs a type information object from the current row of the given result set. The 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().

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


Copyright © -2007 . All Rights Reserved.