diff options
author | James Moger <james.moger@gitblit.com> | 2014-11-01 11:49:52 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-11-03 12:51:16 -0500 |
commit | 3e0597adb83904ad1093b23a7b2fa69e6386999b (patch) | |
tree | 7e685983d22133d2182d91df7d780866e2946025 /src/main/java/com/iciql/SQLDialect.java | |
parent | 8b6657a93b050718fa9642eabf0ee8ff453d0995 (diff) | |
download | iciql-3e0597adb83904ad1093b23a7b2fa69e6386999b.tar.gz iciql-3e0597adb83904ad1093b23a7b2fa69e6386999b.zip |
Allow dialects to determine if they support savepoints
Diffstat (limited to 'src/main/java/com/iciql/SQLDialect.java')
-rw-r--r-- | src/main/java/com/iciql/SQLDialect.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/SQLDialect.java b/src/main/java/com/iciql/SQLDialect.java index 7c45cc2..5d3522a 100644 --- a/src/main/java/com/iciql/SQLDialect.java +++ b/src/main/java/com/iciql/SQLDialect.java @@ -73,6 +73,13 @@ public interface SQLDialect { void configureDialect(String databaseName, DatabaseMetaData data); /** + * Returns true if savepoints are supported. + * + * @return true if savepoints may be used. + */ + boolean supportsSavePoints(); + + /** * Allows a dialect to substitute an SQL type. * * @param sqlType |