Class SQLCommandUtil


  • public final class SQLCommandUtil
    extends Object
    Contains util methods for working with 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.