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

Support for autocommit option #155

Open
vladg0 opened this issue Sep 18, 2018 · 1 comment
Open

Support for autocommit option #155

vladg0 opened this issue Sep 18, 2018 · 1 comment

Comments

@vladg0
Copy link

vladg0 commented Sep 18, 2018

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

@jediwhale
Copy link
Owner

fitSharp includes an older version of dbfit, implemented in .NET. The Java version (http://dbfit.github.io/dbfit/) has had several enhancements that aren't in the .NET version. I don't have the time or expertise at this point to add these enhancements to the .NET version so I have to rely on contributions from others for dbfit.

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

2 participants