I am using the following specification for JDBC compilations using Ant.
<sql driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@10.184.133.133:1521:SUPP"
userid="${UsernameB}"
password="${PasswordB}"
onerror="continue"
delimitertype="row"
delimiter="/"
keepformat="yes">
The delimiter here is slash (/). If there are spaces after the slash the compilation is not happening properly. Is there any way I can avoid this situation?
I assume you mean that if you have a space after the slashes separating the SQL statements it won’t compile?
I suggest you add
which force recognition of the delimiter to be case-insensitive (which is irrelevant here) and to ignore surrounding whitespace.