From b3c7e8290c61cfc3ca72a4947f0ea28d5dd174ec Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Thu, 12 Jun 2008 00:02:34 +0000 Subject: [PATCH] Merge from ../branches/1.1.x. svn merge -c 661090 ../branches/1.1.x git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666923 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/jdbc/meta/strats/AbstractVersionStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/AbstractVersionStrategy.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/AbstractVersionStrategy.java index 58bf9ad75..b52cddc33 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/AbstractVersionStrategy.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/strats/AbstractVersionStrategy.java @@ -63,7 +63,7 @@ public abstract class AbstractVersionStrategy public boolean checkVersion(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) throws SQLException { - return false; + return !updateVersion; } public int compareVersion(Object v1, Object v2) {