Package org.openxava.converters
Class ArrayBytesBlobConverter
- java.lang.Object
-
- org.openxava.converters.ArrayBytesBlobConverter
-
- All Implemented Interfaces:
java.io.Serializable
,IConverter
public class ArrayBytesBlobConverter extends java.lang.Object implements IConverter
A bytes array (byte []) that in db it's saved as Blob.Util for save photos in as400 where any object that we store in a BLOD field is restore as java.sql.Blob.
- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayBytesBlobConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
toDB(java.lang.Object o)
java.lang.Object
toJava(java.lang.Object o)
-
-
-
Method Detail
-
toDB
public java.lang.Object toDB(java.lang.Object o) throws ConversionException
- Specified by:
toDB
in interfaceIConverter
- Throws:
ConversionException
-
toJava
public java.lang.Object toJava(java.lang.Object o) throws ConversionException
- Specified by:
toJava
in interfaceIConverter
- Throws:
ConversionException
-
-