DBI::dbWithTransaction fails when working with ROracle drivers due to DBI::dbBegin dependency
mmccarthy404 opened this issue · 2 comments
mmccarthy404 commented
dbWithTransaction makes use of dbBegin in it's source code, however, ROracle doesn't handle the dbBegin method, which makes it impossible to run DBI::dbWithTransaction on Oracle databases.
krlmlr commented
Thanks. I think we need to implement either dbBegin()
or dbWithTransaction()
for the corresponding class. Ideally this is done in the ROracle package, you can also work around in user code:
setMethod("dbWithTransaction", signature("OracleConnection"), function(conn, code) {
message("dbWithTransaction() not implemented for Oracle connections.")
code
})
github-actions commented
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.