Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 NPoco + Oracle + SavePoint。但是当我试图回滚保存点时,它会抛出异常。
例子:
NPoko.IDatabase db = new ... db.Execute("SAVEPOINT ABC"); db.Execute("ROLLBACK TO SAVEPOINT ABC");
例外:“ORA-01086:保存点 'ABC' 从未在此会话中建立或无效”
我需要调用“保存点”,然后调用其他一些方法,然后回滚或提交。
谢谢你。