public abstract class AlternativeLobTypes<S,T extends LobType<S>> extends Object implements 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(Class<? extends T> lobTypeClass,
Constructor constructor,
SqlTypeDescriptor sqlTypeDescriptor) |
protected Constructor |
getConstructor(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 Constructor getConstructor(Class<? extends T> clazz)
protected T createLobType(Class<? extends T> lobTypeClass, Constructor constructor, SqlTypeDescriptor sqlTypeDescriptor)
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved