[Seasar-user:17466] [S2JDBC-Gen]oidを含む列をリストアできない

Takafumi Yoshida [E-MAIL ADDRESS DELETED]
2009年 5月 18日 (月) 14:58:33 JST


いつもお世話になります。吉田@オプティクスです。

Seasar 2.4.36
PostgreSQL 8.1.4

#[Seasar-user:17405]とも関連するのですが..

上記の環境でmigrateやload-dataなどCSV形式にダンプしたデータ(oidフィールドを含む)
をDBに戻す際に、添付のエラーが発生します。

少し調べてみましたが、oid型のフィールドは
org.seasar.extension.jdbc.gen.internal.sqltype.BlobType#bindValueにて
PreparedStatement#setBinaryStreamで値をバインドしているようですが
http://old.postgresql.jp/wg/jpugdoc/jdbc/jdbc-8.3dev-600/binary-data.html
によれば、oidにはLargeObjectManager経由でデータをセット云々とあります。

正常にデータをリストアできるようには、なりませんでしょうか?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: application/octet-stream
Size: 4358 bytes
Desc: 無し
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20090518/94adebce/attachment.obj>


Seasar-user メーリングリストの案内