Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
specify a JDBC driver - make it fail faster.
<sql> didn't reset its state (7552)
<sql> wouldn't close input files if an error occured.
I've left two XXX comments in the source for people who may know
better than me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272401 13f79535-47bb-0310-9956-ffa450edef68
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
name while doing pair driver/classpath would be better.
I tested it with mssql and it is OK with 1000 calls.
Alternatively it speeds up things significantly. (about 10 times faster for me)
PR: 2971
Submitted by: stephen.wong@everypath.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270294 13f79535-47bb-0310-9956-ffa450edef68
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
indicate that there are no more result sets but I think it should have been using
the result of getMoreResults(). I have made the appropriate change. I have also
made changes to handle NULL results
Reported by: Johan Adel�w <johan.adelow@corustechnologies.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268137 13f79535-47bb-0310-9956-ffa450edef68
- Add new nested element <transaction> to <sql> which allows executing
multiple transactions, multiple files on the same connection.
- Added documentation on sql.html
- Modified AntClassLoader.java to send most of the "loading class..."
messages to MSG_DEBUG instead of MSG_VERBOSE. So that it does not
cluter debugging other tasks.
- Add new attributes 'rdbms="product"' and 'version="release"'
if those versions do not match what is returned by the connection, the
task will be skipped.
Submitted by: Jose Alberto Fernandez <JFernandez@viquity.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268049 13f79535-47bb-0310-9956-ffa450edef68
execute, failed to remove ; from statement with trailing white space,
made class easier to extend for specialized tasks like <plsql>.
Submitted by: John H. Lee <jlee@c.kiracom.com>,
Curt Hagenlocher <curt@hagenlocher.org>,
Jose Alberto Fernandez <JFernandez@viquity.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267840 13f79535-47bb-0310-9956-ffa450edef68