executeCommands

fun executeCommands(connection: Connection, commands: List<String>): Boolean

Consecutively executes the list of SQL queries supplied as a list of strings The strings must not have ";" semicolon at the end. The caller is responsible for closing the connection

Return

true if all commands were executed

Parameters

connection

a connection for preparing the statement

commands

the commands