Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update or insert parameterName [DNET703] #654

Closed
firebird-automations opened this issue Sep 29, 2016 · 3 comments
Closed

Update or insert parameterName [DNET703] #654

firebird-automations opened this issue Sep 29, 2016 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: Thomas Kragh (realic)

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?

@firebird-automations
Copy link
Author

Commented by: @cincuranet

How are you adding the parameters?

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Closed [ 6 ]

resolution: Incomplete [ 4 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants