Issue Details (XML | Word | Printable)

Key: DNET-703
Type: Bug Bug
Status: Closed Closed
Resolution: Incomplete
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Thomas Kragh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

Update or insert parameterName

Created: 29/Sep/16 12:01 PM   Updated: 08/Oct/17 12:06 PM
Component/s: ADO.NET Provider
Affects Version/s: 5.1.1.0
Fix Version/s: None

Environment: Windows


 Description  « Hide
Hey
After upgrading Firebird provider from 4.7.0 to 5.1.1 I receive the following exception: "FbParameterCollection already contains FbParameter with ParameterName 'id'." when executing the following update or insert statement(the statement have been simplified).

UPDATE OR INSERT INTO TESTTABLE (id)
VALUES (@id)
matching (id)
returning id

The statement is executed with a input parameter named "@id" and a output variable named "id".

On the project i work on this pattern is used many times, is there a chance that this change can be reverted?



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jiri Cincura added a comment - 13/Jul/17 10:15 AM
How are you adding the parameters?