From ed0d6b1fec099a0a8e1302c259b242e6cdf87596 Mon Sep 17 00:00:00 2001 From: "A. Abram White" Date: Fri, 22 Sep 2006 18:51:23 +0000 Subject: [PATCH] Version number fixes. git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@449048 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/conf/Compatibility.java | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/conf/Compatibility.java b/openjpa-kernel/src/main/java/org/apache/openjpa/conf/Compatibility.java index 8479b87db..7bdbf52bf 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/conf/Compatibility.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/conf/Compatibility.java @@ -46,7 +46,7 @@ public class Compatibility { /** * Whether to interpret quoted numbers in query strings as numbers. - * OpenJPA versions 3.1 and prior treated them as numbers; more recent + * OpenJPA versions 0.3.1 and prior treated them as numbers; more recent * versions treat them as strings. */ public boolean getQuotedNumbersInQueries() { @@ -55,7 +55,7 @@ public class Compatibility { /** * Whether to interpret quoted numbers in query strings as numbers. - * OpenJPA versions 3.1 and prior treated them as numbers; more recent + * OpenJPA versions 0.3.1 and prior treated them as numbers; more recent * versions treat them as strings. */ public void setQuotedNumbersInQueries(boolean quotedNumbers) { @@ -65,8 +65,8 @@ public class Compatibility { /** * Whether to return hollow instances to broker lookups with a * validate parameter of false. OpenJPA versions prior to - * 4.0 did not return hollow instances without special configuration - * (the ObjectLookupMode). Beginning with 4.0, hollow + * 0.4.0 did not return hollow instances without special configuration + * (the ObjectLookupMode). Beginning with 0.4.0, hollow * objects are the default. */ public boolean getValidateFalseReturnsHollow() { @@ -76,8 +76,8 @@ public class Compatibility { /** * Whether to return hollow instances to broker lookups with a * validate parameter of false. OpenJPA versions prior to - * 4.0 did not return hollow instances without special configuration - * (the ObjectLookupMode). Beginning with 4.0, hollow + * 0.4.0 did not return hollow instances without special configuration + * (the ObjectLookupMode). Beginning with 0.4.0, hollow * objects are the default. */ public void setValidateFalseReturnsHollow(boolean hollow) { @@ -87,7 +87,7 @@ public class Compatibility { /** * Whether to check the datastore for the existence of a nontransactional * cached object in broker lookups with a validate parameter - * of true. OpenJPA versions prior to 4.0 checked the datastore. + * of true. OpenJPA versions prior to 0.4.0 checked the datastore. */ public boolean getValidateTrueChecksStore() { return _checkStore; @@ -96,7 +96,7 @@ public class Compatibility { /** * Whether to check the datastore for the existence of a nontransactional * cached object in broker lookups with a validate parameter - * of true. OpenJPA versions prior to 4.0 checked the datastore. + * of true. OpenJPA versions prior to 0.4.0 checked the datastore. */ public void setValidateTrueChecksStore(boolean check) { _checkStore = check; @@ -104,7 +104,7 @@ public class Compatibility { /** * Whether to copy identity objects before returning them to client code. - * Versions of OpenJPA prior to 3.0 always copied identity objects. Also, + * Versions of OpenJPA prior to 0.3.0 always copied identity objects. Also, * you should configure OpenJPA to copy identity objects if you mutate them * after use. */ @@ -114,7 +114,7 @@ public class Compatibility { /** * Whether to copy identity objects before returning them to client code. - * Versions of OpenJPA prior to 3.0 always copied identity objects. Also, + * Versions of OpenJPA prior to 0.3.0 always copied identity objects. Also, * you should configure OpenJPA to copy identity objects if you mutate them * after use. */ @@ -124,7 +124,7 @@ public class Compatibility { /** * Whether to close the broker when the managed transaction commits. - * Versions of OpenJPA prior to 3.0 did not close the broker. + * Versions of OpenJPA prior to 0.3.0 did not close the broker. */ public boolean getCloseOnManagedCommit() { return _closeOnCommit; @@ -132,7 +132,7 @@ public class Compatibility { /** * Whether to close the broker when the managed transaction commits. - * Versions of OpenJPA prior to 3.0 did not close the broker. + * Versions of OpenJPA prior to 0.3.0 did not close the broker. */ public void setCloseOnManagedCommit(boolean close) { _closeOnCommit = close; @@ -140,7 +140,7 @@ public class Compatibility { /** * Whether or not to perform a version check on instances being updated - * in a datastore transaction. Version of OpenJPA prior to 4.1 always + * in a datastore transaction. Version of OpenJPA prior to 0.4.1 always * forced a version check. */ public void setNonOptimisticVersionCheck @@ -150,11 +150,10 @@ public class Compatibility { /** * Whether or not to perform a version check on instances being updated - * in a datastore transaction. Version of OpenJPA prior to 4.1 always + * in a datastore transaction. Version of OpenJPA prior to 0.4.1 always * forced a version check. */ public boolean getNonOptimisticVersionCheck() { return _nonOptimisticVersionCheck; } - }