Class OracleDatabasePlatform
java.lang.Object
org.kuali.rice.core.framework.persistence.platform.ANSISqlDatabasePlatform
org.kuali.rice.core.framework.persistence.platform.OracleDatabasePlatform
- All Implemented Interfaces:
org.kuali.rice.core.framework.persistence.platform.DatabasePlatform
- Direct Known Subclasses:
Oracle9iDatabasePlatform,OraclePlatform
DatabasePlatform implementation that generates Oracle-compliant SQL
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyLimitSql(Integer limit) escapeString(String sqlString) Performs Oracle-specific escaping of String parameters.getDateFormatString(String dateFormatString) getDateSQL(String date, String time) Converts date-only values into JDBC d{...} date literals, but converts date-and-time values into timestamp strings that are then converted into date values via the strToDateFunction.getLockRouteHeaderQuerySQL(String documentId, boolean wait) protected LonggetNextValSqlJdbc(String sequenceName, Connection connection) Generate next id value for the logical sequence given the JDBC Connectionprotected LonggetNextValSqlOjb(String sequenceName, org.apache.ojb.broker.PersistenceBroker persistenceBroker) Deprecated.getSelectForUpdateSuffix(long waitMillis) protected longtoString()Methods inherited from class org.kuali.rice.core.framework.persistence.platform.ANSISqlDatabasePlatform
getCreateTableFromTableSql, getDropTableSql, getInsertDataFromTableSql, getIsNullFunction, getNextValSQL, getTruncateTableSql, getUpperCaseFunction
-
Field Details
-
WAIT_FOREVER
public static final long WAIT_FOREVER- See Also:
-
-
Constructor Details
-
OracleDatabasePlatform
public OracleDatabasePlatform()
-
-
Method Details
-
applyLimitSql
-
getStrToDateFunction
-
getCurTimeFunction
-
getDateFormatString
-
getNextValSqlJdbc
Generate next id value for the logical sequence given the JDBC Connection- Specified by:
getNextValSqlJdbcin classANSISqlDatabasePlatform- Parameters:
sequenceName- the logical sequence nameconnection- JDBC Connection to use (without closing)- Returns:
- next id in sequence or RuntimeException on error
-
getNextValSqlOjb
@Deprecated protected Long getNextValSqlOjb(String sequenceName, org.apache.ojb.broker.PersistenceBroker persistenceBroker) Deprecated.- Specified by:
getNextValSqlOjbin classANSISqlDatabasePlatform
-
getLockRouteHeaderQuerySQL
-
toString
- Overrides:
toStringin classANSISqlDatabasePlatform
-
getTimeoutSeconds
protected long getTimeoutSeconds() -
getSelectForUpdateSuffix
-
escapeString
Performs Oracle-specific escaping of String parameters.- See Also:
-
getDateSQL
Converts date-only values into JDBC d{...} date literals, but converts date-and-time values into timestamp strings that are then converted into date values via the strToDateFunction.- Specified by:
getDateSQLin interfaceorg.kuali.rice.core.framework.persistence.platform.DatabasePlatform- Overrides:
getDateSQLin classANSISqlDatabasePlatform- See Also:
-