summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java4
1 files changed, 2 insertions, 2 deletions
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 cb7fe51..3efa40d 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java
@@ -135,12 +135,12 @@ class OracleSupportStrategy extends JDBCSupportStrategy {
@Override
JDBCBlob convertBlob(java.sql.Blob blob, JDBCBlobLoader loader) {
- return new OracleBlob(mRepo, blob, loader);
+ return blob == null ? null : new OracleBlob(mRepo, blob, loader);
}
@Override
JDBCClob convertClob(java.sql.Clob clob, JDBCClobLoader loader) {
- return new OracleClob(mRepo, clob, loader);
+ return clob == null ? null : new OracleClob(mRepo, clob, loader);
}
/**