diff --git a/src/main/org/apache/tools/ant/taskdefs/SQLExec.java b/src/main/org/apache/tools/ant/taskdefs/SQLExec.java index 87f4893c6..03a50fec7 100644 --- a/src/main/org/apache/tools/ant/taskdefs/SQLExec.java +++ b/src/main/org/apache/tools/ant/taskdefs/SQLExec.java @@ -706,6 +706,9 @@ public class SQLExec extends JDBCTask { * the base class would, should override this method but keep in * mind that this class expects to get the same connection * instance on consecutive calls.
+ * + *returns null if the connection does not connect to the + * expected RDBMS.
*/ protected Connection getConnection() { if (conn == null) {