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

ResultQuery.stream() should eagerly fetch the Result #6364

Closed
lukaseder opened this issue Jun 28, 2017 · 1 comment
Closed

ResultQuery.stream() should eagerly fetch the Result #6364

lukaseder opened this issue Jun 28, 2017 · 1 comment

Comments

@lukaseder
Copy link
Member

It's too easy to forget to close a ResultQuery.stream() because that's not expected, given the rest of the jOOQ API. It's already possible to get a hold of a resourceful stream through Cursor.stream(), i.e. through ResultQuery.fetchLazy().stream().

This change would add consistency to the jOOQ API:

This is an incompatible change, which must be accompanied by a Setting. Alternatively, we can also postpone the change of the default behaviour of the Setting to 4.0...

@lukaseder
Copy link
Member Author

Let's leave things as they are.

3.15 Other improvements automation moved this from To do to Done Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant