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

Close a ref_cursor #57

Open
ZwapKillrath opened this issue Oct 27, 2022 · 0 comments
Open

Close a ref_cursor #57

ZwapKillrath opened this issue Oct 27, 2022 · 0 comments

Comments

@ZwapKillrath
Copy link

I am trying out Dapper.Oracle in a large project and currently experimenting with sys ref cursor as return type from an Oracle function. Our dba says that the cursors are not closed and keeps hanging after each call to .QueryAsync(...).
Eventually Oracle will be hogged with orphaned cursors until the connection is closed. I am using .Net 6, DI container (IServiceColletion) etc.

Do you know a way to make Dapper.Oracle or Dapper to close the cursor once the call has been made and the result returned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant