public static byte [ ] objectToBlob ( Object o ) { try { return SerializerContext . getInstance ( ) . serialize ( o ) ; } catch ( SerializerException e ) { throw new RuntimeException ( e ) ; } }
java Object to bytes