Skip to content

Support for autocommit option #155

@vladg0

Description

@vladg0

I am running dbfit 3.2.0 with fitSharp 2.7.0 against SAP ASE 15.7

I am getting an error while trying to use !|set option|autocommit|true|

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ApplicationException: Unsupported optionautocommit
at dbfit.util.Options.SetOption(CellProcessor processor, String name, String value)
at dbfit.DatabaseTest.SetOption(String option, String value)

This indeed appears to be an unsupported option based on the latest code:
https://github.com/jediwhale/fitsharp/blob/master/source/dbfit/util/Options.cs

Without this feature, I am unable to test any stored procedures that utilize temporary tables and other ddl operations that don't support nested transactions.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions