[#3248] Fixed issue related to Oracle OBJECT types and LOB deserialisation

This commit is contained in:
Lukas Eder 2014-11-14 10:58:20 +01:00
parent de75e0e5c4
commit 82d46a5a0c
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ abstract class AbstractField<T> extends AbstractQueryPart implements Field<T> {
? binding
: type instanceof ConvertedDataType
? ((ConvertedDataType<?, T>) type).binding()
: new DefaultBinding<T, T>(new IdentityConverter<T>(type.getType()));
: new DefaultBinding<T, T>(new IdentityConverter<T>(type.getType()), type.isLob());
}
// ------------------------------------------------------------------------

View File

@ -75,7 +75,7 @@ class ParameterImpl<T> extends AbstractQueryPart implements Parameter<T> {
? binding
: type instanceof ConvertedDataType
? ((ConvertedDataType<?, T>) type).binding()
: new DefaultBinding<T, T>(new IdentityConverter<T>(type.getType()));
: new DefaultBinding<T, T>(new IdentityConverter<T>(type.getType()), type.isLob());
}
@Override