You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/02/08 22:16:59 UTC

DO NOT REPLY [Bug 33452] New: - sql's getConnection doesn't allow for aribtrary property setting

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: dev@ant.apache.org
        ReportedBy: eric.m.kascic@saic.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org