Add large object finalization cleanup to the proper java file.
This commit is contained in:
parent
4dca29dd3c
commit
bf9e01d950
@ -89,6 +89,12 @@ public class LargeObject
|
|||||||
this.fd = fp.getInteger("lo_open",args);
|
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
|
* @return the OID of this LargeObject
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user