com.triactive.jdo.store.adapter
Class PointBaseAdapter

java.lang.Object
  extended bycom.triactive.jdo.store.adapter.DatabaseAdapter
      extended bycom.triactive.jdo.store.adapter.PointBaseAdapter

public class PointBaseAdapter
extends DatabaseAdapter

Provides methods for adapting SQL language elements to the PointBase database.

Currently this adapter is just an untested placeholder.

Author:
Mike Martin

Field Summary
 
Fields inherited from class com.triactive.jdo.store.adapter.DatabaseAdapter
dbid, identifierQuoteString, keywords, maxCatalogNameLength, maxColumnNameLength, maxConstraintNameLength, maxCorrelationNameLength, maxIndexNameLength, maxSchemaNameLength, maxTableNameLength, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, supportsCorrelatedSubqueries, supportsGroupByUnrelated, supportsOrderByUnrelated, supportsSubqueriesInExists, supportsSubqueriesInIns, typeMappings, types
 
Constructor Summary
PointBaseAdapter()
           
 
Method Summary
 int getUnlimitedLengthPrecisionValue(TypeInfo typeInfo)
          Returns the precision value to be used when creating string columns of "unlimited" length.
 
Methods inherited from class com.triactive.jdo.store.adapter.DatabaseAdapter
adaptTo, avgFunction, bitTypeIsReallyBoolean, cast, countFunction, createIndexesBeforeForeignKeys, createTypeInfo, getAddCandidateKeyStatement, getAddForeignKeyStatement, getAddPrimaryKeyStatement, getBestIdentifyingPatterns, getCreateIndexStatement, getCreateTableStatement, getCurrentTimestamp, getDropForeignKeyStatement, getDropTableStatement, getDropViewStatement, getIdentifierQuoteString, getInstance, getMaxCatalogNameLength, getMaxColumnNameLength, getMaxConstraintNameLength, getMaxCorrelationNameLength, getMaxIndexNameLength, getMaxPreparedStatementParameters, getMaxSchemaNameLength, getMaxTableNameLength, getQueryCurrentSchemaNameStatement, getQueryCurrentTimestampStatement, getSchemaName, getSqlState, getTypeInfo, getTypeInfo, getVendorID, isBestAdapterFor, isEmbeddedType, isSqlKeyword, lengthMethod, mappingClassFor, mappingClassFor, maxFunction, minFunction, newColumnInfo, newColumnMapping, newDataStoreException, newForeignKeyInfo, newIndexInfo, newMapping, newMapping, newPrimaryKeyInfo, newQueryStatement, newQueryStatement, newQueryStatement, newTableExpression, newTableInfo, newTypeInfo, parseKeywordList, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, substringMethod, substringMethod, sumFunction, supportsBooleanComparison, supportsCorrelatedSubqueries, supportsDeferredConstraints, supportsGroupByUnrelated, supportsNullsInCandidateKeys, supportsOrderByUnrelated, supportsSubqueriesInExists, supportsSubqueriesInIns, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointBaseAdapter

public PointBaseAdapter()
Method Detail

getUnlimitedLengthPrecisionValue

public int getUnlimitedLengthPrecisionValue(TypeInfo typeInfo)
Description copied from class: DatabaseAdapter
Returns the precision value to be used when creating string columns of "unlimited" length. Usually, if this value is needed it is provided in the database metadata (TypeInfo.precision). However, for some types in some databases the value must be computed specially.

Overrides:
getUnlimitedLengthPrecisionValue in class DatabaseAdapter
Parameters:
typeInfo - the typeInfo object for which the precision value is needed.
Returns:
the precision value to be used when creating the column, or -1 if no value should be used.


Copyright © 2001-2007 The TJDO Project All Rights Reserved.