Interface IDatabaseRuntime
public interface IDatabaseRuntime
Class IDatabaseRuntime
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getFieldName
(String fieldName) Returns field name for this runtimeReturns sql function which returns last inserted identify, or nullReturns type of this runtime.Returns SQL timestamp function for this runtimeReturns UTC SQL timestamp function for this runtimegetStoredProcedure
(String procName) Returns stored procedure registered with runtime by its namegetStoredProcedure
(String packageName, String procName) Returns stored procedure registered with runtime by its package name and nameReturns schema name for system functions, if anyvoid
init()
Initializes this database runtimevoid
registerStoredProcedure
(IStoredProcedure procedure) Registers stored procedure with this database runtime
-
Method Details
-
init
void init()Initializes this database runtime -
getStoredProcedure
Returns stored procedure registered with runtime by its name- Returns:
- instance of stored procedure or null if not found
-
getStoredProcedure
Returns stored procedure registered with runtime by its package name and name- Returns:
- instance of stored procedure or null if not found
-
registerStoredProcedure
Registers stored procedure with this database runtime -
getRuntimeType
String getRuntimeType()Returns type of this runtime. -
getSqlTimestampFunction
String getSqlTimestampFunction()Returns SQL timestamp function for this runtime -
getSqlUtcTimestampFunction
String getSqlUtcTimestampFunction()Returns UTC SQL timestamp function for this runtime -
getIdentityFunction
String getIdentityFunction()Returns sql function which returns last inserted identify, or null -
getSystemSchema
String getSystemSchema()Returns schema name for system functions, if any -
getFieldName
Returns field name for this runtime
-