public static class OracleDatabaseConfiguration.OracleSqlVariants extends Object implements SQLVariants
| Constructor and Description |
|---|
OracleSqlVariants(boolean useBatchUpdate)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
actionType()
Returns SQL representing the action type parameter.
|
String |
castToText()
Returns empty string as casting to text is not needed in Oracle.
|
String |
currentTimePlusSeconds(int seconds)
Returns SQL representing the current database time plus given amount of seconds.
|
boolean |
hasUpdateableCTE()
Returns false as Oracle does not support updateable CTEs.
|
boolean |
hasUpdateReturning()
Returns false as Oracle does not support update returning clause.
|
String |
limit(String query,
long limit)
Returns SQL for a query with a limit of results.
|
int |
longTextType()
Returns the SQL type for long text.
|
String |
nextActivationUpdate()
Returns SQL representing the next activation time of the workflow instance.
|
boolean |
useBatchUpdate()
Returns true for database versions 12.1 or newer.
|
String |
workflowStatus()
Returns SQL representing the workflow instance status parameter.
|
String |
workflowStatus(WorkflowInstance.WorkflowInstanceStatus status)
Returns the SQL representation for given workflow instance status.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdateLtEqDiff, forUpdateInnerSelect, getDateTime, getTimestamp, setDateTime, toTimestampObject, tuneTimestampForDbpublic OracleSqlVariants(boolean useBatchUpdate)
useBatchUpdate - True for database versions 12.1 or newer.public String currentTimePlusSeconds(int seconds)
currentTimePlusSeconds in interface SQLVariantspublic boolean hasUpdateReturning()
hasUpdateReturning in interface SQLVariantspublic boolean hasUpdateableCTE()
hasUpdateableCTE in interface SQLVariantspublic String nextActivationUpdate()
nextActivationUpdate in interface SQLVariantspublic String workflowStatus(WorkflowInstance.WorkflowInstanceStatus status)
workflowStatus in interface SQLVariantspublic String workflowStatus()
workflowStatus in interface SQLVariantspublic String actionType()
actionType in interface SQLVariantspublic String castToText()
castToText in interface SQLVariantspublic String limit(String query, long limit)
limit in interface SQLVariantspublic int longTextType()
longTextType in interface SQLVariantspublic boolean useBatchUpdate()
useBatchUpdate in interface SQLVariantsCopyright © 2014–2020 Nitor Creations. All rights reserved.