alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (configuration.po)

This example Hibernate source code file (configuration.po) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

configuration, hibernate, hibernate, if, jdbc, jdbc, jndi, jndi, jta, sql, tag, tag, the, this

The Hibernate configuration.po source code

# translation of Collection_Mapping.po to
# Xi HUANG <xhuang@redhat.com>, 2007, 2009.
msgid ""
msgstr ""
"Project-Id-Version: Collection_Mapping\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-07-20 21:02+0000\n"
"PO-Revision-Date: 2009-12-21 17:12+1000\n"
"Last-Translator: Xi HUANG <xhuang@redhat.com>\n"
"Language-Team:  <en@li.org>\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
#: configuration.xml:31
#, no-c-format
msgid "Configuration"
msgstr "設定"

#. Tag: para
#: configuration.xml:33
#, no-c-format
msgid ""
"Hibernate is designed to operate in many different environments and, as "
"such, there is a broad range of configuration parameters. Fortunately, most "
"have sensible default values and Hibernate is distributed with an example "
"<literal>hibernate.properties file in etc/ that "
"displays the various options. Simply put the example file in your classpath "
"and customize it to suit your needs."
msgstr ""
"Hibernate は様々な環境で動作するようにデザインされているため、非常に多くの設"
"定要素があります。幸いなことに、 Hibernate は、公開されているパッケージの "
"<literal>etc/ フォルダの hibernate.properties "
"に、ほとんどの設定要素の適切なデフォルト値が記述されています。この "
"<literal>hibernate.properties をクラスパスに設定し、設定要素をカス"
"タマイズするだけです。"

#. Tag: title
#: configuration.xml:41
#, no-c-format
msgid "Programmatic configuration"
msgstr "プログラム上の設定"

#. Tag: para
#: configuration.xml:43
#, no-c-format
msgid ""
"An instance of <classname>org.hibernate.cfg.Configuration "
"represents an entire set of mappings of an application's Java types to an "
"SQL database. The <classname>org.hibernate.cfg.Configuration is "
"used to build an immutable <interfacename>org.hibernate.SessionFactory のインスタンスは、 "
"Java の型と SQL データベースのマッピング情報をすべて持っています。 "
"<literal>Configuration は、(不変の) "
"<interfacename>SessionFactory を生成するときに使用します。複"
"数の XML マッピングファイルを変換し、マッピング情報にします。"

#. Tag: para
#: configuration.xml:51
#, no-c-format
msgid ""
"You can obtain a <classname>org.hibernate.cfg.Configuration "
"instance by instantiating it directly and specifying XML mapping documents. "
"If the mapping files are in the classpath, use <literal>addResource() インスタンス"
"は、特定の XML マッピングファイルによって直接初期化されます。もし、マッピング"
"ファイルがクラスパスに設定されている場合、次のメソッドを使ってください。 "
"<literal>addResource() :"

#. Tag: programlisting
#: configuration.xml:57
#, fuzzy, no-c-format
msgid ""
"Configuration cfg = new Configuration()\n"
"    .addResource(\"Item.hbm.xml\")\n"
"    .addResource(\"Bid.hbm.xml\");"
msgstr ""
"Configuration cfg = new Configuration()\n"
"    .addResource(\"Item.hbm.xml\")\n"
"    .addResource(\"Bid.hbm.xml\");"

#. Tag: para
#: configuration.xml:59
#, no-c-format
msgid ""
"An alternative way is to specify the mapped class and allow Hibernate to "
"find the mapping document for you:"
msgstr ""
"代替案 (こちらのほうが良いときもあります) としてマッピングクラスを指定する方"
"法もあります。 Hibernate に、マッピングファイルを 見つけさせてください:"

#. Tag: programlisting
#: configuration.xml:62
#, fuzzy, no-c-format
msgid ""
"Configuration cfg = new Configuration()\n"
"    .addClass(org.hibernate.auction.Item.class)\n"
"    .addClass(org.hibernate.auction.Bid.class);"
msgstr ""
"Configuration cfg = new Configuration()\n"
"    .addClass(org.hibernate.auction.Item.class)\n"
"    .addClass(org.hibernate.auction.Bid.class);"

#. Tag: para
#: configuration.xml:64
#, no-c-format
msgid ""
"Hibernate will then search for mapping files named <filename>/org/hibernate/"
"auction/Item.hbm.xml</filename> and /org/hibernate/auction/Bid.hbm."
"xml</filename> in the classpath. This approach eliminates any hardcoded "
"filenames."
msgstr ""
"Hibernate は、クラスパスにある以下のような名前のマッピングファイルを見つけま"
"す。 <filename>/org/hibernate/auction/Item.hbm.xml/"
"org/hibernate/auction/Bid.hbm.xml</filename> 。この方法だと、ハードコーディン"
"グされたファイル名を排除できます。"

#. Tag: para
#: configuration.xml:69
#, no-c-format
msgid ""
"A <classname>org.hibernate.cfg.Configuration also allows you to "
"specify configuration properties. For example:"
msgstr ""
"<classname>org.hibernate.cfg.Configuration は、設定プロパティを指"
"定することもできます:"

#. Tag: programlisting
#: configuration.xml:72
#, fuzzy, no-c-format
msgid ""
"Configuration cfg = new Configuration()\n"
"    .addClass(org.hibernate.auction.Item.class)\n"
"    .addClass(org.hibernate.auction.Bid.class)\n"
"    .setProperty(\"hibernate.dialect\", \"org.hibernate.dialect."
"MySQLInnoDBDialect\")\n"
"    .setProperty(\"hibernate.connection.datasource\", \"java:comp/env/jdbc/"
"test\")\n"
"    .setProperty(\"hibernate.order_updates\", \"true\");"
msgstr ""
"Configuration cfg = new Configuration()\n"
"    .addClass(org.hibernate.auction.Item.class)\n"
"    .addClass(org.hibernate.auction.Bid.class)\n"
"    .setProperty(\"hibernate.dialect\", \"org.hibernate.dialect."
"MySQLInnoDBDialect\")\n"
"    .setProperty(\"hibernate.connection.datasource\", \"java:comp/env/jdbc/"
"test\")\n"
"    .setProperty(\"hibernate.order_updates\", \"true\");"

#. Tag: para
#: configuration.xml:74
#, no-c-format
msgid ""
"This is not the only way to pass configuration properties to Hibernate. Some "
"alternative options include:"
msgstr ""
"Hibernate に設定プロパティを渡す方法は1つではありません。さまざまなオプション"
"を用意しています:"

#. Tag: para
#: configuration.xml:79
#, no-c-format
msgid ""
"Pass an instance of <classname>java.util.Properties to "
"<literal>Configuration.setProperties()."
msgstr ""
"<literal>java.util.Properties インスタンスを "
"<literal>Configuration.setProperties() に渡します。"

#. Tag: para
#: configuration.xml:84
#, no-c-format
msgid ""
"Place a file named <filename>hibernate.properties in a root "
"directory of the classpath."
msgstr ""
"<literal>hibernate.properties をクラスパスのルートディレクトリに置"
"きます。"

#. Tag: para
#: configuration.xml:89
#, no-c-format
msgid ""
"Set <literal>System properties using java -"
"Dproperty=value</literal>."
msgstr ""
"<literal>System プロパティが java -Dproperty=value elements in hibernate."
"cfg.xml</literal> (this is discussed later)."
msgstr ""
"<literal><property> 要素を hibernate.cfg.xml "
"is the easiest approach."
msgstr ""
"<literal>hibernate.properties をクラスパスのルートディレクトリに置"
"きます。"

#. Tag: para
#: configuration.xml:103
#, no-c-format
msgid ""
"The <classname>org.hibernate.cfg.Configuration is intended as a "
"startup-time object that will be discarded once a <literal>SessionFactory は、起動時にだけあるオ"
"ブジェクトであり、一度 <literal>SessionFactory を生成した後は、破棄"
"されることを意図しています。"

#. Tag: title
#: configuration.xml:109
#, no-c-format
msgid "Obtaining a SessionFactory"
msgstr "SessionFactory を取得する"

#. Tag: para
#: configuration.xml:111
#, fuzzy, no-c-format
msgid ""
"When all mappings have been parsed by the <classname>org.hibernate.cfg."
"Configuration</classname>, the application must obtain a factory for "
"<interfacename>org.hibernate.Session instances. This factory "
"is intended to be shared by all application threads:"
msgstr ""
"<classname>org.hibernate.cfg.Configuration がすべてのマッピング情"
"報を解析したら、アプリケーションは、 <classname>org.hibernate.Session. This is useful "
"if you are using more than one database."
msgstr ""
"Hibernate は、アプリケーションが <classname>org.hibernate.SessionFactory is "
"as simple as:"
msgstr ""
"通常、開発者は <interfacename>org.hibernate.SessionFactory を"
"生成し、 SessionFactory で JDBC コネクションをプーリングしたいと考えます。そ"
"のアプローチを採用する場合、単純に <interfacename>org.hibernate.Session. "
"The most important settings for JDBC connection configuration are outlined "
"below."
msgstr ""
"そのためには、 JDBC コネクションのプロパティを Hibernate に設定する必要があり"
"ます。すべての Hibernate プロパティ名とセマンティクスは <classname>org."
"hibernate.cfg.Environment</classname> クラスに定義されています。この設定は "
"JDBC コネクション設定の中で一番重要なものです。"

#. Tag: para
#: configuration.xml:144
#, no-c-format
msgid ""
"Hibernate will obtain and pool connections using <classname>java.sql."
"DriverManager</classname> if you set the following properties:"
msgstr ""
"もし、以下のプロパティを設定すると、 Hibernate はコネクションを取得するために"
"(プールも) <classname>java.sql.DriverManager を使います:"

#. Tag: title
#: configuration.xml:149
#, no-c-format
msgid "Hibernate JDBC Properties"
msgstr "Hibernate JDBC プロパティ"

#. Tag: entry
#: configuration.xml:158 configuration.xml:236 configuration.xml:327
#: configuration.xml:495 configuration.xml:657 configuration.xml:753
#: configuration.xml:826
#, no-c-format
msgid "Property name"
msgstr "プロパティ名"

#. Tag: entry
#: configuration.xml:160 configuration.xml:238 configuration.xml:329
#: configuration.xml:497 configuration.xml:659 configuration.xml:755
#: configuration.xml:828
#, no-c-format
msgid "Purpose"
msgstr "意味"

#. Tag: property
#: configuration.xml:166
#, fuzzy, no-c-format
msgid "hibernate.connection.driver_class"
msgstr "<property>hibernate.connection.driver_class"

#. Tag: emphasis
#: configuration.xml:168
#, fuzzy, no-c-format
msgid "JDBC driver class"
msgstr "JDBC のドライバークラス"

#. Tag: property
#: configuration.xml:172
#, fuzzy, no-c-format
msgid "hibernate.connection.url"
msgstr "<property>hibernate.connection.url"

#. Tag: emphasis
#: configuration.xml:174
#, no-c-format
msgid "JDBC URL"
msgstr ""

#. Tag: property
#: configuration.xml:178 configuration.xml:265
#, fuzzy, no-c-format
msgid "hibernate.connection.username"
msgstr "<property>hibernate.connection.username"

#. Tag: emphasis
#: configuration.xml:180
#, no-c-format
msgid "database user"
msgstr "データベースのユーザー"

#. Tag: property
#: configuration.xml:184 configuration.xml:271
#, fuzzy, no-c-format
msgid "hibernate.connection.password"
msgstr "<property>hibernate.connection.password"

#. Tag: emphasis
#: configuration.xml:186
#, no-c-format
msgid "database user password"
msgstr "データベースユーザーパスワード"

#. Tag: property
#: configuration.xml:190
#, fuzzy, no-c-format
msgid "hibernate.connection.pool_size"
msgstr "<property>hibernate.connection.pool_size"

#. Tag: emphasis
#: configuration.xml:192
#, fuzzy, no-c-format
msgid "maximum number of pooled connections"
msgstr "<emphasis>プールするコネクションの最大数"

#. Tag: para
#: configuration.xml:199
#, no-c-format
msgid ""
"Hibernate's own connection pooling algorithm is, however, quite rudimentary. "
"It is intended to help you get started and is <emphasis>not intended for use "
"in a production system</emphasis>, or even for performance testing. You "
"should use a third party pool for best performance and stability. Just "
"replace the <property>hibernate.connection.pool_size property "
"with connection pool specific settings. This will turn off Hibernate's "
"internal pool. For example, you might like to use c3p0."
msgstr ""
"Hibernate のコネクションプールアルゴリズムは非常に初歩的なものです。これはす"
"ぐに始められるようにと用意されたもので、 <emphasis>製品として使用することを意"
"図していません</emphasis> 。また、パフォーマンスのテストのためのものでもあり"
"ません。最高のパフォーマンスと安定性を持ったプールを実現したければ、サード"
"パーティのツールをお勧めします。 <literal>hibernate.connection.pool_size directory. Hibernate will use its "
"<classname>org.hibernate.connection.C3P0ConnectionProvider for "
"connection pooling if you set <property>hibernate.c3p0.* "
"properties. If you would like to use Proxool, refer to the packaged "
"<filename>hibernate.properties and the Hibernate web site for "
"more information."
msgstr ""
"C3P0 はオープンソース JDBC コネクションプールで、 Hibernate の <literal>libhibernate.c3p0.* "
"プロパティをセットすれば、 Hibernate は、 <literal>C3P0ConnectionProviderhibernate."
"properties</literal> パッケージを参照したり、 Hibernate の Web サイトでより多"
"くの情報を取得してください。"

#. Tag: para
#: configuration.xml:216
#, no-c-format
msgid ""
"The following is an example <filename>hibernate.properties file "
"for c3p0:"
msgstr ""
"C3P0 用の <literal>hibernate.properties ファイルを例として示しま"
"す:"

#. Tag: programlisting
#: configuration.xml:219
#, fuzzy, no-c-format
msgid ""
"hibernate.connection.driver_class = org.postgresql.Driver\n"
"hibernate.connection.url = jdbc:postgresql://localhost/mydatabase\n"
"hibernate.connection.username = myuser\n"
"hibernate.connection.password = secret\n"
"hibernate.c3p0.min_size=5\n"
"hibernate.c3p0.max_size=20\n"
"hibernate.c3p0.timeout=1800\n"
"hibernate.c3p0.max_statements=50\n"
"hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect"
msgstr ""
"hibernate.connection.driver_class = org.postgresql.Driver\n"
"hibernate.connection.url = jdbc:postgresql://localhost/mydatabase\n"
"hibernate.connection.username = myuser\n"
"hibernate.connection.password = secret\n"
"hibernate.c3p0.min_size=5\n"
"hibernate.c3p0.max_size=20\n"
"hibernate.c3p0.timeout=1800\n"
"hibernate.c3p0.max_statements=50\n"
"hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect"

#. Tag: para
#: configuration.xml:221
#, no-c-format
msgid ""
"For use inside an application server, you should almost always configure "
"Hibernate to obtain connections from an application server "
"<interfacename>javax.sql.Datasource registered in JNDI. You "
"will need to set at least one of the following properties:"
msgstr ""
"アプリケーションサーバー上で使う場合は、 Hibernate を設定し、アプリケーション"
"サーバーからコネクションを取得するようにしてください。 <interfacename>javax."
"sql.Datasource</interfacename> を JNDI に登録します。そしてプロパティを以下の"
"ように設定してください:"

#. Tag: title
#: configuration.xml:227
#, no-c-format
msgid "Hibernate Datasource Properties"
msgstr "Hibernate データソースプロパティ"

#. Tag: property
#: configuration.xml:244
#, fuzzy, no-c-format
msgid "hibernate.connection.datasource"
msgstr "<property>hibernate.connection.datasource"

#. Tag: emphasis
#: configuration.xml:246
#, no-c-format
msgid "datasource JNDI name"
msgstr "データソースの JNDI 名"

#. Tag: property
#: configuration.xml:250
#, fuzzy, no-c-format
msgid "hibernate.jndi.url"
msgstr "<property>hibernate.jndi.url"

#. Tag: entry
#: configuration.xml:252
#, no-c-format
msgid "<emphasis>URL of the JNDI provider (optional)"
msgstr "<emphasis>JNDI プロバイダの URL (オプション)"

#. Tag: property
#: configuration.xml:257
#, fuzzy, no-c-format
msgid "hibernate.jndi.class"
msgstr "<property>hibernate.jndi.class"

#. Tag: entry
#: configuration.xml:259
#, no-c-format
msgid ""
"<emphasis>class of the JNDI InitialContextFactoryInitialContextFactory "
"(オプション)"

#. Tag: entry
#: configuration.xml:267
#, no-c-format
msgid "<emphasis>database user (optional)"
msgstr "<emphasis>データベースユーザ (オプション)"

#. Tag: entry
#: configuration.xml:273
#, no-c-format
msgid "<emphasis>database user password (optional)"
msgstr "<emphasis>データベースユーザのパスワード (オプション)"

#. Tag: para
#: configuration.xml:280
#, no-c-format
msgid ""
"Here is an example <filename>hibernate.properties file for an "
"application server provided JNDI datasource:"
msgstr ""
"アプリケーションサーバーから提供された JNDI データソースを使う "
"<filename>hibernate.properties ファイルの例を示します:"

#. Tag: programlisting
#: configuration.xml:283
#, fuzzy, no-c-format
msgid ""
"hibernate.connection.datasource = java:/comp/env/jdbc/test\n"
"hibernate.transaction.factory_class = \\\n"
"    org.hibernate.transaction.JTATransactionFactory\n"
"hibernate.transaction.manager_lookup_class = \\\n"
"    org.hibernate.transaction.JBossTransactionManagerLookup\n"
"hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect"
msgstr ""
"hibernate.connection.datasource = java:/comp/env/jdbc/test\n"
"hibernate.transaction.factory_class = \\n"
"    org.hibernate.transaction.JTATransactionFactory\n"
"hibernate.transaction.manager_lookup_class = \\n"
"    org.hibernate.transaction.JBossTransactionManagerLookup\n"
"hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect"

#. Tag: para
#: configuration.xml:285
#, no-c-format
msgid ""
"JDBC connections obtained from a JNDI datasource will automatically "
"participate in the container-managed transactions of the application server."
msgstr ""
"JNDI データソースから取得した JDBC コネクションは、アプリケーションサーバーの"
"コンテナ管理トランザクションに自動的に参加します。"

#. Tag: para
#: configuration.xml:289
#, no-c-format
msgid ""
"Arbitrary connection properties can be given by prepending "
"\"<literal>hibernate.connection\" to the connection property name. "
"For example, you can specify a <property>charSet connection "
"property using <property>hibernate.connection.charSet."
msgstr ""
"任意のコネクションプロパティは、追加された \"<literal>hibernate.connnectioncharSethibernate.connection.charSet イ"
"ンターフェースを実装してください。そして、実装クラスを <property>hibernate."
"connection.provider_class</property> に設定してください。"

#. Tag: title
#: configuration.xml:302
#, no-c-format
msgid "Optional configuration properties"
msgstr "オプション設定プロパティ"

#. Tag: para
#: configuration.xml:304
#, no-c-format
msgid ""
"There are a number of other properties that control the behavior of "
"Hibernate at runtime. All are optional and have reasonable default values."
msgstr ""
"これらのプロパティはランタイムに Hibernate の挙動を制御するものです。これらの"
"プロパティはすべて妥当なデフォルト値があり、任意で設定します。"

#. Tag: para
#: configuration.xml:309
#, fuzzy, no-c-format
msgid ""
"<emphasis>Some of these properties are \"system-level\" only. "
"System-level properties can be set only via <literal>java -Dproperty=valuehibernate.properties. They "
"<emphasis>cannot be set by the other techniques described above."
msgstr ""
"<emphasis>注意:これらのプロパティは「システムレベル」のみです。 "
"システムレベルプロパティは <literal>java -Dproperty=value 、もしく"
"は <literal>hibernate.properties でのみ設定可能です。それ以外の設定"
"方法は <emphasis>ありません 。"

#. Tag: title
#: configuration.xml:318
#, no-c-format
msgid "Hibernate Configuration Properties"
msgstr "Hibernate 設定プロパティ"

#. Tag: property
#: configuration.xml:335
#, fuzzy, no-c-format
msgid "hibernate.dialect"
msgstr "<property>hibernate.dialect"

#. Tag: entry
#: configuration.xml:337
#, no-c-format
msgid ""
"The classname of a Hibernate <classname>org.hibernate.dialect.Dialect が"
"入ります。これはリレーショナルデータベースごとに最適化された SQL を生成しま"
"す。"

#. Tag: para
#: configuration.xml:340
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. full.classname.of."
"Dialect</literal>"
msgstr ""
"<emphasis role=\"strong\">例full.classname.of.Dialect implementation based on "
"the <literal>JDBC metadata returned by the JDBC driver."
msgstr ""

#. Tag: property
#: configuration.xml:349
#, fuzzy, no-c-format
msgid "hibernate.show_sql"
msgstr "<property>hibernate.show_sql"

#. Tag: entry
#: configuration.xml:351
#, no-c-format
msgid ""
"Write all SQL statements to console. This is an alternative to setting the "
"log category <literal>org.hibernate.SQL to debugdebug を設定する方"
"法の代替手段です。"

#. Tag: para
#: configuration.xml:353 configuration.xml:361 configuration.xml:426
#: configuration.xml:435 configuration.xml:443 configuration.xml:453
#: configuration.xml:468 configuration.xml:525 configuration.xml:545
#: configuration.xml:555 configuration.xml:598 configuration.xml:797
#: configuration.xml:808 configuration.xml:904
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. true | "
"<literal>false"
msgstr ""
"<emphasis role=\"strong\">例true | "
"<literal>false"

#. Tag: property
#: configuration.xml:359
#, fuzzy, no-c-format
msgid "hibernate.format_sql"
msgstr "<property>hibernate.format_sql"

#. Tag: entry
#: configuration.xml:361
#, no-c-format
msgid "Pretty print the SQL in the log and console."
msgstr "ログとコンソールの SQL を整形して表示します。"

#. Tag: property
#: configuration.xml:367
#, fuzzy, no-c-format
msgid "hibernate.default_schema"
msgstr "<property>hibernate.default_schema"

#. Tag: entry
#: configuration.xml:369
#, no-c-format
msgid ""
"Qualify unqualified table names with the given schema/tablespace in "
"generated SQL."
msgstr "生成される SQL 文のテーブルに設定するスキーマ/テーブルスペースです。"

#. Tag: para
#: configuration.xml:370
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. SCHEMA_NAME"
msgstr "<emphasis role=\"strong\">例.SCHEMA_NAME"

#. Tag: property
#: configuration.xml:376
#, fuzzy, no-c-format
msgid "hibernate.default_catalog"
msgstr "<property>hibernate.default_catalog"

#. Tag: entry
#: configuration.xml:378
#, no-c-format
msgid ""
"Qualifies unqualified table names with the given catalog in generated SQL."
msgstr "生成される SQL 文のテーブルに設定するカタログです。"

#. Tag: para
#: configuration.xml:379
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. CATALOG_NAME"
msgstr "<emphasis role=\"strong\">例CATALOG_NAME"

#. Tag: property
#: configuration.xml:384
#, fuzzy, no-c-format
msgid "hibernate.session_factory_name"
msgstr "<property>hibernate.session_factory_name"

#. Tag: entry
#: configuration.xml:386
#, no-c-format
msgid ""
"The <interfacename>org.hibernate.SessionFactory will be "
"automatically bound to this name in JNDI after it has been created."
msgstr ""
"<interfacename>org.hibernate.SessionFactory は生成後、この名"
"前で JNDI に自動的に登録されます。"

#. Tag: para
#: configuration.xml:389 configuration.xml:776
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. jndi/composite/namejndi/composite/name"

#. Tag: property
#: configuration.xml:394
#, fuzzy, no-c-format
msgid "hibernate.max_fetch_depth"
msgstr "<property>hibernate.max_fetch_depth"

#. Tag: entry
#: configuration.xml:396
#, no-c-format
msgid ""
"Sets a maximum \"depth\" for the outer join fetch tree for single-ended "
"associations (one-to-one, many-to-one). A <literal>0 disables "
"default outer join fetching."
msgstr ""
"外部結合フェッチの最大深度を設定します。結合する関連は対一関連のみ(一対一、"
"多対一)です。 <literal>0 を指定すると外部結合フェッチは無効になり"
"ます。"

#. Tag: para
#: configuration.xml:398
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. recommended values between "
"<literal>0 and 3"
msgstr ""
"<emphasis role=\"strong\">例: 推奨する値は 0 "
"から <literal>3 の間です。"

#. Tag: property
#: configuration.xml:404
#, fuzzy, no-c-format
msgid "hibernate.default_batch_fetch_size"
msgstr "<property>hibernate.default_batch_fetch_size"

#. Tag: entry
#: configuration.xml:406
#, no-c-format
msgid "Sets a default size for Hibernate batch fetching of associations."
msgstr "関連フェッチのデフォルト Hibernate バッチサイズを指定します。"

#. Tag: para
#: configuration.xml:407
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. recommended values 48, 16"
msgstr ""
"<emphasis role=\"strong\">例: 推奨する値は 48 , 16 です。"

#. Tag: property
#: configuration.xml:413
#, fuzzy, no-c-format
msgid "hibernate.default_entity_mode"
msgstr "<property>hibernate.default_entity_mode"

#. Tag: entry
#: configuration.xml:415
#, fuzzy, no-c-format
msgid ""
"Sets a default mode for entity representation for all sessions opened from "
"this <literal>SessionFactory"
msgstr ""
"<literal>SessionFactory からセッションをオープンしたときに使用する"
"エンティティのデフォルトモードを設定します。"

#. Tag: para
#: configuration.xml:416
#, no-c-format
msgid ""
"<literal>dynamic-map, dom4j, pojo, dom4j, pojo"

#. Tag: entry
#: configuration.xml:424
#, no-c-format
msgid ""
"Forces Hibernate to order SQL updates by the primary key value of the items "
"being updated. This will result in fewer transaction deadlocks in highly "
"concurrent systems."
msgstr ""
"項目が更新されたときに、別の SQL で主キーを更新することを強制します。この場"
"合、同時実行可能なシステムでは、まれにデッドロックが発生する可能性がありま"
"す。"

#. Tag: property
#: configuration.xml:432
#, fuzzy, no-c-format
msgid "hibernate.generate_statistics"
msgstr "Hibernate 統計"

#. Tag: entry
#: configuration.xml:434
#, no-c-format
msgid ""
"If enabled, Hibernate will collect statistics useful for performance tuning."
msgstr ""
"有効の場合、 Hibernate はパフォーマンスチューニングに有効な統計情報を収集しま"
"す。"

#. Tag: property
#: configuration.xml:440
#, fuzzy, no-c-format
msgid "hibernate.use_identifier_rollback"
msgstr "<property>hibernate.use_identifier_rollback"

#. Tag: entry
#: configuration.xml:442
#, no-c-format
msgid ""
"If enabled, generated identifier properties will be reset to default values "
"when objects are deleted."
msgstr ""
"有効の場合、オブジェクトが削除されたときに識別子プロパティをリセットし、デ"
"フォルト値にしたものを生成します。"

#. Tag: property
#: configuration.xml:449
#, fuzzy, no-c-format
msgid "hibernate.use_sql_comments"
msgstr "<property>hibernate.use_sql_comments"

#. Tag: entry
#: configuration.xml:451
#, no-c-format
msgid ""
"If turned on, Hibernate will generate comments inside the SQL, for easier "
"debugging, defaults to <literal>false."
msgstr ""
"有効の場合、 SQL 内にコメントを生成します。これはデバックを容易にします。デ"
"フォルトの値は <literal>false です。"

#. Tag: property
#: configuration.xml:458
#, no-c-format
msgid "hibernate.id.new_generator_mappings"
msgstr ""

#. Tag: entry
#: configuration.xml:460
#, no-c-format
msgid ""
"Setting is relevant when using <classname>@GeneratedValue. It "
"indicates whether or not the new <classname>IdentifierGenerator "
"implementations are used for <classname>javax.persistence.GenerationType."
"AUTO</classname>, javax.persistence.GenerationType.TABLEjavax.persistence.GenerationType.SEQUENCEfalse to keep backward "
"compatibility."
msgstr ""

#. Tag: para
#: configuration.xml:476
#, no-c-format
msgid ""
"We recommend all new projects which make use of to use "
"<classname>@GeneratedValue to also set hibernate.id."
"new_generator_mappings=true</code> as the new generators are more efficient "
"and closer to the JPA 2 specification semantic. However they are not "
"backward compatible with existing databases (if a sequence or a table is "
"used for id generation)."
msgstr ""

#. Tag: title
#: configuration.xml:485
#, no-c-format
msgid "Hibernate JDBC and Connection Properties"
msgstr "Hibernate JDBC とコネクションプロパティ"

#. Tag: property
#: configuration.xml:503
#, fuzzy, no-c-format
msgid "hibernate.jdbc.fetch_size"
msgstr "<property>hibernate.jdbc.fetch_size"

#. Tag: entry
#: configuration.xml:505
#, no-c-format
msgid ""
"A non-zero value determines the JDBC fetch size (calls <literal>Statement."
"setFetchSize()</literal>)."
msgstr ""
"値が0でない場合、 JDBC フェッチサイズを決定します ( <literal>Statement."
"setFetchSize()</literal> を呼びます)。"

#. Tag: property
#: configuration.xml:510
#, fuzzy, no-c-format
msgid "hibernate.jdbc.batch_size"
msgstr "<property>hibernate.jdbc.batch_size"

#. Tag: entry
#: configuration.xml:512
#, no-c-format
msgid "A non-zero value enables use of JDBC2 batch updates by Hibernate."
msgstr "値が0でない場合、 Hibernate が JDBC2 バッチ更新を使用します。"

#. Tag: para
#: configuration.xml:513
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. recommended values between "
"<literal>5 and 30"
msgstr ""
"<emphasis role=\"strong\">例: 推奨する値は 5 "
"から <literal>30 の間です。"

#. Tag: property
#: configuration.xml:519
#, fuzzy, no-c-format
msgid "hibernate.jdbc.batch_versioned_data"
msgstr "<property>hibernate.jdbc.batch_versioned_data"

#. Tag: entry
#: configuration.xml:521
#, fuzzy, no-c-format
msgid ""
"Set this property to <literal>true if your JDBC driver returns "
"correct row counts from <literal>executeBatch(). It is usually "
"safe to turn this option on. Hibernate will then use batched DML for "
"automatically versioned data. Defaults to <literal>false."
msgstr ""
"もし JDBC ドライバが <literal>executeBatch() によって正確な行数を返"
"す場合、このプロパティを <literal>true にしてください (通常はこの"
"オプションを ON するのが安全です)。 Hibernate は、自動バージョンデータのため"
"バッチ DML を使います。デフォルトの値は <literal>false です。"

#. Tag: property
#: configuration.xml:531
#, fuzzy, no-c-format
msgid "hibernate.jdbc.factory_class"
msgstr "<property>hibernate.jdbc.factory_class"

#. Tag: entry
#: configuration.xml:533
#, no-c-format
msgid ""
"Select a custom <interfacename>org.hibernate.jdbc.Batcher. "
"Most applications will not need this configuration property."
msgstr ""
"カスタム <interfacename>org.hibernate.jdbc.Batcher を選びま"
"す。ほとんどのアプリケーションに、この設定プロパティは必要ありません。"

#. Tag: para
#: configuration.xml:535
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. classname.of."
"BatcherFactory</literal>"
msgstr ""
"<emphasis role=\"strong\">例classname.of.BatcherFactory"

#. Tag: entry
#: configuration.xml:543
#, no-c-format
msgid ""
"Enables use of JDBC2 scrollable resultsets by Hibernate. This property is "
"only necessary when using user-supplied JDBC connections. Hibernate uses "
"connection metadata otherwise."
msgstr ""
"Hibernate による JDBC2 のスクロール可能なリザルトセットの使用を有効にします。"
"このプロパティは、ユーザーによって提供された JDBC コネクションを使用している"
"場合のみ必要で、そうでなければ Hibernate はコネクションメタデータを使用しま"
"す。"

#. Tag: property
#: configuration.xml:551
#, fuzzy, no-c-format
msgid "hibernate.jdbc.use_streams_for_binary"
msgstr "<property>hibernate.jdbc.use_streams_for_binary"

#. Tag: entry
#: configuration.xml:553
#, no-c-format
msgid ""
"Use streams when writing/reading <literal>binary or "
"<literal>serializable types to/from JDBC. *system-level "
"property*</emphasis>"
msgstr ""
"JDBC へ/から <literal>binary や serializable の"
"書き込み/読み込みストリームを使います (システムレベルのプロパティ)。"

#. Tag: property
#: configuration.xml:561
#, fuzzy, no-c-format
msgid "hibernate.jdbc.use_get_generated_keys"
msgstr "<property>hibernate.jdbc.use_get_generated_keys"

#. Tag: entry
#: configuration.xml:563
#, no-c-format
msgid ""
"Enables use of JDBC3 <literal>PreparedStatement.getGeneratedKeys() "
"to retrieve natively generated keys after insert. Requires JDBC3+ driver and "
"JRE1.4+, set to false if your driver has problems with the Hibernate "
"identifier generators. By default, it tries to determine the driver "
"capabilities using connection metadata."
msgstr ""
"挿入の後に自動生成された主キーを取得するための JDBC3 "
"<literal>PreparedStatement.getGeneratedKeys() の使用を有効にしま"
"す。これは JDBC3+ ドライバと JRE1.4+ を必要とし、もし Hibernate の識別子ジェ"
"ネレータに問題が発生するようなら false に設定してください。デフォルトではコネ"
"クションメタデータを使いドライバの能力を決定します。"

#. Tag: para
#: configuration.xml:569 configuration.xml:678 configuration.xml:687
#: configuration.xml:696 configuration.xml:723
#, no-c-format
msgid "<emphasis role=\"strong\">e.g. true|false"
msgstr "<emphasis role=\"strong\">例true|false"

#. Tag: property
#: configuration.xml:574
#, fuzzy, no-c-format
msgid "hibernate.connection.provider_class"
msgstr "<property>hibernate.connection.provider_class"

#. Tag: entry
#: configuration.xml:576
#, no-c-format
msgid ""
"The classname of a custom <interfacename>org.hibernate.connection."
"ConnectionProvider</interfacename> which provides JDBC connections to "
"Hibernate."
msgstr ""
"JDBC コネクションを Hibernate に提供する独自の <literal>ConnectionProvider classname.of."
"ConnectionProvider</literal>"
msgstr ""
"<emphasis role=\"strong\">例classname.of."
"ConnectionProvider</literal>"

#. Tag: property
#: configuration.xml:584
#, fuzzy, no-c-format
msgid "hibernate.connection.isolation"
msgstr "<property>hibernate.connection.isolation"

#. Tag: entry
#: configuration.xml:586
#, no-c-format
msgid ""
"Sets the JDBC transaction isolation level. Check <interfacename>java.sql."
"Connection</interfacename> for meaningful values, but note that most "
"databases do not support all isolation levels and some define additional, "
"non-standard isolations."
msgstr ""
"JDBC トランザクション分離レベルを設定します。妥当な値を調べるためには "
"<interfacename>java.sql.Connection をチェックしてください。し"
"かし使用するデータベースが、すべての分離レベルをサポートしているとは限りませ"
"ん。"

#. Tag: para
#: configuration.xml:589
#, no-c-format
msgid "<emphasis role=\"strong\">e.g. 1, 2, 4, 8"
msgstr "<emphasis role=\"strong\">例1, 2, 4, 8"

#. Tag: property
#: configuration.xml:595
#, fuzzy, no-c-format
msgid "hibernate.connection.autocommit"
msgstr "<property>hibernate.connection.autocommit"

#. Tag: entry
#: configuration.xml:597
#, no-c-format
msgid "Enables autocommit for JDBC pooled connections (it is not recommended)."
msgstr ""
"プールされている JDBC コネクションの自動コミットを有効にする(非推奨)。"

#. Tag: property
#: configuration.xml:603
#, fuzzy, no-c-format
msgid "hibernate.connection.release_mode"
msgstr "<property>hibernate.connection.release_mode"

#. Tag: entry
#: configuration.xml:605
#, no-c-format
msgid ""
"Specifies when Hibernate should release JDBC connections. By default, a JDBC "
"connection is held until the session is explicitly closed or disconnected. "
"For an application server JTA datasource, use <literal>after_statement. "
"<literal>auto will choose after_statement for "
"the JTA and CMT transaction strategies and <literal>after_transaction を"
"使ってください。非 JTA コネクションの場合、各トランザクションが終了したとき"
"に <literal>after_transaction を使い、コネクションをリリースしてく"
"ださい。 <literal>auto にすると、 JTA や CMT トランザクションの場"
"合、 <literal>after_statement でクローズし、 JDBC トランザクション"
"の場合、 <literal>after_transaction でクローズします。"

#. Tag: para
#: configuration.xml:615
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. auto (default) "
"| <literal>on_close | after_transaction | "
"<literal>after_statement"
msgstr ""
"<emphasis role=\"strong\">例auto (デフォルト) "
"| <literal>on_close | after_transaction | "
"<literal>after_statement"

#. Tag: para
#: configuration.xml:618
#, fuzzy, no-c-format
msgid ""
"This setting only affects <literal>Sessions returned from "
"<literal>SessionFactory.openSession. For SessionSessionFactory.getCurrentSessionCurrentSessionContext implementation "
"configured for use controls the connection release mode for those "
"<literal>Sessions. See"
msgstr ""
"この設定は <literal>SessionFactory.openSession から取得した "
"<literal>Session だけに効果があります。 SessionFactory."
"getCurrentSession</literal> を通じて取得した Session で"
"は、 <literal>CurrentSessionContext の実装によって、コネクションの"
"リリースモードを設定します。 <xref linkend=\"architecture-current-session\"/"
"> を参照してください。"

#. Tag: entry
#: configuration.xml:630
#, no-c-format
msgid ""
"<property>hibernate.connection.<propertyName><propertyName> to "
"<literal>DriverManager.getConnection()."
msgstr ""
"JDBC プロパティ <emphasis><propertyName> を "
"<literal>DriverManager.getConnection() に渡します。"

#. Tag: entry
#: configuration.xml:638
#, fuzzy, no-c-format
msgid ""
"<property>hibernate.jndi.<propertyName>"
msgstr ""
"<literal>hibernate.jndi.<property> を"
"使って、システムプロパティとして"

#. Tag: entry
#: configuration.xml:640
#, no-c-format
msgid ""
"Pass the property <emphasis><propertyName> to the JNDI "
"<literal>InitialContextFactory."
msgstr ""
"プロパティ <emphasis><propertyName> を JNDI "
"<literal>InitialContextFactory に渡します。"

#. Tag: title
#: configuration.xml:648
#, no-c-format
msgid "Hibernate Cache Properties"
msgstr "Hibernate キャッシュプロパティ"

#. Tag: literal
#: configuration.xml:665
#, fuzzy, no-c-format
msgid "hibernate.cache.provider_class"
msgstr "<literal>hibernate.cache.provider_class"

#. Tag: entry
#: configuration.xml:667
#, no-c-format
msgid "The classname of a custom <literal>CacheProvider."
msgstr "カスタム <literal>CacheProvider のクラス名です。"

#. Tag: para
#: configuration.xml:668
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. classname.of."
"CacheProvider</literal>"
msgstr ""
"<emphasis role=\"strong\">例classname.of.CacheProvider"

#. Tag: entry
#: configuration.xml:675
#, no-c-format
msgid ""
"Optimizes second-level cache operation to minimize writes, at the cost of "
"more frequent reads. This setting is most useful for clustered caches and, "
"in Hibernate3, is enabled by default for clustered cache implementations."
msgstr ""
"書き込みを最小限にするために、二次キャッシュの操作を最適化します。その代わり"
"に、読み込みがより頻繁に発生するようになります。このセッティングはクラスタ"
"キャッシュで役に立ちます。 Hibernate3 ではクラスタキャッシュ実装用にデフォル"
"トでは有効になっています。 "

#. Tag: literal
#: configuration.xml:684
#, fuzzy, no-c-format
msgid "hibernate.cache.use_query_cache"
msgstr "<literal>hibernate.cache.use_query_cache"

#. Tag: entry
#: configuration.xml:686
#, no-c-format
msgid ""
"Enables the query cache. Individual queries still have to be set cachable."
msgstr ""
"特定のクエリがキャッシュ可能な場合に、クエリキャッシュを有効にします。 "

#. Tag: literal
#: configuration.xml:692
#, fuzzy, no-c-format
msgid "hibernate.cache.use_second_level_cache"
msgstr "<literal>hibernate.cache.use_second_level_cache"

#. Tag: entry
#: configuration.xml:694
#, no-c-format
msgid ""
"Can be used to completely disable the second level cache, which is enabled "
"by default for classes which specify a <literal><cache> "
"mapping."
msgstr ""
"二次キャッシュを完全に無効にする場合に使います。デフォルトでは有効で、クラス"
"の <literal><cache> マッピングで制御します。"

#. Tag: literal
#: configuration.xml:702
#, fuzzy, no-c-format
msgid "hibernate.cache.query_cache_factory"
msgstr "<literal>hibernate.cache.query_cache_factory"

#. Tag: entry
#: configuration.xml:704
#, no-c-format
msgid ""
"The classname of a custom <literal>QueryCache interface, defaults "
"to the built-in <literal>StandardQueryCache."
msgstr ""
"カスタム <literal>QueryCache インターフェースのクラス名を指定しま"
"す。デフォルトでは <literal>StandardQueryCache になります。"

#. Tag: para
#: configuration.xml:706
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. classname.of.QueryCache classname.of.QueryCache"

#. Tag: entry
#: configuration.xml:714
#, no-c-format
msgid "A prefix to use for second-level cache region names."
msgstr "二次キャッシュの領域名の接頭辞です。"

#. Tag: para
#: configuration.xml:714
#, no-c-format
msgid "<emphasis role=\"strong\">e.g. prefix"
msgstr "<emphasis role=\"strong\">例prefix"

#. Tag: literal
#: configuration.xml:720
#, fuzzy, no-c-format
msgid "hibernate.cache.use_structured_entries"
msgstr "<literal>hibernate.cache.use_structured_entries"

#. Tag: entry
#: configuration.xml:722
#, no-c-format
msgid ""
"Forces Hibernate to store data in the second-level cache in a more human-"
"friendly format."
msgstr ""
"二次キャッシュに格納するデータを、人が理解しやすいフォーマットにします。 "

#. Tag: literal
#: configuration.xml:729
#, no-c-format
msgid "hibernate.cache.default_cache_concurrency_strategy"
msgstr ""

#. Tag: entry
#: configuration.xml:731
#, no-c-format
msgid ""
"Setting used to give the name of the default <classname>org.hibernate."
"annotations.CacheConcurrencyStrategy</classname> to use when either "
"<classname>@Cacheable or @Cache is used. "
"<code>@Cache(strategy=\"..\") is used to override this default."
msgstr ""

#. Tag: title
#: configuration.xml:744
#, no-c-format
msgid "Hibernate Transaction Properties"
msgstr "Hibernate トランザクションプロパティ"

#. Tag: literal
#: configuration.xml:761
#, fuzzy, no-c-format
msgid "hibernate.transaction.factory_class"
msgstr "<literal>hibernate.transaction.factory_class"

#. Tag: entry
#: configuration.xml:763
#, no-c-format
msgid ""
"The classname of a <literal>TransactionFactory to use with "
"Hibernate <literal>Transaction API (defaults to "
"<literal>JDBCTransactionFactory)."
msgstr ""
"Hibernate <literal>Transaction API と一緒に使われる "
"<literal>TransactionFactory のクラス名です。 (デフォルトでは "
"<literal>JDBCTransactionFactory です)。"

#. Tag: para
#: configuration.xml:765
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. classname.of."
"TransactionFactory</literal>"
msgstr ""
"<emphasis role=\"strong\">例classname.of."
"TransactionFactory</literal>>"

#. Tag: literal
#: configuration.xml:771
#, fuzzy, no-c-format
msgid "jta.UserTransaction"
msgstr "<literal>jta.UserTransaction"

#. Tag: entry
#: configuration.xml:773
#, no-c-format
msgid ""
"A JNDI name used by <literal>JTATransactionFactory to obtain the "
"JTA <literal>UserTransaction from the application server."
msgstr ""
"アプリケーションサーバーから JTA <literal>UserTransaction を取得す"
"るために <literal>JTATransactionFactory に使われる JNDI 名です。"

#. Tag: literal
#: configuration.xml:781
#, fuzzy, no-c-format
msgid "hibernate.transaction.manager_lookup_class"
msgstr "<literal>hibernate.transaction. manager_lookup_class"

#. Tag: entry
#: configuration.xml:783
#, no-c-format
msgid ""
"The classname of a <literal>TransactionManagerLookup. It is "
"required when JVM-level caching is enabled or when using hilo generator in a "
"JTA environment."
msgstr ""
"<literal>TransactionManagerLookup のクラス名です。 JTA 環境におい"
"て、 JVM レベルのキャッシュを有効にするときか、 hilo ジェネレータが使用される"
"ときに必要です。"

#. Tag: para
#: configuration.xml:786
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. classname.of."
"TransactionManagerLookup</literal>"
msgstr ""
"<emphasis role=\"strong\">例classname.of."
"TransactionManagerLookup</literal>"

#. Tag: literal
#: configuration.xml:792
#, fuzzy, no-c-format
msgid "hibernate.transaction.flush_before_completion"
msgstr "<literal>hibernate.transaction. flush_before_completion"

#. Tag: entry
#: configuration.xml:794
#, fuzzy, no-c-format
msgid ""
"If enabled, the session will be automatically flushed during the before "
"completion phase of the transaction. Built-in and automatic session context "
"management is preferred, see <xref linkend=\"architecture-current-session\"/"
">."
msgstr ""
"有効の場合、トランザクションの completion フェーズの前に自動的にセッションを"
"フラッシュします。内蔵の自動セッションコンテキスト管理に適しています。 <xref "
"linkend=\"architecture-current-session\"/> を参照してください。"

#. Tag: literal
#: configuration.xml:803
#, fuzzy, no-c-format
msgid "hibernate.transaction.auto_close_session"
msgstr "<literal>hibernate.transaction. auto_close_session"

#. Tag: entry
#: configuration.xml:805
#, fuzzy, no-c-format
msgid ""
"If enabled, the session will be automatically closed during the after "
"completion phase of the transaction. Built-in and automatic session context "
"management is preferred, see <xref linkend=\"architecture-current-session\"/"
">."
msgstr ""
"有効の場合、トランザクションの completion フェーズの後にセッションを自動的に"
"クローズします。内蔵の自動セッションコンテキスト管理に適しています。 <xref "
"linkend=\"architecture-current-session\"/> を参照してください。"

#. Tag: title
#: configuration.xml:817
#, no-c-format
msgid "Miscellaneous Properties"
msgstr "その他のプロパティ"

#. Tag: literal
#: configuration.xml:834
#, fuzzy, no-c-format
msgid "hibernate.current_session_context_class"
msgstr "<literal>hibernate. current_session_context_class"

#. Tag: entry
#: configuration.xml:836
#, fuzzy, no-c-format
msgid ""
"Supply a custom strategy for the scoping of the \"current\" "
"<literal>Session. See  のための(カスタム)戦略を提供します。"
"ビルトインストラテジーに関するその他の情報については <xref linkend="
"\"architecture-current-session\"/> を参照してください。"

#. Tag: para
#: configuration.xml:839
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. jta | "
"<literal>thread | managed | custom."
"Class</literal>"
msgstr ""
"<emphasis role=\"strong\">例jta | "
"<literal>thread | managed | custom."
"Class</literal>"

#. Tag: literal
#: configuration.xml:846
#, fuzzy, no-c-format
msgid "hibernate.query.factory_class"
msgstr "<literal>hibernate.query.factory_class"

#. Tag: entry
#: configuration.xml:848
#, no-c-format
msgid "Chooses the HQL parser implementation."
msgstr "HQL パーサーの実装を選択します。"

#. Tag: para
#: configuration.xml:848
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. org.hibernate.hql.ast."
"ASTQueryTranslatorFactory</literal> or org.hibernate.hql.classic."
"ClassicQueryTranslatorFactory</literal>"
msgstr ""
"<emphasis role=\"strong\">例org.hibernate.hql.ast."
"ASTQueryTranslatorFactory</literal> or org.hibernate.hql.classic."
"ClassicQueryTranslatorFactory</literal>"

#. Tag: literal
#: configuration.xml:857
#, fuzzy, no-c-format
msgid "hibernate.query.substitutions"
msgstr "hibernate.query.substitutions true=1, false=0"

#. Tag: entry
#: configuration.xml:859
#, no-c-format
msgid ""
"Is used to map from tokens in Hibernate queries to SQL tokens (tokens might "
"be function or literal names, for example)."
msgstr ""
"HQL と SQL のトークンをマッピングします。 (例えば、トークンは関数やリテラル"
"名です)。"

#. Tag: para
#: configuration.xml:861
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. hqlLiteral=SQL_LITERAL, "
"hqlFunction=SQLFUNC</literal>"
msgstr ""
"<emphasis role=\"strong\">例hqlLiteral=SQL_LITERAL, "
"hqlFunction=SQLFUNC</literal>"

#. Tag: literal
#: configuration.xml:867
#, fuzzy, no-c-format
msgid "hibernate.hbm2ddl.auto"
msgstr "<literal>hibernate.hbm2ddl.auto"

#. Tag: entry
#: configuration.xml:869
#, no-c-format
msgid ""
"Automatically validates or exports schema DDL to the database when the "
"<literal>SessionFactory is created. With create-drop is closed explicitly."
msgstr ""
"<literal>SessionFactory を生成したときに、自動的にスキーマ DDL を有"
"効にしデータベースに出力します。 <literal>create-drop の場合、 "
"<literal>SessionFactory をクローズしたときに、データベーススキーマ"
"をドロップします。"

#. Tag: para
#: configuration.xml:873
#, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. validate | "
"<literal>update | create | create-"
"drop</literal>"
msgstr ""
"<emphasis role=\"strong\">例 validate | "
"<literal>update | create | create-"
"drop</literal>"

#. Tag: literal
#: configuration.xml:880
#, fuzzy, no-c-format
msgid "hibernate.hbm2ddl.import_file"
msgstr "<literal>hibernate.hbm2ddl.auto"

#. Tag: para
#: configuration.xml:882
#, no-c-format
msgid ""
"Comma-separated names of the optional files containing SQL DML statements "
"executed during the <classname>SessionFactory creation. This is "
"useful for testing or demoing: by adding INSERT statements for example you "
"can populate your database with a minimal set of data when it is deployed."
msgstr ""

#. Tag: para
#: configuration.xml:887
#, no-c-format
msgid ""
"File order matters, the statements of a give file are executed before the "
"statements of the following files. These statements are only executed if the "
"schema is created ie if <literal>hibernate.hbm2ddl.auto is set to "
"<literal>create or create-drop."
msgstr ""

#. Tag: para
#: configuration.xml:892
#, fuzzy, no-c-format
msgid ""
"<emphasis role=\"strong\">e.g. /humans.sql,/dogs.sqltrue|false"

#. Tag: literal
#: configuration.xml:898
#, fuzzy, no-c-format
msgid "hibernate.cglib.use_reflection_optimizer"
msgstr "<literal>hibernate.cglib. use_reflection_optimizer"

#. Tag: entry
#: configuration.xml:900
#, no-c-format
msgid ""
"Enables the use of CGLIB instead of runtime reflection (System-level "
"property). Reflection can sometimes be useful when troubleshooting. "
"Hibernate always requires CGLIB even if you turn off the optimizer. You "
"cannot set this property in <literal>hibernate.cfg.xml."
msgstr ""
"実行時リフレクションの代わりの CGLIB の使用を有効にします (システムレベルの"
"プロパティ) 。リフレクションはトラブルシューティングのときに役立つことがあり"
"ます。オプティマイザをオフにしているときでさえ、 Hibernate には必ず CGLIB が"
"必要なことに注意してください。このプロパティは <literal>hibernate.cfg.xml property to the correct "
"<literal>org.hibernate.dialect.Dialect subclass for your database. "
"If you specify a dialect, Hibernate will use sensible defaults for some of "
"the other properties listed above. This means that you will not have to "
"specify them manually."
msgstr ""
"<literal>hibernate.dialect プロパティには、使用するデータベースの正"
"しい <literal>org.hibernate.dialect.Dialect のサブクラスを、必ず指"
"定すべきです。しかし方言を指定すれば、 Hibernate は上述したプロパティのいくつ"
"かについて、より適切なデフォルト値を使います。そうすれば、それらを手作業で設"
"定する手間が省けます。"

#. Tag: title
#: configuration.xml:922
#, no-c-format
msgid "Hibernate SQL Dialects (<literal>hibernate.dialect)"
msgstr "Hibernate SQL Dialects (<literal>hibernate.dialect)"

#. Tag: entry
#: configuration.xml:933
#, no-c-format
msgid "RDBMS"
msgstr "RDBMS"

#. Tag: entry
#: configuration.xml:935
#, no-c-format
msgid "Dialect"
msgstr "Dialect"

#. Tag: entry
#: configuration.xml:941
#, no-c-format
msgid "<entry>DB2"
msgstr "<entry>DB2"

#. Tag: literal
#: configuration.xml:943
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.DB2Dialect"
msgstr "<literal>org.hibernate.dialect.DB2Dialect"

#. Tag: entry
#: configuration.xml:947
#, no-c-format
msgid "DB2 AS/400"
msgstr "DB2 AS/400"

#. Tag: literal
#: configuration.xml:949
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.DB2400Dialect"
msgstr "<literal>org.hibernate.dialect.DB2400Dialect"

#. Tag: entry
#: configuration.xml:953
#, no-c-format
msgid "DB2 OS390"
msgstr "DB2 OS390"

#. Tag: literal
#: configuration.xml:955
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.DB2390Dialect"
msgstr "<literal>org.hibernate.dialect.DB2390Dialect"

#. Tag: entry
#: configuration.xml:959
#, no-c-format
msgid "PostgreSQL"
msgstr "PostgreSQL"

#. Tag: literal
#: configuration.xml:961
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.PostgreSQLDialect"
msgstr "<literal>org.hibernate.dialect.PostgreSQLDialect"

#. Tag: entry
#: configuration.xml:965
#, no-c-format
msgid "MySQL"
msgstr "MySQL"

#. Tag: literal
#: configuration.xml:967
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.MySQLDialect"
msgstr "<literal>org.hibernate.dialect.MySQLDialect"

#. Tag: entry
#: configuration.xml:971
#, no-c-format
msgid "MySQL with InnoDB"
msgstr "MySQL with InnoDB"

#. Tag: literal
#: configuration.xml:973
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.MySQLInnoDBDialect"
msgstr "<literal>org.hibernate.dialect.MySQLInnoDBDialect"

#. Tag: entry
#: configuration.xml:977
#, no-c-format
msgid "MySQL with MyISAM"
msgstr "MySQL with MyISAM"

#. Tag: literal
#: configuration.xml:979
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.MySQLMyISAMDialect"
msgstr "<literal>org.hibernate.dialect.MySQLMyISAMDialect"

#. Tag: entry
#: configuration.xml:983
#, no-c-format
msgid "Oracle (any version)"
msgstr "Oracle (いずれのバージョンでも)"

#. Tag: literal
#: configuration.xml:985
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.OracleDialect"
msgstr "<literal>org.hibernate.dialect.OracleDialect"

#. Tag: entry
#: configuration.xml:989
#, no-c-format
msgid "Oracle 9i"
msgstr "Oracle 9i"

#. Tag: literal
#: configuration.xml:991
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.Oracle9iDialect"
msgstr "<literal>org.hibernate.dialect.Oracle9iDialect"

#. Tag: entry
#: configuration.xml:995
#, no-c-format
msgid "Oracle 10g"
msgstr "Oracle 10g"

#. Tag: literal
#: configuration.xml:997
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.Oracle10gDialect"
msgstr "<literal>org.hibernate.dialect.Oracle10gDialect"

#. Tag: entry
#: configuration.xml:1001
#, no-c-format
msgid "Sybase"
msgstr "Sybase"

#. Tag: literal
#: configuration.xml:1003
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.SybaseDialect"
msgstr "<literal>org.hibernate.dialect.SybaseDialect"

#. Tag: entry
#: configuration.xml:1007
#, no-c-format
msgid "Sybase Anywhere"
msgstr "Sybase Anywhere"

#. Tag: literal
#: configuration.xml:1009
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.SybaseAnywhereDialect"
msgstr "<literal>org.hibernate.dialect.SybaseAnywhereDialect"

#. Tag: entry
#: configuration.xml:1013
#, no-c-format
msgid "Microsoft SQL Server"
msgstr "Microsoft SQL Server"

#. Tag: literal
#: configuration.xml:1015
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.SQLServerDialect"
msgstr "<literal>org.hibernate.dialect.SQLServerDialect"

#. Tag: entry
#: configuration.xml:1019
#, no-c-format
msgid "SAP DB"
msgstr "SAP DB"

#. Tag: literal
#: configuration.xml:1021
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.SAPDBDialect"
msgstr "<literal>org.hibernate.dialect.SAPDBDialect"

#. Tag: entry
#: configuration.xml:1025
#, no-c-format
msgid "Informix"
msgstr "Informix"

#. Tag: literal
#: configuration.xml:1027
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.InformixDialect"
msgstr "<literal>org.hibernate.dialect.InformixDialect"

#. Tag: entry
#: configuration.xml:1031
#, no-c-format
msgid "HypersonicSQL"
msgstr "HypersonicSQL"

#. Tag: literal
#: configuration.xml:1033
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.HSQLDialect"
msgstr "<literal>org.hibernate.dialect.HSQLDialect"

#. Tag: entry
#: configuration.xml:1037
#, no-c-format
msgid "Ingres"
msgstr "Ingres"

#. Tag: literal
#: configuration.xml:1039
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.IngresDialect"
msgstr "<literal>org.hibernate.dialect.IngresDialect"

#. Tag: entry
#: configuration.xml:1043
#, no-c-format
msgid "Progress"
msgstr "Progress"

#. Tag: literal
#: configuration.xml:1045
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.ProgressDialect"
msgstr "<literal>org.hibernate.dialect.ProgressDialect"

#. Tag: entry
#: configuration.xml:1049
#, no-c-format
msgid "Mckoi SQL"
msgstr "Mckoi SQL"

#. Tag: literal
#: configuration.xml:1051
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.MckoiDialect"
msgstr "<literal>org.hibernate.dialect.MckoiDialect"

#. Tag: entry
#: configuration.xml:1055
#, no-c-format
msgid "Interbase"
msgstr "Interbase"

#. Tag: literal
#: configuration.xml:1057
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.InterbaseDialect"
msgstr "<literal>org.hibernate.dialect.InterbaseDialect"

#. Tag: entry
#: configuration.xml:1061
#, no-c-format
msgid "Pointbase"
msgstr "Pointbase"

#. Tag: literal
#: configuration.xml:1063
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.PointbaseDialect"
msgstr "<literal>org.hibernate.dialect.PointbaseDialect"

#. Tag: entry
#: configuration.xml:1067
#, no-c-format
msgid "FrontBase"
msgstr "FrontBase"

#. Tag: literal
#: configuration.xml:1069
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.FrontbaseDialect"
msgstr "<literal>org.hibernate.dialect.FrontbaseDialect"

#. Tag: entry
#: configuration.xml:1073
#, no-c-format
msgid "Firebird"
msgstr "Firebird"

#. Tag: literal
#: configuration.xml:1075
#, fuzzy, no-c-format
msgid "org.hibernate.dialect.FirebirdDialect"
msgstr "<literal>org.hibernate.dialect.FirebirdDialect"

#. Tag: title
#: configuration.xml:1083
#, no-c-format
msgid "Outer Join Fetching"
msgstr "外部結合フェッチ"

#. Tag: para
#: configuration.xml:1085
#, no-c-format
msgid ""
"If your database supports ANSI, Oracle or Sybase style outer joins, "
"<emphasis>outer join fetching will often increase performance by "
"limiting the number of round trips to and from the database. This is, "
"however, at the cost of possibly more work performed by the database itself. "
"Outer join fetching allows a whole graph of objects connected by many-to-"
"one, one-to-many, many-to-many and one-to-one associations to be retrieved "
"in a single SQL <literal>SELECT."
msgstr ""
"もしデータベースが ANSI か、 Oracle か Sybase スタイルの外部結合をサポートし"
"ている場合、 <emphasis>outer join fetching は、データベースの SQL "
"発行回数を節約しパフォーマンスを良くします(データベース内でより多くの処理コ"
"ストが発生します)。外部結合フェッチは、多対一、一対多、多対多、一対一のオブ"
"ジェクト関連でグループオブジェクトを1つの SQL で <literal>SELECT し"
"ます。"

#. Tag: para
#: configuration.xml:1094
#, no-c-format
msgid ""
"Outer join fetching can be disabled <emphasis>globally by setting "
"the property <literal>hibernate.max_fetch_depth to 01 or higher enables outer join "
"fetching for one-to-one and many-to-one associations that have been mapped "
"with <literal>fetch=\"join\"."
msgstr ""
"<literal>hibernate.max_fetch_depth プロパティの値を 0すべて 無効にするこ"
"とになります。 <literal>1 やそれ以上の値を設定すると、外部結合"
"フェッチが有効になり、一対一と多対一関連が <literal>fetch=\"join\" "
"としてマッピングされます。"

#. Tag: para
#: configuration.xml:1100
#, fuzzy, no-c-format
msgid "See <xref linkend=\"performance-fetching\"/> for more information."
msgstr ""
"さらに情報が見たければ <xref linkend=\"performance-fetching\"/> を参照してく"
"ださい。"

#. Tag: title
#: configuration.xml:1105
#, no-c-format
msgid "Binary Streams"
msgstr "バイナリストリーム"

#. Tag: para
#: configuration.xml:1107
#, no-c-format
msgid ""
"Oracle limits the size of <literal>byte arrays that can be passed "
"to and/or from its JDBC driver. If you wish to use large instances of "
"<literal>binary or serializable type, you "
"should enable <literal>hibernate.jdbc.use_streams_for_binary. "
"<emphasis>This is a system-level setting only."
msgstr ""
"Oracle は JDBC ドライバとの間でやりとりされる <literal>byte 配列の"
"サイズを制限します。 <literal>binary や serializablehibernate.jdbc."
"use_streams_for_binary</literal> を有効にしてください。 ただし これ"
"はシステムレベルの設定だけです</emphasis> 。"

#. Tag: title
#: configuration.xml:1116
#, no-c-format
msgid "Second-level and query cache"
msgstr "ニ次キャッシュとクエリキャッシュ"

#. Tag: para
#: configuration.xml:1118
#, fuzzy, no-c-format
msgid ""
"The properties prefixed by <literal>hibernate.cache allow you to "
"use a process or cluster scoped second-level cache system with Hibernate. "
"See the <xref linkend=\"performance-cache\"/> for more information."
msgstr ""
"<literal>hibernate.cache プロパティ接頭辞は Hibernate でプロセスや"
"クラスタ二次キャッシュを使うとことを許可します。<xref linkend=\"performance-"
"cache\"/> により多くの詳細があります。"

#. Tag: title
#: configuration.xml:1125
#, no-c-format
msgid "Query Language Substitution"
msgstr "クエリ言語の置き換え"

#. Tag: para
#: configuration.xml:1127
#, no-c-format
msgid ""
"You can define new Hibernate query tokens using <literal>hibernate.query."
"substitutions</literal>. For example:"
msgstr ""
"<literal>hibernate.query.substitutions を使うことで、新しい "
"Hibernate クエリトークンを定義できます。例:"

#. Tag: programlisting
#: configuration.xml:1130
#, no-c-format
msgid "hibernate.query.substitutions true=1, false=0"
msgstr "hibernate.query.substitutions true=1, false=0"

#. Tag: para
#: configuration.xml:1132
#, no-c-format
msgid ""
"This would cause the tokens <literal>true and falsefalse を、生成さ"
"れる SQL において整数リテラルに翻訳します。"

#. Tag: programlisting
#: configuration.xml:1136
#, no-c-format
msgid "hibernate.query.substitutions toLowercase=LOWER"
msgstr "hibernate.query.substitutions toLowercase=LOWER"

#. Tag: para
#: configuration.xml:1138
#, no-c-format
msgid ""
"This would allow you to rename the SQL <literal>LOWER function."
msgstr ""
"これは SQL の <literal>LOWER 関数の名前の付け替えを可能にします。"

#. Tag: title
#: configuration.xml:1143
#, no-c-format
msgid "Hibernate statistics"
msgstr "Hibernate 統計"

#. Tag: para
#: configuration.xml:1145
#, no-c-format
msgid ""
"If you enable <literal>hibernate.generate_statistics, Hibernate "
"exposes a number of metrics that are useful when tuning a running system via "
"<literal>SessionFactory.getStatistics(). Hibernate can even be "
"configured to expose these statistics via JMX. Read the Javadoc of the "
"interfaces in <literal>org.hibernate.stats for more information."
msgstr ""
"<literal>hibernate.generate_statistics を有効にした場合、動作してい"
"るシステムをチューニングするときに、 <literal>SessionFactory.getStatistics()"
"</literal> を経由して、 Hibernate は便利な統計情報を出力します。 JMX を経由し"
"て統計情報を出力することも可能です。 Javadoc の <literal>org.hibernate."
"stats</literal> パッケージ内のインターフェースにはより多くの情報があります。"

#. Tag: title
#: configuration.xml:1155
#, no-c-format
msgid "Logging"
msgstr "ロギング"

#. Tag: para
#: configuration.xml:1157
#, no-c-format
msgid ""
"Hibernate utilizes <ulink url=\"http://www.slf4j.org/\">Simple Logging "
"Facade for Java</ulink> (SLF4J) in order to log various system events. SLF4J "
"can direct your logging output to several logging frameworks (NOP, Simple, "
"log4j version 1.2, JDK 1.4 logging, JCL or logback) depending on your chosen "
"binding. In order to setup logging you will need <filename>slf4j-api.jar in the case of Log4J. See "
"the SLF4J <ulink url=\"http://www.slf4j.org/manual.html\">documentation file in your classpath. An example "
"properties file is distributed with Hibernate in the <literal>src/ "
"directory."
msgstr ""

#. Tag: para
#: configuration.xml:1171
#, no-c-format
msgid ""
"It is recommended that you familiarize yourself with Hibernate's log "
"messages. A lot of work has been put into making the Hibernate log as "
"detailed as possible, without making it unreadable. It is an essential "
"troubleshooting device. The most interesting log categories are the "
"following:"
msgstr ""
"Hibernate のログメッセージに慣れることを強くおすすめします。 Hibernate のログ"
"は読みやすく、できる限り詳細になるように努力されています。これは必須のトラブ"
"ルシューティングデバイスです。以下に重要なログのカテゴリを示します:"

#. Tag: title
#: configuration.xml:1178
#, no-c-format
msgid "Hibernate Log Categories"
msgstr "Hibernate ログカテゴリ"

#. Tag: entry
#: configuration.xml:1187
#, no-c-format
msgid "Category"
msgstr "カテゴリ"

#. Tag: entry
#: configuration.xml:1189
#, no-c-format
msgid "Function"
msgstr "機能"

#. Tag: literal
#: configuration.xml:1195
#, fuzzy, no-c-format
msgid "org.hibernate.SQL"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1197
#, no-c-format
msgid "Log all SQL DML statements as they are executed"
msgstr "実行したすべての SQL(DDL)ステートメントをロギングします。"

#. Tag: literal
#: configuration.xml:1201
#, fuzzy, no-c-format
msgid "org.hibernate.type"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1203
#, no-c-format
msgid "Log all JDBC parameters"
msgstr "すべての JDBC パラメータをロギングします。"

#. Tag: literal
#: configuration.xml:1207
#, fuzzy, no-c-format
msgid "org.hibernate.tool.hbm2ddl"
msgstr "<literal>org.hibernate.tool. hbm2ddl"

#. Tag: entry
#: configuration.xml:1209
#, no-c-format
msgid "Log all SQL DDL statements as they are executed"
msgstr "実行したすべての SQL(DDL)ステートメントをロギングします。"

#. Tag: literal
#: configuration.xml:1213
#, fuzzy, no-c-format
msgid "org.hibernate.pretty"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1215
#, no-c-format
msgid ""
"Log the state of all entities (max 20 entities) associated with the session "
"at flush time"
msgstr ""
"session に関連するすべてのエンティティ(最大20)のフラッシュ時間をロギング"
"します。"

#. Tag: literal
#: configuration.xml:1220
#, fuzzy, no-c-format
msgid "org.hibernate.cache"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1222
#, no-c-format
msgid "Log all second-level cache activity"
msgstr "すべてのニ次キャッシュの動作をロギングします。"

#. Tag: literal
#: configuration.xml:1226
#, fuzzy, no-c-format
msgid "org.hibernate.transaction"
msgstr "<literal>org.hibernate. transaction"

#. Tag: entry
#: configuration.xml:1228
#, no-c-format
msgid "Log transaction related activity"
msgstr "トランザクションに関連する動作をロギングします。"

#. Tag: literal
#: configuration.xml:1232
#, fuzzy, no-c-format
msgid "org.hibernate.jdbc"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1234
#, no-c-format
msgid "Log all JDBC resource acquisition"
msgstr "JDBC リソース取得をロギングします。"

#. Tag: literal
#: configuration.xml:1238
#, fuzzy, no-c-format
msgid "org.hibernate.hql.ast.AST"
msgstr "<literal>org.hibernate.hql. ast.AST"

#. Tag: entry
#: configuration.xml:1240
#, no-c-format
msgid "Log HQL and SQL ASTs during query parsing"
msgstr "HQL と SQL の AST のクエリパースをロギングします。"

#. Tag: literal
#: configuration.xml:1244
#, fuzzy, no-c-format
msgid "org.hibernate.secure"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1246
#, no-c-format
msgid "Log all JAAS authorization requests"
msgstr "すべての JAAS 分析をロギングします。"

#. Tag: literal
#: configuration.xml:1250
#, no-c-format
msgid "org.hibernate"
msgstr "org.hibernate"

#. Tag: entry
#: configuration.xml:1252
#, no-c-format
msgid ""
"Log everything. This is a lot of information but it is useful for "
"troubleshooting"
msgstr ""
"すべてをロギングします。(情報が大量になりますが、トラブルシューティングには"
"便利です)"

#. Tag: para
#: configuration.xml:1259
#, no-c-format
msgid ""
"When developing applications with Hibernate, you should almost always work "
"with <literal>debug enabled for the category org."
"hibernate.SQL</literal>, or, alternatively, the property hibernate."
"show_sql</literal> enabled."
msgstr ""
"Hibernate でアプリケーションを作成するときは、 <literal>org.hibernate.SQLdebug を常に有効にしておいたほうが良い"
"でしょう。代替方法として、 <literal>hibernate.show_sql プロパティを"
"有効にする方法があります。"

#. Tag: title
#: configuration.xml:1266
#, no-c-format
msgid "Implementing a <literal>NamingStrategy"
msgstr "<literal>NamingStrategy を選択"

#. Tag: para
#: configuration.xml:1268
#, no-c-format
msgid ""
"The interface <literal>org.hibernate.cfg.NamingStrategy allows you "
"to specify a \"naming standard\" for database objects and schema elements."
msgstr ""
"インターフェース <literal>net.sf.hibernate.cfg.NamingStrategy を使"
"うとデータベースオブジェクトとスキーマ要素のための「命名標準」を指定できま"
"す。"

#. Tag: para
#: configuration.xml:1272
#, no-c-format
msgid ""
"You can provide rules for automatically generating database identifiers from "
"Java identifiers or for processing \"logical\" column and table names given "
"in the mapping file into \"physical\" table and column names. This feature "
"helps reduce the verbosity of the mapping document, eliminating repetitive "
"noise (<literal>TBL_ prefixes, for example). The default strategy "
"used by Hibernate is quite minimal."
msgstr ""
"Java の識別子からデータベースの識別子を自動生成するためのルールや、マッピング"
"ファイルで与えた「論理的な」カラムとテーブル名から「物理的な」テーブルとカラ"
"ム名を生成するためのルールを用意することができます。この機能は繰り返しの雑音"
"(例えば <literal>TBL_ プリフィックス)を取り除き、マッピングドキュ"
"メントの冗長さを減らすことに役立ちます。 Hibernate が使うデフォルトの戦略はか"
"なり最小限に近いものです。"

#. Tag: para
#: configuration.xml:1279
#, no-c-format
msgid ""
"You can specify a different strategy by calling <literal>Configuration."
"setNamingStrategy()</literal> before adding mappings:"
msgstr ""
"マッピングを追加する前に <literal>Configuration.setNamingStrategy() is a built-in "
"strategy that might be a useful starting point for some applications."
msgstr ""
"<literal>org.hibernate.cfg.ImprovedNamingStrategy は組み込みの戦略"
"です。これはいくつかのアプリケーションにとって有用な開始点となるかもしれませ"
"ん。"

#. Tag: title
#: configuration.xml:1291
#, no-c-format
msgid "XML configuration file"
msgstr "XML 設定ファイル"

#. Tag: para
#: configuration.xml:1293
#, no-c-format
msgid ""
"An alternative approach to configuration is to specify a full configuration "
"in a file named <literal>hibernate.cfg.xml. This file can be used "
"as a replacement for the <literal>hibernate.properties file or, if "
"both are present, to override properties."
msgstr ""
"もう1つの方法は <literal>hibernate.cfg.xml という名前のファイルで十"
"分な設定を指定する方法です。このファイルは <literal>hibernate.properties. Here is an example:"
msgstr ""
"XML 設定ファイルは初期設定で <literal>CLASSPATH の root に配置して"
"ください。これが例です:"

#. Tag: programlisting
#: configuration.xml:1302
#, fuzzy, no-c-format
msgid ""
"<?xml version='1.0' encoding='utf-8'?>\n"
"<!DOCTYPE hibernate-configuration PUBLIC\n"
"    \"-//Hibernate/Hibernate Configuration DTD//EN\"\n"
"    \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
"\">\n"
"\n"
"<hibernate-configuration>\n"
"\n"
"    <!-- a SessionFactory instance listed as /jndi/name -->\n"
"    <session-factory\n"
"        name=\"java:hibernate/SessionFactory\">\n"
"\n"
"        <!-- properties -->\n"
"        <property name=\"connection.datasource\">java:/comp/env/jdbc/"
"MyDB</property>\n"
"        <property name=\"dialect\">org.hibernate.dialect."
"MySQLDialect</property>\n"
"        <property name=\"show_sql\">false</property>\n"
"        <property name=\"transaction.factory_class\">\n"
"            org.hibernate.transaction.JTATransactionFactory\n"
"        </property>\n"
"        <property name=\"jta.UserTransaction\">java:comp/"
"UserTransaction</property>\n"
"\n"
"        <!-- mapping files -->\n"
"        <mapping resource=\"org/hibernate/auction/Item.hbm.xml\"/>\n"
"        <mapping resource=\"org/hibernate/auction/Bid.hbm.xml\"/>\n"
"\n"
"        <!-- cache settings -->\n"
"        <class-cache class=\"org.hibernate.auction.Item\" usage=\"read-"
"write\"/>\n"
"        <class-cache class=\"org.hibernate.auction.Bid\" usage=\"read-only"
"\"/>\n"
"        <collection-cache collection=\"org.hibernate.auction.Item.bids\" "
"usage=\"read-write\"/>\n"
"\n"
"    </session-factory>\n"
"\n"
"</hibernate-configuration>"
msgstr ""
"<?xml version='1.0' encoding='utf-8'?>\n"
"<!DOCTYPE hibernate-configuration PUBLIC\n"
"    \"-//Hibernate/Hibernate Configuration DTD//EN\"\n"
"    \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
"\">\n"
"\n"
"<hibernate-configuration>\n"
"\n"
"    <!-- a SessionFactory instance listed as /jndi/name -->\n"
"    <session-factory\n"
"        name=\"java:hibernate/SessionFactory\">\n"
"\n"
"        <!-- properties -->\n"
"        <property name=\"connection.datasource\">java:/comp/env/jdbc/"
"MyDB</property>\n"
"        <property name=\"dialect\">org.hibernate.dialect."
"MySQLDialect</property>\n"
"        <property name=\"show_sql\">false</property>\n"
"        <property name=\"transaction.factory_class\">\n"
"            org.hibernate.transaction.JTATransactionFactory\n"
"        </property>\n"
"        <property name=\"jta.UserTransaction\">java:comp/"
"UserTransaction</property>\n"
"\n"
"        <!-- mapping files -->\n"
"        <mapping resource=\"org/hibernate/auction/Item.hbm.xml\"/>\n"
"        <mapping resource=\"org/hibernate/auction/Bid.hbm.xml\"/>\n"
"\n"
"        <!-- cache settings -->\n"
"        <class-cache class=\"org.hibernate.auction.Item\" usage=\"read-"
"write\"/>\n"
"        <class-cache class=\"org.hibernate.auction.Bid\" usage=\"read-only"
"\"/>\n"
"        <collection-cache collection=\"org.hibernate.auction.Item.bids\" "
"usage=\"read-write\"/>\n"
"\n"
"    </session-factory>\n"
"\n"
"</hibernate-configuration>"

#. Tag: para
#: configuration.xml:1304
#, no-c-format
msgid ""
"The advantage of this approach is the externalization of the mapping file "
"names to configuration. The <literal>hibernate.cfg.xml is also "
"more convenient once you have to tune the Hibernate cache. It is your choice "
"to use either <literal>hibernate.properties or hibernate."
"cfg.xml</literal>. Both are equivalent, except for the above mentioned "
"benefits of using the XML syntax."
msgstr ""
"見てのとおり、この方法の優位性は設定のためのマッピングファイル名を外出しにで"
"きることです。 Hibernate キャッシュをチューニングしなければならないのであれ"
"ば、 <literal>hibernate.cfg.xml はより便利です。 "
"<literal>hibernate.properties と hibernate.cfg.xml: Hibernate can use JDBC "
"connections managed by the container and provided through JNDI. Usually, a "
"JTA compatible <literal>TransactionManager and a "
"<literal>ResourceManager take care of transaction management "
"(CMT), especially distributed transaction handling across several "
"datasources. You can also demarcate transaction boundaries programmatically "
"(BMT), or you might want to use the optional Hibernate <literal>Transaction: Hibernate は JNDI が提供し、"
"コンテナが管理する JDBC コネクションを使用できます。通常、 JTA 準拠の "
"<literal>TransactionManager と ResourceManager "
"がトランザクション管理 (CMT)、特に様々なデータソースにまたがる分散トランザク"
"ションを扱います。当然プログラムでトランザクション境界を指定できます (BMT)。"
"あるいは、記述したコードのポータビリティを保つために、オプションの Hibernate "
"の <literal>Transaction API を使いたくなるかもしれません。"

#. Tag: para
#: configuration.xml:1343
#, no-c-format
msgid ""
"<emphasis>Automatic JNDI binding: Hibernate can bind its "
"<literal>SessionFactory to JNDI after startup."
msgstr ""
"<emphasis>自動 JNDI バインディング: Hibernate は JNDI が立ち上"
"がった後に <literal>SessionFactory を生成します。"

#. Tag: para
#: configuration.xml:1350
#, no-c-format
msgid ""
"<emphasis>JTA Session binding: the Hibernate Session from JNDI and get the current "
"<literal>Session. Let Hibernate manage flushing and closing the "
"<literal>Session when your JTA transaction completes. Transaction "
"demarcation is either declarative (CMT) or programmatic (BMT/"
"UserTransaction)."
msgstr ""
"<emphasis> JTA セッションバインディング: Hibernate "
"<literal>Session は自動的に JTA トランザクションのスコープにバイン"
"ドされます。単純に <literal>SessionFactory を JNDI から lookup し"
"て、現在の <literal>Session を取得します。 JTA トランザクションが完"
"了したときに、 Hibernateが <literal>Session をフラッシュし、クロー"
"ズします。トランザクション境界は、宣言 (CMT) することも、プログラム (BMT/"
"UserTransaction) することも可能です。"

#. Tag: para
#: configuration.xml:1362
#, no-c-format
msgid ""
"<emphasis>JMX deployment: if you have a JMX capable application "
"server (e.g. JBoss AS), you can choose to deploy Hibernate as a managed "
"MBean. This saves you the one line startup code to build your "
"<literal>SessionFactory from a Configuration. "
"The container will startup your <literal>HibernateService and also "
"take care of service dependencies (datasource has to be available before "
"Hibernate starts, etc)."
msgstr ""
"<emphasis> JMX デプロイメント: もし JMX が使用可能なアプリケーショ"
"ンサーバー(例えば JBoss AS) がある場合、 Hibernate を MBean としてデプロイ"
"することを選べます。これは <literal>Configuration から "
"<literal>SessionFactory を生成するコードを無くすことができます。コ"
"ンテナは <literal>HibernateService を起動し、サービスの依存を理想的"
"に管理します(データソースは Hibernate やその他が起動する前に使用できるように"
"しなければなりません)。"

#. Tag: para
#: configuration.xml:1373
#, no-c-format
msgid ""
"Depending on your environment, you might have to set the configuration "
"option <literal>hibernate.connection.aggressive_release to true if "
"your application server shows \"connection containment\" exceptions."
msgstr ""
"環境に依存しますが、もしアプリケーションサーバーが \"connection containment"
"\" の例外を出す場合、設定のオプション <literal>hibernate.connection."
"aggressive_release</literal> を true にしてください。"

#. Tag: title
#: configuration.xml:1379
#, no-c-format
msgid "Transaction strategy configuration"
msgstr "トランザクション戦略設定"

#. Tag: para
#: configuration.xml:1381
#, no-c-format
msgid ""
"The Hibernate <literal>Session API is independent of any "
"transaction demarcation system in your architecture. If you let Hibernate "
"use JDBC directly through a connection pool, you can begin and end your "
"transactions by calling the JDBC API. If you run in a J2EE application "
"server, you might want to use bean-managed transactions and call the JTA API "
"and <literal>UserTransaction when needed."
msgstr ""
"Hibernate <literal>Session API は、アーキテクチャ内のシステムの管轄"
"であるあらゆるトランザクションに依存しません。もしコネクションプールの JDBC "
"を直接使いたい場合、 JDBC API から トランザクションを呼ぶことができます。も"
"し、 J2EE アプリケーションサーバーで動作させるなら、 Bean 管理トランザクショ"
"ンを使い、必要に応じて <literal>UserTransaction を JTA API から呼ぶ"
"ことになるでしょう。"

#. Tag: para
#: configuration.xml:1389
#, no-c-format
msgid ""
"To keep your code portable between these two (and other) environments we "
"recommend the optional Hibernate <literal>Transaction API, which "
"wraps and hides the underlying system. You have to specify a factory class "
"for <literal>Transaction instances by setting the Hibernate "
"configuration property <literal>hibernate.transaction.factory_class API "
"を推奨します。 Hibernate 設定プロパティの <literal>hibernate.transaction."
"factory_class</literal> を設定することで、ある特定の Transaction"

#. Tag: para
#: configuration.xml:1404
#, no-c-format
msgid "delegates to database (JDBC) transactions (default)"
msgstr "データベース (JDBC) トランザクションに委譲します(デフォルト)"

#. Tag: literal
#: configuration.xml:1409
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.JTATransactionFactory"
msgstr "<literal>org.hibernate.transaction.JTATransactionFactory"

#. Tag: para
#: configuration.xml:1412
#, no-c-format
msgid ""
"delegates to container-managed transactions if an existing transaction is "
"underway in this context (for example, EJB session bean method). Otherwise, "
"a new transaction is started and bean-managed transactions are used."
msgstr ""
"もし、このコンテキスト(例えば、 EJB セッション Bean メソッド)で進行中のトラ"
"ンザクションが存在する場合、コンテナ管理トランザクションに委譲します。そうで"
"ない場合は、新しいトランザクションが開始されており、 Bean 管理トランザクショ"
"ンが使われます。"

#. Tag: literal
#: configuration.xml:1420
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.CMTTransactionFactory"
msgstr "<literal>org.hibernate.transaction.CMTTransactionFactory"

#. Tag: para
#: configuration.xml:1423
#, no-c-format
msgid "delegates to container-managed JTA transactions"
msgstr "コンテナ管理 JTA トランザクションに委譲します"

#. Tag: para
#: configuration.xml:1428
#, no-c-format
msgid ""
"You can also define your own transaction strategies (for a CORBA transaction "
"service, for example)."
msgstr ""
"自分自身のトランザクション戦略(例えば、 CORBA トランザクションサービス)を定"
"義することもできます。"

#. Tag: para
#: configuration.xml:1431
#, no-c-format
msgid ""
"Some features in Hibernate (i.e., the second level cache, Contextual "
"Sessions with JTA, etc.) require access to the JTA "
"<literal>TransactionManager in a managed environment. In an "
"application server, since J2EE does not standardize a single mechanism, you "
"have to specify how Hibernate should obtain a reference to the "
"<literal>TransactionManager:"
msgstr ""
"Hibernate のいくつかの機能(例えば、二次キャッシュ、 JTA によるコンテキスト"
"セッション等)は管理された環境の中の JTA <literal>TransactionManager のリファレンスを取得する方法を明確にす"
"る必要があります。"

#. Tag: title
#: configuration.xml:1439
#, no-c-format
msgid "JTA TransactionManagers"
msgstr "JTA トランザクションマネージャ"

#. Tag: entry
#: configuration.xml:1448
#, no-c-format
msgid "Transaction Factory"
msgstr "Transaction Factory"

#. Tag: entry
#: configuration.xml:1450
#, no-c-format
msgid "Application Server"
msgstr "Application Server"

#. Tag: literal
#: configuration.xml:1456
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.JBossTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. JBossTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1458
#, no-c-format
msgid "JBoss"
msgstr "JBoss"

#. Tag: literal
#: configuration.xml:1462
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.WeblogicTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. WeblogicTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1482
#, no-c-format
msgid "Orion"
msgstr "Orion"

#. Tag: literal
#: configuration.xml:1486
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.ResinTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. ResinTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1488
#, no-c-format
msgid "Resin"
msgstr "Resin"

#. Tag: literal
#: configuration.xml:1492
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.JOTMTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. JOTMTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1494
#, no-c-format
msgid "JOTM"
msgstr "JOTM"

#. Tag: literal
#: configuration.xml:1498
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.JOnASTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. JOnASTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1500
#, no-c-format
msgid "JOnAS"
msgstr "JOnAS"

#. Tag: literal
#: configuration.xml:1504
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.JRun4TransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. JRun4TransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1506
#, no-c-format
msgid "JRun4"
msgstr "JRun4"

#. Tag: literal
#: configuration.xml:1510
#, fuzzy, no-c-format
msgid "org.hibernate.transaction.BESTransactionManagerLookup"
msgstr ""
"<literal>org.hibernate.transaction. BESTransactionManagerLookup"

#. Tag: entry
#: configuration.xml:1512
#, no-c-format
msgid "Borland ES"
msgstr "Borland ES"

#. Tag: title
#: configuration.xml:1520
#, no-c-format
msgid "JNDI-bound <literal>SessionFactory"
msgstr "<literal>SessionFactory の JNDI への登録"

#. Tag: para
#: configuration.xml:1522
#, no-c-format
msgid ""
"A JNDI-bound Hibernate <literal>SessionFactory can simplify the "
"lookup function of the factory and create new <literal>Sessions. "
"This is not, however, related to a JNDI bound <literal>Datasource; "
"both simply use the same registry."
msgstr ""
"JNDI に登録した Hibernate <literal>SessionFactory はファクトリの"
"ルックアップと新しい <literal>Session の作成を簡易化します。これは "
"JNDI に登録された <literal>Datasource には関連せず、両方とも単に同"
"じ登録を使うことに注意してください。"

#. Tag: para
#: configuration.xml:1528
#, no-c-format
msgid ""
"If you wish to have the <literal>SessionFactory bound to a JNDI "
"namespace, specify a name (e.g. <literal>java:hibernate/SessionFactoryhibernate.session_factory_nameSessionFactory "
"will not be bound to JNDI. This is especially useful in environments with a "
"read-only JNDI default implementation (in Tomcat, for example)."
msgstr ""
"もし <literal>SessionFactory を JNDI ネームスペースに登録したい場"
"合、特別な名前(例えば、 <literal>java:hibernate/SessionFactory )"
"を <literal>hibernate.session_factory_name プロパティに使ってくださ"
"い。もしこのプロパティを省略した場合、 <literal>SessionFactory は "
"JNDI に登録されません。(これは Tomcat のようなデフォルト実装で JNDI が読み取"
"り専用の環境の場合は特に便利です。)"

#. Tag: para
#: configuration.xml:1536
#, no-c-format
msgid ""
"When binding the <literal>SessionFactory to JNDI, Hibernate will "
"use the values of <literal>hibernate.jndi.url, hibernate."
"jndi.class</literal> to instantiate an initial context. If they are not "
"specified, the default <literal>InitialContext will be used."
msgstr ""
"<literal>SessionFactory を JNDI に登録するとき、 Hibernate は "
"<literal>hibernate.jndi.url の値を使用し、hibernate.jndi."
"class</literal> をイニシャルコンテキストとして具体化します。もし何も設定しな"
"い場合は、デフォルトの <literal>InitialContext を使用します。"

#. Tag: para
#: configuration.xml:1542
#, no-c-format
msgid ""
"Hibernate will automatically place the <literal>SessionFactory in "
"JNDI after you call <literal>cfg.buildSessionFactory(). This means "
"you will have this call in some startup code, or utility class in your "
"application, unless you use JMX deployment with the "
"<literal>HibernateService (this is discussed later in greater "
"detail)."
msgstr ""
"<literal>cfg.buildSessionFactory() をコール後 Hibernate は自動的に "
"<literal>SessionFactory を JNDI に配置します。 "
"<literal>HibernateService と一緒に JMX デプロイメントを使わない限"
"り、これはこの呼び出しをアプリケーション内の何らかのスタートアップコード(も"
"しくはユーティリティクラス) に配置しなければならないことを意味します(後で議"
"論します)。"

#. Tag: para
#: configuration.xml:1550
#, no-c-format
msgid ""
"If you use a JNDI <literal>SessionFactory, an EJB or any other "
"class, you can obtain the <literal>SessionFactory using a JNDI "
"lookup."
msgstr ""
"もし JNDI <literal>SessionFactory を使う場合、 EJB や他のクラスは "
"JNDI ルックアップを使って <literal>SessionFactory を取得します。"

#. Tag: para
#: configuration.xml:1554
#, fuzzy, no-c-format
msgid ""
"It is recommended that you bind the <literal>SessionFactory to "
"JNDI in a managed environment and use a <literal>static singleton "
"otherwise. To shield your application code from these details, we also "
"recommend to hide the actual lookup code for a <literal>SessionFactoryHibernateUtil.getSessionFactory"
"()</literal>. Note that such a class is also a convenient way to startup "
"Hibernate—see chapter 1."
msgstr ""
"管理された環境では <literal>SessionFactory を JNDI にバインドし、そ"
"うでなければ <literal>static シングルトンを使うことを推奨します。こ"
"ういった詳細からアプリケーションコードを保護するために、 "
"<literal>HibernateUtil.getSessionFactory() のようなヘルパークラスの"
"中に、 <literal>SessionFactory をルックアップするコードを隠すことを"
"推奨します。このようなヘルパークラスは Hibernate を開始する便利な手段でもあり"
"ます。 - 1章を参照してください。"

#. Tag: title
#: configuration.xml:1565
#, no-c-format
msgid "Current Session context management with JTA"
msgstr "JTA による現在のセッションコンテキストマネージメント"

#. Tag: para
#: configuration.xml:1567
#, fuzzy, no-c-format
msgid ""
"The easiest way to handle <literal>Sessions and transactions is "
"Hibernate's automatic \"current\" <literal>Session management. For "
"a discussion of contextual sessions see <xref linkend=\"architecture-current-"
"session\"/>. Using the <literal>\"jta\" session context, if there "
"is no Hibernate <literal>Session associated with the current JTA "
"transaction, one will be started and associated with that JTA transaction "
"the first time you call <literal>sessionFactory.getCurrentSession()Sessions retrieved via "
"<literal>getCurrentSession() in the \"jta\" "
"context are set to automatically flush before the transaction completes, "
"close after the transaction completes, and aggressively release JDBC "
"connections after each statement. This allows the <literal>Session API to set transaction boundaries. If you run "
"in an EJB container, declarative transaction demarcation with CMT is "
"preferred."
msgstr ""
"もっとも簡単に <literal>Session とトランザクションを扱う方法は、 "
"Hibernate が自動的に「現在の」 <literal>Session を管理することで"
"す。 <xref linkend=\"architecture-current-session\"/> カレントセッションの説"
"明を参照してください。もし <literal>\"jta\" セッションコンテキスト"
"を使った上で、現在の JTA トランザクションと Hibernate <literal>SessionsessionFactory."
"getCurrentSession()</literal> をコールし、 JTA トランザクションとの関連付けを"
"行ってください。 <literal>\"jta\" コンテキストの "
"<literal>getCurrentSession() を通じて取得した Session を管理することができ、ユーザーのコードからそのよう"
"な管理をするコードを排除できます。 <literal>UserTransaction を通じ"
"て JTA をプログラムで管理することができます。または、(ポータブルなコードであ"
"れば) Hibernate <literal>Transaction API をトランザクション境界と"
"して使うこともできます。 EJB コンテナを使うときは、 CMT による宣言的トランザ"
"クション境界が好ましいです。"

#. Tag: title
#: configuration.xml:1590
#, no-c-format
msgid "JMX deployment"
msgstr "JMX デプロイメント"

#. Tag: para
#: configuration.xml:1592
#, no-c-format
msgid ""
"The line <literal>cfg.buildSessionFactory() still has to be "
"executed somewhere to get a <literal>SessionFactory into JNDI. You "
"can do this either in a <literal>static initializer block, like "
"the one in <literal>HibernateUtil, or you can deploy Hibernate as "
"a <emphasis>managed service."
msgstr ""
"<literal>SessionFactory を JNDI から取得するためには cfg."
"buildSessionFactory()</literal> 行をどこかで実行していなければなりません。あ"
"なたはこれを、 <literal>static 初期化ブロック内"
"( <literal>HibernateUtil のような)か managed service for JBoss 4.0.x:"
msgstr ""
"JBoss AS のような JMX の機能でアプリケーションサーバーにデプロイするために "
"<literal>org.hibernate.jmx.HibernateService を使って、配置します。"
"実際のデプロイメントと設定はベンダー特有です。ここで例として JBoss 4.0.x 用"
"の <literal>jboss-service.xml を示します。"

#. Tag: programlisting
#: configuration.xml:1604
#, fuzzy, no-c-format
msgid ""
"<?xml version=\"1.0\"?>\n"
"<server>\n"
"\n"
"<mbean code=\"org.hibernate.jmx.HibernateService\"\n"
"    name=\"jboss.jca:service=HibernateFactory,name=HibernateFactory\">\n"
"\n"
"    <!-- Required services -->\n"
"    <depends>jboss.jca:service=RARDeployer</depends>\n"
"    <depends>jboss.jca:service=LocalTxCM,name=HsqlDS</depends>\n"
"\n"
"    <!-- Bind the Hibernate service to JNDI -->\n"
"    <attribute name=\"JndiName\">java:/hibernate/SessionFactory</"
"attribute>\n"
"\n"
"    <!-- Datasource settings -->\n"
"    <attribute name=\"Datasource\">java:HsqlDS</attribute>\n"
"    <attribute name=\"Dialect\">org.hibernate.dialect.HSQLDialect</"
"attribute>\n"
"\n"
"    <!-- Transaction integration -->\n"
"    <attribute name=\"TransactionStrategy\">\n"
"        org.hibernate.transaction.JTATransactionFactory</attribute>\n"
"    <attribute name=\"TransactionManagerLookupStrategy\">\n"
"        org.hibernate.transaction.JBossTransactionManagerLookup</"
"attribute>\n"
"    <attribute name=\"FlushBeforeCompletionEnabled\">true</"
"attribute>\n"
"    <attribute name=\"AutoCloseSessionEnabled\">true</"
"attribute>\n"
"\n"
"    <!-- Fetching options -->\n"
"    <attribute name=\"MaximumFetchDepth\">5</attribute>\n"
"\n"
"    <!-- Second-level caching -->\n"
"    <attribute name=\"SecondLevelCacheEnabled\">true</"
"attribute>\n"
"    <attribute name=\"CacheProviderClass\">org.hibernate.cache."
"EhCacheProvider</attribute>\n"
"    <attribute name=\"QueryCacheEnabled\">true</attribute>\n"
"\n"
"    <!-- Logging -->\n"
"    <attribute name=\"ShowSqlEnabled\">true</attribute>\n"
"\n"
"    <!-- Mapping files -->\n"
"    <attribute name=\"MapResources\">auction/Item.hbm.xml,auction/"
"Category.hbm.xml</attribute>\n"
"\n"
"</mbean>\n"
"\n"
"</server>"
msgstr ""
"<?xml version=\"1.0\"?>\n"
"<server>\n"
"\n"
"<mbean code=\"org.hibernate.jmx.HibernateService\"\n"
"    name=\"jboss.jca:service=HibernateFactory,name=HibernateFactory\">\n"
"\n"
"    <!-- Required services -->\n"
"    <depends>jboss.jca:service=RARDeployer</depends>\n"
"    <depends>jboss.jca:service=LocalTxCM,name=HsqlDS</depends>\n"
"\n"
"    <!-- Bind the Hibernate service to JNDI -->\n"
"    <attribute name=\"JndiName\">java:/hibernate/SessionFactory</"
"attribute>\n"
"\n"
"    <!-- Datasource settings -->\n"
"    <attribute name=\"Datasource\">java:HsqlDS</attribute>\n"
"    <attribute name=\"Dialect\">org.hibernate.dialect.HSQLDialect</"
"attribute>\n"
"\n"
"    <!-- Transaction integration -->\n"
"    <attribute name=\"TransactionStrategy\">\n"
"        org.hibernate.transaction.JTATransactionFactory</attribute>\n"
"    <attribute name=\"TransactionManagerLookupStrategy\">\n"
"        org.hibernate.transaction.JBossTransactionManagerLookup</"
"attribute>\n"
"    <attribute name=\"FlushBeforeCompletionEnabled\">true</"
"attribute>\n"
"    <attribute name=\"AutoCloseSessionEnabled\">true</"
"attribute>\n"
"\n"
"    <!-- Fetching options -->\n"
"    <attribute name=\"MaximumFetchDepth\">5</attribute>\n"
"\n"
"    <!-- Second-level caching -->\n"
"    <attribute name=\"SecondLevelCacheEnabled\">true</"
"attribute>\n"
"    <attribute name=\"CacheProviderClass\">org.hibernate.cache."
"EhCacheProvider</attribute>\n"
"    <attribute name=\"QueryCacheEnabled\">true</attribute>\n"
"\n"
"    <!-- Logging -->\n"
"    <attribute name=\"ShowSqlEnabled\">true</attribute>\n"
"\n"
"    <!-- Mapping files -->\n"
"    <attribute name=\"MapResources\">auction/Item.hbm.xml,auction/"
"Category.hbm.xml</attribute>\n"
"\n"
"</mbean>\n"
"\n"
"</server>"

#. Tag: para
#: configuration.xml:1606
#, no-c-format
msgid ""
"This file is deployed in a directory called <literal>META-INF and "
"packaged in a JAR file with the extension <literal>.sar (service "
"archive). You also need to package Hibernate, its required third-party "
"libraries, your compiled persistent classes, as well as your mapping files "
"in the same archive. Your enterprise beans (usually session beans) can be "
"kept in their own JAR file, but you can include this EJB JAR file in the "
"main service archive to get a single (hot-)deployable unit. Consult the "
"JBoss AS documentation for more information about JMX service and EJB "
"deployment."
msgstr ""
"このファイルは <literal>META-INF ディレクトリに配置され、 JAR ファ"
"イルを拡張した <literal>.sar (service archive) でパッケージ化されま"
"す。同様に Hibernate パッケージも必要です。また、 Hibernate はサードパーティ"
"のライブラリも要求します。コンパイルした永続化クラスとそのマッピングファイル"
"も同様にアーカイブ(.sarファイル)に入れます。エンタープライズ Bean (通常は"
"セッション Bean )は自身の JAR ファイルを保持しますが、1回で(ホット)デプロ"
"イ可能なユニットのためにメインサービスアーカイブとしてこの EJB JAR ファイルを"
"含めることができます。 JBoss AS のドキュメントに JXM サービスと EJB デプロイ"
"メントのより多くの情報があります。"

#, fuzzy
#~ msgid "<emphasis>JDBC URL"
#~ msgstr "JDBC のドライバークラス"

#, fuzzy
#~ msgid "<emphasis>database user"
#~ msgstr "<emphasis>データベースユーザ (オプション)"

#, fuzzy
#~ msgid "<emphasis>database user password"
#~ msgstr "<emphasis>データベースユーザのパスワード (オプション)"

#, fuzzy
#~ msgid "<emphasis>datasource JNDI name"
#~ msgstr "<emphasis>データベースユーザ (オプション)"

#~ msgid "<property>hibernate.generate_statistics"
#~ msgstr "<property>hibernate.generate_statistics"

#~ msgid "<literal>hibernate.query.substitutions"
#~ msgstr "<literal>hibernate.query.substitutions"

#~ msgid "DB2"
#~ msgstr "DB2"

#~ msgid "<literal>org.hibernate.SQL"
#~ msgstr "<literal>org.hibernate.SQL"

#~ msgid "<literal>org.hibernate.type"
#~ msgstr "<literal>org.hibernate.type"

#~ msgid "<literal>org.hibernate.pretty"
#~ msgstr "<literal>org.hibernate.pretty"

#~ msgid "<literal>org.hibernate.cache"
#~ msgstr "<literal>org.hibernate.cache"

#~ msgid "<literal>org.hibernate.jdbc"
#~ msgstr "<literal>org.hibernate.jdbc"

#~ msgid "<literal>org.hibernate.secure"
#~ msgstr "<literal>org.hibernate.secure"

#, fuzzy
#~ msgid "<literal>org.hibernate"
#~ msgstr "SessionFactory の JNDI への登録"

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate configuration.po source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.