public class OnDBWriteContent extends Object implements OnJPAWriteContent
| Constructor and Description |
|---|
OnDBWriteContent() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getJPABlob(byte[] binaryData)
Implement this method to instantiate JPA provider specific implementation of java.sql.Blob instance from an array
of bytes.
|
Clob |
getJPAClob(char[] characterData)
Implement this method to instantiate JPA provider specific implementation of java.sql.Clob instance from an array
of characters.
|
public Blob getJPABlob(byte[] binaryData) throws ODataJPARuntimeException
OnJPAWriteContentgetJPABlob in interface OnJPAWriteContentbinaryData - is an array of bytesBlobODataJPARuntimeExceptionpublic Clob getJPAClob(char[] characterData) throws ODataJPARuntimeException
OnJPAWriteContentgetJPAClob in interface OnJPAWriteContentcharacterData - is an array of charactersClobODataJPARuntimeExceptionCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.