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
OnJPAWriteContent
getJPABlob
in interface OnJPAWriteContent
binaryData
- is an array of bytesBlob
ODataJPARuntimeException
public Clob getJPAClob(char[] characterData) throws ODataJPARuntimeException
OnJPAWriteContent
getJPAClob
in interface OnJPAWriteContent
characterData
- is an array of charactersClob
ODataJPARuntimeException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.