Connector/NET 5.0.2-beta and Mono
Posted by: John Vanderburg
Date: November 12, 2006 12:47PM

In case anyone has run into problems getting 5.0.2 to work w/ Mono, I had to do two things:
1. Specify Connection Timeout in the connection string. Was defaulting to 0.
2. Change line 126 in Statement.cs from:
int index = parameters.IndexOf(parmName)

to

int index = parameters.IndexOf(parmName[0]==connection.ParameterMarker?parmName.Substring(1):parmName);

Other than that, it seems to work fine. Curious if anyone else has had issues and if there was a better way to do this.

Thanks

Options: ReplyQuote


Subject
Written By
Posted
Connector/NET 5.0.2-beta and Mono
November 12, 2006 12:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.