|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-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.SQLServerPlatform
Purpose: Provides SQL Server specific behaviour.
Responsibilities:
| Constructor Summary | |
SQLServerPlatform() | |
| Method Summary | |
java.lang.String |
getBatchDelimiterString()Used for batch writing and sp defs. |
java.lang.String |
getCreationInOutputProcedureToken() |
java.lang.String |
getCreationOutputProcedureToken() |
java.lang.String |
getInOutputProcedureToken() |
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 |
getOutputProcedureToken() |
java.lang.String |
getProcedureArgumentString()Used for sp defs. |
java.lang.String |
getProcedureCallHeader()Used for sp calls. |
java.lang.String |
getStoredProcedureParameterPrefix() |
ValueReadQuery |
getTimestampQuery()PUBLIC: This method returns the query to select the timestamp from the server for SQLServer. |
boolean |
isSQLServer() |
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 'identity' constraint clause to a writer. |
void |
printFieldNullClause(java.io.Writer writer)Append the receiver's field 'NULL' constraint clause to a writer. |
boolean |
requiresProcedureCallBrackets()USed for sp calls. |
boolean |
requiresProcedureCallOuputToken()Used for sp calls. |
boolean |
shouldPrintInOutputTokenBeforeType() |
boolean |
shouldPrintOuterJoinInWhereClause()Some database require outer joins to be given in the where clause, others require it in the from clause. |
boolean |
shouldPrintOutputTokenBeforeType() |
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SQLServerPlatform()
| Method Detail |
public java.lang.String getBatchDelimiterString()
getBatchDelimiterString in class DatabasePlatformpublic java.lang.String getCreationInOutputProcedureToken()
getCreationInOutputProcedureToken in class DatabasePlatformpublic java.lang.String getCreationOutputProcedureToken()
getCreationOutputProcedureToken in class DatabasePlatformpublic java.lang.String getInOutputProcedureToken()
getInOutputProcedureToken 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 getOutputProcedureToken()
getOutputProcedureToken in class DatabasePlatformpublic java.lang.String getProcedureArgumentString()
getProcedureArgumentString in class DatabasePlatformpublic java.lang.String getProcedureCallHeader()
getProcedureCallHeader in class DatabasePlatformpublic java.lang.String getStoredProcedureParameterPrefix()
getStoredProcedureParameterPrefix in class DatabasePlatformpublic ValueReadQuery getTimestampQuery()
getTimestampQuery in class DatabasePlatformpublic boolean isSQLServer()
isSQLServer in class DatabasePlatformpublic java.util.Hashtable maximumNumericValues()
NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale
maximumNumericValues in class DatabasePlatformpublic java.util.Hashtable minimumNumericValues()
NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale
minimumNumericValues in class DatabasePlatform
public void printFieldIdentityClause(java.io.Writer writer)
throws ValidationException
printFieldIdentityClause in class DatabasePlatformValidationException
public void printFieldNullClause(java.io.Writer writer)
throws ValidationException
printFieldNullClause in class DatabasePlatformValidationExceptionpublic boolean requiresProcedureCallBrackets()
requiresProcedureCallBrackets in class DatabasePlatformpublic boolean requiresProcedureCallOuputToken()
requiresProcedureCallOuputToken in class DatabasePlatformpublic boolean shouldPrintInOutputTokenBeforeType()
shouldPrintInOutputTokenBeforeType in class DatabasePlatformpublic boolean shouldPrintOuterJoinInWhereClause()
shouldPrintOuterJoinInWhereClause in class DatabasePlatformpublic boolean shouldPrintOutputTokenBeforeType()
shouldPrintOutputTokenBeforeType in class DatabasePlatformpublic boolean shouldUseJDBCOuterJoinSyntax()
shouldUseJDBCOuterJoinSyntax in class DatabasePlatformpublic boolean supportsNativeSequenceNumbers()
supportsNativeSequenceNumbers in class DatabasePlatform
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||