Cosminexus V9 アプリケーションサーバ 機能解説 基本・開発編(コンテナ共通機能)

[目次][用語][索引][前へ][次へ]

5.8 persistence.xmlでの定義

永続化ユニットの情報はpersistence.xmlの<persistence-unit>タグを使用して定義します。ここでは,<persistence-unit>タグの属性および<persistence-unit>タグ下に指定するタグについて説明します。

なお,<persistence-unit>タグの属性および<persistence-unit>タグ下に指定するタグに指定した値の先頭および末尾に付加された空白文字や改行文字は無視されます。

persistence.xmlのタグの詳細については,マニュアル「アプリケーションサーバ リファレンス 定義編(サーバ定義)」の「6.2 persistence.xml」を参照してください。

<この節の構成>
5.8.1 <persistence-unit>タグに指定する属性
5.8.2 <persistence-unit>タグ下に指定するタグ