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

Add support for stored procedures in MockConnection / MockDataProvider / MockExecuteContext #2674

Closed
lukaseder opened this issue Aug 1, 2013 · 2 comments

Comments

@lukaseder
Copy link
Member

Stored procedures are already supported in general, but there is currently no way of specifying results for OUT parameters.

The solution will be to use the first Record from the first MockResult returned by the MockDataProvider to generate these OUT parameters.


This functionality is missing. It was requested here:
https://groups.google.com/forum/#!topic/jooq-user/OBNM4Wle_N8

@tomchiverton
Copy link

MockConnection already has prepareCall() ?

@lukaseder
Copy link
Member Author

@tomchiverton Yes: prepareCall() is available, but it (probably?) doesn't call back on the MockDataProvider when the CallableStatement is executed. Also, the way IN and OUT parameters are bound is not well defined - much like the way multiple cursors can be returned from such a call...

lukaseder added a commit that referenced this issue Aug 25, 2014
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