休止状態によってフェッチされるエンティティ ツリーがあり、エンティティ ツリーから xml を生成したいと考えています。このツリーには、多くの blob および clob データ型があります。それらをxmlに含めたくありません。むしろ、xmlに参照IDを保持したいのです。BLOB と CLOB データは、xml を配置したディレクトリと同じディレクトリのファイル システムに格納されます。
xml 形式の生成サンプル -
<Address type="varchar" maxLength=”100”>
Los Angeles, CA 90067-6209, USA
</Address>
<Biography type="clob">
<!-- this clob data would be available in the same directory of this xml as a text file. Name format- [row_id]_biography -->
<ref id="44238185_biography"/>
</Biography>
<Image type="blob">
<!-- this blob data would be available in the same directory of this xml as a image file. Name format- [row_id]_image -->
<ref id="44238185_image"/>
</Image>
<DateCreated type="timestamp" format="yyyy-mm-dd hr:mm:ss">
18-04-13 05:12:34
</DateCreated>
皆さんがこれについてどう考えているか知りたいです。