org.apache.olingo.odata2.jpa.processor.ref.converter
Class BlobToByteConverter

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.ref.converter.BlobToByteConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<Blob,byte[]>

public class BlobToByteConverter
extends Object
implements javax.persistence.AttributeConverter<Blob,byte[]>


Constructor Summary
BlobToByteConverter()
           
 
Method Summary
 byte[] convertToDatabaseColumn(Blob arg0)
           
 Blob convertToEntityAttribute(byte[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlobToByteConverter

public BlobToByteConverter()
Method Detail

convertToDatabaseColumn

public byte[] convertToDatabaseColumn(Blob arg0)
Specified by:
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Blob,byte[]>

convertToEntityAttribute

public Blob convertToEntityAttribute(byte[] arg0)
Specified by:
convertToEntityAttribute in interface javax.persistence.AttributeConverter<Blob,byte[]>


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.