Class SQLCommandUtil
- java.lang.Object
-
- org.jbpm.test.persistence.scripts.util.SQLCommandUtil
-
public final class SQLCommandUtil extends Object
Contains util methods for working with SQL command.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
preprocessCommandSqlServer(String command, Properties dataSourceProperties)
Preprocesses MS SQL Server and Sybase SQL command.
-
-
-
Method Detail
-
preprocessCommandSqlServer
public static String preprocessCommandSqlServer(String command, Properties dataSourceProperties)
Preprocesses MS SQL Server and Sybase SQL command. It modifies it so it can be executed without errors.- Parameters:
command
- Command that is preprocessed.dataSourceProperties
- Properties of data source that is used to execute specified command.- Returns:
- Preprocessed SQL command.
-
-