Oracle® Fusion Middleware Oracle WebLogic Server 12.1.3 Enterprise JavaBeansの開発 12c (12.1.3) E57560-03 |
|
前 |
この付録では、Kodo固有のデプロイメント記述子persistence-configuration.xml
のネームスペース、スキーマの場所、ファイル構造および要素について説明します。
Kodo非推奨に関する注意: Oracle Kodo JPA/JDOは、このリリースのWebLogic Serverで非推奨になりました。Oracle TopLinkの使用を検討することをお薦めします。Oracle TopLinkの詳細は、第8章「Oracle WebLogic Serverでの永続性プロバイダの構成」を参照してください。Kodoを使用している場合は、WebLogic ServerはJPA 2.0をサポートしません。詳細は、「Oracle WebLogic ServerでのOracle TopLinkの使用方法」を参照してください。 |
この付録の内容は次のとおりです。
Kodoのpersistence-configuration.xml
ファイルのネームスペース宣言とスキーマの場所を表す正確なテキストは次のとおりです。
<persistence-configuration xmlns="http://xmlns.oracle.com/weblogic/persistence-configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/persistence-configuration http://xmlns.oracle.com/weblogic/persistence-configuration/1.0/persistence-configuration.xsd"> ... </persistence-configuration>
persistence-configuration.xml
デプロイメント記述子ファイルには、Oracle Kodoに固有な要素を記述します。
Kodoのpersistence-configuration.xml
の最上位要素は次のとおりです。
persistence-configuration-unit
default-broker-factory | abstract-store-broker-factory | client-broker-factory | jdbc-broker-factory | custom-broker-factory
default-compatibility | compatibility | default-compatibility
default-data-cache-manager | kodo-data-cache-manager | data-cache-manager-impl | custom-data-cache-manager
access-dictionary | db2-dictionary | derby-dictionary | empress-dictionary | foxpro-dictionary | hsql-dictionary | informix-dictionary | jdatastore-dictionary | mysql-dictionary | oracle-dictionary | postgres-dictionary | sql-server-dictionary | sybase-dictionary | custom-dictionary
default-detach-state | detach-options-loaded | detach-options-fetch-groups | detach-options-all | custom-detach-state
default-driver-data-source | kodo-pooling-data-source | simple-driver-data-source | custom-driver-data-source
stack-execution-context-name-provider | transaction-name-execution-context-name-provider | user-object-execution-context-name-provider
none-profiling | local-profiling | export-profiling | gui-profiling
none-jmx | local-jmx | gui-jmx | jmx2-jmx | mx4j1-jmx | wls81-jmx
default-lock-manager | pessimistic-lock-manager | none-lock-manager | single-jvm-exclusive-lock-manager | version-lock-manager | custom-lock-manager
commons-log-factory | log4j-log-factory | log-factory-impl | none-log-factory | custom-log
default-mapping-defaults | deprecated-jdo-mapping-defaults | mapping-defaults-impl | persistence-mapping-defaults | custom-mapping-defaults
extension-deprecated-jdo-mapping-factory | kodo-persistence-mapping-factory | mapping-file-deprecated-jdo-mapping-factory | orm-file-jdor-mapping-factory | table-deprecated-jdo-mapping-factory | table-jdor-mapping-factory | custom-mapping-factory
default-meta-data-factory | jdo-meta-data-factory | deprecated-jdo-meta-data-factory | kodo-persistence-meta-data-factory | custom-meta-data-factory
default-meta-data-repository | kodo-mapping-repository | custom-meta-data-repository
default-orphaned-key-action | log-orphaned-key-action | exception-orphaned-key-action | none-orphaned-key-action | custom-orphaned-key-action
default-proxy-manager | profiling-proxy-manager | proxy-manger-impl | custom-proxy-manager
default-query-compilation-cache | cache-map | concurrent-hash-map | custom-query-compilation-cache
jms-remote-commit-provider | single-jvm-remote-commit-provider | tcp-remote-commit-provider | cluster-remote-commit-provider | custom-remote-commit-provider
default-savepoint-manager | in-memory-savepoint-manager | jdbc3-savepoint-manager | oracle-savepoint-manager | custom-savepoint-manager
default-schema-factory | dynamic-schema-factory | file-schema-factory | lazy-schema-factory | table-schema-factory | custom-schema-factory
class-table-jdbc-seq | native-jdbc-seq | table-jdbc-seq | time-seeded-seq | value-table-jdbc-seq | custom-seq
default-update-manager | constraint-update-manager | batching-operation-order-update-manager | operation-order-update-manager | table-lock-update-manager | custom-update-manager
以下のpersistence-configuration.xml
要素のリストには、このリリースのKodoでサポートされているすべての要素が含まれています。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Accessディクショナリの構成値を定義します。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのAccessディクショナリの構成に関する項を参照してください。
各構成値のデフォルト値を次の例に示します。
<access-dictionary> <char-type-name>CHAR</char-type-name> <outer-join-clause>LEFT OUTER JOIN</outer-join-clause> <binary-type-name>BINARY</binary-type-name> <clob-type-name>CLOB</clob-type-name> <supports-locking-with-distinct-clause>true</supports-locking-with-distinct-clause> <simulate-locking>false</simulate-locking> <system-tables>true</system-tables> <concatenate-function>({0}||{1})</concatenate-function> <substring-function-name>SUBSTR</substring-function-name> <supports-query-timeout>true</supports-query-timeout> <use-set-bytes-for-blobs>true</use-set-bytes-for-blobs> <max-constraint-name-length>18</max-constraint-name-length> <search-string-escape>\\</search-string-escape> <supports-cascade-update-action>true</supports-cascade-update-action> <string-length-function>CHAR_LENGTH({0})</string-length-function> <long-varbinary-type-name>LONGVARBINARY</long-varbinary-type-name> <supports-unique-constraints>true</supports-unique-constraints> <supports-restrict-delete-action>true</supports-restrict-delete-action> <trim-leading-function>LTRIM(LEADING '{1}' from {0})</trim-leading-function> <supports-default-delete-action>false</supports-default-delete-action> <next-sequence-query></next-sequence-query> <long-varchar-type-name>LONGVARCHAR</long-varchar-type-name> <cross-join-clause>CROSS JOIN</cross-join-clause> <max-embedded-clob-size>-1</max-embedded-clob-size> <date-type-name>DATE</date-type-name> <supports-schema-for-get-tables>true</supports-schema-for-get-tables> <supports-alter-table-with-drop-column>true</supports-alter-table-with-drop-column> <current-time-function>CURRENT_TIME</current-time-function> <requires-condition-for-cross-join>false</requires-condition-for-cross-join> <ref-type-name>REF</ref-type-name> <concatenate-delimiter>'OPENJPATOKEN'</concatenate-delimiter> <catalog-separator>.</catalog-separator> <supports-mod-operator>false</supports-mod-operator> <schema-case>upper</schema-case> <java-object-type-name>JAVA_OBJECT</java-object-type-name> <driver-vendor></driver-vendor> <supports-locking-with-multiple-tables>true</supports-locking-with-multiple-tables> <max-column-name-length>128</max-column-name-length> <double-type-name>DOUBLE</double-type-name> <use-get-string-for-clobs>false</use-get-string-for-clobs> <decimal-type-name>DECIMAL</decimal-type-name> <smallint-type-name>SMALLINT</smallint-type-name> <date-precision>1000000</date-precision> <supports-alter-table-with-add-column>true</supports-alter-table-with-add-column> <bit-type-name>BIT</bit-type-name> <supports-null-table-for-get-columns>true</supports-null-table-for-get-columns> <to-upper-case-function>UPPER({0}))</to-upper-case-function> <supports-select-end-index>false</supprots-select-end-index> <supports-auto-assign>false</supports-auto-assign> <store-large-numbers-as-strings>false</store-large-numbers-as-strings> <constraint-name-mode>before</constraint-name-mode> <allows-alias-in-bulk-clause>true</allows-alias-in-bulk-clause> <supports-select-for-update>true</supports-select-for-update> <distinct-count-column-separator></distinct-count-column-separator> <supports-subselect>true</supports-subselect> <time-type-name>TIME</time-type-name> <auto-assign-type-name></auto-assign-type-name> <use-get-object-for-blobs>false</use-get-object-for-blobs> <max-auto-assign-name-length>31</max-auto-assign-name-length> <validation-sql></validation-sql> <struct-type-name>STRUCT</struct-type-name> <varchar-type-name>VARCHAR</varchar-type-name> <range-position>0</range-position> <supports-restrict-update-action>true</supports-restrict-update-action> <auto-assign-clause></auto-assign-clause> <supports-multiple-nontransactional-result-sets>true</supports-multiple-nontransactional-result-sets> <bit-length-function>(OCTET_LENGTH({0}) * 8)</bit-length-function> <create-primary-keys>true</create-primary-keys> <null-type-name>NULL</null-type-name> <float-type-name>FLOAT</float-type-name> <use-get-bytes-for-blobs>true</use-get-bytes-for-blobs> <table-types>TABLE</table-types> <numeric-type-name>NUMERIC</numeric-type-name> <table-for-update-clause></table-for-update-clause> <integer-type-name>INTEGER<integer-type-name> <blob-type-name>BLOB</blob-type-name> <for-update-clause>FOR UPDATE</for-update-clause> <boolean-type-name>BOOLEAN</boolean-type-name> <use-get-best-row-identifier-for-primary-keys>false</use-get-best-row-identifier-for-primary-keys> <supports-foreign-keys>true</supports-foreign-keys> <drop-table-sql>DROP TABLE {0}</drop-table-sql> <use-set-string-for-clobs>false</use-set-string-for-clobs> <supports-locking-with-order-clause>false</supports-locking-with-order-clause> <platform>Generic</platform> <fixed-size-type-names></fixed-size-type-names> <store-chars-as-numbers>true</store-chars-as-numbers> <max-indexes-per-table>2147483647</max-indexes-per-table> <requires-cast-for-comparisons>false</requires-cast-for-comparisons> <supports-having>true</supports-having> <supports-locking-with-outer-join>true</supports-locking-with-outer-join> <supports-correlated-subselect>true</supports-correlated-subselect> <supports-null-table-for-get-imported-keys>false</supports-null-table-for-get-imported-keys> <bigint-type-name>BIGINT</bigint-type-name> <last-generated-key-query></last-generated-key-query> <reserved-words></reserved-words> <supports-null-update-action>true</supports-null-update-action> <use-schema-name>true</use-schema-name> <supports-deferred-constraints>true</supports-deferred-constraints> <real-type-name>REAL</real-type-name> <requires-alias-for-subselect>false</requires-alias-for-subselect> <supports-null-table-for-get-index-info>false</supports-null-table-for-get-index-info> <trim-trailing-function>TRIM(TRAILING '{1}' FROM {0}))</trim-trailing-function> <supports-locking-with-select-range>true</supports-locking-with-select-range> <storage-limitations-fatal>false</storage-limitations-fatal> <supports-locking-with-inner-join>true</supports-locking-with-inner-join> <current-timestamp-function>CURRENT_TIMESTAMP</current-timestamp-funct <cast-function>CAST({0} AS {1})</cast-function> <other-type-name>OTHER</other-type-name> <max-index-name-length>128</max-index-name-length> <distinct-type-name>DISTINCT</distinct-type-name> <character-column-size>255</character-column-size> <varbinary-type-name>VARBINARY</varbinary-type-name> <max-table-name-length>128</max-table-name-length> <close-pool-sql></close-pool-sql> <current-date-function>CURRENT_DATE</current-date-function> <join-syntax>sql92</join-syntax> <max-embedded-blob-size>-1</max-embedded-blob-size> <trim-both-function>TRIM(BOTH '{1}' FROM {0})</trim-both-function> <supports-select-start-index>false</supports-select-start-index> <to-lower-case-function>LOWER({0})</to-lower-case-function> <array-type-name>ARRAY</array-type-name> <inner-join-clause>INNER JOIN</inner-join-clause> <supports-default-update-action>true</supports-default-update-action> <supports-schema-for-get-columns>true</supports-schema-for-get-columns> <tinyint-type-name>TINYINT</tinyint-type-name> <supports-null-table-for-get-primary-keys>false</supports-null-table-for-get-primary-keys> <system-schemas></system-schemas> <requires-cast-for-math-functions>false</requires-cast-for-math-functions> <supports-null-delete-action>true</supports-null-delete-action> <requires-auto-commit-for-meta-data>false</requires-auto-commit-for-meta-data> <timestamp-type-name>TIMESTAMP</timestamp-type-name> <initialization-sql></initialization-sql> <supports-cascade-delete-action>true</supports-cascade-delete-action> <supports-timestamp-nanos>true</supports-timestamp-nanos> </access-dictionary>
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit detach-options-all persistence-configuration persistence-configuration-unit detach-options-fetch-groups persistence-configuration persistence-configuration-unit detach-options-loaded
値の範囲: warn
| exception
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit inverse-manager
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値: 50
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit native-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit
指定可能な値の範囲 :
persistence-configuration-unit: datastore
| all
kodo-broker: 0
| 1
デフォルト値: datastore (0)
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
指定可能な値の範囲 :
auto-detaches: close
| commit
| nontx-read
kodo-broker: 0
| 1
| 2
デフォルト値: close (0)
親要素 :
persistence-configuration persistence-configuration-unit auto-detaches persistence-configuration persistence-configuration-unit kodo-broker auto-detach
管理対象インスタンスが自動的にデタッチされるイベントを指定します。auto-detaches要素の子として指定する場合、次のタイプのイベントを指定できます。
close
(0
) - PersistenceManager
の終了時にすべてのオブジェクトをデタッチします。これがデフォルトです。
commit
(1
) - トランザクションの終了時にすべてのオブジェクトをデタッチします。
nontx-read
(2
) - トランザクション外の読取り時に、結果が返される前にインスタンスを自動的にデタッチします。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
管理対象インスタンスが自動的にデタッチされるイベントのリストを指定します。1つまたは複数のauto-detach要素を指定します。詳細は、Oracle WebLogic Server Kodo JPA/JDOリファレンスの自動デタッチに関する項を参照してください。
値の範囲: なし
デフォルト値: なし
親要素 :
profiling
値の範囲: 整数
デフォルト値: 10
親要素 :
persistence-configuration persistence-configuration-unit cluster-remote-commit-provider
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値: 1000
親要素 :
persistence-configuration persistence-configuration-unit kodo-concurrent-data-cache persistence-configuration persistence-configuration-unit lru-data-cache persistence-configuration persistence-configuration-unit kodo-query-cache persistence-configuration persistence-configuration-unit lru-query-cache
値の範囲: 文字列
デフォルト値: openjpa.Runtime
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
独自のカスタム・ジェネレータの作成に使用するkodo.kernel.Seq
インタフェースを表すプラグイン文字列を指定します(ここでは、kodo.jdbc.kernel.TableJDBCSeq
)。
TableJDBCSeq
は、特殊な単一行の表にグローバル・シーケンス番号を格納します。この表は、この表を必要とするクラスに対してマッピング・ツールを最初に実行したときに存在しない場合は作成されます。表の操作には、そのクラスのmain
メソッドやsequencetable
シェル/バッチ・スクリプトを使用することもできます(使用方法の詳細については、JavadocのTableJDBCSeq.main
メソッドを参照)。
<class-table-jdbc-seq> <type>0</type> <allocate>50</allocate> <table-name>OPENJPA_SEQUENCES_TABLE</table-name> <ignore-virtual>false</ignore-virtual> <ignore-unmapped>false</ignore-unmapped> <table>OPENJPA_SEQUENCES_TABLE</table> <primary-key-column>ID</primary-key-column> <use-aliases>false</use-aliases> <sequence-column>SEQUENCE_VALUE</sequence-column> <increment>1</increment> </class-table-jdbc-seq>
値の範囲: 有効なクラス名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit aggregate-listener custom-aggregate-listener persistence-configuration persistence-configuration-unit custom-broker-factory persistence-configuration persistence-configuration-unit custom-broker-impl persistence-configuration persistence-configuration-unit custom-class-resolver persistence-configuration persistence-configuration-unit custom-compatibility persistence-configuration persistence-configuration-unit custom-connection-decorator persistence-configuration persistence-configuration-unit custom-data-cache persistence-configuration persistence-configuration-unit custom-dictionary
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit tangosol-data-cache
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<compatibility> <copy-object-ids>false</copy-object-ids> <close-on-managed-commit>true</close-on-managed-commit> <validate-true-checks-store>false</validate-true-checks-store> <validate-false-returns-hollow>true</validate-false-returns-hollow> <strict-identity-values>false</strict-identity-values> <quoted-numbers-in-queries>false</quoted-numbers-in-queries> </compatibility>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
接続ファクトリ上にインストールするorg.apache.openjpa.lib.jdbc.ConnectionDecorator
実装を表すプラグイン文字列。1つまたは複数のcustom-connection-decorator要素を指定します。
これらのデコレータは、基底のDataSource
から渡された接続をラップして機能性を高めることができます。Kodoでは、すべての接続が使用される前にデコレータのリストを介して渡されます。
注意: Kodo JPA/JDOでは、com.solarmetric.jdbc パッケージ内の組込みデコレータがデフォルトで使用されるため、この要素でデコレータを指定する必要はありません。 |
値の範囲: 有効なクラス名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-pooling-data-source persistence-configuration persistence-configuration-unit simple-driver-data-source
データベースへの接続に使用するJDBCのjava.sql.Driver
またはjavax.sql.DataSource
実装の完全修飾クラス名。
以下にサンプルの値を示します。
COM.FirstSQL.Dbcp.DbcpDriver COM.cloudscape.core.JDBCDriver COM.ibm.db2.jdbc.app.DB2Driver COM.ibm.db2.jdbc.net.DB2Driver centura.java.sqlbase.SqlbaseDriver com.ddtek.jdbc.db2.DB2Driver com.ddtek.jdbc.oracle.OracleDriver| com.ddtek.jdbc.sqlserver.SQLServerDriver com.ddtek.jdbc.sybase.SybaseDriver com.ibm.as400.access.AS400JDBCDriver com.imaginary.sql.msql.MsqlDriver com.inet.tds.TdsDriver com.informix.jdbc.IfxDriver com.internetcds.jdbc.tds.Driver com.jnetdirect.jsql.JSQLDriver com.mckoi.JDBCDriver com.microsoft.jdbc.sqlserver.SQLServerDriver com.mysql.jdbc.DatabaseMetaData com.mysql.jdbc.Driver com.pointbase.jdbc.jdbcUniversalDriver com.sap.dbtech.jdbc.DriverSapDB com.sybase.jdbc.SybDriver com.sybase.jdbc2.jdbc.SybDriver com.thinweb.tds.Driver in.co.daffodil.db.jdbc.DaffodilDBDriver interbase.interclient.Driver intersolv.jdbc.sequelink.SequeLinkDriver openlink.jdbc2.Driver oracle.jdbc.driver.OracleDriver oracle.jdbc.pool.OracleDataSource org.axiondb.jdbc.AxionDriver org.enhydra.instantdb.jdbc.idbDriver org.gjt.mm.mysql.Driver org.hsql.jdbcDriver org.hsqldb.jdbcDriver org.postgresql.Driver org.sourceforge.jxdbcon.JXDBConDriver| postgres95.PGDriver postgresql.Driver solid.jdbc.SolidDriver sun.jdbc.odbc.JdbcOdbcDriver weblogic.jdbc.mssqlserver4.Driver weblogic.jdbc.pool.Driver
値の範囲: local
| managed
デフォルト値: local
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: JNDI名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
使用しているjavax.sql.DataSource (http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html
で説明)の構成のプロパティを表すプラグイン文字列。
値の範囲: JNDI名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
非管理対象のConnectionFactoryとして使用するjavax.sql.DataSource
(http://docs.oracle.com/javase/6/docs/api/javax/sql/DataSource.html
で説明しています)を構成するために使用されるプロパティ。
値の範囲: 有効なパスワード
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
connection-driver-name
要素にリストされるドライバの構成プロパティをリストするプラグイン文字列。これらのプロパティは、与えられたドライバ・クラスがDataSourceである場合、そのDataSourceのBeanプロパティの構成に使用されます。
<connection-properties> <property> <name>PortNumber</name> <value>1521</value> </property> <property> <name>ServerName</name> <value>saturn</value> </property> <property> <name>DatabaseName</name> <value>solarisid</value> </property> <property> <name>DriverType</name> <value>thin</value> </property> </connection-properties>
値の範囲: always
| on-demand
| persistence-manager
| transaction
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データ・ストア接続の使用方法を制御します。有効な値は以下のとおりです。
always
- 各EntityManager
またはPersistenceManager
が単一の接続を取得し、EntityManager
またはPersistenceManager
が終了するまでその接続を使用します。
on-demand
- 接続は必要時にのみ取得されます。このオプションは、データ・ストア・トランザクションが使用されている場合、transaction
オプションと同じです。ただし、オプティミスティック・トランザクションの場合は、データ・ストアのフラッシュおよびコミット・プロセス中にのみ接続が保持されることになります。
persistence-manager
- 接続は永続性マネージャから取得されます。
transaction
- 接続は各トランザクション(オプティミスティックまたはデータ・ストア)の開始時に取得され、トランザクションの完了時にリリースされます。非トランザクション接続は、必要に応じて取得されます。
値の範囲: 有効なURL
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-pooling-data-source persistence-configuration persistence-configuration-unit simple-driver-data-source
データベースのJDBC URL。
以下のような値を指定できます。
jdbc:JSQLConnect://<hostname>/database=<database> jdbc:cloudscape:<database>;create=true jdbc:daffodilDB_embedded:<database>;create=true jdbc:datadirect:db2://<hostname>:50000;databaseName=<database> jdbc:datadirect:oracle://<hostname>:1521;SID=<database>;MaxPooledStatements=0 jdbc:datadirect:sqlserver://<hostname>:1433;SelectMethod=cursor;DatabaseName=<database> jdbc:datadirect:sybase://<hostname>:5000 jdbc:db2://<hostname>/<database> jdbc:dbaw://<hostname>:8889/<database> jdbc:hsqldb:<database> jdbc:idb:<database>.properties jdbc:inetdae:<hostname>:1433 jdbc:informix-sqli://<hostname>:1526/<database>:INFORMIXSERVER=<database> jdbc:interbase://<hostname>//<database>.gdb jdbc:microsoft:sqlserver://<hostname>:1433;DatabaseName=<database>;SelectMethod=cursor jdbc:mysql://<hostname>/<database>?autoReconnect=true jdbc:odbc:<database> jdbc:openlink://<hostname>/DSN=SQLServerDB/UID=sa/PWD= jdbc:oracle:thin:@<hostname>:1521:<database> jdbc:postgresql://<hostname>:5432/<database> jdbc:postgresql:net//<hostname>/<database> jdbc:sequelink://<hostname>:4003/[Oracle] jdbc:sequelink://<hostname>:4004/[Informix];Database=<database> jdbc:sequelink://<hostname>:4005/[Sybase];Database=<database> jdbc:sequelink://<hostname>:4006/[SQLServer];Database=<database> jdbc:sequelink://<hostname>:4011/[ODBC MS Access];Database=<database> jdbc:solid://<hostname>:<port>/<UID>/<PWD> jdbc:sybase:Tds:<hostname>:4100/<database>?ServiceName=<database> jdbc:twtds:sqlserver://<hostname>/<database> jdbc:weblogic:mssqlserver4:<database>@<hostname>:1433
値の範囲: 有効なユーザー名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-pooling-data-source persistence-configuration persistence-configuration-unit simple-driver-data-source
値の範囲: 有効なユーザー名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 有効なパスワード
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<connection2-properties> <property> <name>PortNumber</name> <value>1521</value> </property> <property> <name>ServerName</name> <value>saturn</value> </property> <property> <name>DatabaseName</name> <value>solarisid</value> </property> <property> <name>DriverType</name> <value>thin</value> </property> </connection2-properties>
値の範囲: 有効なURL
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 有効なユーザー名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit aggregate-listeners
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit connection-decorators
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
カスタム・ディクショナリを定義することができます。詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのカスタム・ディクショナリの構成に関する項を参照してください。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit filter-listeners
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit jdbc-listeners
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<data-caches> <default-data-cache>...</default-data-cache> <kodo-concurrent-data-cache>...</kodo-concurrent-data-cache> <gem-fire-data-cache>...</gem-fire-data-cache> <lru-data-cache>...</lru-data-cache> <tangosol-data-cache>...</tangosol-data-cache> <custom-data-cache>...</custom-data-cache> </data-caches>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値 : -1
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
DB2ディクショナリの永続性プラグインの構成値を定義します。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのDB2ディクショナリの構成に関する項を参照してください。
値の範囲: FIELD
| PROPERTY
デフォルト値: FIELD
親要素 :
persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: TRACE
| DEBUG
| INFO
| WARN
| ERROR
デフォルト値: INFO
親要素 :
persistence-configuration persistence-configuration-unit log-factory-impl
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 文字列
標準的な実装: jdo
およびjpa
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース・スキーマに関する情報の格納および取得に使用するkodo.jdbc.schema.SchemaFactory
を表すプラグイン文字列を指定します(ここでは、デフォルトのkodo.jdbc.schema.DynamicSchemaFactory
)。
DynamicSchemaFactory
は、データベースに対してマッピング情報を検証しないため、最もパフォーマンスの優れたスキーマ・ファクトリです。代わりに、すべてのオブジェクト・リレーショナル・マッピング情報が正しいと想定し、現在のマッピング・メタデータからスキーマのメモリー内表現を動的に構築します。このファクトリを使用するには、外部キー制約がSQL文で満たされるよう、マッピング・メタデータが現在のデータベースの外部キー制約を正しく表現している必要があります。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<deprecated-jdo-meta-data-factory> <use-schema-validation>false</use-schema-validation> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> <scan-top-down>false</scan-top-down> </deprecated-jdo-meta-data-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Derbyディクショナリを構成します。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのDerbyディクショナリの構成に関する項を参照してください。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 1
| 2
| 3
デフォルト値: 1
親要素 :
persistence-configuration persistence-configuration-unit] kodo-broker
デタッチ状態を構成します。有効な値は以下のとおりです。
1
(loaded
): ロード済のすべてのフィールドおよびリレーションをデタッチします。ただし、ロードされていないフィールドはデタッチ・グラフに含めません。
2
(fetch-groups
) - 現在のフェッチ構成内のすべてのフィールドおよびリレーションをデタッチします。
3
(all
) - すべてのフィールドおよびリレーションをデタッチします。関連性の高いドメイン・モデルを使用している場合、データベース内のすべてのオブジェクトがメモリーに格納される恐れがあるため、このモードの使用には注意が必要です。
デタッチ・モードで特定されないフィールドはすべて、デタッチ・インスタンスのJavaデフォルト値に設定されます。
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit detach-options-all persistence-configuration persistence-configuration-unit detach-options-fetch-groups persistence-configuration persistence-configuration-unit detach-options-loaded
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit detach-options-all persistence-configuration persistence-configuration-unit detach-options-fetch-groups persistence-configuration persistence-configuration-unit detach-options-loaded
デタッチ状態マネージャを使用するかどうかを指定するフラグ。デタッチされた状態マネージャでアタッチがより効率よく行われます。しかし、デタッチ状態フィールドと同様に、改善されていないクラスが一時的でない場合、クラスとのシリアライゼーションに関する互換性を中断します。
この設定は、detached-state-field要素に依存します。デタッチ状態フィールドが一時的なものなら、デタッチ状態マネージャも一時的になります。デタッチ状態フィールドを無効にすると、デタッチ状態マネージャも無効化されます。通常はこの設定にします。
ただし、detach-state-field要素をtrue
に設定(あるいは一時的に設定)し、このプロパティをfalse
に設定すると、デタッチ状態マネージャを使用せずにデタッチ状態フィールドを使用することができます。この設定は、デタッチ状態マネージャを利用しないKodoの以前の動作に慣れていたユーザーが、デタッチ状態マネージャを利用するKodoの動作に違和感がある場合や、デバッグを行う場合に役立つ場合があります。
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit detach-options-all persistence-configuration persistence-configuration-unit detach-options-fetch-groups persistence-configuration persistence-configuration-unit detach-options-loaded
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: 文字列
デフォルト値 : kodo.ID
プロパティ(設定している場合)
親要素 :
persistence-configuration persistence-configuration-unit log-factory-impl
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit
永続データを保持するカスタマイズされた構造体を動的に生成するかどうかを指定するフラグ。Kodoのデータ・キャッシュとリモート・フレームワークはどちらも、データ構造体に基づき永続状態のキャッシュおよび転送を行います。Kodoでは、動的な構造体により、クラスごとにデータ・ストレージをカスタマイズでき、プリミティブ・ラッパー・オブジェクトを生成せずに済みます。これによってメモリーを節約し、特定の実行時処理を素早く完了することができます。
反面、カスタム・クラスの生成とJVMへのロードに時間がかかるため、アプリケーションのウォームアップ時間が長くなります。したがって、アプリケーションの実行時間が長くても、メモリーおよび処理時間の最適化により、クラスの初期生成コストが徐々に相殺される場合にのみ、このプロパティをtrue
に設定してください。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース・スキーマに関する情報の格納および取得に使用するkodo.jdbc.schema.SchemaFactory
を表すプラグイン文字列を指定します(ここでは、デフォルトのkodo.jdbc.schema.DynamicSchemaFactory
)。
DynamicSchemaFactory
は、データベースに対してマッピング情報を検証しないため、最もパフォーマンスの優れたスキーマ・ファクトリです。代わりに、すべてのオブジェクト・リレーショナル・マッピング情報が正しいと想定し、現在のマッピング・メタデータからスキーマのメモリー内表現を動的に構築します。このファクトリを使用するには、外部キー制約がSQL文で満たされるよう、マッピング・メタデータが現在のデータベースの外部キー制約を正しく表現している必要があります。
値の範囲: join
| multiple
| none
| parallel
| single
デフォルト値: parallel
親要素 :
persistence-configuration persistence-configuration-unit
イーガー・フェッチを構成します。イーガー・フェッチは、サブクラス・データと関連オブジェクトを、問合せ対象のベース・インスタンスとともに効率的にロードする機能です。
このプロパティは、以下のいずれかの値に設定することができます。
join
- このモードに設定すると、構成されているフェッチ・グループの対1リレーションへの結合が行われます。単一インスタンスのデータをロードする場合は、構成されているフェッチ・グループのコレクション・フィールドへの結合も行われます。ただし、問合せの実行時など、複数インスタンスのデータをロードする場合は、コレクションへはデフォルトで結合されません。かわりに、次に説明するように、コレクションに対してはデフォルトでparallelモードになります。メタデータ拡張を使用すると、コレクション・フィールドに対してparallelモードではなくjoinモードを使用するようにできます。
Kodoは、join
モードの場合、左外部結合(リレーションのフィールド・メタデータで、nullがそのリレーションで許可されないと宣言されている場合は内部結合)を使用して、関連データをターゲット・オブジェクトのデータとともに選択します。このプロセスは、対1結合に対して再帰的に機能するため、PersonがAddressを、AddressがTelephoneNumberを持ち、フェッチ・グループが適切に構成されている場合、Kodoはこれら3つのクラスの表間を結合する単一のSELECT文を発行することができます。対多結合により、他の対多結合が再帰的に生成されることはありませんが、再帰的な対1結合が生成される場合があります。
joinのサブクラス・フェッチ・モードでは、問合せ対象タイプのすべてのサブクラス表への外部結合によって、結合表内のサブクラス・データが選択されます。結合されていないサブクラス・データは、利用可能であればSQL UNIONで選択されます。以下に示すように、サブクラス・データのフェッチは、リレーション・フェッチとは別に構成され、特定のクラスに対して無効化することができます。
multiple
- parallel
と同じです。
none
- イーガー・フェッチを実行しません。関連オブジェクトは常に、独立したSELECT文でロードされます。結合されたサブクラス・データは、問合せ対象の基本タイプの1つまたは複数の表内にない限りロードされません。結合されていないサブクラス・データは、SQL UNION
演算ではなく、別個のSELECT文でロードされます。
parallel
- このモードに設定すると、Kodoは、joinモードの欄で説明したように、対1リレーションと結合コレクションに対してSELECTを実行します。ただし、結合されていないコレクション・フィールドは、コレクションごとに別個のSELECT文でイーガー・フェッチされ、これはターゲット・オブジェクトに対するSELECT文と並列的に実行されます。並列的に実行されるこれらのSELECT文では、プライマリSELECT文からWHERE
条件を使用して選択しますが、関連データにアクセスするため独自の結合を追加します。たとえば、100個のCompanyオブジェクトを返す問合せを実行する際、各企業にEmployeeオブジェクト・リストおよびDepartmentオブジェクト・リストが存在する場合は、3つの問合せが実行されます。1つ目の問合せはCompanyオブジェクトを選択し、2つ目の問合せは選択された企業のEmployeeオブジェクトを選択し、3つ目の問合せはそれらの企業のDepartmentオブジェクトを選択します。このプロセスは、join
の場合と同様に、イーガー・フェッチ対象のリレーション内のオブジェクトに対して再帰的に適用されます。この例でいくと、ロード対象のいずれかのフェッチ・グループにEmployeeクラスのProjectsリストがあった場合、Kodoは、一致する企業の全従業員のプロジェクトのロードと並列的に、1つのSELECT文を追加実行します。
追加のSELECT文を使用して各コレクションをロードすることにより、データベースからアプリケーションに必要以上のデータを転送せずに済みます。並列SELECT文の代わりにイーガー結合を使用すると、構成されているフェッチ・グループに追加される各コレクションによって、ネットワークがあっという間にダウンするほど大量のデータが転送されてしまう場合があります。
クラスごとに1つの表ずつ(table-per-class)のマッピングへのポリモフィックな対1リレーションでは、適切な結合が不可能なため、並列のイーガー・フェッチが使用されます。メタデータ拡張を使用すると、他の対1リレーションで、joinモードのEAGERフェッチではなくparallelモードを使用するようにできます。
サブクラスのフェッチ・モードをparallelに設定すると、table-per-class階層および垂直継承階層に影響します。Kodoは、parallelモードの場合、joinモードでのすべてのサブクラス表のUNION演算ではなく、table-per-class継承階層のサブクラスごとに別個のSELECT文を発行します。これは、問合せ、IDによるルックアップ、リレーション・トラバースなど、table-per-class基本クラスに対するあらゆる処理に適用されます。
一方、垂直にマップされた階層を処理する場合、parallelのサブクラス・フェッチ・モードが適用されるのは問合せのみです。Kodoは、サブクラス表への外部結合ではなく、サブクラスごとに問合せを別個に発行します。その他の状況下におけるparallelのサブクラス・フェッチ・モードの動作は、垂直にマップされたサブクラスに関してはjoinモードと同じです。
Kodoは、選択しているオブジェクトが1つしかない場合、parallelモードを使用しません。これは、追加のSELECT文を同じ効率で遅延実行できるためです。このモードがjoinモードより効率的なのは、イーガー・リレーションを持つ複数のオブジェクトがロードされる場合や、すべてのサブクラスへ結合するより複数のSELECT文を実行した方が速く処理が完了する場合のみです。
single
- join
と同じです。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Empressディクショナリを構成します。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのEmpressディクショナリの構成に関する項を参照してください。
empress-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに次の下位要素(デフォルト値を表示)も持ちます。
<empress-dictionary> ... <allow-concurrent-read>false</allow-concurrent-read> </empress-dictionary>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches gem-fire-data-cache persistence-configuration persistence-configuration-unit data-caches kodo-current-data-cache persistence-configuration persistence-configuration-unit data-caches lru-data-cache persistence-configuration peristence-configuration-unit data-caches tangosol-data-cache
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値: 0
親要素 :
persistence-configuration persistence-configuration-unit jms-remote-commit-provider
値の範囲: なし
デフォルト値: なし
親要素: なし
<execution-context-name-provider> <stack-execution-context-name-provider>... </stack-execution-context-name-provider> <transaction-name-execution-context-name-provider>... </transaction-name-execution-context-name-provider> <user-object-execution-context-name-provider>... </user-object-execution-context-name-provider> </execution-context-name-provider>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit profiling
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<extension-deprecated-jdo-mapping-factory> <use-schema-validation>true</use-schema-validation> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> <scan-top-down>false</scan-top-down> </extension-deprecated-jdo-mapping-factory>
値の範囲: 整数
デフォルト値: -1
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: forward
| reverse
| unknown
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit fetch-group
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory
値の範囲: 文字列
デフォルト値: 以下参照
親要素 :
persistence-configuration persistence-configuration-unit file-schema-factory persistence-configuration persistence-configuration-unit log-factory-impl
親要素がfile-schema-factoryの場合、XMLスキーマ・ファイルのリソース名を指定します。このファクトリはデフォルトで、CLASSPATH
の最上位レベルのディレクトリ内、またはCLASSPATH
のJARの最上位レベルにあるpackage.schema
という名前のリソースを検索します。
親要素がlog-factory-implの場合は、メッセージのログが記録されるファイルの名前を指定します。stdout
またはstderr
を指定し、ログ・メッセージをそれぞれ標準出力または標準エラーに出力します。stderr
がデフォルトです。
値の範囲: 文字列
デフォルト値: package.schema
親要素 :
persistence-configuration persistence-configuration-unit file-schema-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース・スキーマに関する情報の格納および取得に使用するkodo.jdbc.schema.SchemaFactory
を表すプラグイン文字列を指定します(ここでは、kodo.jdbc.schema.FileSchemaFactory
)。
このファクトリはtable-schema-factoryと似ており、同じメリットとデメリットがあります。XMLスキーマ定義がデータベース表ではなく、ファイルに保存されます。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit lazy-schema-factory
値の範囲: 文字列
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit native-jdbc-seq
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
FoxProディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのFoxProディクショナリの構成に関する項を参照してください。
値の範囲: true
| false
| with-connection
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit
問合せを実行する前に、現在のトランザクションで行われた変更をデータ・ストアにフラッシュするかどうかを指定するフラグ。有効な値は以下のとおりです。
true
- メモリー内で問合せを実行せずに常にフラッシュします。現在のトランザクションが、オプティミスティック・トランザクションである場合、ロックされないデータ・ストア・トランザクションが開始されます。これがデフォルトです。
false
- 問合せの前にフラッシュしません。
with-connection
- EntityManager
またはPersistenceManager
がデータ・ストアとの専用接続を確立している場合にのみフラッシュします。確立していない場合は、メモリー内で問合せを実行します。
このオプションは、実行時間が長いオプティミスティック・トランザクションで、コミットするまでデータベース・リソースを消費しないようにする場合に役立ちます。Kodoのこのオプションの動作は、トランザクションのステータスやモードに加え、この節で説明したconnection-retain-modeの構成によって変わります。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: 有効なGemFire地域名
デフォルト値 :
データ・キャッシュ: root/kodo-data-cache
問合せキャッシュ: root/kodo-query-cache
親要素 :
persistence-configuration persistence-configuration-unit data-caches gem-fire-data-cache
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit profiling
値の範囲: 有効なホスト名
デフォルト値: localhost
親要素 :
persistence-configuration persistence-configuration-unit tcp-transport
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
HSQLディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのHSQLディクショナリの構成に関する項を参照してください。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値: 1
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit native-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit time-seeded-seq persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit lazy-schema-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Informixディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのInformixディクショナリの構成に関する項を参照してください。
informix-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<informix-dictionary> ... <lock-mode-enabled>false</lock-mode-enabled> <lock-wait-seconds>30</lock-wait-seconds> <swap-schema-and-catalog>true</swap-schema-and-catalog> </informix-dictionary>
値の範囲: なし
デフォルト値: 1
親要素 :
persistence-configuration persistence-configuration-unit native-jdbc-seq
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit export-profiling profiling export-profiling
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
JDataStoreディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのJDataStoreディクショナリの構成に関する項を参照してください。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<jdo-meta-data-factory> <use-schema-validation>false</use-schema-validation> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <constraint-names>false</constraint-names> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> <scan-top-down>false</scan-top-down> </jdo-meta-data-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit JNDIName
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<kodo-broker> <large-transaction>false</large-transaction> <auto-clear>datastore</auto-clear> <detach-state>1</detach-stage> <nontransactional-read>true</nontransactional-read> <retain-state>false</retain-state> <evict-from-data-cache>false</evict-from-data-cache> <detached-new>true</detached-new> <optimistic>true</optimistic> <nontransactional-write>flase</nontransactional-write> <sync-with-managed-transacations>false</sync-with-managed-transactions> <multithreaded>false</multithreaded> <populate-data-cache>true</populate-data-cache> <ignore-changes>false</ignore-changes> <auto-detach>0</auto-detach> <restore-state>1</restore-state> <order-dirty-objects>false</other-dirty-objects> </kodo-broker>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<kodo-persistence-mapping-factory> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <default-access-type>FIELD</default-access-type> <field-override>true</field-override> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> </kodo-persistence-mapping-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
使用するkodo.meta.MetaDataFactory
タイプを表すプラグイン文字列を指定します(ここでは、org.apache.openjpa.persistence.PersistenceMetaDataFactory
)。
<kodo-persistence-meta-data-factory> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <default-access-type>FIELD</default-access-type> <field-override>true</field-override> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> </kodo-persistence-meta-data-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<kodo-pooling-data-source> <connection-user-name>KodoPool</connection-user-name> <login-timeout>10</login-timeout> <connection-password>password</connection-password> <connection-url>jdbc:hsqldb:db-hypersonic</connection-url> <connection-driver-name>org.hsqldb.jdbcDrier</connection-driver-name> </kodo-pooling-data-source>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース・スキーマに関する情報の格納および取得に使用するkodo.jdbc.schema.SchemaFactory
を表すプラグイン文字列を指定します(ここでは、kodo.jdbc.schema.LazySchemaFactory
)。
アプリケーションで永続クラスがロードされる際に、永続クラスのメタデータおよびオブジェクト・リレーショナル・マッピング情報が読み取られます。このファクトリは、java.sql.DatabaseMetaData
インタフェースを使用してスキーマでの反映を行い、読取り対象のマッピング・データとの整合性を確保します。表定義に対する反映は、その表がマッピング情報で示されるまで行われないため、この処理は「レイジー」と呼ばれています。このファクトリは、開発期間中に、マッピング・メタデータとデータベースの整合性を前もって検証する場合に使用します。
値の範囲: 1
| 2
| 3
| 4
| 5
デフォルト値: 4
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit profiling
値の範囲: 整数
デフォルト値: -1
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
ロギングにLog4Jを使用するように指定します。スタンドアロン・アプリケーションの場合、Log4Jロギング・レベルは、log4j.properties
という名前のリソースによって制御されます。このリソースは、最上位レベルの(jarファイルの最上位レベルにあるか、いずれかのCLASSPATH
ディレクトリのルートにある)リソースとして利用できる必要があります。WebまたはEJBアアプリケーション・サーバーにデプロイするとき、Log4J構成は、多くの場合プロパティ・ファイルではなくlog4j.xml
ファイルで行われます。Log4Jの構成の詳細は、Log4J 2.xマニュアル(http://logging.apache.org/log4j/2.x/manual/index.html
)を参照してください。
値の範囲: 有効なクラス名
デフォルト値 :
親要素 :
persistence-configuration persistence-configuration-unit kodo-pooling-data-source persistence-configuration persistence-configuration-unit simple-driver-data-source
値の範囲: query
| last
| unknown
デフォルト値: query
親要素 :
persistence-configuration persistence-configuration-unit
結果セットのサイズを指定します。このプロパティは、必要に応じて結果がロードされるよう、fetch-batch-sizeのデフォルト値 -1を変更した場合にのみ使用します。有効な値は以下のとおりです。
query
- 問合せ結果のサイズを最初に問い合わせたときに、予想される結果の数がSELECT COUNT(*)
問合せで特定されます。報告されるサイズは、トランザクションのステータスおよび設定に応じて、実際の結果の数と若干異なる場合がある点に注意する必要があります。これがデフォルトです。
last
- スクロール可能な結果セット・タイプを選択している場合、ResultSet.last
メソッドが使用され、結果セットの最後の要素に移動し、そのインデックスを取得します。一部のJDBCドライバでは、最後の要素にアクセスするために、すべての結果がメモリーに格納されてしまいます。スクロール可能な結果セット・タイプを選択していない場合は、unknown
の動作と同じです。デフォルトの結果セット・タイプはforward-only
であるため、このプロパティを有効にするには、結果セット・タイプを変更する必要があります。
unknown
- 必要に応じたロードを使用する問合せ結果のサイズとして、Integer.MAX_VALUE
が返されます。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit inverse-manager
値の範囲: 文字列
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit orm-filie-mapping-factory
子要素がpersistence-configuration-unitの場合、使用するオブジェクトとデータストアのマッピングの識別名を指定します。
子要素がorm-file-jdor-mapping-factoryの場合、これらのマッピングの論理名を指定します。マッピング・ファイルには、接尾辞がlogicalname.orm
のように付きます。論理名を指定しない場合は、kodo.Mapping
構成プロパティが使用されます。
値の範囲: 文字列
デフォルト値 : MAPPING_DEF
親要素 :
persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<mapping-defaults-impl> <use-class-criteria>false</use-class-criteria> <base-class-strategy>ColumnPerLockGroupVersionStrategy</base-class-strategy> <version-strategy>version-number</version-strategy> <discriminator-column-name>test</discriminator-column-name> <subclass-strategy>vertical</subclass-strategy> <index-version>false</index-version> <index-logical-foreign-keys>true</index-logical-foreign-keys> <null-indicator-column-name>null</null-indicator-column-name> <foreign-key-delete-action></foreign-key-delete-action> <join-foreign-key-delete-action>1</join-foreign-key-delete-action> <discriminator-strategy>final</discriminator-strategy> <defer-constraints>false</defer-constraints> <field-strategies>none</field-strategies> <version-column-name>version</version-column-name> <data-store-id-column-name>ID</data-store-id-column-name> <index-discriminator>true</index-discriminator> <store-enum-ordinal>false</store-enum-ordinal> <order-lists>true</order-lists> <order-column-name>false</order-column-name> <add-null-indicator>false</add-null-indicator> <store-unmapped-object-id-string>false</store-unmapped-object-id-string> </mapping-defaults-impl>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<mapping-file-deprecated-jdo-mapping-factory> <use-schema-validation>true</use-schema-validation> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <single-file>false</single-file> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict></strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> <scan-top-down>false</scan-top-down> </mapping-file-deprecated-jdo-mapping-factory>
値の範囲: 整数
デフォルト値: 2
親要素 :
persistence-configuration persistence-configuration-unit tcp-remote-commit-provider
値の範囲: 整数
デフォルト値: 2
親要素 :
persistence-configuration persistence-configuration-unit tcp-remote-commit-provider
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit constraint-update-manager persistence-configuration persistence-configuration-unit batching-operation-order-update-manager persistence-configuration persistence-configuration-unit table-lock-update-manager
値の範囲: any-create
| create
| agentID:<agentID>
デフォルト値: any-create
親要素 :
jmx local-jmx
Kodoは、JMXベースの管理が有効な場合、以下のいずれかのオプションに基づいて、既存のMBeanServer
を特定するか、新たに作成する必要があります。
any-create
- 既存のMBeanServerを特定します。複数検出された場合は、最初のサーバーを使用します。何も検出されなかった場合は、新しいサーバーを作成します。これがデフォルトです。
create
- 新しいサーバーを作成します。既存のMBeanServerの検出は試行しません。
agentId:<agentID>
- 指定したエージェントIDを持つ既存のMBeanServerを特定します。何も検出されなかった場合は、新しいサーバーを作成します。
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
MySQLディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのMySQLディクショナリの構成に関する項を参照してください。
mysql-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<mysql-dictionary> ... <table-type>innodb</table-type> <use-clobs>true</use-clobs> <driver-deserializes-blobs>true</driver-deserializes-blobs> </mysql-dictionary>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-cache persistence-configuration persistence-configuration-unit db-dictionary persistence-configuration persistence-configuration-unit jms-remote-commit-provider persistence-configuration persistence-configuration-unit property-type persistence-configuration persistence-configuration-unit query-cache persistence-configuration persistence-configuration-unit single-jvm-remote-commit-provider persistence-configuration persistence-configuration-unit tcp-remote-commit-provider persistence-configuration persistence-configuration-unit cluster-remote-commit-provider
値の範囲: 文字列
デフォルト値: Name
親要素 :
persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration peristence-configuration-unit table-jdor-mapping-factory
値の範囲: 有効なクラス名
デフォルト値: なし
親要素 :
jmx jmx2-jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
独自のカスタム・ジェネレータの作成に使用するkodo.kernel.Seq
インタフェースを表すプラグイン文字列を指定します(ここでは、kodo.jdbc.kernel.NativeJDBCSeq
)。
ほとんどのデータベースには、増分数を取得するための「ネイティブ・シーケンス」という概念のメカニズムが組み込まれています。Oracleの場合、CREATE SEQUENCE MYSEQUENCE
などの文でデータベース・シーケンスを作成することができます。シーケンス値は、SELECT MYSEQUENCE.NEXTVAL FROM DUAL
文で自動的に取得およびインクリメントすることができます。Kodoでは、この一般的なシーケンス生成メカニズムをNativeJDBCSeq
でサポートしています。
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit profiling
値の範囲: true
| false
デフォルト値 :
persistence-configuration: false
kodo-broker: true
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit tcp-remote-commit-provider
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Oracleディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのOracleディクショナリの構成に関する項を参照してください。
oracle-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<oracle-dictionary> ... <use-triggers-for-auto-assign>false</use-triggers-for-auto-assign> <auto-assign-sequence-name>false</auto-assign-sequence-name> <use-set-form-of-use-for-unicode>true</use-set-form-of-use-for-unicode> </oracle-dictionary>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
トランザクションのセーブポイントの管理に使用するkodo.kernel.SavepointManager
を表すプラグイン文字列を指定します(ここでは、デフォルトのkodo.jdbc.sql.OracleSavepointManager
)。このプラグインの動作は、jdbc3-savepoint-managerと似ていますが、このプラグインではOracle固有の呼出しを使用します。このプラグインを使用するには、バージョン9.2以上のOracle JDBCドライバおよびデータベースを使用する必要があります。このプラグインは、データベースへのフラッシュの発行によりセーブポイントを実装します。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<orm-file-jdor-mapping-factory> <use-schema-validation>true</use-schema-validation> <mapping>mapping</mapping> <urls>t3://localhost:7001/metadata.jar</urls> <files>com/file1;com/file2</files> <classpath-scan>build</classpath-scan> <types>classname1;classname2</types> <store-mode>1</store-mode> <strict>false</strict> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> <scan-top-down>false</scan-top-down> </orm-file-jdor-mapping-factory>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: 有効なポート
デフォルト値: 以下参照(親要素によって異なります)
親要素 :
persistence-configuration persistence-configuration-unit tcp-transport persistence-configuration persistence-configuration-unit tcp-remote-commit-provider
サーバーがリスンするポートを指定します。この設定は、サーバーではなく、クライアントが使用します。
親要素がtcp-transportの場合、5637
がデフォルトです。
親要素がtcp-remote-commit-providerの場合、5636
がデフォルトです。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Postgresディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのPostgresディクショナリの構成に関する項を参照してください。
postgres-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<postgres-dictionary> ... <all-sequences-sql>SELECT NULL AS SEQUENCE_SCHEMA, relname AS SEQUENCE_NAME FROM pg_class WHERE relkind='S'</all-sequence-sql> <named-sequences-from-all-schemas-sql>SELECT NULL AS SEQUENCE_SCHEMA, relname AS SEQUENCE_NAME FROM pg_class WHERE relkind='S' AND relname = ?"</named-sequences-from-all-schemas-sql> <all-sequences-from-one-schema-sql>SELECT NULL AS SEQUENCE_SCHEMA, relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = pg_namespace.oid AND nspname = ?</all-sequences-from-one-schema-sql> <named-sequences-from-one-schema-sql>SELECT NULL AS SEQUENCE_SCHEMA, relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = ?</named-sequences-from-one-schema-sql> <supports-set-fetch-size>true</supports-set-fetch-size> </postgres-dictionary>
値の範囲: 文字列
デフォルト値: ID
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit table-schema-factory persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: 文字列
デフォルト値: DEFAULT
親要素 :
persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit lazy-schema-factory
値の範囲: なし
デフォルト値: なし
親要素: なし
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit aggregate-listener custom-aggregate-listener persistence-configuration persistence-configuration-unit custom-broker-factory persistence-configuration persistence-configuration-unit custom-broker-impl persistence-configuration persistence-configuration-unit custom-class-resolver persistence-configuration persistence-configuration-unit custom-compatibility persistence-configuration persistence-configuration-unit custom-connection-decorator persistence-configuration persistence-configuration-unit custom-data-cache persistence-configuration persistence-configuration-unit custom-dictionary persistence-configuration persistence-configuration-unit custom-driver-data-source persistence-configuration persistence-configuration-unit custom-filter-listener persistence-configuration persistence-configuration-unit custom-jdbc-listener persistence-configuration persistence-configuration-unit custom-lock-manager persistence-configuration persistence-configuration-unit custom-logType persistence-configuration persistence-configuration-unit custom-mapping-defaults persistence-configuration persistence-configuration-unit custom-meta-data-respository persistence-configuration persistence-configuration-unit custom-orphaned-key-action persistence-configuration persistence-configuration-unit custom-persistence-server persistence-configuration persistence-configuration-unit custom-proxy-manager persistence-configuration persistence-configuration-unit custom-query-cache persistence-configuration persistence-configuration-unit custom-query-compilation persistence-configuration persistence-configuration-unit custom-remote-commit-provider persistence-configuration persistence-configuration-unit custom-savepoint-manager persistence-configuration persistence-configuration-unit custom-seq persistence-configuration persistence-configuration-unit custom-sql-factory persistence-configuration persistence-configuration-unit custom-update-manager
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit properties
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<query-caches> <default-query-cache>...</default-query-cache> </query-caches> <query-caches> <kodo-concurrent-query-cache>...</kodo-concurrent-query-cache> </query-caches> <query-caches> <gem-fire-query-cache>...</gem-fire-query-cache> </query-caches> <query-caches> <lru-query-cache>...</lru-query-cache> </query-caches> <query-caches> <tangosol-query-cache>...</tangosol-query-cache> </query-caches> <query-caches> <disabled-query-cache>...</disabled-query-cache> </query-caches> <query-caches> <custom-query-cache>...</custom-query-cache> </query-caches>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: none
| read
| write
|ロック・マネージャ固有のロック・レベル(数値)
デフォルト値: read
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: none
| clear
デフォルト値: none
親要素 :
persistence-configuration persistence-configuration-unit cluster-remote-commit-provider
値の範囲: 整数
デフォルト値: 15000
親要素 :
persistence-configuration persistence-configuration-unit tcp-remote-commit-provider
値の範囲: 有効なリソース名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit tangosol-data-cache
値の範囲: true
persistence-configuration-unit: all
| immutable
| none
| true
| false
kodo-broker: 1
| 2
| 3
| 4
| 5
デフォルト値: none
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: forward--only
| scroll-sensitive
| scroll-insensitive
デフォルト値: forward-only
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: 以下参照(親によって異なります)
親要素 :
persistence-configuration persistence-configuration-unit persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory
値の範囲: 文字列
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 文字列
デフォルト値 : SCHEMA_DEF
親要素 :
persistence-configuration persistence-configuration-unit table-schema-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値 : OPENJPA_SEQUENCE
親要素 :
persistence-configuration persistence-configuration-unit native-jdbc-seq
値の範囲: 文字列
デフォルト値 : SEQUENCE_VALUE
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: 文字列
デフォルト値 : OPENJPA_SEQUENCE
親要素 :
persistence-configuration persistence-configuration-unit native-jdbc-seq
値の範囲: 有効なサービスURL
デフォルト値 : service:jmx:rmi://localhost/jndi/jmxservice
親要素 :
jmx jmx2-jmx
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
<simple-driver-data-source> <connection-user-name>user</connection-user-name> <login-timeout>10</login-timeout> <connection-password>password</connection-password> <connection-url>jdbc:hsqldb:db-hypersonic</connection-url> <connection-driver-name>org.hsqldb.jdbcDrier</connection-driver-name> </simple-driver-data-source>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 整数
デフォルト値: -1
親要素 :
persistence-configuration persistence-configuration-unit kodo-concurrent-data-cache persistence-configuration persistence-configuration-unit kodo-concurrent-query-cache persistence-configuration persistence-configuration-unit lru-data-cache persistence-configuration persistence-configuration-unit lru-query-cache persistence-configuration persistence-configuration-unit query-compilation-cache
値の範囲: 整数
デフォルト値: 0
親要素 :
persistence-configuration persistence-configuration-unit http-transport
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
SQLServerディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのSQLServerディクショナリの構成に関する項を参照してください。
sql-server-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<sql-server-dictionary> ... <unique-identifier-as-varbinary>true</unique-identifier-as-varbinary> </sql-server-dictionary>
値の範囲: なし
デフォルト値: なし
親要素 :
execution-context-name-provider
値の範囲: 整数
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: line
| partial
| full
デフォルト値: なし
親要素 :
execution-context-name-provider stack-execution-context-name-provider
値の範囲: join
| multiple
| none
| parallel
| single
デフォルト値: join
親要素 :
execution-context-name-provider stack-execution-context-name-provider
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
Sybaseディクショナリの永続性プラグインの構成値。指定可能な各値の詳細は、Oracle WebLogic Server管理コンソール・オンライン・ヘルプのSybaseディクショナリの構成に関する項を参照してください。
sybase-dictionary
要素の下位要素は、access-dictionaryと同じです。さらに以下の下位要素(デフォルト値を表示)も持ちます。
<sybase-dictionary> ... <create-identity-column>true</create-identity-column> <identity-column-name>UNQ_INDEX</identity-column-name> </sybase-dictionary>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit kodo-broker
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration
値の範囲: 文字列
デフォルト値: 以下参照
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit table-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-schema-factory persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース表にマッピング・メタデータをXML文字列として格納するkodo.jdo.jdbc.TableJDORMappingFactoryを表すプラグイン文字列。この設定はJDO 1.0で有効です。
<table-deprecated-jdo-mapping-factory> <table-name>JDO_MAPPING</table-name> <urls>t3://localhost:7001/metadata.jar</urls> <classpath-scan>build</classpath-scan> <types>classname1;classname2</types> <mapping-column>MAPPING_DEF</mapping-column> <store-mode></store-mode> <strict>false</strict> <name-column>NAME</name-column> <use-schema-validation>false</use-schema-validation> <single-row>false</single-row> <files>com/file1;com/file2</files> <scan-top-down>false</scan-top-down> <resources>com/aaa/package.jdo;com/bbb/package.jdo</resources> </table-deprecated-jdo-mapping-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
独自のカスタム・ジェネレータの作成に使用するkodo.kernel.Seq
インタフェースを表すプラグイン文字列を指定します(ここでは、kodo.jdbc.kernel.TableJDBCSeq
)。
TableJDBCSeq
は、特殊な単一行の表にグローバル・シーケンス番号を格納します。この表は、この表を必要とするクラスに対してマッピング・ツールを最初に実行したときに存在しない場合は作成されます。表の操作には、そのクラスのmainメソッドやsequencetable
シェル/バッチ・スクリプトを使用することもできます(使用方法の詳細は、JavadocのTableJDBCSeq.main
メソッドを参照)。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース表にマッピング・メタデータをXML文字列として格納するkodo.jdo.jdbc.TableJDORMappingFactoryを表すプラグイン文字列。この設定はJDO 2.0で有効です。
<table-jdor-mapping-factory> <use-schema-validation>false</use-schema-validation> <type-column>0</type-column> <constraint-names>false</constraint-names> <table>KODO_JDO_MAPPINGS</table> <types>classname1;classname2</types> <store-mode></store-mode> <mapping-column>false</mapping-column> <strict>false</strict> <name-column>NAME</name-column> </table-jdor-mapping-factory>
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 文字列
デフォルト値: 以下参照
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit native-jdbc-seq persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit table-schema-factory persistence-configuration persistence-configuration-unit value-table-jdbc-seq
表の名前を指定します。
デフォルト値は、以下に示すように親要素によって異なります。
class-table-jdbc-seq: OPENJPA_SEQUENCES_TABLE
。
native-jdbc-seq: DUAL
。
table-deprecated-jdo-mapping-factory: JDO_MAPPING
。
table-jdbc-seq: OPENJPA_SEQUENCE_TABLE
。
table-schema-factory: OPENJPA_SCHEMA
。
value-table-jdbc-seq: OPENJPA_SEQUENCE_TABLE
。
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
データベース・スキーマに関する情報の格納および取得に使用するkodo.jdbc.schema.SchemaFactory
を表すプラグイン文字列を指定します(ここでは、kodo.jdbc.schema.TableSchemaFactory
)。
このスキーマ・ファクトリは、スキーマ情報をXMLドキュメントとしてデータベース表(スキーマ・ファクトリがこのために作成)に格納します。このファクトリは、現在のJDBCドライバでjava.sql.DatabaseMetaData
標準インタフェースがサポートされていないが、実行時に一定のスキーマ検証を実行したい場合などに使用することができます。ただし、このファクトリを使用すると、格納されているXMLスキーマ定義と実際のデータベースとの同期が困難になるため、無用に使用しないでください。
値の範囲: 文字列
デフォルト値: kodo
親要素 :
persistence-configuration persistence-configuration-unit tangosol-data-cache
値の範囲: named
| distributed
| replicated
デフォルト値: named
親要素 :
persistence-configuration persistence-configuration-unit tangosol-data-cache persistence-configuration persistence-configuration-unit tangosol-query-cache
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit data-caches
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: 有効なトピック
デフォルト値 : topic/KodoCommitProviderTopic
親要素 :
persistence-configuration persistence-configuration-unit jms-remote-commit-provider
値の範囲: 有効な接続ファクトリ
デフォルト値 : java:/ConnectionFactory
親要素 :
persistence-configuration persistence-configuration-unit jms-remote-commit-provider
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: default
| none
| read-committed
| read-uncommitted | repeatable-read | serializable
デフォルト値: default
親要素 :
persistence-configuration persistence-configuration-unit
使用するJDBCトランザクションのアイソレーション・レベルを指定します。
default
- JDBCドライバのデフォルトのレベル。これがデフォルトです。
none
- トランザクションのアイソレーションが設定されません。
read-committed
- ダーティ・リードは阻止され、反復不可能読取りおよびファントム読取りが可能です。
read-uncommitted
- ダーティ・リード、反復不可能読み取り、ファントム読取りが可能です。
repeatable-read
- ダーティ・リードおよび反復不可能読取りは阻止され、ファントム読取りが可能です。
serializable
- ダーティ・リード、反復不可能読み取り、ファントム読取りが阻止されます。
値の範囲: local
| managed
デフォルト値: local
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
execution-context-name-provider
値の範囲: なし
デフォルト値: 0
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq persistence-configuration persistence-configuration-unit native-jdbc-seq persistence-configuration persistence-configuration-unit table-jdbc-seq persistence-configuration persistence-configuration-unit time-seeded-seq persistence-configuration persistence-configuration-unit value-table-jdbc-seq
値の範囲: 0
| 1
| 2
| 3
デフォルト値: 0
親要素 :
persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
指定できる値:有効な永続性クラス名
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit tangosol-data-cache
値の範囲: 有効なURL
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit http-transport
値の範囲: 有効なURL
デフォルト値 : t3://localhost:7001
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-mapping-factory persistence-configuration persistence-configuration-unit kodo-persistence-meta-data-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit class-table-jdbc-seq
値の範囲: true
| false
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit deprecated-jdo-meta-data-factory persistence-configuration persistence-configuration-unit extension-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit jdo-meta-data-factory persistence-configuration persistence-configuration-unit jdor-mapping-factory persistence-configuration persistence-configuration-unit mapping-file-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit orm-file-jdor-mapping-factory persistence-configuration persistence-configuration-unit table-deprecated-jdo-mapping-factory persistence-configuration persistence-configuration-unit table-jdor-mapping-factory
値の範囲: なし
デフォルト値: なし
親要素 :
execution-context-name-provider
値の範囲: true
| false
デフォルト値: true
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit compatibility
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
独自のカスタム・ジェネレータの作成に使用するkodo.kernel.Seq
インタフェースを表すプラグイン文字列を指定します(ここでは、kodo.jdbc.kernel.ValueTableJDBCSeq
)。
このシーケンスはtable-jdbc-seqと似ていますが、クラスごとに1行の固定パターンではなく、シーケンス値に任意の行数があります。
<value-table-jdbc-seq> <type>0</type> <allocate>50</allocate> <table-name>OPENJPA_SEQUENCE_TABLE</table-name> <primary-key-value>DEFAULT</primary-key-value> <table>OPENJPA_SEQUENCE_TABLE</table> <primary-key-column>ID</primary-key-column> <sequence-column>SEQUENCE_VALUE</sequence-column> <increment>1</increment> </value-table-jdbc-seq>
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit pessimistic-lock-manager
値の範囲: true
| false
デフォルト値: false
親要素 :
persistence-configuration persistence-configuration-unit pessimistic-lock-manager
値の範囲: なし
デフォルト値: なし
親要素 :
persistence-configuration persistence-configuration-unit
値の範囲: なし
デフォルト値: なし
親要素 :
jmx
値の範囲: none
| read
| write
|ロック・マネージャ固有のロック・レベル(数値)
デフォルト値: read
親要素 :
persistence-configuration persistence-configuration-unit