K2InformaticsGmbH / oranif

Oracle OCI driver using dirty NIF
Apache License 2.0
4 stars 2 forks source link

Support for 'DPI_MODE_EXEC_COMMIT_ON_SUCCESS' #127

Closed acautin closed 5 years ago

acautin commented 5 years ago

It would be helpful to be able to provide this mode when using dpiStmt_execute or dpiStmt_executeMany

Ref:

https://oracle.github.io/odpi/doc/enums/dpiExecMode.html#dpiexecmode

c-bik commented 5 years ago

@acautin Looks like the support is already in! https://github.com/K2InformaticsGmbH/oranif/blob/a9ce0a1d070442d603f142ae5d4cfea920c1996b/c_src/dpiStmt_nif.h#L54-L61 Please give it a try and confirm.

acautin commented 5 years ago

Verified DPI_MODE_EXEC_COMMIT_ON_SUCCESS works as expected, thanks!