The problem and solution described in
Executing Oracle PL/SQL from Ant.
See also http://marc2.theaimsgroup.com/?l=ant-dev&m=104645377328865&w=2.
Currently I see the following approach:
Describe the behaviour in Javadoc/ driver doc and add a FAQ entry.
- Add delimiter regexp to a generic JDBC driver
- Create (long waited:) oracle provider and add a plsql=true|false compatibility option.