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

INSERT ... RETURNING throws request synchronization error when using the native (embedded) driver [JDBC129] #170

Closed
firebird-automations opened this issue Sep 26, 2008 · 6 comments

Comments

@firebird-automations
Copy link

Submitted by: @asfernandes

Assigned to: Roman Rokytskyy (rrokytskyy)

Attachments:
Test.java

As I undestand, there is two problems.

First one is that in BaseGDSImpl.iscDsqlPrepare the statement type is not discovered, causing AbstractStatement.isExecuteProcedureStatement to return false later.

Second one (after make isExecuteProcedureStatement return correct value) is that output sqlvars are returned as null.

@firebird-automations
Copy link
Author

Modified by: @asfernandes

summary: INSERT ... RETURNING throws request synchorization error when using the native (embedded) driver => INSERT ... RETURNING throws request synchronization error when using the native (embedded) driver

@firebird-automations
Copy link
Author

Commented by: @asfernandes

Test case attached. It works when using the pure Java driver.

@firebird-automations
Copy link
Author

Modified by: @asfernandes

Attachment: Test.java [ 11090 ]

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

Fix Version: Jaybird 2.2 [ 10053 ]

timeestimate: 0 [ 0 ]

timeoriginalestimate: 0 [ 0 ]

@firebird-automations
Copy link
Author

Commented by: Roman Rokytskyy (rrokytskyy)

Happens only in Jaybird 2.1.x branch - HEAD contains the fix since January 2007.

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

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

1 participant