Package org.h2.api
Interface JavaObjectSerializer
public interface JavaObjectSerializer
Custom serialization mechanism for java objects being stored in column of
 type OTHER.
- 
Method Summary
Modifier and TypeMethodDescriptiondeserialize(byte[] bytes) Deserialize object from byte array.byte[]Serialize object to byte array. 
- 
Method Details
- 
serialize
Serialize object to byte array.- Parameters:
 obj- the object to serialize- Returns:
 - the byte array of the serialized object
 - Throws:
 Exception- on failure
 - 
deserialize
Deserialize object from byte array.- Parameters:
 bytes- the byte array of the serialized object- Returns:
 - the object
 - Throws:
 Exception- on failure
 
 -