Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.databases > #664
| From | v_borchert@despammed.com (Volker Borchert) |
|---|---|
| Newsgroups | comp.lang.java.databases |
| Subject | Oracle: {Blob,Clob}.free() throws up if length() == 0? |
| Date | 2014-02-21 23:06 +0000 |
| Organization | Private site at Eddersheim, Germany |
| Message-ID | <le8m5t$p0t$1@Gaia.teknon.de> (permalink) |
Following the old "free as much of your resources as early as possible", I added calls to Blob.free() and Clob.free() in finally clauses after the Blob.getBytes(long,int) and Clob.getSubString(long,int) calls. But Clob.free() throws an "invalid LOB locator" if and when length() returned zero. Where is this behaviour documented? Or is it a bug? For now I changed the code to only free() if length() > 0, but I don't feel too comfortable with this "solution". -- "I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed> "I'm a mechanic, not a doctor." Volker Borchert <v_borchert@despammed.com>
Back to comp.lang.java.databases | Previous | Next | Find similar
Oracle: {Blob,Clob}.free() throws up if length() == 0? v_borchert@despammed.com (Volker Borchert) - 2014-02-21 23:06 +0000
csiph-web