Package org.camunda.bpm.engine.impl.util
Class DatabaseUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.DatabaseUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanstatic booleancheckDatabaseType(String... databaseTypes) Checks if the currently used database is of a given database type.static booleancheckDatabaseType(ProcessEngineConfigurationImpl configuration, String... databaseTypes) Checks if the currently used database is of a given database type.
- 
Constructor Details- 
DatabaseUtilpublic DatabaseUtil()
 
- 
- 
Method Details- 
checkDatabaseTypeChecks if the currently used database is of a given database type.- Parameters:
- databaseTypes- to check for
- Returns:
- true if any of the provided types match the used one. Otherwise false.
 
- 
checkDatabaseTypepublic static boolean checkDatabaseType(ProcessEngineConfigurationImpl configuration, String... databaseTypes) Checks if the currently used database is of a given database type.- Parameters:
- configuration- for the Process Engine, when a Context is not available
- databaseTypes- to check for
- Returns:
- true if any of the provided types match the used one. Otherwise false.
 
- 
checkDatabaseRollsBackTransactionOnErrorpublic static boolean checkDatabaseRollsBackTransactionOnError()- Returns:
- true if the currently used database is known to roll back transactions on SQL errors.
 
 
-