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.DEFAULT
public final T getStreamBindingType()
BlobTypeDescriptor.STREAM_BINDING
,
ClobTypeDescriptor.STREAM_BINDING
public final T getLobBindingType()
BlobTypeDescriptor.BLOB_BINDING
,
ClobTypeDescriptor.CLOB_BINDING
protected 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