aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2020-05-03 01:39:35 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2020-05-03 01:39:35 +0000
commit42c8f108f9e45d7f3e97b67f7c4fe2b8fa5453f1 (patch)
treea81db7fb30269430722f4a8ee69c350c22b5b31a /src/main/java/com
parentca66e82dae9a9c20aa5026a69ea3cf105a882507 (diff)
downloadjackcess-42c8f108f9e45d7f3e97b67f7c4fe2b8fa5453f1.tar.gz
jackcess-42c8f108f9e45d7f3e97b67f7c4fe2b8fa5453f1.zip
enable expression evaluation by default
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1324 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/Database.java10
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/Database.java b/src/main/java/com/healthmarketscience/jackcess/Database.java
index 7a27f69..7e9dd85 100644
--- a/src/main/java/com/healthmarketscience/jackcess/Database.java
+++ b/src/main/java/com/healthmarketscience/jackcess/Database.java
@@ -129,8 +129,8 @@ public interface Database extends Iterable<Table>, Closeable, Flushable
public static final String ALLOW_AUTONUM_INSERT_PROPERTY =
"com.healthmarketscience.jackcess.allowAutoNumberInsert";
- /** system property which can be used to enable expression evaluation
- * (currently experimental). Defaults to {@code false}.
+ /** system property which can be used to disable expression evaluation
+ * if necessary. Defaults to {@code true}.
* @usage _general_field_
*/
public static final String ENABLE_EXPRESSION_EVALUATION_PROPERTY =
@@ -514,14 +514,14 @@ public interface Database extends Iterable<Table>, Closeable, Flushable
/**
* Gets the current expression evaluation policy. Expression evaluation is
- * currently an experimental feature, and is therefore disabled by default.
+ * enabled by default but can be disabled if necessary.
*/
public boolean isEvaluateExpressions();
/**
* Sets the current expression evaluation policy. Expression evaluation is
- * currently an experimental feature, and is therefore disabled by default.
- * If {@code null}, resets to the default value.
+ * enabled by default but can be disabled if necessary. If {@code null},
+ * resets to the default value.
* @usage _intermediate_method_
*/
public void setEvaluateExpressions(Boolean evaluateExpressions);
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java
index 3a63818..71b4c5e 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/DatabaseImpl.java
@@ -2100,7 +2100,7 @@ public class DatabaseImpl implements Database, DateTimeContext
/**
* Returns the default enable expression evaluation policy. This defaults to
- * {@code false}, but can be overridden using the system
+ * {@code true}, but can be overridden using the system
* property {@value com.healthmarketscience.jackcess.Database#ENABLE_EXPRESSION_EVALUATION_PROPERTY}.
* @usage _advanced_method_
*/
@@ -2110,7 +2110,7 @@ public class DatabaseImpl implements Database, DateTimeContext
if(prop != null) {
return Boolean.TRUE.toString().equalsIgnoreCase(prop);
}
- return false;
+ return true;
}
/**