oracle.toplink.internal.databaseaccess
Class DBasePlatform
java.lang.Object
oracle.toplink.internal.databaseaccess.DatabasePlatform
oracle.toplink.internal.databaseaccess.DBasePlatform
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class DBasePlatform
- extends DatabasePlatform
Purpose: Provides DBase specific behaviour.
Responsibilities:
- Writing Time & Timestamp as strings since they are not supported.
- Since:
- TOPLink/Java 1.0
- See Also:
- Serialized Form
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, isHSQL, isInformix, isInformixOuterJoin, isODBC, isOracle, isPointBase, isSQLAnywhere, isSQLServer, isSybase, printFieldIdentityClause, printFieldNullClause, printValuelist, printValuelist, registerOutputParameter, requiresNamedPrimaryKeyConstraints, requiresProcedureCallBrackets, 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, shouldPrintConstraintNameAfter, shouldPrintInOutputTokenBeforeType, shouldPrintOuterJoinInWhereClause, shouldPrintOutputTokenBeforeType, shouldTrimStrings, supportsAutoCommit, supportsNativeSequenceNumbers, toString, usesBatchWriting, usesByteArrayBinding, usesJDBCBatchWriting, usesNativeSequencing, usesNativeSQL, usesSequenceTable, usesStreamsForBinding, usesStringBinding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DBasePlatform
public DBasePlatform()
getSelectForUpdateString
public java.lang.String getSelectForUpdateString()
- Description copied from class:
DatabasePlatform
- Most database support a syntax. although don't actually lock the row. Some require the OF some don't like it.
-
- Overrides:
getSelectForUpdateString
in class DatabasePlatform
isDBase
public boolean isDBase()
-
- Overrides:
isDBase
in class DatabasePlatform
maximumNumericValues
public java.util.Hashtable maximumNumericValues()
- 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:
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
printFieldNotNullClause
public void printFieldNotNullClause(java.io.Writer writer)
- Append the receiver's field 'NOT NULL' constraint clause to a writer.
-
- Overrides:
printFieldNotNullClause
in class DatabasePlatform
shouldUseJDBCOuterJoinSyntax
public boolean shouldUseJDBCOuterJoinSyntax()
- JDBC defines and outer join syntax, many drivers do not support this. So we normally avoid it.
-
- Overrides:
shouldUseJDBCOuterJoinSyntax
in class DatabasePlatform
supportsForeignKeyConstraints
public boolean supportsForeignKeyConstraints()
-
- Overrides:
supportsForeignKeyConstraints
in class DatabasePlatform
supportsPrimaryKeyConstraint
public boolean supportsPrimaryKeyConstraint()
-
- Overrides:
supportsPrimaryKeyConstraint
in class DatabasePlatform