public abstract class AlternativeLobTypes<S,T extends LobType<S>>
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AlternativeLobTypes.BlobTypes<S,T extends LobType<S>>
Provides alternative types for binding
BLOB values. |
static class |
AlternativeLobTypes.ClobTypes<S,T extends LobType<S>>
Provides alternative types for binding
CLOB values. |
| Modifier and Type | Method and Description |
|---|---|
protected T |
createLobType(java.lang.Class<? extends T> lobTypeClass,
java.lang.reflect.Constructor constructor,
SqlTypeDescriptor sqlTypeDescriptor) |
protected java.lang.reflect.Constructor |
getConstructor(java.lang.Class<? extends T> clazz) |
T |
getDefaultType()
Returns the type that uses the default binding LOB values.
|
T |
getLobBindingType()
Returns the type that explicitly binds the LOB value,
|
T |
getStreamBindingType()
Returns the type that binds LOB values using streams.
|
public final T getDefaultType()
BlobTypeDescriptor.DEFAULT,
ClobTypeDescriptor.DEFAULTpublic final T getStreamBindingType()
BlobTypeDescriptor.STREAM_BINDING,
ClobTypeDescriptor.STREAM_BINDINGpublic final T getLobBindingType()
BlobTypeDescriptor.BLOB_BINDING,
ClobTypeDescriptor.CLOB_BINDINGprotected java.lang.reflect.Constructor getConstructor(java.lang.Class<? extends T> clazz)
protected T createLobType(java.lang.Class<? extends T> lobTypeClass, java.lang.reflect.Constructor constructor, SqlTypeDescriptor sqlTypeDescriptor)
Copyright © 2013. All Rights Reserved.