From 3e0597adb83904ad1093b23a7b2fa69e6386999b Mon Sep 17 00:00:00 2001 From: James Moger Date: Sat, 1 Nov 2014 11:49:52 -0400 Subject: Allow dialects to determine if they support savepoints --- src/main/java/com/iciql/Db.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/iciql/Db.java') diff --git a/src/main/java/com/iciql/Db.java b/src/main/java/com/iciql/Db.java index ebcd352..4c99037 100644 --- a/src/main/java/com/iciql/Db.java +++ b/src/main/java/com/iciql/Db.java @@ -572,7 +572,7 @@ public class Db implements AutoCloseable { Savepoint prepareSavepoint() { // don't change auto-commit mode. // don't create save point. - if (!autoSavePoint) { + if (!autoSavePoint || !dialect.supportsSavePoints()) { return null; } // create a savepoint -- cgit v1.2.3