Constructor and Description |
---|
BlobConverter()
Converts from a ByteArray to a Blob.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
convertToMapped(java.lang.Class<? extends byte[]> type,
java.sql.Blob value) |
java.sql.Blob |
convertToPersisted(byte[] value) |
java.lang.Class<kotlin.Array[]> |
getMappedType() |
java.lang.Integer |
getPersistedSize()
creates BLOB(INT.MAX) = 2 GB
|
java.lang.Class<java.sql.Blob> |
getPersistedType() |
public java.lang.Class<kotlin.Array[]> getMappedType()
public java.lang.Class<java.sql.Blob> getPersistedType()
public java.lang.Integer getPersistedSize()
creates BLOB(INT.MAX) = 2 GB
public java.sql.Blob convertToPersisted(byte[] value)
public byte[] convertToMapped(java.lang.Class<? extends byte[]> type, java.sql.Blob value)