Skip to content

Close a ref_cursor #57

Description

@ZwapKillrath

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions