diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java index b5ba00991..289bbe6b5 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLExceptions.java @@ -127,7 +127,6 @@ public class SQLExceptions { OpenJPAConfiguration config, SQLException se, DBDictionary dict, int level) { OpenJPAException storeEx = SQLExceptions.getStore(se, dict); - String lm = config.getLockManager(); if (storeEx.getSubtype() == StoreException.LOCK) { LockException lockEx = (LockException) storeEx; lockEx.setLockLevel(level);