DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33452>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33452

           Summary: sql's getConnection doesn't allow for aribtrary property
                    setting
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Looking at JDBCTask.getConnection, username/password are the only properties 
considered when creating the connection.  To automate login to oracle AS 
SYSDBA, the "internal_logon" property has to be set.  Further complicating 
matters is that getConnection can't (seemingly) be easily overridden because 
it relies on quite a bit of private book-keeping. 

Although my interest is specifically in the Oracle "internal_logon" property, 
there are presumably other drivers with other properties that might be useful 
to set.  I'd suggest a sub-element to <sql>: <jdbc-property-list> that 
contains <jdbc-property> tags similar to a path structure, and these 
properties are passed to the created connection in getConnection.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to