|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.internal.databaseaccess.DatabasePlatform
oracle.toplink.internal.databaseaccess.OraclePlatform
Purpose: Provides Oracle specific behaviour.
Responsibilities:
Field Summary |
Fields inherited from class oracle.toplink.internal.databaseaccess.DatabasePlatform |
DEFAULT_MAX_BATCH_WRITING_SIZE, DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE |
Constructor Summary | |
OraclePlatform() |
Method Summary | |
boolean |
allowsSizeInProcedureArguments() Used for sp defs. |
java.lang.String |
getBatchBeginString() Used for batch writing and sp defs. |
java.lang.String |
getBatchEndString() Used for batch writing and sp defs. |
java.util.Vector |
getNativeTableInfo(java.lang.String table, java.lang.String creator, oracle.toplink.publicinterface.Session session) Return the catalog information through using the native SQL catalog selects. |
java.lang.String |
getProcedureArgumentSetter() Used for sp calls. |
java.lang.String |
getProcedureCallHeader() Used for sp calls. |
java.lang.String |
getProcedureCallTail() Used for sp calls. |
java.lang.String |
getSelectForUpdateString() Most database support a syntax. although don't actually lock the row. |
java.lang.String |
getStoredProcedureParameterPrefix() |
java.lang.String |
getStoredProcedureTerminationToken() |
ValueReadQuery |
getTimestampQuery() PUBLIC: This method returns the query to select the timestamp from the server for Oracle. |
boolean |
isOracle() |
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 |
printFieldNullClause(java.io.Writer writer) Append the receiver's field 'NULL' constraint clause to a writer. |
java.lang.String |
serverTimestampString() Return the current date and time from the server. |
boolean |
shouldPrintOuterJoinInWhereClause() Some database require outer joins to be given in the where clause, others require it in the from clause. |
boolean |
shouldUseJDBCOuterJoinSyntax() JDBC defines and outer join syntax, many drivers do not support this. |
boolean |
supportsNativeSequenceNumbers() Return true if the receiver uses host sequence numbers, generated on the database. |
boolean |
supportsSelectForUpdateNoWait() Returns true if the database supports SQL syntax not to wait on a SELECT..FOR UPADTE (i.e. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OraclePlatform()
Method Detail |
public boolean allowsSizeInProcedureArguments()
allowsSizeInProcedureArguments
in class DatabasePlatform
public java.lang.String getBatchBeginString()
getBatchBeginString
in class DatabasePlatform
public java.lang.String getBatchEndString()
getBatchEndString
in class DatabasePlatform
public java.util.Vector getNativeTableInfo(java.lang.String table, java.lang.String creator, oracle.toplink.publicinterface.Session session)
public java.lang.String getProcedureArgumentSetter()
getProcedureArgumentSetter
in class DatabasePlatform
public java.lang.String getProcedureCallHeader()
getProcedureCallHeader
in class DatabasePlatform
public java.lang.String getProcedureCallTail()
getProcedureCallTail
in class DatabasePlatform
public java.lang.String getSelectForUpdateString()
DatabasePlatform
getSelectForUpdateString
in class DatabasePlatform
public java.lang.String getStoredProcedureParameterPrefix()
getStoredProcedureParameterPrefix
in class DatabasePlatform
public java.lang.String getStoredProcedureTerminationToken()
getStoredProcedureTerminationToken
in class DatabasePlatform
public ValueReadQuery getTimestampQuery()
getTimestampQuery
in class DatabasePlatform
public boolean isOracle()
isOracle
in class DatabasePlatform
public java.util.Hashtable maximumNumericValues()
NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale
maximumNumericValues
in class DatabasePlatform
public java.util.Hashtable minimumNumericValues()
NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale
minimumNumericValues
in class DatabasePlatform
public void printFieldNullClause(java.io.Writer writer) throws ValidationException
printFieldNullClause
in class DatabasePlatform
ValidationException
public java.lang.String serverTimestampString()
public boolean shouldPrintOuterJoinInWhereClause()
shouldPrintOuterJoinInWhereClause
in class DatabasePlatform
public boolean shouldUseJDBCOuterJoinSyntax()
shouldUseJDBCOuterJoinSyntax
in class DatabasePlatform
public boolean supportsNativeSequenceNumbers()
supportsNativeSequenceNumbers
in class DatabasePlatform
public boolean supportsSelectForUpdateNoWait()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |