Add large object finalization cleanup to the proper java file.

This commit is contained in:
Bruce Momjian 2001-06-06 21:16:09 +00:00
parent 4dca29dd3c
commit bf9e01d950
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ public class LargeObject
this.fd = fp.getInteger("lo_open",args);
}
/* Release large object resources during garbage cleanup */
protected void finalize() throws SQLException
{
close();
}
/**
* @return the OID of this LargeObject
*/