diff --git a/base/src/org/compiere/util/Trx.java b/base/src/org/compiere/util/Trx.java
index a1ce74c12f..566db8a6d6 100644
--- a/base/src/org/compiere/util/Trx.java
+++ b/base/src/org/compiere/util/Trx.java
@@ -45,6 +45,8 @@ import org.adempiere.exceptions.AdempiereException;
* - use UUID for safer transaction name generation
* @author Teo Sarca, http://www.arhipac.ro
*
FR [ 2080217 ] Implement TrxRunnable
+ * BF [ 2876927 ] Oracle JDBC driver problem
+ * https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2876927&group_id=176962
* @author Teo Sarca, teo.sarca@gmail.com
* BF [ 2849122 ] PO.AfterSave is not rollback on error - add releaseSavepoint method
* https://sourceforge.net/tracker/index.php?func=detail&aid=2849122&group_id=176962&atid=879332#
@@ -399,6 +401,15 @@ public class Trx implements VetoableChangeListener
*/
public void releaseSavepoint(Savepoint savepoint) throws SQLException
{
+ if (DB.isOracle())
+ {
+ // Note: As of Oracle Database 10g, releaseSavepoint and
+ // oracleReleaseSavepoint are not supported. If you call either
+ // of the methods, then SQLException is thrown with the message
+ // "Unsupported feature".
+ // -- 4-4 Oracle Database JDBC Developer's Guide and Reference
+ return;
+ }
if (m_connection == null)
{
getConnection();