|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OnJPAWriteContent
The interface is a call back interface that enables OData JPA Processor to get JPA provider specific implementation of java.sql.Blob and java.sql.Clob instances.
Implement this interface if the JPA Model uses the data types java.sql.Blob and java.sql.Clob for its entity properties.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Blob getJPABlob(byte[] binaryData) throws ODataJPARuntimeException
binaryData
- is an array of bytes
Blob
ODataJPARuntimeException
Clob getJPAClob(char[] characterData) throws ODataJPARuntimeException
characterData
- is an array of characters
Clob
ODataJPARuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |