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 stored procedure OUT values to DEBUG log output #2639

Closed
lukaseder opened this issue Jul 12, 2013 · 3 comments

Comments

@lukaseder
Copy link
Member

commented Jul 12, 2013

@lukasz-bajor

This comment has been minimized.

Copy link

commented Jul 15, 2013

Hi i'm willingto help, if you could just point some places in code to get me started

@lukaseder

This comment has been minimized.

Copy link
Member Author

commented Jul 22, 2013

@lukasz-bajor: Thanks for the offer. Pull requests are probably the best way to contribute in this case. However, there's a bit of work to do, in order to do this correctly / consistently. Fetching OUT parameters from a stored procedure should actually work in a similar way as fetching Result objects from a regular ResultQuery. This means that the ExecuteContext and ExecuteListener specs need to be adapted accordingly.

Note: This adapted listener behaviour might match the way Postgres deals with stored procedures and OUT parameters, which really produce rows, just like regular SELECT statements.

If you still want to try to tackle this problem, org.jooq.impl.AbstractRoutine is the place where you can start digging into the code. org.jooq.tools.LoggerListener is the type that does the current default logging.

@lukaseder

This comment has been minimized.

Copy link
Member Author

commented Jul 22, 2013

This might be solved automatically by implementing #2640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.