@Override public <T> T replicateBlob(Blob fromBlob, Class<T> toClass) { byte[] byteArray = blobUtils.toByteArray(fromBlob); @SuppressWarnings("unchecked") T ret = (T) BlobProxy.generateProxy(byteArray); return ret; }
/** * {@inheritDoc} */ public Blob fromString(String string) { return BlobProxy.generateProxy( PrimitiveByteArrayTypeDescriptor.INSTANCE.fromString( string ) ); }
@Override public Blob fromString(String string) { return BlobProxy.generateProxy( PrimitiveByteArrayJavaDescriptor.INSTANCE.fromString( string ) ); }