From 214be70045e4dde7b15aac6e33d764163dec0762 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Thu, 14 Jun 2007 23:50:26 +0000 Subject: Fixed bug which prevented updating Oracle BLOB of length 2000 to 4000. --- RELEASE-NOTES.txt | 1 + src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3