/** * Return the serialized bytes for the given object. */ public byte[] serialize(Object val, JDBCStore store) throws SQLException { if (val == null) return null; if (val instanceof SerializedData) return ((SerializedData) val).bytes; return Serialization.serialize(val, store.getContext()); }
/** * Return the serialized bytes for the given object. */ public byte[] serialize(Object val, JDBCStore store) throws SQLException { if (val == null) return null; if (val instanceof SerializedData) return ((SerializedData) val).bytes; return Serialization.serialize(val, store.getContext()); }
/** * Return the serialized bytes for the given object. */ public byte[] serialize(Object val, JDBCStore store) throws SQLException { if (val == null) return null; if (val instanceof SerializedData) return ((SerializedData) val).bytes; return Serialization.serialize(val, store.getContext()); }
/** * Return the serialized bytes for the given object. */ public byte[] serialize(Object val, JDBCStore store) throws SQLException { if (val == null) return null; if (val instanceof SerializedData) return ((SerializedData) val).bytes; return Serialization.serialize(val, store.getContext()); }
/** * Return the serialized bytes for the given object. */ public byte[] serialize(Object val, JDBCStore store) throws SQLException { if (val == null) return null; if (val instanceof SerializedData) return ((SerializedData) val).bytes; return Serialization.serialize(val, store.getContext()); }