Stefan Bodewig
f97926a108
Allow more control over CSV output. PR 35627.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@676560 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
eaffd9d71b
allow SQLWarnings to stop <sql>. PR 41836.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675968 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
1a85008736
new showWarnings attribute that makes <sql> display SQLWarnings - if any. PR 41836
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675962 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e7b3093e3e
allow a more lenient matching mode when searching for delimiters in <sql>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675954 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e1f227ae3d
work on PR 26459 - in progress (fighting with the tests and my environment)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675949 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
3523966203
Allow ant to continue even if <sql> fails to connect to the database. PR 36712.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675917 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
435c6e5511
document null return value
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675913 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
d6bde1c2c9
Avoid NPE if database doesn't match expected vendor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675911 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
543148ca1d
fix resultset und update count logic in sql. PRs 32168 and 36265.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675909 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
72e471f0b4
Allow subclasses to modify the connection and statement instances used by <sql> or to access the cached instances. PR 27178. Submitted by Mike Davis
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675894 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
02b3a7d13c
sql's onerror='stop' shouldn't make the task fail. PR 24668. Based on a patch by Dante Briones.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675579 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
82372e064b
bz 44493 <sql> task cannot differentiate between "no resources specified" and "no resources found"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@631430 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
63fb4d459b
"rawblobs" attribute added to SQL task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551323 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
f8e71b5033
formatting; refactoring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551166 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
5c06c0c506
Bugzilla 41264: douple expansion in <sql>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491347 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f958e23640
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470587 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
0df2b1de3f
Minor updates based on the input of Dave Brosius
pr: 39320
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@397298 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
7eb22e8cdc
indicated when methods/classes became deprecated, as to give us the possibility to remove deprecated methods in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396012 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
23dac94433
- addresses enhancement request #27446
- added closeQuietly to reduce duplication
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@375178 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
3d1f8edd51
2006
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@368599 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
b13256ba3a
bug #38245 ; sql broken on Ant1.7; added expandProperties attribute to expand properties in SQL statements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@368466 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
9a672c0324
A bug in SQLExec would prevent the execution of trailing,
non-semicolon-delimited statements. Bugzilla Report 37764.
Submitted by Dave Brosius.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@360155 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
176d949191
Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@357509 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
36e5ac64fd
support for arbitrary resource collections in <sql>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349640 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stephane Bailliez
f358c00ade
Fix performance issue with StringBuffer.toString() on JDK 5.
PR: 37169
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@327675 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
d56d435838
merge fix for 27162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278128 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
33c0a60a75
linelength
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277928 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
42d9dddc08
Restore old method signature (BWC) and plug a ResultSet leak at the same time
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277019 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stephane Bailliez
be45954b98
Avoid calling getResultSet() multiple times when printing just in case Informix does not like it. This was per suggestion of Bohuslav Roztocil.
PR: 27162
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277018 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
2a1a857ad0
Fix for SQLExec when used with Informix.
PR: 27162
Obtained from: Bohuslav Roztocil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276140 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
48d010f545
Remove Author for SQLExec:
authors are:
* @author <a href="mailto:jeff at custommonkey dor org">Jeff Martin</a>
* @author <A href="mailto:gholam at xtra dot co dot nz">Michael McCallum</A>
* @author <A href="mailto:tim.stephenson at sybase dot com">Tim Stephenson</A>
conform to stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276139 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
443bf819ed
Make SQL task work under Oracle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275276 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d66074dfdd
next set of typo corrections by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275240 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3396e7c321
Remove direct call to deprecated project, location, tasktype Task field,
replaced by an accessor way into tasks.
Remove too some unused variable declaration and some unused imports.
PR: 22515
Submitted by: Emmanuel Feller ( Emmanuel dot Feller at free dot fr)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275133 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
740ed5fbfb
Allow Result Sets and Errors to be processed properly in SQL task with multiple statements
PR: 21594
Submitted by: Jeff Bohanek (jeff dot bohanek at msi dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274837 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f82a8c58db
Log all statements in <sql>
PR: 20309
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274640 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jesse Stockall
5ebc2dbbdc
Fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274488 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e4041a1245
Provide user control over Statement's escape processing.
PR: 18822
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274417 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
1aca5cf036
Avoid reusing StringBuffers to work around JDK 1.4.1 memory leak.
I'm sure that my changes in most cases are of the paranoid type,
ResourceUtils and FixCRLF look as if they really had a chance of
running into trouble.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274397 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
f99cce1406
Remove reference to Jakarta
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274256 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
2270580b77
option to preserve formatting in inline SQL, bug ID http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10719
The diff is bigger than it need be; someone's editor must have stripped extroneous whitespace, or tab to spaced it. There are no tabs or trailing spaces in the commit, I believe.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274251 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago