summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2007-06-14 23:50:26 +0000
committerBrian S. O'Neill <bronee@gmail.com>2007-06-14 23:50:26 +0000
commit214be70045e4dde7b15aac6e33d764163dec0762 (patch)
treed49384fc76fae15b6820832a0c4866d28daaba1e
parentbaec3e0467f3aee8e4499c4a9fc701a96b0b7a8b (diff)
Fixed bug which prevented updating Oracle BLOB of length 2000 to 4000.
-rw-r--r--RELEASE-NOTES.txt1
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index cf2086d..8e26bb5 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -28,6 +28,7 @@ Carbonado change history
1.1 to 1.1.1
-------------------------------
- Fixed spurious IllegalArgumentException from StorableGenerator.
+- Fixed bug which prevented updating Oracle BLOB of length 2000 to 4000.
1.1-BETA11 to 1.1 (release)
-------------------------------
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java b/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java
index 356d8d2..27ca7c5 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java
@@ -40,7 +40,7 @@ class OracleSupportStrategy extends JDBCSupportStrategy {
private static final String TRUNCATE_STATEMENT = "TRUNCATE TABLE %s";
- private static final int LOB_CHUNK_LIMIT = 4000;
+ private static final int LOB_CHUNK_LIMIT = 2000;
private static final String PLAN_TABLE_NAME = "TEMP_CARBONADO_PLAN_TABLE";