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?
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?