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

Changed CallableStatement to allow you to not provide a named paramet… #2616

Closed

Conversation

jocstar
Copy link

@jocstar jocstar commented Feb 26, 2025

…er for parameters with a default value (#553)

@jocstar
Copy link
Author

jocstar commented Feb 26, 2025

@microsoft-github-policy-service agree

@jocstar
Copy link
Author

jocstar commented Mar 3, 2025

I have found a problem with my work where I hadn't accounted for the possibility that the user had already named the parameters in the SQL which leads to problems if they aren;t in the same order e.g.
CALL TESTPROC(@name=?, @id=?)
stmt.setInt("@id", 123); stmt.registerOutParameter("@name")

@jocstar jocstar closed this Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

1 participant