Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.internal.databaseaccess
Class InformixPlatform

java.lang.Object
  extended byoracle.toplink.internal.databaseaccess.DatabasePlatform
      extended byoracle.toplink.internal.databaseaccess.InformixPlatform

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class InformixPlatform
extends DatabasePlatform

Purpose: Provides Informix specific behaviour.

Responsibilities:

Since:
TOPLink/Java 1.0.1
See Also:
Serialized Form

Field Summary

Fields inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform
DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE

Constructor Summary
InformixPlatform()

Method Summary
java.lang.String getSelectForUpdateString()
Informix seems to like this syntax instead of the OF * syntax.
boolean isInformix()
boolean isInformixOuterJoin()
Some database require outer joins to be given in the where clause, others require it in the from clause.
java.util.Hashtable maximumNumericValues()
Builds a table of maximum numeric values keyed on java class.
java.util.Hashtable minimumNumericValues()
Builds a table of minimum numeric values keyed on java class.
void printFieldIdentityClause(java.io.Writer writer)
Append the receiver's field serial constraint clause to a writer.
boolean requiresProcedureCallBrackets()
USed for sp calls.
boolean shouldPrintConstraintNameAfter()
Some Platforms want the constraint name after the constraint definition.
boolean shouldPrintOuterJoinInWhereClause()
Some database require outer joins to be given in the where clause, others require it in the from clause.
boolean supportsNativeSequenceNumbers()
Return true if the receiver uses host sequence numbers, generated on the database.

Methods inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform
allowsSizeInProcedureArguments, appendParameter, autoCommit, beginTransaction, buildProcedureCallString, clone, commitTransaction, convertObject, copyInto, executeStoredProcedureCall, getBatchBeginString, getBatchDelimiterString, getBatchEndString, getClassTypes, getConversionManager, getCreationInOutputProcedureToken, getCreationOutputProcedureToken, getCursorCode, getFieldTypeDefinition, getFieldTypes, getInOutputProcedureToken, getJDBCType, getJDBCType, getMaxBatchWritingSize, getOperator, getOutputProcedureToken, getPlatformOperators, getProcedureArgumentSetter, getProcedureArgumentString, getProcedureCallHeader, getProcedureCallTail, getQualifiedSequenceTableName, getSelectForUpdateNoWaitString, getSelectSequenceQuery, getSequenceCounterFieldName, getSequenceNameFieldName, getSequencePreallocationSize, getSequenceTableName, getStatementCacheSize, getStoredProcedureParameterPrefix, getStoredProcedureTerminationToken, getStringBindingSize, getTableQualifier, getTimestampFromServer, getTimestampQuery, getTransactionIsolation, getUpdateSequenceQuery, initializePreallocatedSequences, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isHSQL, isODBC, isOracle, isPointBase, isSQLAnywhere, isSQLServer, isSybase, printFieldNotNullClause, printFieldNullClause, printValuelist, printValuelist, registerOutputParameter, requiresNamedPrimaryKeyConstraints, requiresProcedureCallOuputToken, rollbackTransaction, setConversionManager, setCursorCode, setMaxBatchWritingSize, setSelectSequenceNumberQuery, setSequenceCounterFieldName, setSequenceNameFieldName, setSequencePreallocationSize, setSequenceTableName, setShouldBindAllParameters, setShouldCacheAllStatements, setShouldForceFieldNamesToUpperCase, setShouldIgnoreCaseOnFieldComparisons, setShouldOptimizeDataConversion, setShouldTrimStrings, setStatementCacheSize, setStringBindingSize, setSupportsAutoCommit, setTableQualifier, setTimestampQuery, setTransactionIsolation, setUpdateSequenceQuery, setUsesBatchWriting, setUsesByteArrayBinding, setUsesJDBCBatchWriting, setUsesNativeSQL, setUsesStreamsForBinding, setUsesStringBinding, shouldBindAllParameters, shouldCacheAllStatements, shouldForceFieldNamesToUpperCase, shouldIgnoreCaseOnFieldComparisons, shouldIgnoreException, shouldOptimizeDataConversion, shouldPrintInOutputTokenBeforeType, shouldPrintOutputTokenBeforeType, shouldTrimStrings, shouldUseJDBCOuterJoinSyntax, supportsAutoCommit, supportsForeignKeyConstraints, supportsPrimaryKeyConstraint, toString, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeSequencing, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

InformixPlatform

public InformixPlatform()

Method Detail

getSelectForUpdateString

public java.lang.String getSelectForUpdateString()
Informix seems to like this syntax instead of the OF * syntax.
Overrides:
getSelectForUpdateString in class DatabasePlatform

isInformix

public boolean isInformix()
Overrides:
isInformix in class DatabasePlatform

isInformixOuterJoin

public boolean isInformixOuterJoin()
Some database require outer joins to be given in the where clause, others require it in the from clause. Informix requires it in the from clause with no ON expression.
Overrides:
isInformixOuterJoin in class DatabasePlatform

maximumNumericValues

public java.util.Hashtable maximumNumericValues()
Builds a table of maximum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values.

NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale

Overrides:
maximumNumericValues in class DatabasePlatform

minimumNumericValues

public java.util.Hashtable minimumNumericValues()
Builds a table of minimum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values.

NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale

Overrides:
minimumNumericValues in class DatabasePlatform

printFieldIdentityClause

public void printFieldIdentityClause(java.io.Writer writer)
                              throws ValidationException
Append the receiver's field serial constraint clause to a writer.
Overrides:
printFieldIdentityClause in class DatabasePlatform
Throws:
ValidationException

requiresProcedureCallBrackets

public boolean requiresProcedureCallBrackets()
USed for sp calls.
Overrides:
requiresProcedureCallBrackets in class DatabasePlatform

shouldPrintConstraintNameAfter

public boolean shouldPrintConstraintNameAfter()
Some Platforms want the constraint name after the constraint definition.
Overrides:
shouldPrintConstraintNameAfter in class DatabasePlatform

shouldPrintOuterJoinInWhereClause

public boolean shouldPrintOuterJoinInWhereClause()
Some database require outer joins to be given in the where clause, others require it in the from clause.
Overrides:
shouldPrintOuterJoinInWhereClause in class DatabasePlatform

supportsNativeSequenceNumbers

public boolean supportsNativeSequenceNumbers()
Return true if the receiver uses host sequence numbers, generated on the database. Informix does this through SERIAL field types.
Overrides:
supportsNativeSequenceNumbers in class DatabasePlatform

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.