ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33452] - sql's getConnection doesn't allow for aribtrary property setting
Date Fri, 30 Sep 2005 14:26:25 GMT
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





------- Additional Comments From magnus.grimsell@idainfront.se  2005-09-30 16:26 -------
Created an attachment (id=16563)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16563&action=view)
Patch to fix the bug

I've fixed this bug by adding a nested element to specify the connection
properties. The ant script can look something like this:

<sql driver="oracle.jdbc.OracleDriver"
     url="${ora.jdbc.url}"
     userid="sys"
     password="sys"
     rdbms="oracle">
  <connectionproperties>
    <property name="internal_logon" value="SYSDBA"/>
  </connectionproperties>
  <transaction	src="create_new_user.sql"/>
</sql>

-- 
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


Mime
View raw message