[jboss-cvs] JBossAS SVN: r72884 - projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Apr 30 00:10:10 EDT 2008
Author: noriko
Date: 2008-04-30 00:10:09 -0400 (Wed, 30 Apr 2008)
New Revision: 72884
Modified:
projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/The_CMP_Engine.po
Log:
translation work stopped by chester
Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/The_CMP_Engine.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/The_CMP_Engine.po 2008-04-30 01:35:19 UTC (rev 72883)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/The_CMP_Engine.po 2008-04-30 04:10:09 UTC (rev 72884)
@@ -1,24 +1,27 @@
+# translation of The_CMP_Engine.po to Japanese
# Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
# Automatically generated, 2007.
-#
+# Noriko Mizumoto <noriko at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: The_CMP_Engine\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-30 14:09+1000\n"
+"Last-Translator: Noriko Mizumoto <noriko at redhat.com>\n"
+"Language-Team: Japanese <fedora-trans-ja at redhat.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: The_CMP_Engine.xml:6
#, no-c-format
msgid "The CMP Engine"
-msgstr ""
+msgstr "CMP エンジン"
#. Tag: para
#: The_CMP_Engine.xml:7
@@ -31,12 +34,14 @@
"coverage of basic CMP concepts, we recommend <emphasis>Enterprise Java "
"Beans, Fourth Edition</emphasis> (O'Reilly 2004)."
msgstr ""
+"本章では JBoss でのコンテナ管理永続 (CMP) の使い方について説明していきます。 ここでは EJB CMP モデルについて基本的な知識を有していることを前提とし、 JBoss CMP エンジンの操作方法について焦点を置くことにします。 特に、 JBoss における CMP アプリケーションの設定と最適化について見ていきます。 ベーシックな CMP のコンセプトなど初歩的な部分については、 <emphasis>Enterprise Java "
+"Beans, Fourth Edition</emphasis> (O'Reilly 2004) を参照されることをお薦めします。"
#. Tag: title
#: The_CMP_Engine.xml:11
#, no-c-format
msgid "Example Code"
-msgstr ""
+msgstr "サンプルコード"
#. Tag: para
#: The_CMP_Engine.xml:12
@@ -47,12 +52,14 @@
"The data model we will be working with is shown in <xref linkend="
"\"Example_Code-The_crime_portal_example_classes\"/>."
msgstr ""
+"本章は実際にサンプルを使って進行していきます。 架空の犯罪組織に関する情報を格納する犯罪ポータルアプリケーションを使用します。 <xref linkend="
+"\"Example_Code-The_crime_portal_example_classes\"/> にデータモデルを示します。"
#. Tag: title
#: The_CMP_Engine.xml:16
#, no-c-format
msgid "The crime portal example classes"
-msgstr ""
+msgstr "犯罪ポータルサンプルクラス"
#. Tag: para
#: The_CMP_Engine.xml:23
@@ -64,12 +71,14 @@
"application to the JBoss server. Be sure the JBoss server dist locations are "
"correctly defined or overridden using a local ant.properties file."
msgstr ""
+"犯罪ポータルのソースコードはサンプルコードの <literal>src/main/"
+"org/jboss/cmp2</literal> にあります。 サンプルコードをビルドするには、 以下のようにして Ant を実行します。 このコマンドによりアプリケーションを JBoss サーバーに構築、 配備します。 JBoss サーバーのディストリビューションの場所が正しく定義されているまたはローカルの ant.properties ファイルで上書きされることを必ず確認してください。"
#. Tag: programlisting
#: The_CMP_Engine.xml:26
#, no-c-format
msgid "[examples]$ ant -Dchap=cmp2 config"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=cmp2 config"
#. Tag: para
#: The_CMP_Engine.xml:27
@@ -77,7 +86,7 @@
msgid ""
"When you start your JBoss server, or if it is already running, you should "
"see the following deployment messages:"
-msgstr ""
+msgstr "JBoss サーバーを起動するあるいはすでに稼働している場合、 次のデプロイメントメッセージが表示されるはずです。"
#. Tag: programlisting
#: The_CMP_Engine.xml:30
@@ -109,6 +118,31 @@
"15:46:37,247 INFO [JobBean$Proxy] Creating Job The Greate Train Robbery\n"
"15:46:37,257 INFO [JobBean$Proxy] Creating Job Cheap Liquor Snatch and Grab"
msgstr ""
+"15:46:36,704 INFO [OrganizationBean$Proxy] Creating organization Yakuza, "
+"Japanese Gangsters\n"
+"15:46:36,790 INFO [OrganizationBean$Proxy] Creating organization Mafia, "
+"Italian Bad Guys\n"
+"15:46:36,797 INFO [OrganizationBean$Proxy] Creating organization Triads, "
+"Kung Fu Movie Extras\n"
+"15:46:36,877 INFO [GangsterBean$Proxy] Creating Gangster 0 '"
+"Bodyguard' Yojimbo\n"
+"15:46:37,003 INFO [GangsterBean$Proxy] Creating Gangster 1 'Master' "
+"Takeshi\n"
+"15:46:37,021 INFO [GangsterBean$Proxy] Creating Gangster 2 'Four "
+"finger' Yuriko\n"
+"15:46:37,040 INFO [GangsterBean$Proxy] Creating Gangster 3 'Killer' "
+"Chow\n"
+"15:46:37,106 INFO [GangsterBean$Proxy] Creating Gangster 4 '"
+"Lightning' Shogi\n"
+"15:46:37,118 INFO [GangsterBean$Proxy] Creating Gangster 5 'Pizza-"
+"Face' Valentino\n"
+"15:46:37,133 INFO [GangsterBean$Proxy] Creating Gangster 6 '"
+"Toohless' Toni\n"
+"15:46:37,208 INFO [GangsterBean$Proxy] Creating Gangster 7 '"
+"Godfather' Corleone\n"
+"15:46:37,238 INFO [JobBean$Proxy] Creating Job 10th Street Jeweler Heist\n"
+"15:46:37,247 INFO [JobBean$Proxy] Creating Job The Greate Train Robbery\n"
+"15:46:37,257 INFO [JobBean$Proxy] Creating Job Cheap Liquor Snatch and Grab"
#. Tag: para
#: The_CMP_Engine.xml:31
@@ -117,13 +151,13 @@
"Since the beans in the examples are configured to have their tables removed "
"on undeployment, anytime you restart the JBoss server you need to rerun the "
"config target to reload the example data and re-deploy the application."
-msgstr ""
+msgstr "サンプルの bean は配備を外すとテーブルが削除されるよう設定されているため、 JBoss サーバーを起動したら必ず設定ターゲットに戻りサンプルデータの再ロードとアプリケーションの再配備を行う必要があります。"
#. Tag: title
#: The_CMP_Engine.xml:35
#, no-c-format
msgid "Enabling CMP Debug Logging"
-msgstr ""
+msgstr "CMP デバッグログ機能を有効にする"
#. Tag: para
#: The_CMP_Engine.xml:36
@@ -133,7 +167,7 @@
"increase the log level of the CMP subsystem before running running the test. "
"To enable debug logging add the following category to your <literal>log4j."
"xml</literal> file:"
-msgstr ""
+msgstr "本章のテストで意味のあるフィードバックを得るためには、 テストを実行する前に CMP サブシステムのログレベルを上げておきます。 デバッグログ機能を有効にするには、 次のカテゴリを <literal>log4j.xml</literal> ファイルに追加します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:39
@@ -143,6 +177,9 @@
" <priority value=\"DEBUG\"/>\n"
"</category>"
msgstr ""
+"<category name=\"org.jboss.ejb.plugins.cmp\">\n"
+" <priority value=\"DEBUG\"/>\n"
+"</category>"
#. Tag: para
#: The_CMP_Engine.xml:40
@@ -152,7 +189,7 @@
"<literal>CONSOLE</literal> appender to allow debug level messages to be "
"logged to the console. The following changes also need to be applied to the "
"<literal>log4j.xml</literal> file."
-msgstr ""
+msgstr "これに加え、 <literal>CONSOLE</literal> appender でしきい値を下げてコンソールにデバッグレベルのメッセージが記録されるようします。 次の変更も <literal>log4j.xml</literal> ファイルに適用する必要があります。"
#. Tag: programlisting
#: The_CMP_Engine.xml:43
@@ -174,6 +211,21 @@
" </layout>\n"
"</appender>"
msgstr ""
+"<appender name=\"CONSOLE\" class=\"org.apache.log4j.ConsoleAppender"
+"\">\n"
+" <errorHandler class=\"org.jboss.logging.util.OnlyOnceErrorHandler\"/"
+">\n"
+" <param name=\"Target\" value=\"System.out\"/>\n"
+" <param name=\"Threshold\" value=\"<emphasis role=\"bold\">DEBUG</"
+"emphasis>\" />\n"
+"\n"
+" <layout class=\"org.apache.log4j.PatternLayout\">\n"
+" <!-- The default pattern: Date Priority [Category] Message\\n --"
+">\n"
+" <param name=\"ConversionPattern\" value=\"%d{ABSOLUTE} %-5p [%c"
+"{1}] %m%n\"/>\n"
+" </layout>\n"
+"</appender>"
#. Tag: para
#: The_CMP_Engine.xml:44
@@ -183,6 +235,8 @@
"custom <literal>TRACE</literal> level priority on the <literal>org.jboss.ejb."
"plugins.cmp</literal> category as shown here:"
msgstr ""
+"CMP エンジンが完全に稼働していることを確認するには、 以下に示すように <literal>org.jboss.ejb."
+"plugins.cmp</literal> カテゴリでカスタムの <literal>TRACE</literal> レベル優先度を有効にする必要があります。"
#. Tag: programlisting
#: The_CMP_Engine.xml:47
@@ -192,12 +246,15 @@
" <priority value=\"TRACE\" class=\"org.jboss.logging.XLevel\"/>\n"
"</category>"
msgstr ""
+"<category name=\"org.jboss.ejb.plugins.cmp\">\n"
+" <priority value=\"TRACE\" class=\"org.jboss.logging.XLevel\"/>\n"
+"</category>"
#. Tag: title
#: The_CMP_Engine.xml:51
#, no-c-format
msgid "Running the examples"
-msgstr ""
+msgstr "サンプルを実行する"
#. Tag: para
#: The_CMP_Engine.xml:52
@@ -206,13 +263,13 @@
"The first test target illustrates a number of the customization features "
"that will be discussed throughout this chapter. To run these tests execute "
"the following ant target:"
-msgstr ""
+msgstr "1 番目のテストターゲットでは本章で説明していくカスタマイズ機能のいくつか示します。 これらのテストを実行するには、 次の ant ターゲットを実行します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:55
#, no-c-format
msgid "[examples]$ ant -Dchap=cmp2 -Dex=test run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=cmp2 -Dex=test run-example"
#. Tag: programlisting
#: The_CMP_Engine.xml:56
@@ -240,14 +297,36 @@
"t0_GangsterEJB.id FRO\n"
"M GANGSTER t0_GangsterEJB WHERE t0_GangsterEJB.id=?"
msgstr ""
+"22:30:09,862 DEBUG [OrganizationEJB#findByPrimaryKey] Executing SQL: SELECT "
+"t0_OrganizationEJ\n"
+"B.name FROM ORGANIZATION t0_OrganizationEJB WHERE t0_OrganizationEJB.name=?\n"
+"22:30:09,927 DEBUG [OrganizationEJB] Executing SQL: SELECT desc, the_boss "
+"FROM ORGANIZATION W\n"
+"HERE (name=?)\n"
+"22:30:09,931 DEBUG [OrganizationEJB] load relation SQL: SELECT id FROM "
+"GANGSTER WHERE (organi\n"
+"zation=?)\n"
+"22:30:09,947 DEBUG [StatelessSessionContainer] Useless invocation of remove"
+"() for stateless s\n"
+"ession bean\n"
+"22:30:10,086 DEBUG [GangsterEJB#findBadDudes_ejbql] Executing SQL: SELECT "
+"t0_g.id FROM GANGST\n"
+"ER t0_g WHERE (t0_g.badness > ?)\n"
+"22:30:10,097 DEBUG [GangsterEJB#findByPrimaryKey] Executing SQL: SELECT "
+"t0_GangsterEJB.id FRO\n"
+"M GANGSTER t0_GangsterEJB WHERE t0_GangsterEJB.id=?\n"
+"22:30:10,102 DEBUG [GangsterEJB#findByPrimaryKey] Executing SQL: SELECT "
+"t0_GangsterEJB.id FRO\n"
+"M GANGSTER t0_GangsterEJB WHERE t0_GangsterEJB.id=?"
#. Tag: para
#: The_CMP_Engine.xml:57
#, no-c-format
+#, fuzzy
msgid ""
"These tests exercise various finders, selects and object to table mapping "
"issues. We will refer to the tests throughout the chapter."
-msgstr ""
+msgstr "これらのテストでは各種の finder、 select、 オブジェクトを使用してマッピング関連の問題を表にしていきます。 本章ではこれらのテストを見ていきます。"
#. Tag: para
#: The_CMP_Engine.xml:60
@@ -261,12 +340,14 @@
"the changes to the log4j.xml file, but it may take a minute or so. The "
"following shows the actual execution of the readahead client:"
msgstr ""
+"その他メインターゲットは <xref linkend=\"The_CMP_Engine-"
+"Optimized_Loading\"/> で記載されている最適化ローディング設定を行うテスト一式を実行します。 これでログ機能が正しく設定され、 read-ahead テストは実行されるクエリーに関して役立つ情報を表示するようになります。 log4j.xml ファイルに対する変更を認識させるのに JBoss サーバーを起動する必要はありませんが、 反映されるのに 1 分ほどかかる場合があります。 次に readahead クライアントの実際の実行を示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:63
#, no-c-format
msgid "[examples]$ ant -Dchap=cmp2 -Dex=readahead run-example"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=cmp2 -Dex=readahead run-example"
#. Tag: para
#: The_CMP_Engine.xml:64
@@ -277,7 +358,7 @@
"items of note when analyzing the output are the number of queries executed, "
"the columns selected, and the number of rows loaded. The following shows the "
"read-ahead none portion of the JBoss server console output from readahead:"
-msgstr ""
+msgstr "readahead クライアントが実行されると、 テスト中に実行される SQL クエリーはすべて JBoss サーバーコンソールに表示されます。 出力の分析で注意すべき重要点は実行されるクエリー数、 選択されるコラム、 ロードされる列数になります。 次に readahead からの JBoss サーバーコンソール出力で read-ahead none の部分を示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:67
@@ -319,6 +400,41 @@
"########################################################\n"
"..."
msgstr ""
+"22:44:31,570 INFO [ReadAheadTest] \n"
+"########################################################\n"
+"### read-ahead none\n"
+"###\n"
+"22:44:31,582 DEBUG [GangsterEJB#findAll_none] Executing SQL: SELECT t0_g.id "
+"FROM GANGSTER t0_\n"
+"g ORDER BY t0_g.id ASC\n"
+"22:44:31,604 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,615 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,622 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,628 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,635 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,644 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,649 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,658 DEBUG [GangsterEJB] Executing SQL: SELECT name, nick_name, "
+"badness, organization\n"
+", hangout FROM GANGSTER WHERE (id=?)\n"
+"22:44:31,670 INFO [ReadAheadTest] \n"
+"###\n"
+"########################################################\n"
+"..."
#. Tag: para
#: The_CMP_Engine.xml:68
@@ -326,13 +442,13 @@
msgid ""
"We will revisit this example and explore the output when we discuss the "
"settings for optimized loading."
-msgstr ""
+msgstr "このサンプルについては最適化ローディングのための設定について説明する際に再度見ていくことにします。"
#. Tag: title
#: The_CMP_Engine.xml:76
#, no-c-format
msgid "The jbosscmp-jdbc Structure"
-msgstr ""
+msgstr "jbosscmp-jdbc 構成"
#. Tag: para
#: The_CMP_Engine.xml:77
@@ -343,7 +459,7 @@
"<literal>conf/standardjbosscmp-jdbc.xml</literal> descriptor found in the "
"server configuration file set, or per EJB JAR deployment via a <literal>META-"
"INF/jbosscmp-jdbc.xml</literal> descriptor."
-msgstr ""
+msgstr "<literal>jbosscmp-jdbc.xml</literal> 記述子を使って JBoss エンジンの動作を制御します。 サーバー設定ファイルセットにある <literal>conf/standardjbosscmp-jdbc.xml</literal> 記述子でグローバルに行うか、 <literal>META-INF/jbosscmp-jdbc.xml</literal> 記述子で EJB JAR デプロイメントごとに行うことができます。"
#. Tag: para
#: The_CMP_Engine.xml:80
@@ -352,7 +468,7 @@
"The DTD for the <literal>jbosscmp-jdbc.xml</literal> descriptor can be found "
"in <literal>JBOSS_DIST/docs/dtd/jbosscmp-jdbc_4_0.dtd</literal>. The public "
"doctype for this DTD is:"
-msgstr ""
+msgstr "<literal>jbosscmp-jdbc.xml</literal> 記述子の DTD は <literal>JBOSS_DIST/docs/dtd/jbosscmp-jdbc_4_0.dtd</literal> にあります。 この DTD 用のパブリックの doctype は次になります。"
#. Tag: programlisting
#: The_CMP_Engine.xml:83
@@ -362,6 +478,9 @@
" \"-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN\"\n"
" \"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd\">"
msgstr ""
+"<!DOCTYPE jbosscmp-jdbc PUBLIC\n"
+" \"-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN\"\n"
+" \"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd\">"
#. Tag: para
#: The_CMP_Engine.xml:84
@@ -370,16 +489,19 @@
"The top level elements are shown in <xref linkend="
"\"The_jbosscmp_jdbc_Structure-The_jbosscmp_jdbc_content_model.\"/>."
msgstr ""
+"トップレベルのエレメントを <xref linkend="
+"\"The_jbosscmp_jdbc_Structure-The_jbosscmp_jdbc_content_model.\"/> に示します。"
#. Tag: title
#: The_CMP_Engine.xml:88
#, no-c-format
msgid "The jbosscmp-jdbc content model."
-msgstr ""
+msgstr "jbosscmp-jdbc コンテントモデル"
#. Tag: para
#: The_CMP_Engine.xml:97
#, no-c-format
+#, fuzzy
msgid ""
"<emphasis role=\"bold\">defaults</emphasis>: The defaults section allows for "
"the specification of default behavior/settings for behavior that controls "
@@ -388,6 +510,9 @@
"linkend=\"The_CMP_Engine-Defaults\"/> for the details of the defaults "
"content."
msgstr ""
+"<emphasis role=\"bold\">defaults</emphasis>: デフォルトセクションではエンティティ bean を制御する動作のデフォルト動作/設定の詳細を指定できます。 このセクションを使用してエンティティ bean セクションにある共通動作に必要な情報量を簡略化します。 デフォルトコンテントについては <xref "
+"linkend=\"The_CMP_Engine-Defaults\"/> をご覧ください。"
+"?? The defaults section allows for => to specify?"
#. Tag: para
#: The_CMP_Engine.xml:102
@@ -398,7 +523,7 @@
"the <literal>ejb-jar.xml</literal><literal>enterprise-beans</literal> "
"descriptor. This is described in detail in <xref linkend=\"The_CMP_Engine-"
"Entity_Beans\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">enterprise-beans</emphasis>: <literal>enterprise-beans</literal> エレメントは <literal>ejb-jar.xml</literal><literal>enterprise-beans</literal> 記述子で定義されるエンティティ bean のカスタマイズ化を行うことができます。 これについては <xref linkend=\"The_CMP_Engine-Entity_Beans\"/> で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:107
@@ -409,7 +534,7 @@
"tables and the loading behavior of entity relationships. This is described "
"in detail in <xref linkend=\"The_CMP_Engine-Container_Managed_Relationships"
"\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">relationships</emphasis>: <literal>relationships</literal> エレメントはエンティティの関連性動作のロードやテーブルのカスタマイズを行うことができます。 これについては <xref linkend=\"The_CMP_Engine-Container_Managed_Relationships\"/> で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:112
@@ -421,6 +546,8 @@
"value classes are described in detail in <xref linkend=\"CMP_Fields-"
"Dependent_Value_Classes_DVCs\"/> (DVCs)."
msgstr ""
+"<emphasis role=\"bold\">dependent-value-classes</emphasis>: <literal>dependent-value-classes</literal> エレメントでは dependent value class のテーブルへのマッピングをカスタマイズすることができます。 依存値クラスについては <xref linkend=\"CMP_Fields-"
+"Dependent_Value_Classes_DVCs\"/> (DVCs) で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:117
@@ -430,7 +557,7 @@
"mappings</literal> element defines the Java to SQL type mappings for a "
"database, along with SQL templates, and function mappings. This is described "
"in detail in <xref linkend=\"The_CMP_Engine-Datasource_Customization\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">type-mappings</emphasis>: <literal>type-mappings</literal> エレメントは Java をデータベース用の SQL タイプマッピングに対して SQL テンプレートや関数マッピングを付けて定義します。 これについては <xref linkend=\"The_CMP_Engine-Datasource_Customization\"/> で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:122
@@ -442,6 +569,9 @@
"store. This is described in detail in <xref linkend=\"The_CMP_Engine-"
"Entity_Commands_and_Primary_Key_Generation\"/>."
msgstr ""
+"<emphasis role=\"bold\">entity-commands</emphasis>: <literal>entity-"
+"commands</literal> エレメントは永続的なストアでのエンティティインスタンスの作成方法を理解するエンティティ作成コマンドインスタンスの定義ができます。 これについては <xref linkend=\"The_CMP_Engine-"
+"Entity_Commands_and_Primary_Key_Generation\"/> で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:127
@@ -455,6 +585,9 @@
"user type. Details of the user type mappings are described in <xref linkend="
"\"Datasource_Customization-User_Type_Mappings\"/>."
msgstr ""
+"<emphasis role=\"bold\">user-type-mappings</emphasis>: <literal>user-"
+"type-mappings</literal> エレメントはマッパークラスを使ったコラムへのユーザータイプのマッピングを定義します。 マッパーとはいわば仲介役になります。 格納時、 ユーザータイプのインスタンスを取得してコラム値に変換します。 ロードする場合は、 コラム値を取得してそれをユーザータイプのインスタンスに変換します。 ユーザータイプのマッピングについては <xref linkend="
+"\"Datasource_Customization-User_Type_Mappings\"/> で詳しく説明しています。"
#. Tag: para
#: The_CMP_Engine.xml:132
@@ -465,16 +598,19 @@
"escaped when generating tables. Each reserved word is specified as the "
"content of a <literal>word</literal> element."
msgstr ""
+"<emphasis role=\"bold\">reserved-words</emphasis>: <literal>reserved-"
+"words</literal> エレメントはテーブル生成時に省略すべき 1つまたは複数の予約単語を定義します。 各予約単語は <literal>word</literal> エレメントのコンテントとして指定されます。"
#. Tag: title
#: The_CMP_Engine.xml:140
#, no-c-format
msgid "Entity Beans"
-msgstr ""
+msgstr "エンティティ Bean"
#. Tag: para
#: The_CMP_Engine.xml:141
#, no-c-format
+#, fuzzy
msgid ""
"We'll start our look at entity beans in JBoss by examining one of the "
"CMP entity beans in the crime portal. We'll look at the gangster bean, "
@@ -483,6 +619,8 @@
"VM to get the performance benefit as from local entity beans, the use of "
"local entity beans is strongly encouraged."
msgstr ""
+"犯罪ポータルの CMP エンティティ bean のひとつを見ていきながら JBoss におけるエンティティ bean について説明していきます。 ローカルの CMP エンティティ bean として実装される gangster bean を見てみます。 JBoss は pass-by-reference セマンティックで同じ VM 内のコールに対してリモートのエンティティ bean を提供しローカルエンティティ bean からとしてパフォーマンスにおける利点を得るため、 ローカルの エンティティ bean を使用を強く推奨します。 "
+"get the performance benefit as from local entity beans?"
#. Tag: para
#: The_CMP_Engine.xml:144
@@ -491,7 +629,7 @@
"We'll start with the required home interface. Since we're only "
"concerned with the CMP fields at this point, we'll show only the methods "
"dealing with the CMP fields."
-msgstr ""
+msgstr "必要となるホームインターフェースから始めます。 この時点では CMP フィールドにのみ集中することにするため、 CMP フィールドを扱うメソッドのみを見ていきます。"
#. Tag: programlisting
#: The_CMP_Engine.xml:147
@@ -507,6 +645,15 @@
" throws FinderException; \n"
"}"
msgstr ""
+"// Gangster Local Home Interface\n"
+"public interface GangsterHome \n"
+" extends EJBLocalHome \n"
+"{ \n"
+" Gangster create(Integer id, String name, String nickName)\n"
+" throws CreateException;\n"
+" Gangster findByPrimaryKey(Integer id) \n"
+" throws FinderException; \n"
+"}"
#. Tag: para
#: The_CMP_Engine.xml:148
@@ -514,7 +661,7 @@
msgid ""
"The local interface is what clients will use to talk. Again, it contains "
"only the CMP field accessors."
-msgstr ""
+msgstr "ローカルインターフェースはクライアントが会話に使用するインターフェースになります。 ここでも CMP フィールドアクセッサのみを含みます。"
#. Tag: programlisting
#: The_CMP_Engine.xml:151
@@ -535,6 +682,20 @@
" void setBadness(int badness);\n"
"}"
msgstr ""
+"// Gangster Local Interface \n"
+"public interface Gangster\n"
+" extends EJBLocalObject\n"
+"{\n"
+" Integer getGangsterId();\n"
+"\n"
+" String getName();\n"
+"\n"
+" String getNickName();\n"
+" void setNickName(String nickName);\n"
+"\n"
+" int getBadness();\n"
+" void setBadness(int badness);\n"
+"}"
#. Tag: para
#: The_CMP_Engine.xml:152
@@ -542,7 +703,7 @@
msgid ""
"Finally, we have the actual gangster bean. Despite it's size, very "
"little code is actually required. The bulk of the class is the create method."
-msgstr ""
+msgstr "最後に、 実際に gangster bean を持たせます。 そのサイズに関わらず実際に必要となるコードは非常に限られます。 クラスの大部分は create メソッドになります。"
#. Tag: programlisting
#: The_CMP_Engine.xml:155
@@ -591,6 +752,48 @@
" public void ejbLoad() { }\n"
"}"
msgstr ""
+"// Gangster Implementation Class\n"
+"public abstract class GangsterBean \n"
+" implements EntityBean \n"
+"{\n"
+" private EntityContext ctx; \n"
+" private Category log = Category.getInstance(getClass());\n"
+" public Integer ejbCreate(Integer id, String name, String nickName)\n"
+" throws CreateException \n"
+" {\n"
+" log.info(\"Creating Gangster \" + id + \" '\" + nickName + "
+"\"' \"+ name);\n"
+" setGangsterId(id);\n"
+" setName(name);\n"
+" setNickName(nickName);\n"
+" return null;\n"
+" }\n"
+" \n"
+" public void ejbPostCreate(Integer id, String name, String nickName) {\n"
+" }\n"
+" \n"
+" // CMP field accessors ---------------------------------------------\n"
+" public abstract Integer getGangsterId();\n"
+" public abstract void setGangsterId(Integer gangsterId); \n"
+" public abstract String getName();\n"
+" public abstract void setName(String name);\n"
+" public abstract String getNickName();\n"
+" public abstract void setNickName(String nickName);\n"
+" public abstract int getBadness();\n"
+" public abstract void setBadness(int badness);\n"
+" public abstract ContactInfo getContactInfo();\n"
+" public abstract void setContactInfo(ContactInfo contactInfo); \n"
+" //... \n"
+" \n"
+" // EJB callbacks ---------------------------------------------------\n"
+" public void setEntityContext(EntityContext context) { ctx = context; }\n"
+" public void unsetEntityContext() { ctx = null; }\n"
+" public void ejbActivate() { } \n"
+" public void ejbPassivate() { } \n"
+" public void ejbRemove() { log.info(\"Removing \" + getName()); }\n"
+" public void ejbStore() { }\n"
+" public void ejbLoad() { }\n"
+"}"
#. Tag: para
#: The_CMP_Engine.xml:156
@@ -599,7 +802,7 @@
"The only thing missing now is the <literal>ejb-jar.xml</literal> deployment "
"descriptor. Although the actual bean class is named <literal>GangsterBean</"
"literal>, we've called the entity <literal>GangsterEJB</literal>."
-msgstr ""
+msgstr "ここで足りないものは <literal>ejb-jar.xml</literal> 記述子のみです。 実際の bean クラスの名前は <literal>GangsterBean</literal> ですが、 このエンティティをここでは <literal>GangsterEJB</literal> と呼んでいます。"
#. Tag: programlisting
#: The_CMP_Engine.xml:159
@@ -653,6 +856,53 @@
" </enterprise-beans>\n"
"</ejb-jar>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<ejb-jar xmlns=\"http://java.sun.com/xml/ns/\"Whats_new_in_JBoss_4-"
+"J2EE_Certification_and_Standards_Compliance\" version=\"2.1\"\n"
+" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee \n"
+" http://java.sun.com/xml/ns/j2ee/ejb-jar_\\2_1.xsd"
+"\">\n"
+" <display-name>Crime Portal</display-name>\n"
+"\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <display-name>Gangster Entity Bean</display-name>\n"
+" <ejb-name>GangsterEJB</ejb-name>\n"
+" <local-home>org.jboss.cmp2.crimeportal.GangsterHome</"
+"local-home>\n"
+" <local>org.jboss.cmp2.crimeportal.Gangster</local>\n"
+"\n"
+" <ejb-class>org.jboss.cmp2.crimeportal.GangsterBean</ejb-"
+"class>\n"
+" <persistence-type>Container</persistence-type>\n"
+" <prim-key-class>java.lang.Integer</prim-key-class>\n"
+" <reentrant>False</reentrant>\n"
+" <cmp-version>2.x</cmp-version>\n"
+" <abstract-schema-name>gangster</abstract-schema-"
+"name>\n"
+"\n"
+" <cmp-field>\n"
+" <field-name>gangsterId</field-name>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>name</field-name>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>nickName</field-name>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>badness</field-name>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>contactInfo</field-name>\n"
+" </cmp-field>\n"
+" <primkey-field>gangsterId</primkey-field>\n"
+"\n"
+" <!-- ... -->\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+"</ejb-jar>"
#. Tag: para
#: The_CMP_Engine.xml:160
@@ -662,13 +912,13 @@
"indicate that this is EJB 2.x CMP entity bean. The abstract schema name was "
"set to <literal>gangster</literal>. That will be important when we look at "
"EJB-QL queries in <xref linkend=\"The_CMP_Engine-Queries\"/>."
-msgstr ""
+msgstr "これが EJB 2.x CMP エンティティ bean であることを表すために CMP バージョン <literal>2.x</literal> を指定しているので注意してください。 抽象スキーマ名は <literal>gangster</literal> に設定しました。 <xref linkend=\"The_CMP_Engine-Queries\"/> で EJB-QL クエリーを確認する際にこれが重要となります。"
#. Tag: title
#: The_CMP_Engine.xml:164
#, no-c-format
msgid "Entity Mapping"
-msgstr ""
+msgstr "エンティティマッピング"
#. Tag: para
#: The_CMP_Engine.xml:165
@@ -683,6 +933,8 @@
"the top level <literal>jbosscmp-jdbc</literal> element. A stubbed out entity "
"configuration is shown below."
msgstr ""
+"エンティティ用の JBoss 設定は <literal>jbosscmp-jdbc.xml</literal> ファイル内の <literal>entity</"
+"literal> エレメントで宣言されます。 このファイルは EJB JAR の <literal>META-INF</literal> ディレクトリに配置され、 CMP マッピング設定用の全オプション設定情報を含んでいます。 各 bean の <literal>entity</literal> エレメントはトップレベルの <literal>jbosscmp-jdbc</literal> エレメント配下にある <literal>enterprise-beans</literal> エレメント内にグループ化されます。 スタブアウトしたエンティティ設定を以下に示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:168
@@ -708,10 +960,30 @@
" </enterprise-beans>\n"
"</jbosscmp-jdbc>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<!DOCTYPE jbosscmp-jdbc PUBLIC\n"
+" \"-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN\"\n"
+" \"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd\">\n"
+"<jbosscmp-jdbc>\n"
+" <defaults>\n"
+" <!-- application-wide CMP defaults -->\n"
+" </defaults>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>GangsterEJB</ejb-name>\n"
+" <!-- overrides to defaults section -->\n"
+" <table-name>gangster</table-name> \n"
+" <!-- CMP Fields (see CMP-Fields) -->\n"
+" <!-- Load Groups (see Load Groups)-->\n"
+" <!-- Queries (see Queries) -->\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+"</jbosscmp-jdbc>"
#. Tag: para
#: The_CMP_Engine.xml:169
#, no-c-format
+#, fuzzy
msgid ""
"The <literal>ejb-name</literal> element is required to match the entity "
"specification here with the one in the <literal>ejb-jar.xml</literal> file. "
@@ -727,18 +999,21 @@
"The_entity_element_content_model\"/> shows the full <literal>entity</"
"literal> content model."
msgstr ""
+"ここのエンティティ詳細と <literal>ejb-jar.xml</literal> ファイルにある詳細とを一致させるには <literal>ejb-name</literal> エレメントが必要になります。 エレメントの残りはそのグローバルまたはアプリケーション全体の CMP デフォルトの上書きおよび bean に固有の CMP マッピング詳細を指定します。 アプリケーションのデフォルトは <literal>jbosscmp-jdbc.xml</literal> ファイルの <literal>defaults</literal> セクションから、 グローバルデフォルトは現在のサーバー設定ファイルセット用 <literal>conf</literal> ディレクトリ内の <literal>standardjbosscmp-jdbc.xml</literal> ファイルの <literal>defaults</literal> セクションから取得されます。 <literal>defaults</literal> セクションについては <xref linkend=\"The_CMP_Engine-Defaults\"/> で説明します。 <xref linkend=\"Entity_Mapping-The_entity_element_con!
tent_model\"/> で完全な <literal>entity</"
+"literal> コンテントモデルを示します。"
+"The remainder of the elements specify either overrides the global or ? = overrides?"
#. Tag: title
#: The_CMP_Engine.xml:173
#, no-c-format
msgid "The entity element content model"
-msgstr ""
+msgstr "エンティティエレメントコンテントモデル"
#. Tag: para
#: The_CMP_Engine.xml:180
#, no-c-format
msgid "A detailed description of each entity element follows:"
-msgstr ""
+msgstr "各エンティティのエレメントの詳細は次の通りになります。"
#. Tag: para
#: The_CMP_Engine.xml:185
@@ -748,7 +1023,7 @@
"name of the EJB to which this configuration applies. This element must match "
"an <literal>ejb-name</literal> of an entity in the <literal>ejb-jar.xml</"
"literal> file."
-msgstr ""
+msgstr "<emphasis role=\"bold\">ejb-name</emphasis>: 必須となるこのエレメントはこの設定が適用される EJB 名になります。 このエレメントは <literal>ejb-jar.xml</literal> ファイル内のエンティティの <literal>ejb-name</literal> と一致しなければなりません。"
#. Tag: para
#: The_CMP_Engine.xml:190
@@ -761,7 +1036,7 @@
"it vastly constrains the domain over which finders and ejbSelects can query. "
"The default is <literal>java:/DefaultDS</literal> unless overridden in the "
"defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">datasource</emphasis>: このオプションのエレメントはデータソースの検索に使用される <literal>jndi-name</literal> になります。 エンティティまたは関連テーブルで使用されるデータベース接続はすべてデータソースから取得されます。 エンティティに対して異なるデータソースを持たせると finder および ejbSelect がクエリーできるドメインを非常に制約することになるため推奨しません。 デフォルトはデフォルトセクションで上書きされない限り <literal>java:/DefaultDS</literal> になります。"
#. Tag: para
#: The_CMP_Engine.xml:195
@@ -773,7 +1048,7 @@
"to database specific functions. Type mappings are discussed in <xref linkend="
"\"Datasource_Customization-Mapping\"/>. The default is <literal>Hypersonic "
"SQL</literal> unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">datasource-mapping</emphasis>: このオプションのエレメントは <literal>type-mapping</literal> 名を指定し、 Java タイプが SQL タイプにマッピングされる方法、 および EJB-QL 関数がデータベース固有の関数にマッピングされる方法を確定します。 タイプのマッピングについては <xref linkend=\"Datasource_Customization-Mapping\"/> で説明します。 デフォルトはデフォルトセクションで上書きされない限り <literal>Hypersonic SQL</literal> になります。"
#. Tag: para
#: The_CMP_Engine.xml:200
@@ -786,7 +1061,7 @@
"is not created. This option is very useful during the early stages of "
"development when the table structure changes often. The default is false "
"unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">create-table</emphasis>: このオプションのエレメントが true になると、 JBoss はエンティティに対してテーブルの作成を試行しなければならないことを指定します。 アプリケーションが導入されると、 JBoss は表作成の前にすでに表が存在しているかどうか確認します。 テーブルが見つかるとログ記録されてテーブルは作成されません。 このオプションは、 テーブルの構成が頻繁に変更する開発初期段階で非常に役立ちます。 デフォルトはデフォルトセクションで上書きされない限り false になります。"
#. Tag: para
#: The_CMP_Engine.xml:205 The_CMP_Engine.xml:2553
@@ -797,18 +1072,20 @@
"literal> can be used to keep the schema current with changes to the entity "
"bean. Alter table will perform the following specific tasks:"
msgstr ""
+"<emphasis role=\"bold\">alter-table</emphasis>: スキーマの自動作成に <literal>create-table</"
+"literal> が使用される場合、 <literal>alter-table</literal> を使ってエンティティ bean に対する変更でスキーマの現行状態を維持することができます。 Alter table は次のような固有のタスクを行います。"
#. Tag: para
#: The_CMP_Engine.xml:210 The_CMP_Engine.xml:2558
#, no-c-format
msgid "new fields will be created"
-msgstr ""
+msgstr "新しいフィールドが作成されます"
#. Tag: para
#: The_CMP_Engine.xml:215 The_CMP_Engine.xml:2563
#, no-c-format
msgid "fields which are no longer used will be removed"
-msgstr ""
+msgstr "使用されなくなったフィールドが削除されます"
#. Tag: para
#: The_CMP_Engine.xml:220 The_CMP_Engine.xml:2568
@@ -816,7 +1093,7 @@
msgid ""
"string fields which are shorter than the declared length will have their "
"length increased to the declared length. (not supported by all databases)"
-msgstr ""
+msgstr "宣言されている長さより短い文字列フィールドは宣言されている長さまで延長されます (すべてのデータベースでサポートされません)"
#. Tag: para
#: The_CMP_Engine.xml:227
@@ -828,7 +1105,7 @@
"attempt to drop the table. This option is very useful during the early "
"stages of development when the table structure changes often. The default is "
"false unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">remove-table</emphasis>: このオプションのエレメントが true の場合、 JBoss は各エンティティおよび関連性にマッピングされる各関連テーブルに対してテーブルのドロップを試行します。 アプリケーションの配備が外されると、 JBoss はこのテーブルをドロップを試行します。 このオプションはテーブル構成が頻繁に変更されるような開発初期段階で非常に役に立ちます。 デフォルトはデフォルトセクションで上書きされない限り false になります。"
#. Tag: para
#: The_CMP_Engine.xml:232 The_CMP_Engine.xml:801
@@ -839,7 +1116,7 @@
"after the database table is created. This command is only executed if "
"<literal>create-table</literal> is true and the table did not previously "
"exist."
-msgstr ""
+msgstr "<emphasis role=\"bold\">post-table-create</emphasis>: このオプションのエレメントはデータベーステーブルの作成直後に実行されるべき任意の SQL ステートメントを指定します。 このコマンドは <literal>create-table</literal> が true でテーブルが以前に存在していなかった場合にのみ実行されます。"
#. Tag: para
#: The_CMP_Engine.xml:237
@@ -856,7 +1133,7 @@
"be overridden on a per <literal>cmp-field</literal> basis, and is discussed "
"in <xref linkend=\"CMP_Fields-Read_only_Fields\"/>. The default is false "
"unless overridden in the <literal>defaults</literal> section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">read-only</emphasis>: このオプションのエレメントが true の場合、 bean プロバイダはいずれのフィールドの値を変更することも許可されないことを指定します。 読み取り専用のフィールドはデータベースに格納もしくは挿入されません。 プライマリキーフィールドが読み取り専用である場合、 create メソッドが <literal>CreateException</literal> を投げます。 set アクセッサが読み取り専用フィールドでコールされると、 <literal>EJBException</literal> を投げます。 読み取り専用フィールドは最後の更新などデータベース trigger で入力されるフィールドに便利です。 <literal>read-only</literal> オプションは <literal>cmp-field</literal> ごとに上書きが可能で、 これについては <xref linkend=\"CMP_Fields-Read_only_Fields\"/> で説明します。 デフォルトは!
<literal>defaults</literal> セクションで上書きされない限り false になります。"
#. Tag: para
#: The_CMP_Engine.xml:242
@@ -869,7 +1146,7 @@
"option can also be overridden on a per <literal>cmp-field</literal> basis. "
"If <literal>read-only</literal> is false, this value is ignored. The default "
"is -1 unless overridden in the <literal>defaults</literal> section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">read-time-out</emphasis>: このオプションのエレメントは読み取り専用フィールドでの読み取りが有効である期間をミリ秒単位で表します。 値が 0 の場合その値は常にトランザクション開始時に再ロードされることになり、 値が -1 の場合はその値がタイムアウトすることないという意味になります。 このオプションも <literal>cmp-field</literal> ごとに上書きが可能です。 <literal>read-only</literal> が false の場合、 この値は無視されます。 デフォルトは <literal>defaults</literal> セクションで上書きされない限り -1 になります。"
#. Tag: para
#: The_CMP_Engine.xml:247
@@ -882,7 +1159,7 @@
"<literal>row-locking-template</literal> in the datasource-mapping used by "
"this entity. The default is false unless overridden in the "
"<literal>defaults</literal> section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">row-locking</emphasis>: このオプションのエレメントが true の場合、 JBoss はトランザクションでロードされたすべての列をロックすることを指定します。 ほとんどのデータベースがエンティティをロードする際に <literal>SELECT FOR UPDATE</literal> 構文を使ってこれを実装していますが、 実際の構文はこのエンティティで使用されるデータソースマッピング内の <literal>row-locking-template</literal> で確定されます。 デフォルトは <literal>defaults</literal> セクションで上書きされない限り false になります。"
#. Tag: para
#: The_CMP_Engine.xml:252
@@ -891,7 +1168,7 @@
"<emphasis role=\"bold\">pk-constraint</emphasis>: This optional element if "
"true specifies that JBoss will add a primary key constraint when creating "
"tables. The default is true unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">pk-constraint</emphasis>: このオプションのエレメントが true の場合、 JBoss はテーブル作成時にプライマリキー制約を追加することを指定します。 デフォルトはデフォルトセクションで上書きされない限り true になります。"
#. Tag: para
#: The_CMP_Engine.xml:257
@@ -901,7 +1178,7 @@
"controls caching of query results and <literal>cmr-fields</literal> for the "
"entity. This option is discussed in <xref linkend=\"Optimized_Loading-"
"Read_ahead\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">read-ahead</emphasis>: このオプションのエレメントはエンティティの <literal>cmr-fields</literal> およびクエリの結果となるキャッシングを制御します。 このオプションについては <xref linkend=\"Optimized_Loading-Read_ahead\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:262
@@ -910,7 +1187,7 @@
"<emphasis role=\"bold\">fetch-size</emphasis>: This optional element "
"specifies the number of entities to read in one round-trip to the underlying "
"datastore. The default is 0 unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">fetch-size</emphasis>: このオプションのエレメントは基礎となるデータストアへの 1 往復で読み込むエンティティ数を指定します。 デフォルトはデフォルトセクションで上書きされない限り 0 になります。"
#. Tag: para
#: The_CMP_Engine.xml:267
@@ -920,7 +1197,7 @@
"specifies the number of read-lists that can be tracked by this entity. This "
"option is discussed in <literal>on-load</literal>. The default is 1000 "
"unless overridden in the defaults section."
-msgstr ""
+msgstr "<emphasis role=\"bold\">list-cache-max</emphasis>: このオプションのエレメントはこのエンティティで追跡可能な read-list 数を指定します。 このオプションについては <literal>on-load</literal> で説明します。 デフォルトはデフォルトセクションで上書きされない限り 1000 になります。"
#. Tag: para
#: The_CMP_Engine.xml:272 The_CMP_Engine.xml:2615
@@ -929,7 +1206,7 @@
"<emphasis role=\"bold\">clean-read-ahead-on-load</emphasis>: When an entity "
"is loaded from the read ahead cache, JBoss can remove the data used from the "
"read ahead cache. The default is <literal>false</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">clean-read-ahead-on-load</emphasis>: 先読みキャッシュからエンティティがロードされる場合、 JBoss は先読みキャッシュから使用されるデータを削除することができます。 デフォルトは <literal>false</literal> になります。"
#. Tag: para
#: The_CMP_Engine.xml:277
@@ -939,7 +1216,7 @@
"name of the table that will hold data for this entity. Each entity instance "
"will be stored in one row of this table. The default is the <literal>ejb-"
"name</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">table-name</emphasis>: このオプションのエレメントはこのエンティティ用のデータを格納するテーブル名になります。 各エンティティインスタンスはこのテーブルの 1 列内に格納されます。 デフォルトは <literal>ejb-name</literal> になります。"
#. Tag: para
#: The_CMP_Engine.xml:282
@@ -950,6 +1227,8 @@
"literal> is mapped onto the persistence store. This is discussed in <xref "
"linkend=\"The_CMP_Engine-CMP_Fields\"/>."
msgstr ""
+"<emphasis role=\"bold\">cmp-field</emphasis>: このオプションのエレメントで <literal>ejb-jar.xml</literal><literal>cmp-field</literal> を永続ストア上でマッピングする方法を定義することができます。 これについては <xref "
+"linkend=\"The_CMP_Engine-CMP_Fields\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:287
@@ -959,7 +1238,7 @@
"specifies one or more groupings of CMP fields to declare load groupings of "
"fields. This is discussed in <xref linkend=\"Optimized_Loading-Load_Groups\"/"
">."
-msgstr ""
+msgstr "<emphasis role=\"bold\">load-groups</emphasis>: このオプションのエレメントはフィールドのロードグループ化を宣言する CMP フィールドの 1 つまたは複数の グループ化を指定します。 これについては <xref linkend=\"Optimized_Loading-Load_Groups\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:292
@@ -968,7 +1247,7 @@
"<emphasis role=\"bold\">eager-load-groups</emphasis>: This optional element "
"defines one or more load grouping as eager load groups. This is discussed in "
"<xref linkend=\"Loading_Process-Eager_loading_Process\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">eager-load-groups</emphasis>: このオプションのエレメントは eager load group として 1 つまたは複数のロードグループ化を定義します。 これについては <xref linkend=\"Loading_Process-Eager_loading_Process\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:297
@@ -977,7 +1256,7 @@
"<emphasis role=\"bold\">lazy-load-groups</emphasis>: This optional element "
"defines one or more load grouping as lazy load groups. This is discussed in "
"<xref linkend=\"Loading_Process-Lazy_loading_Process\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">lazy-load-groups</emphasis>: このオプションのエレメントは lazy load group として 1 つまたは複数のロードグループ化を定義します。 これについては <xref linkend=\"Loading_Process-Lazy_loading_Process\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:302
@@ -987,6 +1266,8 @@
"the definition of finders and selectors. This is discussed in <xref linkend="
"\"The_CMP_Engine-Queries\"/>."
msgstr ""
+"<emphasis role=\"bold\">query</emphasis>: このオプションのエレメントは finder と selector の定義を指定します。 これについては <xref linkend="
+"\"The_CMP_Engine-Queries\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:307
@@ -995,7 +1276,7 @@
"<emphasis role=\"bold\">unknown-pk</emphasis>: This optional element allows "
"one to define how an unknown primary key type of <literal>java.lang.Object</"
"literal> maps to the persistent store."
-msgstr ""
+msgstr "<emphasis role=\"bold\">unknown-pk</emphasis>: このオプションのエレメントにより <literal>java.lang.Object</literal> の不明なプライマリキータイプを永続ストアにマッピングする方法を定義することができます。"
#. Tag: para
#: The_CMP_Engine.xml:312
@@ -1007,6 +1288,8 @@
"generation. This is described in detail in <xref linkend=\"The_CMP_Engine-"
"Entity_Commands_and_Primary_Key_Generation\"/>."
msgstr ""
+"<emphasis role=\"bold\">entity-command</emphasis>: このオプションのエレメントによりエンティティ作成コマンドインスタンスを定義することができます。 一般的にこれはプライマリキー生成を可能にするためカスタムのコマンドインスタンスの定義に使用されます。 これについての詳細は <xref linkend=\"The_CMP_Engine-"
+"Entity_Commands_and_Primary_Key_Generation\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:317
@@ -1015,7 +1298,7 @@
"<emphasis role=\"bold\">optimistic-locking</emphasis>: This optional element "
"defines the strategy to use for optimistic locking. This is described in "
"detail in <xref linkend=\"The_CMP_Engine-Optimistic_Locking\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">optimistic-locking</emphasis>: このオプションのエレメントは楽観的なロッキングに対して使用するストラテジーを定義します。 これについては <xref linkend=\"The_CMP_Engine-Optimistic_Locking\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:322
@@ -1025,12 +1308,14 @@
"CMP fields that will be audited. This is described in detail in <xref "
"linkend=\"CMP_Fields-Auditing_Entity_Access\"/>."
msgstr ""
+"<emphasis role=\"bold\">audit</emphasis>: このオプションのエレメントは監査される CMP フィールドを定義します。 これについては <xref "
+"linkend=\"CMP_Fields-Auditing_Entity_Access\"/> で説明します。"
#. Tag: title
#: The_CMP_Engine.xml:332
#, no-c-format
msgid "CMP Fields"
-msgstr ""
+msgstr "CMP フィールド"
#. Tag: para
#: The_CMP_Engine.xml:333
@@ -1042,13 +1327,13 @@
"()</literal> method for accessing the <literal>name</literal> CMP field. In "
"this section we will look at how the configure these declared CMP fields and "
"control the persistence and behavior."
-msgstr ""
+msgstr "CMP フィールドは、 JavaBean プロパティアクセッサの規則に従う抽象 getter と setter のメソッドとして bean クラス上で宣言されます。 たとえば、 gangster bean には <literal>name</literal> CMP フィールドへのアクセス用に <literal>getName()</literal> と <literal>setName()</literal> メソッドがあります。 このセクションでは、 これらの宣言 CMP フィールドの設定方法およびその永続性や動作の制御方法について見ていきます。"
#. Tag: title
#: The_CMP_Engine.xml:337
#, no-c-format
msgid "CMP Field Declaration"
-msgstr ""
+msgstr "CMP フィールド宣言"
#. Tag: para
#: The_CMP_Engine.xml:338
@@ -1059,7 +1344,7 @@
"<literal>name</literal>, <literal>nickName</literal> and <literal>badness</"
"literal> would be declared in the <literal>ejb-jar.xml</literal> file as "
"follows:"
-msgstr ""
+msgstr "CMP フィールドの宣言は <literal>ejb-jar.xml</literal> ファイル内で始まります。 たとえば、 gangster bean では <literal>gangsterId</literal>、 <literal>name</literal>、 <literal>nickName</literal>、 <literal>badness</literal> が <literal>ejb-jar.xml</literal> ファイルで次のように宣言されます。"
#. Tag: programlisting
#: The_CMP_Engine.xml:341
@@ -1081,6 +1366,21 @@
" </enterprise-beans>\n"
" </ejb-jar>"
msgstr ""
+"<ejb-jar>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>GangsterEJB</ejb-name>\n"
+" <cmp-field><field-name>gangsterId</field-name></"
+"cmp-field>\n"
+" <cmp-field><field-name>name</field-name></cmp-"
+"field>\n"
+" <cmp-field><field-name>nickName</field-name></"
+"cmp-field>\n"
+" <cmp-field><field-name>badness</field-name></"
+"cmp-field>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+" </ejb-jar>"
#. Tag: para
#: The_CMP_Engine.xml:342
@@ -1089,13 +1389,13 @@
"Note that the J2EE deployment descriptor doesn't declare any object-"
"relational mapping details or other configuration. It is nothing more than a "
"simple declaration of the CMP fields."
-msgstr ""
+msgstr "J2EE デプロイメント記述子はオブジェクトのリレーショナルマッピング詳細やその他の設定については宣言しないので注意してください。 単純に CMP フィールドの宣言のみとなります。"
#. Tag: title
#: The_CMP_Engine.xml:348
#, no-c-format
msgid "CMP Field Column Mapping"
-msgstr ""
+msgstr "CMP フィールドコラムマッピング"
#. Tag: para
#: The_CMP_Engine.xml:349
@@ -1106,7 +1406,7 @@
"<literal>ejb-jar.xml</literal> with an entity <literal>element</literal> "
"that has <literal>cmp-field</literal> elements under it with the additional "
"configuration details."
-msgstr ""
+msgstr "CMP フィールドのリレーショナルマッピング設定は <literal>jbosscmp-jdbc.xml</literal> ファイルで行います。 この構成は配下に <literal>cmp-field</literal> エレメントと追加設定詳細を持つエンティティ <literal>element</literal> がある <literal>ejb-jar.xml</literal> に似ています。"
#. Tag: para
#: The_CMP_Engine.xml:352
@@ -1114,7 +1414,7 @@
msgid ""
"The following is shows the basic column name and data type mappings for the "
"gangster bean."
-msgstr ""
+msgstr "以下に gangster bean の基本的なデータタイプマッピングとコラム名を示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:355
@@ -1149,6 +1449,34 @@
" </enterprise-beans>\n"
" </jbosscmp-jdbc>"
msgstr ""
+"<jbosscmp-jdbc>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>GangsterEJB</ejb-name>\n"
+" <table-name>gangster</table-name>\n"
+" \n"
+" <cmp-field>\n"
+" <field-name>gangsterId</field-name>\n"
+" <column-name>id</column-name>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>name</field-name>\n"
+" <column-name>name</column-name>\n"
+" <not-null/>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>nickName</field-name>\n"
+" <column-name>nick_name</column-name>\n"
+" <jdbc-type>VARCHAR</jdbc-type>\n"
+" <sql-type>VARCHAR(64)</sql-type>\n"
+" </cmp-field>\n"
+" <cmp-field>\n"
+" <field-name>badness</field-name>\n"
+" <column-name>badness</column-name>\n"
+" </cmp-field>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+" </jbosscmp-jdbc>"
#. Tag: para
#: The_CMP_Engine.xml:356
@@ -1156,19 +1484,19 @@
msgid ""
"The full content model of the <literal>cmp-field</literal> element of the "
"<literal>jbosscmp-jdbc.xml</literal> is shown below."
-msgstr ""
+msgstr "以下に <literal>jbosscmp-jdbc.xml</literal> の <literal>cmp-field</literal> エレメントの全コンテントモデルを示します。"
#. Tag: title
#: The_CMP_Engine.xml:361
#, no-c-format
msgid "The JBoss entity element content model"
-msgstr ""
+msgstr "JBoss エンティティエレメントのコンテントモデル"
#. Tag: para
#: The_CMP_Engine.xml:369
#, no-c-format
msgid "A detailed description of each element follows:"
-msgstr ""
+msgstr "各エレメントの詳細は次の通りです。"
#. Tag: para
#: The_CMP_Engine.xml:374
@@ -1178,7 +1506,7 @@
"name of the <literal>cmp-field</literal> that is being configured. It must "
"match the <literal>field-name</literal> element of a <literal>cmp-field</"
"literal> declared for this entity in the <literal>ejb-jar.xml</literal> file."
-msgstr ""
+msgstr "<emphasis role=\"bold\">field-name</emphasis>: この必須エレメントは設定されている <literal>cmp-field</literal> 名です。 <literal>ejb-jar.xml</literal> ファイル内でこのエンティティ用に宣言される <literal>cmp-field</literal> の <literal>field-name</literal> エレメントと一致しなければなりません。"
#. Tag: para
#: The_CMP_Engine.xml:379
@@ -1188,7 +1516,7 @@
"question is read-only. This field will not be written to the database by "
"JBoss. Read-only fields are discussed in <xref linkend=\"CMP_Fields-"
"Read_only_Fields\"/>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">read-only</emphasis>: これは問われているフィールドが読み取り専用であることを宣言します。 このフィールドは JBoss ではデータベースに書き込まれません。 読み取り専用フィールドについては <xref linkend=\"CMP_Fields-Read_only_Fields\"/> で説明します。"
#. Tag: para
#: The_CMP_Engine.xml:384
@@ -1196,7 +1524,7 @@
msgid ""
"<emphasis role=\"bold\">read-only-timeout</emphasis>: This is the time in "
"milliseconds that a read-only field value will be considered valid."
-msgstr ""
+msgstr "<emphasis role=\"bold\">read-only-timeout</emphasis>: 読み取り専用フィールドの値が有効であるとみなされる期間をミリ秒単位で表します。"
#. Tag: para
#: The_CMP_Engine.xml:389
@@ -1205,17 +1533,20 @@
"<emphasis role=\"bold\">column-name</emphasis>: This optional element is the "
"name of the column to which the <literal>cmp-field</literal> is mapped. The "
"default is to use the <literal>field-name</literal> value."
-msgstr ""
+msgstr "<emphasis role=\"bold\">column-name</emphasis>: このオプションのエレメントは <literal>cmp-field</literal> のマッピング先となるコラム名です。 <literal>field-name</literal> 値を使用するのがデフォルトになります。"
#. Tag: para
#: The_CMP_Engine.xml:394
#, no-c-format
+#, fuzzy
msgid ""
"<emphasis role=\"bold\">not-null</emphasis>: This optional element indicates "
"that JBoss should add a NOT NULL to the end of the column declaration when "
"automatically creating the table for this entity. The default for primary "
"key fields and primitives is not null."
msgstr ""
+"<emphasis role=\"bold\">not-null</emphasis>: このオプションのエレメントはこのエンティティ用のテーブルの自動作成時に JBoss が NOT NULL をコラム宣言の末尾に追加すべきことを示します。 プライマリキーフィールドおよびプリミティブは not null です。 "
+"not null to be tagged?"
#. Tag: para
#: The_CMP_Engine.xml:399
@@ -1227,7 +1558,7 @@
"Types</literal>. This is only required if <literal>sql-type</literal> is "
"specified. The default JDBC type will be based on the database type in the "
"<literal>datasourcemapping</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">jdbc-type</emphasis>: 用意された JDBC ステートメント内にパラメータを設定するまたは JDBC 結果セットからデータをロードする場合に使用される JDBC タイプです。 有効なタイプは <literal>java.sql.Types</literal> で定義されます。 <literal>sql-type</literal> が指定された場合にのみ必要になります。 デフォルトの JDBC タイプは <literal>datasourcemapping</literal> 内のデータベースタイプに基づきます。"
#. Tag: para
#: The_CMP_Engine.xml:404
@@ -1239,6 +1570,8 @@
"type</literal> is specified. The default SQL type will be base on the "
"database type in the <literal>datasourcemapping</literal>"
msgstr ""
+"<emphasis role=\"bold\">sql-type</emphasis>: このフィールドの create テーブルステートメントで使用される SQL タイプです。 有効な SQL タイプの制限はデータベースベンダーによります。 <literal>jdbc-"
+"type</literal> が指定される場合にのみ必要となります。 デフォルトの SQL タイプは <literal>datasourcemapping</literal> 内のデータベースタイプに基づきます。"
#. Tag: para
#: The_CMP_Engine.xml:409
@@ -1249,6 +1582,8 @@
"be mapped to the persistent store. This is discussed further in <xref "
"linkend=\"CMP_Fields-Dependent_Value_Classes_DVCs\"/>."
msgstr ""
+"<emphasis role=\"bold\">property</emphasis>: このオプションのエレメントにより dependent value class CMP フィールドのプロパティが永続的なストアにどのようにマッピングされるべき定義することができるようになります。 これについては <xref "
+"linkend=\"CMP_Fields-Dependent_Value_Classes_DVCs\"/> で詳しく説明します。"
#. Tag: para
#: The_CMP_Engine.xml:414
@@ -1258,7 +1593,7 @@
"optional field indicates that it is automatically incremented by the "
"database layer. This is used to map a field to a generated column as well as "
"to an externally manipulated column."
-msgstr ""
+msgstr "<emphasis role=\"bold\">auto-increment</emphasis>: このオプションフィールドがあると、 データベース層ごとに自動的に増分されることを示します。 これはフィールドを生成されたコラムや外部的に操作されたコラムにマッピングするために使用します。"
#. Tag: para
#: The_CMP_Engine.xml:419
@@ -1267,7 +1602,7 @@
"<emphasis role=\"bold\">dbindex</emphasis>: The presence of this optional "
"field indicates that the server should create an index on the corresponding "
"column in the database. The index name will be fieldname_index."
-msgstr ""
+msgstr "<emphasis role=\"bold\">dbindex</emphasis>: このオプションフィールドがあると、 サーバーはデータベース内の該当コラムにインデックスを作成すべきことを示します。 このインデックス名は fieldname_index になります。"
#. Tag: para
#: The_CMP_Engine.xml:424
@@ -1280,7 +1615,7 @@
"dirty after a get operation. If the dirty check on an object is too "
"expensive, you can optimize it away by setting <literal>check-dirty-after-"
"get</literal> to false."
-msgstr ""
+msgstr "<emphasis role=\"bold\">check-dirty-after-get</emphasis>: この値はプリミティブタイプとそのベーシック java.lang 不変ラッパー (<literal>Integer</literal>、 <literal>String</literal> など) に false をデフォルト設定します。 不変となる可能性があるオブジェクトに対しては、 JBoss は get 演算のあとダーティの可能性ありとしてそのフィールドをマークします。 オブジェクトでのダーティチェックの負担が高すぎる場合は、 <literal>check-dirty-after-get</literal> を false に設定して最適化することができます。"
#. Tag: para
#: The_CMP_Engine.xml:429
@@ -1291,12 +1626,14 @@
"State factory classes must implement the <literal>CMPFieldStateFactory</"
"literal> interface."
msgstr ""
+"<emphasis role=\"bold\">state-factory</emphasis>: このフィールドにダーティチェックを行うことができる状態ファクトリオブジェクトのクラス名を指定します。 状態ファクトリクラスは <literal>CMPFieldStateFactory</"
+"literal> インターフェースを実装しなければなりません。"
#. Tag: title
#: The_CMP_Engine.xml:437
#, no-c-format
msgid "Read-only Fields"
-msgstr ""
+msgstr "読み取り専用フィールド"
#. Tag: para
#: The_CMP_Engine.xml:438
@@ -1312,7 +1649,7 @@
"a read-only field, it throws an <literal>EJBException</literal>. Read-only "
"fields are useful for fields that are filled in by database triggers, such "
"as last update. A read-only CMP field declaration example follows:"
-msgstr ""
+msgstr "JBoss では <literal>cmp-field</literal> 宣言で <literal>read-only</literal> と <literal>read-time-out</literal> のエレメントを設定することで読み取り専用 CMP フィールドを可能にします。 これらのエレメントはエンティティレベルでの動作と同じように動作します。 フィールドが読み取り専用の場合、 <literal>INSERT</literal> または <literal>UPDATE</literal> のステートメントでは使用されることはありません。 プライマリキーフィールドが <literal>read-only</literal> の場合、 create メソッド は <literal>CreateException</literal> を投げます。 set アクセッサが読み取り専用フィールドに対してコールされると、 <literal>EJBException</literal> を投げます。 読み取り専用フィールドは最後の更新などデータベースのトリガーで入力されるフィールドに便利です。 読み取り専用 CMP!
フィールド宣言のサンプルを次に示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:441
@@ -1331,16 +1668,29 @@
" </enterprise-beans>\n"
"</jbosscmp-jdbc>"
msgstr ""
+"<jbosscmp-jdbc>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>GangsterEJB</ejb-name>\n"
+" <cmp-field>\n"
+" <field-name>lastUpdated</field-name>\n"
+" <read-only>true</read-only>\n"
+" <read-time-out>1000</read-time-out>\n"
+" </cmp-field>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+"</jbosscmp-jdbc>"
#. Tag: title
#: The_CMP_Engine.xml:445
#, no-c-format
msgid "Auditing Entity Access"
-msgstr ""
+msgstr "エンティティアクセスを監査する"
#. Tag: para
#: The_CMP_Engine.xml:446
#, no-c-format
+#, fuzzy
msgid ""
"The <literal>audit</literal> element of the entity section allows one to "
"specify how access to and entity bean is audited. This is only allowed when "
@@ -1348,13 +1698,13 @@
"identity established. The content model of the audit element is given <xref "
"linkend=\"Auditing_Entity_Access-The_jbosscmp_jdbc."
"xml_audit_element_content_model\"/>."
-msgstr ""
+msgstr "エンティティセクションの <literal>audit</literal> エレメントにより"
#. Tag: title
#: The_CMP_Engine.xml:450
#, no-c-format
msgid "The jbosscmp-jdbc.xml audit element content model"
-msgstr ""
+msgstr "jbosscmp-jdbc.xml 監査エレメントのコンテントモデル"
#. Tag: para
#: The_CMP_Engine.xml:459
@@ -1364,7 +1714,7 @@
"indicates that the caller who created the entity should be saved to either "
"the indicated <literal>column-name</literal> or cmp <literal>field-name</"
"literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">created-by</emphasis>: このオプションのエレメントはエンティティを作成したコーラーが示された <literal>column-name</literal> または cmp <literal>field-name</literal> のいずれかに保存されるべきことを示します。"
#. Tag: para
#: The_CMP_Engine.xml:464
@@ -1374,7 +1724,7 @@
"indicates that the time of entity creation should be saved to either the "
"indicated <literal>column-name</literal> or cmp <literal>field-name</"
"literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">created-time</emphasis>: オプションのエレメントはエンティティ作成時間が示された <literal>column-name</literal> または cmp <literal>field-name</literal> のいずれかに保存されるべきことを示します。"
#. Tag: para
#: The_CMP_Engine.xml:469
@@ -1384,7 +1734,7 @@
"indicates that the caller who last modified the entity should be saved to "
"either the indicated <literal>column-name</literal> or CMP <literal>field-"
"name</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">updated-by</emphasis>: このオプションのエレメントはエンティティを最後に変更したコーラーが示された <literal>column-name</literal> または CMP <literal>field-name</literal> のいずれかに保存されるべきことを示します。"
#. Tag: para
#: The_CMP_Engine.xml:474
@@ -1394,7 +1744,7 @@
"indicates that the last time of entity modification should be saved to "
"either the indicated <literal>column-name</literal> or CMP <literal>field-"
"name</literal>."
-msgstr ""
+msgstr "<emphasis role=\"bold\">updated-time</emphasis>: このオプションのエレメントはエンティティの変更が最後に行われた時間が示された <literal>column-name</literal> または CMP <literal>field-name</literal> のいずれかに保存されるべきことを示します。"
#. Tag: para
#: The_CMP_Engine.xml:479
@@ -1409,7 +1759,7 @@
"the audit fields will be created and added to the entity internally. You "
"will be able to access audit information in EJB-QL queries using the audit "
"field names, but not directly through the entity accessors."
-msgstr ""
+msgstr "各エレメントに対して、 <literal>field-name</literal> が与えられる場合は、 該当する監査情報がアクセスしているエンティティ bean の指定 CMP フィールドに格納されるはずです。 エンティティ上に該当する CMP フィールドが宣言される必要はありません。 一致するフィールド名がある場合は、 該当する CMP フィールドの抽象 getter と setter を使ってアプリケーション内の監査フィールドにアクセスすることができます。 これ以外は、 監査フィールドが作成されて内部的にエンティティに追加されます。 監査フィールド名を使って EJB-QL クエリ内の監査情報にアクセスすることはできますが、 エンティティアクセッサから直接アクセスすることはできません。"
#. Tag: para
#: The_CMP_Engine.xml:482
@@ -1421,13 +1771,14 @@
"literal> and <literal>sql-type</literal> element can then be used to define "
"the storage type."
msgstr ""
+"一方、 <literal>column-name</literal> が指定されている場合、 該当する監査情報は示されたエンティティテーブルのコラム内に格納されるはずです。 JBoss がテーブルを作成すると <literal>jdbc-type</"
+"literal> および <literal>sql-type</literal> エレメントが使用されてストレージタイプを定義することができます。"
#. Tag: para
#: The_CMP_Engine.xml:485
#, no-c-format
-msgid ""
-"The declaration of audit information with given column names is shown below."
-msgstr ""
+msgid "The declaration of audit information with given column names is shown below."
+msgstr "特定のコラム名を持つ監査情報の宣言を以下に示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:488
@@ -1456,16 +1807,39 @@
" </enterprise-beans>\n"
"</jbosscmp-jdbc>"
msgstr ""
+"<jbosscmp-jdbc>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>AuditChangedNamesEJB</ejb-name>\n"
+" <table-name>cmp2_audit_changednames</table-name>\n"
+" <audit>\n"
+" <created-by>\n"
+" <column-name>createdby</column-name>\n"
+" </created-by>\n"
+" <created-time>\n"
+" <column-name>createdtime</column-name>\n"
+" </created-time>\n"
+" <updated-by>\n"
+" <column-name>updatedby</column-name></"
+"updated-by>\n"
+" <updated-time>\n"
+" <column-name>updatedtime</column-name>\n"
+" </updated-time>\n"
+" </audit>\n"
+" </entity>\n"
+" </enterprise-beans>\n"
+"</jbosscmp-jdbc>"
#. Tag: title
#: The_CMP_Engine.xml:492
#, no-c-format
msgid "Dependent Value Classes (DVCs)"
-msgstr ""
+msgstr "Dependent Value Class (DVC)"
#. Tag: para
#: The_CMP_Engine.xml:493
#, no-c-format
+#, fuzzy
msgid ""
"A dependent value class (DVC) is a fancy term used to identity any Java "
"class that is the type of a <literal>cmp-field</literal> other than the "
@@ -1474,6 +1848,8 @@
"single database column. Although not discussed here, there are several known "
"issues with the long-term storage of classes in serialized form."
msgstr ""
+"DVC (dependent value class) とは、 文字列や数値など自動的に認識されるコアタイプ以外の <literal>cmp-field</literal> タイプとなるすべての Java クラスの認識に使用する用語です。 デフォルトでは、 DVC は連続化され、 連続化された形式が単一のデータベースコラムに格納されます。 ここでは説明しませんが、 連続化形式でのクラスの長期保管にはいくつか既知の問題があります。 "
+"types core types?? typo??"
#. Tag: para
#: The_CMP_Engine.xml:496
@@ -1489,7 +1865,7 @@
"with separate fields for area code, exchange, and extension, or a person'"
"s name spread across several fields. With a DVC, multiple columns can be "
"mapped to one logical field."
-msgstr ""
+msgstr "JBoss は DVC 内部データの 1 コラムまたは複数コラムへの保存もサポートしています。 これはレガシーな JavaBean やデータベース構造に対応する場合に便利です。 非常に平坦化された構造でデータベースを検索するのは珍しくありません (<literal>SHIP_LINE1</literal>、 <literal>SHIP_LINE2</literal>、 <literal>SHIP_CITY</literal> などのフィールドや請求書送付先の追加フィールドセットを持つ <literal>PURCHASE_ORDER</literal> テーブルなど)。 この他一般的なデータベース構造としてはエリアコード、 交換、 および内線もしくは複数のフィールドにわたるその人の名前用の個別フィールドを持つ電話番号などがあります。 DVC では複数のコラムを 1 つの論理フィールドにマッピングすることが可能です。"
#. Tag: para
#: The_CMP_Engine.xml:499
@@ -1503,20 +1879,19 @@
"be an EJB. A DVC mapping is specified in a <literal>dependent-value-class</"
"literal> element within the <literal>dependent-value-classes</literal> "
"element."
-msgstr ""
+msgstr "JBoss は、 マッピングされる DVC がシンプルプロパティの JavaBeans ネーミング仕様に準ずること、 またデータベース内に格納される各プロパティが getter と setter の両方のメソッドを持っていることが必要となります。 さらに、 bean は連続化が可能でなければならず、 引数なしのコンストラクタを持っていなければなりません。 プロパティはシンプルタイプのマッピングされない DVCあるいはマッピングされる DVC のいずれでも構いませんが、 EJB にはなれません。 DVC マッピングは <literal>dependent-value-classes</literal> エレメント内の <literal>dependent-value-class</literal> エレメントに指定されます。"
#. Tag: title
#: The_CMP_Engine.xml:503
#, no-c-format
msgid "The jbosscmp-jdbc dependent-value-class element model."
-msgstr ""
+msgstr "jbosscmp-jdbc dependent-value-class エレメントモデル"
#. Tag: para
#: The_CMP_Engine.xml:510
#, no-c-format
-msgid ""
-"Here is an example of a simple <literal>ContactInfo</literal> DVC class."
-msgstr ""
+msgid "Here is an example of a simple <literal>ContactInfo</literal> DVC class."
+msgstr "次にシンプルな <literal>ContactInfo</literal> DVC クラスの例を示します。"
#. Tag: programlisting
#: The_CMP_Engine.xml:513
@@ -1568,6 +1943,51 @@
" // ... equals, hashCode, toString \n"
"}"
msgstr ""
+"public class ContactInfo \n"
+" implements Serializable \n"
+"{\n"
+" /** The cell phone number. */\n"
+" private PhoneNumber cell;\n"
+" \n"
+" /** The pager number. */\n"
+" private PhoneNumber pager;\n"
+" \n"
+" /** The email address */\n"
+" private String email;\n"
+"\n"
+" \n"
+" /**\n"
+" * Creates empty contact info.\n"
+" */\n"
+" public ContactInfo() {\n"
+" }\n"
+"\n"
+" public PhoneNumber getCell() {\n"
+" return cell;\n"
+" }\n"
+" \n"
+" public void setCell(PhoneNumber cell) {\n"
+" this.cell = cell;\n"
+" }\n"
+" \n"
+" public PhoneNumber getPager() {\n"
+" return pager;\n"
+" }\n"
+" \n"
+" public void setPager(PhoneNumber pager) {\n"
+" this.pager = pager;\n"
+" }\n"
+" \n"
+" public String getEmail() {\n"
+" return email;\n"
+" }\n"
+"\n"
+" public void setEmail(String email) {\n"
+" this.email = email.toLowerCase();\n"
+" }\n"
+" \n"
+" // ... equals, hashCode, toString \n"
+"}"
#. Tag: para
#: The_CMP_Engine.xml:514
@@ -1575,7 +1995,7 @@
msgid ""
"The contact info includes a phone number, which is represented by another "
"DVC class."
-msgstr ""
+msgstr "連絡先情報には電話番号が含まれ、 これは別の DVC クラスで表されます。"
#. Tag: programlisting
#: The_CMP_Engine.xml:517
@@ -1598,12 +2018,28 @@
" // ... equals, hashCode, toString\n"
"}"
msgstr ""
+"public class PhoneNumber\n"
+" implements Serializable \n"
+"{\n"
+" /** The first three digits of the phone number. */\n"
+" private short areaCode;\n"
+"\n"
+" /** The middle three digits of the phone number. */\n"
+" private short exchange;\n"
+"\n"
+" /** The last four digits of the phone number. */\n"
+" private short extension;\n"
+"\n"
+" // ... getters and setters \n"
+" \n"
+" // ... equals, hashCode, toString\n"
+"}"
#. Tag: para
#: The_CMP_Engine.xml:518
#, no-c-format
msgid "The DVC mappings for these two classes are relatively straight forward."
-msgstr ""
+msgstr "これら 2 クラスの DVC マッピングは比較的簡単です。"
#. Tag: programlisting
#: The_CMP_Engine.xml:521
@@ -1647,10 +2083,48 @@
" </dependent-value-class>\n"
"</dependent-value-classes>"
msgstr ""
+"<dependent-value-classes>\n"
+" <dependent-value-class>\n"
+" <description>A phone number</description>\n"
+" <class>org.jboss.cmp2.crimeportal.PhoneNumber</class>\n"
+" <property>\n"
+" <property-name>areaCode</property-name>\n"
+" <column-name>area_code</column-name>\n"
+" </property>\n"
+" <property>\n"
+" <property-name>exchange</property-name>\n"
+" <column-name>exchange</column-name>\n"
+" </property>\n"
+" <property>\n"
+" <property-name>extension</property-name>\n"
+" <column-name>extension</column-name>\n"
+" </property>\n"
+" </dependent-value-class>\n"
+" \n"
+" <dependent-value-class>\n"
+" <description>General contact info</description>\n"
+" <class>org.jboss.cmp2.crimeportal.ContactInfo</class>\n"
+" <property>\n"
+" <property-name>cell</property-name>\n"
+" <column-name>cell</column-name>\n"
+" </property>\n"
+" <property>\n"
+" <property-name>pager</property-name>\n"
+" <column-name>pager</column-name>\n"
+" </property>\n"
+" <property>\n"
+" <property-name>email</property-name>\n"
+" <column-name>email</column-name>\n"
+" <jdbc-type>VARCHAR</jdbc-type>\n"
+" <sql-type>VARCHAR(128)</sql-type>\n"
+" </property>\n"
+" </dependent-value-class>\n"
+"</dependent-value-classes>"
#. Tag: para
#: The_CMP_Engine.xml:522
#, no-c-format
+#, fuzzy
msgid ""
"Each DVC is declared with a <literal>dependent-value-class</literal> "
"element. A DVC is identified by the Java class type declared in the class "
@@ -1661,6 +2135,10 @@
"in the case of a local entity and the entity handle in the case of a remote "
"entity."
msgstr ""
+"各 DVC は <literal>dependent-value-class</literal> エレメントで宣言されます。 DVC はクラスエレメントで宣言される Java クラスタイプで識別されます。 永続化される各プロパティはプロパティエレメントで宣言されます。 この詳細は <literal>cmp-field</literal> エレメントに基づくので見ればすぐわかるはずです。 この制限も今後のリリースでは削除される予定です。 現在の提案は "
+"The current proposal involves storing the primary key fields "
+"in the case of a local entity and the entity handle in the case of a remote "
+"entity.??"
#. Tag: para
#: The_CMP_Engine.xml:525
@@ -4476,8 +4954,7 @@
#. Tag: para
#: The_CMP_Engine.xml:1645
#, no-c-format
-msgid ""
-"Note, if we remove <literal>left-join</literal> metadata we will have only"
+msgid "Note, if we remove <literal>left-join</literal> metadata we will have only"
msgstr ""
#. Tag: programlisting
@@ -4552,8 +5029,7 @@
#. Tag: para
#: The_CMP_Engine.xml:1662
#, no-c-format
-msgid ""
-"With this strategy, the query for the finder method in remains unchanged."
+msgid "With this strategy, the query for the finder method in remains unchanged."
msgstr ""
#. Tag: programlisting
@@ -4838,8 +5314,7 @@
#. Tag: para
#: The_CMP_Engine.xml:1942 The_CMP_Engine.xml:1975
#, no-c-format
-msgid ""
-"All data in the preload cache for this entity is loaded into the fields."
+msgid "All data in the preload cache for this entity is loaded into the fields."
msgstr ""
#. Tag: para
@@ -6828,3 +7303,4 @@
"conversion between the <literal>java-type</literal> and <literal>mapped-"
"type</literal>."
msgstr ""
+
More information about the jboss-cvs-commits
mailing list