出た! (;´ー`)y─┛~~ 前回、InputStream を使って巨大データを BYTEA 型カラムに格納出来たわけだが、今度は保存した内容を取り出すタイミングで再び OutOfMemoryError が姿を現した。 なんだかすごーく嫌な予感がするのだが… とりあえず 8.1 ドライバのソースでも見てみるか。 public InputStream getBinaryStream(int columnIndex) throws SQLException { // ... if (connection.haveMinimumCompatibleVersion("7.2")){ // Version 7.2 supports BinaryStream for // all PG bytea type As the spec/javadoc for // this method indicat
