Hi,
I am not sure if you are currently investigating this issue or not because the https://liquibase.jira.com/browse/CORE-1621 issue has closed status. So I am stating here the issue I encountered while trying to execute sqlplus using executeCommand.
I tried the proposed solution in http://serverfault.com/questions/87035/run-oracle-sql-script-and-exit-from-sqlplus-exe-via-command-prompt, referenced by https://liquibase.jira.com/browse/CORE-1621.
I encountered following problems:
1. You cannot give commands like 'exit | sqlplus.exe' in the executeCommand tag.
2. I tried creating a separate (DOS) batch file to invoke command 'exit | sqlplus.exe user/pwd@conn @sqlfile.sql' and then tried invoking the batch file using the executeCommand. but it hanged like before. Strangely executing the batch file from DOS command line made sqlplus to quit after execution. It might also be interesting that passing exit through pipe to sqlplus makes sense if 'exit' is not part of the sql script as the last instruction. My script also had following command as the last instruction:
Exit
/
So I believe there is still some issue with the executeCommand tag when sqlplus runs through it.
Kamran