diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2006-11-14 02:15:45 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2006-11-14 02:15:45 +0000 |
commit | 780673c25c269f9794d2896e8875b7cab0c4b7a4 (patch) | |
tree | 1705b94f0ed97f876acf638675b530a92514620b /src/main/java/com | |
parent | 6a60d902b86ea0d983338195314a3344efd60cd0 (diff) |
Properly convert null LOBs.
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/jdbc/OracleSupportStrategy.java | 4 |
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);
}
/**
|