Overwrites the specified file with the contents of this BigBinary object.
Any previous contents of the file are discarded. Throws an ObjectNotSavedException if this BigBinary object is
an attribute of an entity that has not yet been created in the database. Throws a
StreamNotClosedException if the object is not closed.
Syntax
public void copyToFile(java.lang.String filepath)
Parameters
- filepath – The file to be overwritten.