Page 1 of 1

Bug with parsing connection strings with double semicolon

Posted: Wed 14 Mar 2012 06:34
by mnaoumov
Hi

I found that Oracle ConnectionString parser fails if it contains double semicolon.
Microsoft providers don't fail in this situation.

var con = new OracleConnection("Data Source=orcl;;User Id=ENV01;Password=qwerty");
con.Open();

Unhandled Exception: System.InvalidOperationException: Unknown connection string
parameter ;User Id.
at Devart.Common.j.a(Hashtable A_0)
at Devart.Data.Oracle.ac..ctor(String A_0)
at Devart.Data.Oracle.bx.a(String A_0, j A_1)
at Devart.Common.DbConnectionFactory.a(String A_0, j& A_1)
at Devart.Common.DbConnectionBase.set_ConnectionString(String value)
at ConsoleApplication3.Program.Main(String[] args) in

I hope the fix will be included into next release.

EDIT: Forgot to mention used version: 6.70.302.0

Posted: Fri 16 Mar 2012 12:31
by Pinturiccio
We have reproduced the issue. We will investigate it and notify you about the results as soon as possible.

Posted: Tue 27 Mar 2012 11:02
by Pinturiccio
We have impoved the handling of empty options in the connection string. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Posted: Thu 29 Mar 2012 14:17
by Pinturiccio
The new build of dotConnect for Oracle 6.80.332 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=23775