[hibernate-commits] Hibernate SVN: r14132 - core/trunk/documentation/manual/translations/ja-JP/content.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Oct 25 03:57:30 EDT 2007
Author: xhuang at jboss.com
Date: 2007-10-25 03:57:28 -0400 (Thu, 25 Oct 2007)
New Revision: 14132
Modified:
core/trunk/documentation/manual/translations/ja-JP/content/architecture.po
core/trunk/documentation/manual/translations/ja-JP/content/association_mapping.po
core/trunk/documentation/manual/translations/ja-JP/content/basic_mapping.po
core/trunk/documentation/manual/translations/ja-JP/content/batch.po
core/trunk/documentation/manual/translations/ja-JP/content/best_practices.po
core/trunk/documentation/manual/translations/ja-JP/content/collection_mapping.po
core/trunk/documentation/manual/translations/ja-JP/content/component_mapping.po
core/trunk/documentation/manual/translations/ja-JP/content/configuration.po
core/trunk/documentation/manual/translations/ja-JP/content/events.po
core/trunk/documentation/manual/translations/ja-JP/content/example_mappings.po
core/trunk/documentation/manual/translations/ja-JP/content/example_parentchild.po
core/trunk/documentation/manual/translations/ja-JP/content/example_weblog.po
core/trunk/documentation/manual/translations/ja-JP/content/filters.po
core/trunk/documentation/manual/translations/ja-JP/content/inheritance_mapping.po
core/trunk/documentation/manual/translations/ja-JP/content/performance.po
core/trunk/documentation/manual/translations/ja-JP/content/persistent_classes.po
core/trunk/documentation/manual/translations/ja-JP/content/preface.po
core/trunk/documentation/manual/translations/ja-JP/content/query_criteria.po
core/trunk/documentation/manual/translations/ja-JP/content/query_hql.po
core/trunk/documentation/manual/translations/ja-JP/content/query_sql.po
core/trunk/documentation/manual/translations/ja-JP/content/session_api.po
core/trunk/documentation/manual/translations/ja-JP/content/toolset_guide.po
core/trunk/documentation/manual/translations/ja-JP/content/transactions.po
core/trunk/documentation/manual/translations/ja-JP/content/tutorial.po
core/trunk/documentation/manual/translations/ja-JP/content/xml.po
Log:
merge with latest English XML
Modified: core/trunk/documentation/manual/translations/ja-JP/content/architecture.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/architecture.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/architecture.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,216 +1,634 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:21
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: architecture.xml:21
+#, no-c-format
msgid "Architecture"
-msgstr ""
+msgstr "ã¢ã¼ããã¯ãã£"
-#: index.docbook:24
+#. Tag: title
+#: architecture.xml:24
+#, no-c-format
msgid "Overview"
-msgstr ""
+msgstr "æ¦è¦³"
-#: index.docbook:26
+#. Tag: para
+#: architecture.xml:26
+#, no-c-format
msgid "A (very) high-level view of the Hibernate architecture:"
-msgstr ""
+msgstr "Hibernateã¢ã¼ããã¯ãã£ã®ï¼é常ã«ï¼é«ãã¬ãã«ããã®ãã¥ã¼ï¼"
-#: index.docbook:39
-msgid "This diagram shows Hibernate using the database and configuration data to provide persistence services (and persistent objects) to the application."
+#. Tag: para
+#: architecture.xml:39
+#, no-c-format
+msgid ""
+"This diagram shows Hibernate using the database and configuration data to "
+"provide persistence services (and persistent objects) to the application."
msgstr ""
+"ãã®å³ã¯Hibernateããã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦æ°¸ç¶åãµã¼ãã¹ ï¼ã¨æ°¸ç¶ãªãã¸ã§"
+"ã¯ãï¼ãæä¾ããããã«ããã¼ã¿ãã¼ã¹ã¨è¨å®ãã¼ã¿ã使ããã¨ã 示ãã¦ãã¾ãã"
-#: index.docbook:44
-msgid "We would like to show a more detailed view of the runtime architecture. Unfortunately, Hibernate is flexible and supports several approaches. We will show the two extremes. The \"lite\" architecture has the application provide its own JDBC connections and manage its own transactions. This approach uses a minimal subset of Hibernate's APIs:"
+#. Tag: para
+#: architecture.xml:44
+#, no-c-format
+msgid ""
+"We would like to show a more detailed view of the runtime architecture. "
+"Unfortunately, Hibernate is flexible and supports several approaches. We "
+"will show the two extremes. The \"lite\" architecture has the application "
+"provide its own JDBC connections and manage its own transactions. This "
+"approach uses a minimal subset of Hibernate's APIs:"
msgstr ""
+"ããã§å®è¡æã¢ã¼ããã¯ãã£ã®ãã詳細ãªãã¥ã¼ããè¦ããã¾ãããã ããã«ãã"
+"Hibernateã¯æè»ã§ããããããããªã¢ããã¼ãããµãã¼ããã¦ãã¾ãã ããã§ã¯ã2"
+"ã¤ã®æ¥µç«¯ãªä¾ããè¦ããã¾ãã ã軽ããã¢ã¼ããã¯ãã£ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ãèª"
+"åã®JDBCã³ãã¯ã·ã§ã³ãç¨æãã ã¢ããªã±ã¼ã·ã§ã³èªèº«ããã©ã³ã¶ã¯ã·ã§ã³ã管çã"
+"ã¾ãã ãã®æ¹æ³ã¯ãHibernate APIã®æå°éã®ãµãã»ããã使ãã¾ãï¼"
-#: index.docbook:61
-msgid "The \"full cream\" architecture abstracts the application away from the underlying JDBC/JTA APIs and lets Hibernate take care of the details."
+#. Tag: para
+#: architecture.xml:61
+#, no-c-format
+msgid ""
+"The \"full cream\" architecture abstracts the application away from the "
+"underlying JDBC/JTA APIs and lets Hibernate take care of the details."
msgstr ""
+"ãéããã¢ã¼ããã¯ãã£ã¯ãã¢ããªã±ã¼ã·ã§ã³ããããã®ä¸ã«ä½ç½®ããJDBCãJTAã®"
+"APIã åãæã£ã¦æ½è±¡åãããã®è©³ç´°ã®é¢åãHibernateã«è¦ããã¾ãã"
-#: index.docbook:75
+#. Tag: para
+#: architecture.xml:75
+#, fuzzy, no-c-format
msgid "Heres some definitions of the objects in the diagrams:"
-msgstr ""
+msgstr "以ä¸ã¯ãä¸ã®å³ã«å«ã¾ãããªãã¸ã§ã¯ãã®å®ç¾©ã§ãï¼ <placeholder-1/>"
-#: index.docbook:80
+#. Tag: term
+#: architecture.xml:80
+#, no-c-format
msgid "SessionFactory (<literal>org.hibernate.SessionFactory</literal>)"
-msgstr ""
+msgstr "SessionFactory (<literal>org.hibernate.SessionFactory</literal>)"
-#: index.docbook:82
-msgid "A threadsafe (immutable) cache of compiled mappings for a single database. A factory for <literal>Session</literal> and a client of <literal>ConnectionProvider</literal>. Might hold an optional (second-level) cache of data that is reusable between transactions, at a process- or cluster-level."
+#. Tag: para
+#: architecture.xml:82
+#, no-c-format
+msgid ""
+"A threadsafe (immutable) cache of compiled mappings for a single database. A "
+"factory for <literal>Session</literal> and a client of "
+"<literal>ConnectionProvider</literal>. Might hold an optional (second-level) "
+"cache of data that is reusable between transactions, at a process- or "
+"cluster-level."
msgstr ""
+"1ã¤ã®ãã¼ã¿ãã¼ã¹ã«å¯¾ããã³ã³ãã¤ã«ããããããã³ã°ã® ã¹ã¬ããã»ã¼ããªï¼æ´æ°"
+"ä¸è½ã®ï¼ãã£ãã·ã¥ã <literal>Session</literal> ã®ãã¡ã¯ããªã§ããã "
+"<literal>ConnectionProvider</literal> ã®ã¯ã©ã¤ã¢ã³ãã ãªãã·ã§ã³ã¨ãã¦ããã"
+"ã»ã¹ã¾ãã¯ã¯ã©ã¹ã¿ã¬ãã«ã«ããã¦ã ãã©ã³ã¶ã¯ã·ã§ã³éã§åå©ç¨å¯è½ãªãã¼ã¿ã®"
+"ï¼äºæ¬¡ï¼ãã£ãã·ã¥ãæã¡ã¾ãã"
-#: index.docbook:92
+#. Tag: term
+#: architecture.xml:92
+#, no-c-format
msgid "Session (<literal>org.hibernate.Session</literal>)"
-msgstr ""
+msgstr "Session (<literal>org.hibernate.Session</literal>)"
-#: index.docbook:94
-msgid "A single-threaded, short-lived object representing a conversation between the application and the persistent store. Wraps a JDBC connection. Factory for <literal>Transaction</literal>. Holds a mandatory (first-level) cache of persistent objects, used when navigating the object graph or looking up objects by identifier."
+#. Tag: para
+#: architecture.xml:94
+#, no-c-format
+msgid ""
+"A single-threaded, short-lived object representing a conversation between "
+"the application and the persistent store. Wraps a JDBC connection. Factory "
+"for <literal>Transaction</literal>. Holds a mandatory (first-level) cache of "
+"persistent objects, used when navigating the object graph or looking up "
+"objects by identifier."
msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã¨æ°¸ç¶ã¹ãã¢ã¨ã®å¯¾è©±ã表ãã ã·ã³ã°ã«ã¹ã¬ããã§çå½ã®ãªãã¸ã§"
+"ã¯ãã JDBCã³ãã¯ã·ã§ã³ãã©ãããã¾ãã <literal>Transaction</literal> ã®ãã¡"
+"ã¯ããªã§ãã æ°¸ç¶ãªãã¸ã§ã¯ãã®å¿
é ã®ï¼ä¸æ¬¡ï¼ãã£ãã·ã¥ãä¿æãã¾ãã ãã®"
+"ãã£ãã·ã¥ã¯ãªãã¸ã§ã¯ãã°ã©ããããã²ã¼ã·ã§ã³ããæãã èå¥åã§ãªãã¸ã§ã¯ã"
+"ãæ¤ç´¢ããæã«ä½¿ããã¾ãã"
-#: index.docbook:104
+#. Tag: term
+#: architecture.xml:104
+#, no-c-format
msgid "Persistent objects and collections"
-msgstr ""
+msgstr "Persistent objects 㨠Collections"
-#: index.docbook:106
-msgid "Short-lived, single threaded objects containing persistent state and business function. These might be ordinary JavaBeans/POJOs, the only special thing about them is that they are currently associated with (exactly one) <literal>Session</literal>. As soon as the <literal>Session</literal> is closed, they will be detached and free to use in any application layer (e.g. directly as data transfer objects to and from presentation)."
+#. Tag: para
+#: architecture.xml:106
+#, no-c-format
+msgid ""
+"Short-lived, single threaded objects containing persistent state and "
+"business function. These might be ordinary JavaBeans/POJOs, the only special "
+"thing about them is that they are currently associated with (exactly one) "
+"<literal>Session</literal>. As soon as the <literal>Session</literal> is "
+"closed, they will be detached and free to use in any application layer (e.g. "
+"directly as data transfer objects to and from presentation)."
msgstr ""
+"æ°¸ç¶åç¶æ
ã¨ãã¸ãã¹ã¡ã½ãããæã¤ãçå½ã§ã·ã³ã°ã«ã¹ã¬ããã®ãªãã¸ã§ã¯ãã ã"
+"ãã¯é常ã®JavaBeans/POJOã®ãã¨ãããã¾ãããç¹å¾´çãªãã¨ã¯ã ãã®æç¹ã§ã®ï¼ã"
+"ã 1ã¤ã®ï¼ <literal>Session</literal> ã¨é¢é£ãã¦ãããã¨ã§ãã "
+"<literal>Session</literal> ãã¯ãã¼ãºãããã¨ããã«ã ãããã¯åãé¢ããã¦ä»"
+"ã®ã¢ããªã±ã¼ã·ã§ã³å±¤ããèªç±ã«ä½¿ããã¨ãã§ãã¾ãã ï¼ä¾ãã°ãã¼ã¿ã»ãã©ã³ã¹"
+"ãã¡ã»ãªãã¸ã§ã¯ãã¨ãã¦ã ãã¬ã¼ã³ãã¼ã·ã§ã³å±¤ãããã¾ãã¯ãã¬ã¼ã³ãã¼ã·ã§ã³"
+"層ã¸ç´æ¥ä½¿ç¨ã§ãã¾ããï¼"
-#: index.docbook:117
+#. Tag: term
+#: architecture.xml:117
+#, no-c-format
msgid "Transient and detached objects and collections"
-msgstr ""
+msgstr "Transient 㨠detached 㪠objects 㨠Collections"
-#: index.docbook:119
-msgid "Instances of persistent classes that are not currently associated with a <literal>Session</literal>. They may have been instantiated by the application and not (yet) persisted or they may have been instantiated by a closed <literal>Session</literal>."
+#. Tag: para
+#: architecture.xml:119
+#, no-c-format
+msgid ""
+"Instances of persistent classes that are not currently associated with a "
+"<literal>Session</literal>. They may have been instantiated by the "
+"application and not (yet) persisted or they may have been instantiated by a "
+"closed <literal>Session</literal>."
msgstr ""
+"ç¾æç¹ã§ã¯ <literal>Session</literal> ã¨é¢é£ãã¦ããªãã æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿"
+"ã³ã¹ã ãã§ã«ã¢ããªã±ã¼ã·ã§ã³å´ã§ã¤ã³ã¹ã¿ã³ã¹åããã¦ãã¦ãã¾ã æ°¸ç¶åããã¦ã"
+"ãªããã ã¯ãã¼ãºããã <literal>Session</literal> ã§ã¤ã³ã¹ã¿ã³ã¹åããããã®"
+"ã©ã¡ããã§ãã"
-#: index.docbook:128
+#. Tag: term
+#: architecture.xml:128
+#, no-c-format
msgid "Transaction (<literal>org.hibernate.Transaction</literal>)"
-msgstr ""
+msgstr "Transaction (<literal>org.hibernate.Transaction</literal>)"
-#: index.docbook:130
-msgid "(Optional) A single-threaded, short-lived object used by the application to specify atomic units of work. Abstracts application from underlying JDBC, JTA or CORBA transaction. A <literal>Session</literal> might span several <literal>Transaction</literal>s in some cases. However, transaction demarcation, either using the underlying API or <literal>Transaction</literal>, is never optional!"
+#. Tag: para
+#: architecture.xml:130
+#, no-c-format
+msgid ""
+"(Optional) A single-threaded, short-lived object used by the application to "
+"specify atomic units of work. Abstracts application from underlying JDBC, "
+"JTA or CORBA transaction. A <literal>Session</literal> might span several "
+"<literal>Transaction</literal>s in some cases. However, transaction "
+"demarcation, either using the underlying API or <literal>Transaction</"
+"literal>, is never optional!"
msgstr ""
+"(ãªãã·ã§ã³)ååæ§ãæã¤ä½æ¥åä½(Unit of Work)ãæå®ããããã«ãã¢ããªã±ã¼"
+"ã·ã§ã³ã使ç¨ããã ã·ã³ã°ã«ã¹ã¬ããã§çå½ãªãªãã¸ã§ã¯ãã ä¸ã«ä½ç½®ããJDBCã"
+"JTAãCORBAãã©ã³ã¶ã¯ã·ã§ã³ããã¢ããªã±ã¼ã·ã§ã³ãæ½è±¡åãã¾ãã "
+"<literal>Session</literal> ã¯ãæã«ã¯ ããã¤ãã® <literal>Transaction</"
+"literal> ãã¾ãããããããã¾ããã ããããä¸ã®å±¤ã®APIã使ãã«ããã "
+"<literal>Transaction</literal> ã使ãã«ããã ãã©ã³ã¶ã¯ã·ã§ã³å¢çãè¨å®ãã"
+"ãã¨ã¯ã決ãã¦ãªãã·ã§ã³ã§ã¯ããã¾ããï¼ã"
-#: index.docbook:141
-msgid "ConnectionProvider (<literal>org.hibernate.connection.ConnectionProvider</literal>)"
+#. Tag: term
+#: architecture.xml:141
+#, no-c-format
+msgid ""
+"ConnectionProvider (<literal>org.hibernate.connection.ConnectionProvider</"
+"literal>)"
msgstr ""
+"ConnectionProvider (<literal>org.hibernate.connection.ConnectionProvider</"
+"literal>)"
-#: index.docbook:143
-msgid "(Optional) A factory for (and pool of) JDBC connections. Abstracts application from underlying <literal>Datasource</literal> or <literal>DriverManager</literal>. Not exposed to application, but can be extended/implemented by the developer."
+#. Tag: para
+#: architecture.xml:143
+#, no-c-format
+msgid ""
+"(Optional) A factory for (and pool of) JDBC connections. Abstracts "
+"application from underlying <literal>Datasource</literal> or "
+"<literal>DriverManager</literal>. Not exposed to application, but can be "
+"extended/implemented by the developer."
msgstr ""
+"(ãªãã·ã§ã³)JDBCã³ãã¯ã·ã§ã³ï¼ã¨ãã®ãã¼ã«ï¼ã®ãã¡ã¯ããªã ä¸ã®å±¤ã«ä½ç½®ãã "
+"<literal>Datasource</literal> ã <literal>DriverManager</literal> ããã¢ããª"
+"ã±ã¼ã·ã§ã³ãæ½è±¡åãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã«ã¯å
¬éããã¾ããããéçºè
ãç¶æ¿"
+"ã¾ãã¯å®è£
ãããã¨ã¯å¯è½ã§ãã"
-#: index.docbook:151
-msgid "TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
+#. Tag: term
+#: architecture.xml:151
+#, no-c-format
+msgid ""
+"TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
msgstr ""
+"TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
-#: index.docbook:153
-msgid "(Optional) A factory for <literal>Transaction</literal> instances. Not exposed to the application, but can be extended/implemented by the developer."
+#. Tag: para
+#: architecture.xml:153
+#, no-c-format
+msgid ""
+"(Optional) A factory for <literal>Transaction</literal> instances. Not "
+"exposed to the application, but can be extended/implemented by the developer."
msgstr ""
+"(ãªãã·ã§ã³) <literal>Transaction</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ã¯ããªã ã¢ããª"
+"ã±ã¼ã·ã§ã³ã«ã¯å
¬éããã¾ããããéçºè
ãç¶æ¿ã¾ãã¯å®è£
ãããã¨ã¯å¯è½ã§ãã"
-#: index.docbook:160
+#. Tag: emphasis
+#: architecture.xml:160
+#, no-c-format
msgid "Extension Interfaces"
-msgstr ""
+msgstr "Extension Interfaces"
-#: index.docbook:162
-msgid "Hibernate offers many optional extension interfaces you can implement to customize the behavior of your persistence layer. See the API documentation for details."
+#. Tag: para
+#: architecture.xml:162
+#, no-c-format
+msgid ""
+"Hibernate offers many optional extension interfaces you can implement to "
+"customize the behavior of your persistence layer. See the API documentation "
+"for details."
msgstr ""
+"Hibernateã¯ãæ°¸ç¶å±¤ã®æ¯ãèããã«ã¹ã¿ãã¤ãºããããã«ã å¤ãã®ãªãã·ã§ã³æ¡å¼µ"
+"ã¤ã³ã¿ãã§ã¼ã¹ãç¨æãã¦ãã¾ãã 詳細ã¯APIããã¥ã¡ã³ããåç
§ãã¦ãã ããã"
-#: index.docbook:171
-msgid "Given a \"lite\" architecture, the application bypasses the <literal>Transaction</literal>/<literal>TransactionFactory</literal> and/or <literal>ConnectionProvider</literal> APIs to talk to JTA or JDBC directly."
+#. Tag: para
+#: architecture.xml:171
+#, no-c-format
+msgid ""
+"Given a \"lite\" architecture, the application bypasses the "
+"<literal>Transaction</literal>/<literal>TransactionFactory</literal> and/or "
+"<literal>ConnectionProvider</literal> APIs to talk to JTA or JDBC directly."
msgstr ""
+"ã軽ããã¢ã¼ããã¯ãã£ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¯ç´æ¥JTAãJDBCã¨å¯¾è©±ãããã"
+"ã«ã <literal>Transaction</literal> ã <literal>TransactionFactory</literal> "
+"ã <literal>ConnectionProvider</literal> ããã¤ãã¹ãã¾ãã"
-#: index.docbook:179
+#. Tag: title
+#: architecture.xml:179
+#, no-c-format
msgid "Instance states"
-msgstr ""
+msgstr "ã¤ã³ã¹ã¿ã³ã¹ã®ç¶æ
"
-#: index.docbook:180
-msgid "An instance of a persistent classes may be in one of three different states, which are defined with respect to a <emphasis>persistence context</emphasis>. The Hibernate <literal>Session</literal> object is the persistence context:"
+#. Tag: para
+#: architecture.xml:180
+#, no-c-format
+msgid ""
+"An instance of a persistent classes may be in one of three different states, "
+"which are defined with respect to a <emphasis>persistence context</"
+"emphasis>. The Hibernate <literal>Session</literal> object is the "
+"persistence context:"
msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã次ã®ï¼ã¤ã®ç°ãªãç¶æ
ã®ã©ããã«ãªãã¾ãã ãã"
+"ã¯ã <emphasis>æ°¸ç¶ã³ã³ããã¹ã</emphasis> ã«ãã£ã¦æ±ºã¾ãã¾ãã Hibernateã® "
+"<literal>Session</literal> ãªãã¸ã§ã¯ãããæ°¸ç¶ã³ã³ããã¹ãã«ãªãã¾ãã"
-#: index.docbook:188
+#. Tag: term
+#: architecture.xml:188
+#, no-c-format
msgid "transient"
-msgstr ""
+msgstr "transient"
-#: index.docbook:190
-msgid "The instance is not, and has never been associated with any persistence context. It has no persistent identity (primary key value)."
+#. Tag: para
+#: architecture.xml:190
+#, no-c-format
+msgid ""
+"The instance is not, and has never been associated with any persistence "
+"context. It has no persistent identity (primary key value)."
msgstr ""
+"ãã®ç¶æ
ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãç¾å¨ãããã¦éå»ã«ããã¦ãã æ°¸ç¶ã³ã³ããã¹ãã«é¢é£"
+"ã¥ãã¦ãã¾ãããã¾ããæ°¸ç¶IDï¼ä¸»ãã¼ã®å¤ï¼ã æã£ã¦ãã¾ããã"
-#: index.docbook:198
+#. Tag: term
+#: architecture.xml:198
+#, no-c-format
msgid "persistent"
-msgstr ""
+msgstr "persistent"
-#: index.docbook:200
-msgid "The instance is currently associated with a persistence context. It has a persistent identity (primary key value) and, perhaps, a corresponding row in the database. For a particular persistence context, Hibernate <emphasis>guarantees</emphasis> that persistent identity is equivalent to Java identity (in-memory location of the object)."
+#. Tag: para
+#: architecture.xml:200
+#, no-c-format
+msgid ""
+"The instance is currently associated with a persistence context. It has a "
+"persistent identity (primary key value) and, perhaps, a corresponding row in "
+"the database. For a particular persistence context, Hibernate "
+"<emphasis>guarantees</emphasis> that persistent identity is equivalent to "
+"Java identity (in-memory location of the object)."
msgstr ""
+"ãã®ç¶æ
ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ããã®æç¹ã§æ°¸ç¶ã³ã³ããã¹ãã«é¢é£ã¥ãã¦ãã¾ãã ã¾"
+"ããæ°¸ç¶IDï¼ä¸»ãã¼ã®å¤ï¼ãæã¡ã ããã¦ãã¯ãã¼ã¿ãã¼ã¹ã«å¯¾å¿ããè¡ãæã£ã¦ã"
+"ãã§ãããã åã
ã®æ°¸ç¶ã³ã³ããã¹ãã®ãªãã§ã¯ãæ°¸ç¶IDã Javaã®IDï¼ãªãã¸ã§ã¯"
+"ãã®ã¡ã¢ãªä¸ã®ä½ç½®ï¼ã¨åãã§ãããã¨ã Hibernateã <emphasis>ä¿è¨¼</emphasis> "
+"ãã¾ãã"
-#: index.docbook:212
+#. Tag: term
+#: architecture.xml:212
+#, no-c-format
msgid "detached"
-msgstr ""
+msgstr "detached"
-#: index.docbook:214
-msgid "The instance was once associated with a persistence context, but that context was closed, or the instance was serialized to another process. It has a persistent identity and, perhaps, a corrsponding row in the database. For detached instances, Hibernate makes no guarantees about the relationship between persistent identity and Java identity."
+#. Tag: para
+#: architecture.xml:214
+#, no-c-format
+msgid ""
+"The instance was once associated with a persistence context, but that "
+"context was closed, or the instance was serialized to another process. It "
+"has a persistent identity and, perhaps, a corrsponding row in the database. "
+"For detached instances, Hibernate makes no guarantees about the relationship "
+"between persistent identity and Java identity."
msgstr ""
+"ãã®ç¶æ
ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ããã¤ã¦æ°¸ç¶ã³ã³ããã¹ãã«é¢é£ã¥ãããããã ãã®ã³ã³"
+"ããã¹ããã¯ãã¼ãºããããããããã¯ã ä»ã®ããã»ã¹ã«ãã®ã¤ã³ã¹ã¿ã³ã¹ãã·ãªã¢"
+"ã©ã¤ãºããããã§ãã ãã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãæ°¸ç¶IDãæã¡ãããã¦ãã¯ãã¼ã¿ãã¼ã¹"
+"㫠対å¿ããè¡ãæã£ã¦ããã§ããããåé¢ã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ãã¦ã¯ã æ°¸ç¶IDã¨Java"
+"ã®IDã¨ã®é¢é£ã¯ãHibernateãä¿è¨¼ãã¾ããã"
-#: index.docbook:229
+#. Tag: title
+#: architecture.xml:229
+#, no-c-format
msgid "JMX Integration"
-msgstr ""
+msgstr "JMXã¨ã®çµ±å"
-#: index.docbook:231
-msgid "JMX is the J2EE standard for management of Java components. Hibernate may be managed via a JMX standard service. We provide an MBean implementation in the distribution, <literal>org.hibernate.jmx.HibernateService</literal>."
+#. Tag: para
+#: architecture.xml:231
+#, no-c-format
+msgid ""
+"JMX is the J2EE standard for management of Java components. Hibernate may be "
+"managed via a JMX standard service. We provide an MBean implementation in "
+"the distribution, <literal>org.hibernate.jmx.HibernateService</literal>."
msgstr ""
+"JMXã¯Javaã³ã³ãã¼ãã³ã管çã®J2EEæ¨æºã§ãã JMXæ¨æºãµã¼ãã¹ãéãã¦ã"
+"Hibernateã¯ç®¡çããã¾ãã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã®ä¸ã« <literal>org."
+"hibernate.jmx.HibernateService</literal> ã¨ãã MBeanå®è£
ãç¨æãã¦ãã¾ãã"
-#: index.docbook:237
-msgid "For an example how to deploy Hibernate as a JMX service on the JBoss Application Server, please see the JBoss User Guide. On JBoss AS, you also get these benefits if you deploy using JMX:"
+#. Tag: para
+#: architecture.xml:237
+#, no-c-format
+msgid ""
+"For an example how to deploy Hibernate as a JMX service on the JBoss "
+"Application Server, please see the JBoss User Guide. On JBoss AS, you also "
+"get these benefits if you deploy using JMX:"
msgstr ""
+"JBoss ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ä¸ã«HibernateãJMXãµã¼ãã¹ã¨ãã¦ãããã¤ããæ¹"
+"æ³ã®ä¾ã¨ãã¦ã¯ã JBoss ã¦ã¼ã¶ã¬ã¤ããåç
§ãã¦ãã ããã JBoss ã¢ããªã±ã¼ã·ã§"
+"ã³ãµã¼ãã¼ã«ããã¦ã JMXã使ã£ã¦ãããã¤ããã¨ã次ã®ã¡ãªãããå¾ããã¾ãã"
-#: index.docbook:245
-msgid "<emphasis>Session Management:</emphasis> The Hibernate <literal>Session</literal>'s life cycle can be automatically bound to the scope of a JTA transaction. This means you no longer have to manually open and close the <literal>Session</literal>, this becomes the job of a JBoss EJB interceptor. You also don't have to worry about transaction demarcation in your code anymore (unless you'd like to write a portable persistence layer of course, use the optional Hibernate <literal>Transaction</literal> API for this). You call the <literal>HibernateContext</literal> to access a <literal>Session</literal>."
+#. Tag: para
+#: architecture.xml:245
+#, no-c-format
+msgid ""
+"<emphasis>Session Management:</emphasis> The Hibernate <literal>Session</"
+"literal>'s life cycle can be automatically bound to the scope of a JTA "
+"transaction. This means you no longer have to manually open and close the "
+"<literal>Session</literal>, this becomes the job of a JBoss EJB interceptor. "
+"You also don't have to worry about transaction demarcation in your code "
+"anymore (unless you'd like to write a portable persistence layer of course, "
+"use the optional Hibernate <literal>Transaction</literal> API for this). You "
+"call the <literal>HibernateContext</literal> to access a <literal>Session</"
+"literal>."
msgstr ""
+"<emphasis>ã»ãã·ã§ã³ç®¡ç:</emphasis> Hibernateã® <literal>Session</literal> "
+"ã®ã©ã¤ããµã¤ã¯ã«ã¯ã èªåçã«JTAãã©ã³ã¶ã¯ã·ã§ã³ã®ã¹ã³ã¼ãã«çµã³ã¤ãããã¾"
+"ããããã¯ããã¯ãæåã§ <literal>Session</literal> ããªã¼ãã³ããããã¯ãã¼"
+"ãºãããããå¿
è¦ããªããã¨ãæå³ãã¾ãã ããã¯ãJBoss EJB ã¤ã³ã¿ã¼ã»ãã¿ã®ä»"
+"äºã«ãªãã¾ãã ã¾ããã³ã¼ãã®ã©ãã§ãã©ã³ã¶ã¯ã·ã§ã³å¢çãè¨å®ãããã«ã¤ã"
+"ã¦ã ãã¯ãæ©ãå¿
è¦ãããã¾ããï¼ãã¡ããç§»æ¤å¯è½ãªæ°¸ç¶å±¤ãæ¸ãããªãã¦ããã®"
+"ãªãã°ã ãªãã·ã§ã³ã®Hibernateã® <literal>Transaction</literal> ã使ç¨ãã¦ã"
+"ã ãããï¼ <literal>Session</literal> ã«ã¢ã¯ã»ã¹ããããã«ã¯ã "
+"<literal>HibernateContext</literal> ã ã³ã¼ã«ãã¦ãã ããã"
-#: index.docbook:257
-msgid "<emphasis>HAR deployment:</emphasis> Usually you deploy the Hibernate JMX service using a JBoss service deployment descriptor (in an EAR and/or SAR file), it supports all the usual configuration options of a Hibernate <literal>SessionFactory</literal>. However, you still have to name all your mapping files in the deployment descriptor. If you decide to use the optional HAR deployment, JBoss will automatically detect all mapping files in your HAR file."
+#. Tag: para
+#: architecture.xml:257
+#, no-c-format
+msgid ""
+"<emphasis>HAR deployment:</emphasis> Usually you deploy the Hibernate JMX "
+"service using a JBoss service deployment descriptor (in an EAR and/or SAR "
+"file), it supports all the usual configuration options of a Hibernate "
+"<literal>SessionFactory</literal>. However, you still have to name all your "
+"mapping files in the deployment descriptor. If you decide to use the "
+"optional HAR deployment, JBoss will automatically detect all mapping files "
+"in your HAR file."
msgstr ""
+"<emphasis>HAR ãããã¤:</emphasis> é常ã(EAR ã¾ã㯠SAR ãã¡ã¤ã«ã«ããï¼"
+"JBoss ãµã¼ãã¹ ãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã使ã£ã¦ãHibernate JMX ãµã¼ãã¹ã"
+"ãããã¤ãã¾ãã ããã¯ãHibernateã® <literal>SessionFactory</literal> ã®å
¨ã¦"
+"ã®ä¸è¬çãªè¨å®ãªãã·ã§ã³ã ãµãã¼ããã¾ãããããä¾ç¶ã¨ãã¦ãããã¤ã¡ã³ããã£"
+"ã¹ã¯ãªãã¿ã®ãªãã«ãã¹ã¦ã®ãããã³ã°ãã¡ã¤ã«ã® ååãæããå¿
è¦ãããã¾ãã "
+"ããããªãã·ã§ã³ã®HARãããã¤ã¡ã³ãã使ããã¨ã決ãããªãã JBossã¯èªåçã«"
+"HARãã¡ã¤ã«ã®ãªãã®å
¨ã¦ã®ãããã³ã°ãã¡ã¤ã«ãæ¤åºãã¾ãã"
-#: index.docbook:268
-msgid "Consult the JBoss AS user guide for more information about these options."
+#. Tag: para
+#: architecture.xml:268
+#, no-c-format
+msgid ""
+"Consult the JBoss AS user guide for more information about these options."
msgstr ""
+"ãããã®ãªãã·ã§ã³ã«ã¤ãã¦ã®è©³ç´°ãªæ
å ±ã¯ãJBossã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¦ã¼ã¶ã¬"
+"ã¤ãã åèã«ãã¦ãã ããã"
-#: index.docbook:272
-msgid "Another feature available as a JMX service are runtime Hibernate statistics. See <xref linkend=\"configuration-optional-statistics\"/>."
+#. Tag: para
+#: architecture.xml:272
+#, no-c-format
+msgid ""
+"Another feature available as a JMX service are runtime Hibernate statistics. "
+"See <xref linkend=\"configuration-optional-statistics\"/>."
msgstr ""
+"JMXãµã¼ãã¹ã¨ãã¦å©ç¨å¯è½ãªä»ã®æ©è½ã«ãHibernateå®è¡æçµ±è¨æ
å ±ãããã¾ãã "
+"<xref linkend=\"configuration-optional-statistics\"/> ãè¦ã¦ãã ããã"
-#: index.docbook:279
+#. Tag: title
+#: architecture.xml:279
+#, no-c-format
msgid "JCA Support"
-msgstr ""
+msgstr "JCA ãµãã¼ã"
-#: index.docbook:280
-msgid "Hibernate may also be configured as a JCA connector. Please see the website for more details. Please note that Hibernate JCA support is still considered experimental."
+#. Tag: para
+#: architecture.xml:280
+#, no-c-format
+msgid ""
+"Hibernate may also be configured as a JCA connector. Please see the website "
+"for more details. Please note that Hibernate JCA support is still considered "
+"experimental."
msgstr ""
+"Hibernate 㯠JCA ã³ãã¯ã¿ã¨ãã¦ãè¨å®ã§ãã¾ãã詳細ã«ã¤ãã¦ã¯ãWebãµã¤ããè¦"
+"ã¦ãã ããã Hibernate JCA ãµãã¼ãã¯ãä»ã®ã¨ããå®é¨æ®µéã¨ãã¦èãããã¦ãã"
+"ãã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:287
+#. Tag: title
+#: architecture.xml:287
+#, no-c-format
msgid "Contextual Sessions"
-msgstr ""
+msgstr "ã³ã³ããã¹ãä¸ã®ã»ãã·ã§ã³"
-#: index.docbook:288
-msgid "Most applications using Hibernate need some form of \"contextual\" sessions, where a given session is in effect throughout the scope of a given context. However, across applications the definition of what constitutes a context is typically different; and different contexts define different scopes to the notion of current. Applications using Hibernate prior to version 3.0 tended to utilize either home-grown <literal>ThreadLocal</literal>-based contextual sessions, helper classes such as <literal>HibernateUtil</literal>, or utilized third-party frameworks (such as Spring or Pico) which provided proxy/interception-based contextual sessions."
+#. Tag: para
+#: architecture.xml:288
+#, no-c-format
+msgid ""
+"Most applications using Hibernate need some form of \"contextual\" sessions, "
+"where a given session is in effect throughout the scope of a given context. "
+"However, across applications the definition of what constitutes a context is "
+"typically different; and different contexts define different scopes to the "
+"notion of current. Applications using Hibernate prior to version 3.0 tended "
+"to utilize either home-grown <literal>ThreadLocal</literal>-based contextual "
+"sessions, helper classes such as <literal>HibernateUtil</literal>, or "
+"utilized third-party frameworks (such as Spring or Pico) which provided "
+"proxy/interception-based contextual sessions."
msgstr ""
+"Hibernate ã使ã£ãã¢ããªã±ã¼ã·ã§ã³ã¯ãã»ã¨ãã©ããªãããã®å½¢ã§\"ã³ã³ããã¹ã"
+"ä¸ã®\"ã»ãã·ã§ã³ãå¿
è¦ã«ãªãã¾ãã ãã³ã³ããã¹ãä¸ã®ã»ãã·ã§ã³ãã¯ãç¹å®ã®ã³"
+"ã³ããã¹ãã®ã¹ã³ã¼ãã®ãªãã§æå¹ãªã»ãã·ã§ã³ã®ãã¨ã§ãã ããããé常ã¢ããª"
+"ã±ã¼ã·ã§ã³ãã¨ã«ã³ã³ããã¹ããæ§æãããã®ã®å®ç¾©ã¯ç°ãªãã¾ãã ããããç°ãªã"
+"è¤æ°ã®ã³ã³ããã¹ãã¯ãç¾æç¹ã«å¯¾ãã¦ç°ãªãã¹ã³ã¼ããå®ç¾©ãã¾ãã ãã¼ã¸ã§ã³"
+"3.0ããåã® Hibernate ã§ã¯ãèªä½ã® <literal>ThreadLocal</literal> ãã¼ã¹ã®"
+"ãã³ã³ããã¹ãä¸ã®ã»ãã·ã§ã³ãã å©ç¨ãããã <literal>HibernateUtil</"
+"literal> ã®ãããªãã«ãã¼ã¯ã©ã¹ãå©ç¨ãããã proxy/interception ãã¼ã¹ã®ãã³"
+"ã³ããã¹ãä¸ã®ã»ãã·ã§ã³ããæä¾ãã ï¼Spring ã Pico ã®ãããªï¼ãµã¼ããã¼"
+"ãã£ã®ãã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ãããã®ããããã§ããã"
-#: index.docbook:297
-msgid "Starting with version 3.0.1, Hibernate added the <literal>SessionFactory.getCurrentSession()</literal> method. Initially, this assumed usage of <literal>JTA</literal> transactions, where the <literal>JTA</literal> transaction defined both the scope and context of a current session. The Hibernate team maintains that, given the maturity of the numerous stand-alone <literal>JTA TransactionManager</literal> implementations out there, most (if not all) applications should be using <literal>JTA</literal> transaction management whether or not they are deployed into a <literal>J2EE</literal> container. Based on that, the <literal>JTA</literal>-based contextual sessions is all you should ever need to use."
+#. Tag: para
+#: architecture.xml:297
+#, no-c-format
+msgid ""
+"Starting with version 3.0.1, Hibernate added the <literal>SessionFactory."
+"getCurrentSession()</literal> method. Initially, this assumed usage of "
+"<literal>JTA</literal> transactions, where the <literal>JTA</literal> "
+"transaction defined both the scope and context of a current session. The "
+"Hibernate team maintains that, given the maturity of the numerous stand-"
+"alone <literal>JTA TransactionManager</literal> implementations out there, "
+"most (if not all) applications should be using <literal>JTA</literal> "
+"transaction management whether or not they are deployed into a "
+"<literal>J2EE</literal> container. Based on that, the <literal>JTA</literal>-"
+"based contextual sessions is all you should ever need to use."
msgstr ""
+"ãã¼ã¸ã§ã³ 3.0.1 ãããHibernate ã«ã¯ <literal>SessionFactory."
+"getCurrentSession()</literal> ã å ããã¾ããã ããã¯ã <literal>JTA</"
+"literal> ãã©ã³ã¶ã¯ã·ã§ã³ã®ä½¿ç¨ãåæã«ãã¦ãã¾ãã <literal>JTA</literal> ã"
+"ã©ã³ã¶ã¯ã·ã§ã³ã¯ãç¾å¨ã®ã»ãã·ã§ã³ã®ã¹ã³ã¼ãã¨ã³ã³ããã¹ãã®ä¸¡æ¹ãå®ç¾©ãã¾"
+"ãã Hibernate ãã¼ã ã¯ã次ã®ãã¨ã主張ãã¾ãã 巨大ãªã¹ã¿ã³ãã¢ãã³ã® "
+"<literal>JTA TransactionManager</literal> å®è£
ãæçãããã <literal>J2EE</"
+"literal> ã³ã³ããä¸ã«ãããã¤ããããã©ããã«ãããããã ã»ã¨ãã©ã®ï¼ãã¹ã¦"
+"ã¨ã¯è¨ããªããï¼ã¢ããªã±ã¼ã·ã§ã³ãã <literal>JTA</literal> ãã©ã³ã¶ã¯ã·ã§ã³"
+"管çã使ç¨ãã¹ãã§ããã¨ã ãã®èãã«åºã¥ãã¨ã <literal>JTA</literal> ãã¼ã¹"
+"ã®ãã³ã³ããã¹ãä¸ã®ã»ãã·ã§ã³ãã 使ããããªãã§ãããã"
-#: index.docbook:307
-msgid "However, as of version 3.1, the processing behind <literal>SessionFactory.getCurrentSession()</literal> is now pluggable. To that end, a new extension interface (<literal>org.hibernate.context.CurrentSessionContext</literal>) and a new configuration parameter (<literal>hibernate.current_session_context_class</literal>) have been added to allow pluggability of the scope and context of defining current sessions."
+#. Tag: para
+#: architecture.xml:307
+#, no-c-format
+msgid ""
+"However, as of version 3.1, the processing behind <literal>SessionFactory."
+"getCurrentSession()</literal> is now pluggable. To that end, a new extension "
+"interface (<literal>org.hibernate.context.CurrentSessionContext</literal>) "
+"and a new configuration parameter (<literal>hibernate."
+"current_session_context_class</literal>) have been added to allow "
+"pluggability of the scope and context of defining current sessions."
msgstr ""
+"ãããããã¼ã¸ã§ã³ 3.1 ããã¯ã <literal>SessionFactory.getCurrentSession()</"
+"literal> ã®å¾ã®å¦çãã ãã©ã¬ãã«ã«ãªãã¾ããã ãããåãã¦ãç¾å¨ã®ã»ãã·ã§"
+"ã³ãå®ç¾©ããã¹ã³ã¼ãã¨ã³ã³ããã¹ãã®ãã©ã¬ããªãã£ãå¯è½ã«ããããã«ã æ°ãã"
+"æ¡å¼µã¤ã³ã¿ãã§ã¼ã¹ ( <literal>org.hibernate.context.CurrentSessionContext</"
+"literal> ) 㨠æ°ããæ§æãã©ã¡ã¼ã¿ ( <literal>hibernate."
+"current_session_context_class</literal> ) ã追å ããã¾ããã"
-#: index.docbook:314
-msgid "See the Javadocs for the <literal>org.hibernate.context.CurrentSessionContext</literal> interface for a detailed discussion of its contract. It defines a single method, <literal>currentSession()</literal>, by which the implementation is responsible for tracking the current contextual session. Out-of-the-box, Hibernate comes with three implementations of this interface."
+#. Tag: para
+#: architecture.xml:314
+#, no-c-format
+msgid ""
+"See the Javadocs for the <literal>org.hibernate.context."
+"CurrentSessionContext</literal> interface for a detailed discussion of its "
+"contract. It defines a single method, <literal>currentSession()</literal>, "
+"by which the implementation is responsible for tracking the current "
+"contextual session. Out-of-the-box, Hibernate comes with three "
+"implementations of this interface."
msgstr ""
+"<literal>org.hibernate.context.CurrentSessionContext</literal> ã¤ã³ã¿ãã§ã¼ã¹"
+"ã®è¦ç´ã«ã¤ãã¦ã® 詳細ãªå
容㯠Javadoc ãåç
§ãã¦ãã ããã ããã«ã¯ã "
+"<literal>currentSession()</literal> ã¨ãã1ã¤ã®ã¡ã½ãããå®ç¾©ããã¦ããã ã"
+"ã®å®è£
ã¯ãç¾å¨ã®ãã³ã³ããã¹ãä¸ã®ã»ãã·ã§ã³ãã追跡ãããã¨ã«è²¬ä»»ãæã¡ã¾"
+"ãã ãã®ã¾ã¾ä½¿ããããã«ãHibernateã¯ãã®ã¤ã³ã¿ãã§ã¼ã¹ã®å®è£
ã2ã¤æä¾ãã¦ã"
+"ã¾ãã"
-#: index.docbook:324
-msgid "<literal>org.hibernate.context.JTASessionContext</literal> - current sessions are tracked and scoped by a <literal>JTA</literal> transaction. The processing here is exactly the same as in the older JTA-only approach. See the Javadocs for details."
+#. Tag: para
+#: architecture.xml:324
+#, no-c-format
+msgid ""
+"<literal>org.hibernate.context.JTASessionContext</literal> - current "
+"sessions are tracked and scoped by a <literal>JTA</literal> transaction. The "
+"processing here is exactly the same as in the older JTA-only approach. See "
+"the Javadocs for details."
msgstr ""
+"<literal>org.hibernate.context.JTASessionContext</literal> - <literal>JTA</"
+"literal> ãã©ã³ã¶ã¯ã·ã§ã³ã«ãã£ã¦ãç¾å¨ã®ã»ãã·ã§ã³ã追跡ããã ã¹ã³ã¼ããæ±º"
+"ãããã¾ãããã®å¦çã¯ãå¤ãJTAã ãã®ã¢ããã¼ãã¨ã¾ã£ããåãã§ãã 詳細ã¯"
+"Javadocãåç
§ãã¦ãã ããã"
-#: index.docbook:332
-msgid "<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - current sessions are tracked by thread of execution. Again, see the Javadocs for details."
+#. Tag: para
+#: architecture.xml:332
+#, no-c-format
+msgid ""
+"<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - current "
+"sessions are tracked by thread of execution. Again, see the Javadocs for "
+"details."
msgstr ""
+"<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - ã¹ã¬ãã"
+"ã®å®è¡ã«ãã£ã¦ãç¾å¨ã®ã»ãã·ã§ã³ã追跡ããã¾ãã 詳細ã¯Javadocãåç
§ãã¦ãã "
+"ããã"
-#: index.docbook:338
-msgid "<literal>org.hibernate.context.ManagedSessionContext</literal> - current sessions are tracked by thread of execution. However, you are responsible to bind and unbind a <literal>Session</literal> instance with static methods on this class, it does never open, flush, or close a <literal>Session</literal>."
+#. Tag: para
+#: architecture.xml:338
+#, no-c-format
+msgid ""
+"<literal>org.hibernate.context.ManagedSessionContext</literal> - current "
+"sessions are tracked by thread of execution. However, you are responsible to "
+"bind and unbind a <literal>Session</literal> instance with static methods on "
+"this class, it does never open, flush, or close a <literal>Session</literal>."
msgstr ""
+"<literal>org.hibernate.context.ManagedSessionContext</literal> - ã¹ã¬ããã®å®"
+"è¡ã«ãã£ã¦ãç¾å¨ã®ã»ãã·ã§ã³ã追跡ããã¾ãã ãããããã®ã¯ã©ã¹ã®staticã¡ã½ã"
+"ãã§ <literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ã ãã¤ã³ã/ã¢ã³ãã¤ã³ããã責任"
+"ã¯ããªãã«ããã¾ãã ããã¯æ±ºã㦠<literal>Session</literal> ããªã¼ãã³ãã"
+"ã©ãã·ã¥ãã¯ãã¼ãºãã¾ããã"
-#: index.docbook:347
-msgid "The first two implementations provide a \"one session - one database transaction\" programming model, also known and used as <emphasis>session-per-request</emphasis>. The beginning and end of a Hibernate session is defined by the duration of a database transaction. If you use programatic transaction demarcation in plain JSE without JTA, you are adviced to use the Hibernate <literal>Transaction</literal> API to hide the underlying transaction system from your code. If you use JTA, use the JTA interfaces to demarcate transactions. If you execute in an EJB container that supports CMT, transaction boundaries are defined declaratively and you don't need any transaction or session demarcation operations in your code. Refer to <xref linkend=\"transactions\"/> for more information and code examples."
+#. Tag: para
+#: architecture.xml:347
+#, no-c-format
+msgid ""
+"The first two implementations provide a \"one session - one database "
+"transaction\" programming model, also known and used as <emphasis>session-"
+"per-request</emphasis>. The beginning and end of a Hibernate session is "
+"defined by the duration of a database transaction. If you use programatic "
+"transaction demarcation in plain JSE without JTA, you are adviced to use the "
+"Hibernate <literal>Transaction</literal> API to hide the underlying "
+"transaction system from your code. If you use JTA, use the JTA interfaces to "
+"demarcate transactions. If you execute in an EJB container that supports "
+"CMT, transaction boundaries are defined declaratively and you don't need any "
+"transaction or session demarcation operations in your code. Refer to <xref "
+"linkend=\"transactions\"/> for more information and code examples."
msgstr ""
+"å§ãã®2ã¤ã®å®è£
ã¯ã\"1ã»ãã·ã§ã³ - 1ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³\" ããã°ã©ã"
+"ã³ã°ã¢ãã«ãæä¾ãã¾ãã ãã㯠<emphasis>ãªã¯ã¨ã¹ããã¨ã®ã»ãã·ã§ã³"
+"ï¼session-per-requestï¼</emphasis> ã¨ãã¦ãç¥ããã¦ããã使ããã¦ãã¾ãã "
+"Hibernate ã»ãã·ã§ã³ã®éå§ã¨çµäºã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®æéã§æ±ºã¾"
+"ãã¾ãã JTAã使ããªãæ®éã®JSEã§ãããã°ã©ã ä¸ã®ãã©ã³ã¶ã¯ã·ã§ã³å¢çè¨å®ãè¡"
+"ããªãã ã³ã¼ãããåºç¤ã®ãã©ã³ã¶ã¯ã·ã§ã³ã·ã¹ãã ãé è½ããããã«ã "
+"Hibernate <literal>Transaction</literal> APIã使ãã¨ããã§ãããã JTAã使ã"
+"ãªãããã©ã³ã¶ã¯ã·ã§ã³ã®å¢çè¨å®ã«ã¯ãJTAã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ãã ããã "
+"CMTããµãã¼ãããEJBã³ã³ããã§å®è¡ããã¤ãããªãããã©ã³ã¶ã¯ã·ã§ã³å¢çã¯å®£è¨"
+"çã«å®ç¾©ã§ããããã ã³ã¼ãä¸ã§ãã©ã³ã¶ã¯ã·ã§ã³ãã»ãã·ã§ã³ã®å¢çãè¨å®ããå¿
"
+"è¦ã¯ããã¾ããã ããã«è©³ç´°ãªæ
å ±ãã³ã¼ãã®ä¾ã¯ã <xref linkend="
+"\"transactions\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:359
-msgid "The <literal>hibernate.current_session_context_class</literal> configuration parameter defines which <literal>org.hibernate.context.CurrentSessionContext</literal> implementation should be used. Note that for backwards compatibility, if this config param is not set but a <literal>org.hibernate.transaction.TransactionManagerLookup</literal> is configured, Hibernate will use the <literal>org.hibernate.context.JTASessionContext</literal>. Typically, the value of this parameter would just name the implementation class to use; for the three out-of-the-box implementations, however, there are three corresponding short names, \"jta\", \"thread\", and \"managed\"."
+#. Tag: para
+#: architecture.xml:359
+#, no-c-format
+msgid ""
+"The <literal>hibernate.current_session_context_class</literal> configuration "
+"parameter defines which <literal>org.hibernate.context."
+"CurrentSessionContext</literal> implementation should be used. Note that for "
+"backwards compatibility, if this config param is not set but a <literal>org."
+"hibernate.transaction.TransactionManagerLookup</literal> is configured, "
+"Hibernate will use the <literal>org.hibernate.context.JTASessionContext</"
+"literal>. Typically, the value of this parameter would just name the "
+"implementation class to use; for the three out-of-the-box implementations, "
+"however, there are three corresponding short names, \"jta\", \"thread\", and "
+"\"managed\"."
msgstr ""
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+"<literal>hibernate.current_session_context_class</literal> è¨å®ãã©ã¡ã¼ã¿"
+"ã¯ã <literal>org.hibernate.context.CurrentSessionContext</literal> ã®ã©ã®å®"
+"è£
ã使ãããæå®ãã¾ãã ä¸ä½äºææ§ã®ããããã®ãã©ã¡ã¼ã¿ãè¨å®ããã "
+"<literal>org.hibernate.transaction.TransactionManagerLookup</literal> ãè¨å®"
+"ããã¦ããå ´åã Hibernate㯠<literal>org.hibernate.context."
+"JTASessionContext</literal> ã使ããã¨ã«æ³¨æãã¦ãã ããã é常ãã®ãã©ã¡ã¼ã¿"
+"ã®å¤ã«ã¯ã3ã¤ã®å®è£
ã®ä¸ãã使ç¨ããå®è£
ã¯ã©ã¹ã®ååãç´æ¥æå®ãã¾ãã ãã"
+"ãã\"jta\", \"thread\", \"managed\"ã¨ããããããã®çç¥åãç¨æããã¦ãã¾"
+"ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/association_mapping.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/association_mapping.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/association_mapping.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1269 +1,874 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:6
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: association_mapping.xml:6
+#, no-c-format
msgid "Association Mappings"
msgstr "é¢é£ãããã³ã°"
-#: index.docbook:9
+#. Tag: title
+#: association_mapping.xml:9
+#, no-c-format
msgid "Introduction"
msgstr "ã¤ã³ãããã¯ã·ã§ã³"
-#: index.docbook:11
-msgid "Association mappings are the often most difficult thing to get right. In this section we'll go through the canonical cases one by one, starting with unidirectional mappings, and then considering the bidirectional cases. We'll use <literal>Person</literal> and <literal>Address</literal> in all the examples."
-msgstr "é¢é£ãããã³ã°ã¯ãã°ãã°çè§£ãæãé£ãããã®ã«ãªãã¾ãã ãã®ç« ã§ã¯ãåºæ¬çãªä¸ã¤ä¸ã¤ã®ã±ã¼ã¹ã«ã¤ãã¦è¿°ã¹ã¾ãã åæ¹åã®ãããã³ã°ããå§ããããããåæ¹åã®ã±ã¼ã¹ã«ã¤ãã¦èãã¦ããã¾ãã ä¾ã¨ãã¦ã<literal>Person</literal> 㨠<literal>Address</literal> ãç¨ãã¾ãã"
+#. Tag: para
+#: association_mapping.xml:11
+#, no-c-format
+msgid ""
+"Association mappings are the often most difficult thing to get right. In "
+"this section we'll go through the canonical cases one by one, starting with "
+"unidirectional mappings, and then considering the bidirectional cases. We'll "
+"use <literal>Person</literal> and <literal>Address</literal> in all the "
+"examples."
+msgstr ""
+"é¢é£ãããã³ã°ã¯ãã°ãã°çè§£ãæãé£ãããã®ã«ãªãã¾ãã ãã®ç« ã§ã¯ãåºæ¬çãª"
+"ä¸ã¤ä¸ã¤ã®ã±ã¼ã¹ã«ã¤ãã¦è¿°ã¹ã¾ãã åæ¹åã®ãããã³ã°ããå§ããããããåæ¹å"
+"ã®ã±ã¼ã¹ã«ã¤ãã¦èãã¦ããã¾ãã ä¾ã¨ãã¦ã<literal>Person</literal> 㨠"
+"<literal>Address</literal> ãç¨ãã¾ãã"
-#: index.docbook:19
-msgid "We'll classify associations by whether or not they map to an intervening join table, and by multiplicity."
-msgstr "é¢é£ã¯ãçµåãã¼ãã«ãå
¥ããããã©ããã¨ã å¤é度ã«ãã£ã¦åé¡ãããã¨ã«ãã¾ãã"
+#. Tag: para
+#: association_mapping.xml:19
+#, no-c-format
+msgid ""
+"We'll classify associations by whether or not they map to an intervening "
+"join table, and by multiplicity."
+msgstr ""
+"é¢é£ã¯ãçµåãã¼ãã«ãå
¥ããããã©ããã¨ã å¤é度ã«ãã£ã¦åé¡ãããã¨ã«ãã¾"
+"ãã"
-#: index.docbook:24
-msgid "Nullable foreign keys are not considered good practice in traditional data modelling, so all our examples use not null foreign keys. This is not a requirement of Hibernate, and the mappings will all work if you drop the nullability constraints."
-msgstr "ãã¹ã¦ã®ä¾ã§not nullã®å¤é¨ãã¼ã使ç¨ãã¾ãã ããã¯Hibernateã®è¦ä»¶ã§ã¯ããã¾ããã not nullå¶ç´ãå¤ããã¨ãã¦ãããããã³ã°ã¯åé¡ãªãåä½ãã¾ãã"
+#. Tag: para
+#: association_mapping.xml:24
+#, no-c-format
+msgid ""
+"Nullable foreign keys are not considered good practice in traditional data "
+"modelling, so all our examples use not null foreign keys. This is not a "
+"requirement of Hibernate, and the mappings will all work if you drop the "
+"nullability constraints."
+msgstr ""
+"ãã¹ã¦ã®ä¾ã§not nullã®å¤é¨ãã¼ã使ç¨ãã¾ãã ããã¯Hibernateã®è¦ä»¶ã§ã¯ããã¾"
+"ããã not nullå¶ç´ãå¤ããã¨ãã¦ãããããã³ã°ã¯åé¡ãªãåä½ãã¾ãã"
-#: index.docbook:34
+#. Tag: title
+#: association_mapping.xml:34
+#, no-c-format
msgid "Unidirectional associations"
msgstr "åæ¹åé¢é£"
-#: index.docbook:37, index.docbook:108
+#. Tag: title
+#: association_mapping.xml:37 association_mapping.xml:108
+#, no-c-format
msgid "many to one"
-msgstr "<title>å¤å¯¾ä¸</title>"
+msgstr "å¤å¯¾ä¸"
-#: index.docbook:39
-msgid "A <emphasis>unidirectional many-to-one association</emphasis> is the most common kind of unidirectional association."
-msgstr "<emphasis>åæ¹åå¤å¯¾ä¸é¢é£</emphasis> ã¯åæ¹åé¢é£ã®ä¸ã§æãä¸è¬çãªãã®ã§ãã"
+#. Tag: para
+#: association_mapping.xml:39
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional many-to-one association</emphasis> is the most "
+"common kind of unidirectional association."
+msgstr ""
+"<emphasis>åæ¹åå¤å¯¾ä¸é¢é£</emphasis> ã¯åæ¹åé¢é£ã®ä¸ã§æãä¸è¬çãªãã®ã§"
+"ãã"
-#: index.docbook:44
+#. Tag: programlisting
+#: association_mapping.xml:44
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <many-to-one name=\"address\" \n"
- " column=\"addressId\"\n"
- " not-null=\"true\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <many-to-one name=\"address\" \n"
+" column=\"addressId\"\n"
+" not-null=\"true\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:45, index.docbook:161
+#. Tag: programlisting
+#: association_mapping.xml:45 association_mapping.xml:161
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key, addressId bigint not null )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key, addressId bigint "
+"not null )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key, addressId bigint not null )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:50, index.docbook:121, index.docbook:185, index.docbook:225
+#. Tag: title
+#: association_mapping.xml:50 association_mapping.xml:121
+#: association_mapping.xml:185 association_mapping.xml:225
+#, no-c-format
msgid "one to one"
-msgstr "<title>ä¸å¯¾ä¸</title>"
+msgstr "ä¸å¯¾ä¸"
-#: index.docbook:52
-msgid "A <emphasis>unidirectional one-to-one association on a foreign key</emphasis> is almost identical. The only difference is the column unique constraint."
-msgstr "<emphasis>å¤é¨ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ã»ã¨ãã©åããã®ã§ãã å¯ä¸éãã®ã¯ãã«ã©ã ã®ã¦ãã¼ã¯ãªå¶ç´ã§ãã"
+#. Tag: para
+#: association_mapping.xml:52
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional one-to-one association on a foreign key</"
+"emphasis> is almost identical. The only difference is the column unique "
+"constraint."
+msgstr ""
+"<emphasis>å¤é¨ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ã»ã¨ãã©åããã®ã§ãã å¯ä¸"
+"éãã®ã¯ãã«ã©ã ã®ã¦ãã¼ã¯ãªå¶ç´ã§ãã"
-#: index.docbook:57
+#. Tag: programlisting
+#: association_mapping.xml:57
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <many-to-one name=\"address\" \n"
- " column=\"addressId\" \n"
- " unique=\"true\"\n"
- " not-null=\"true\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <many-to-one name=\"address\" \n"
+" column=\"addressId\" \n"
+" unique=\"true\"\n"
+" not-null=\"true\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " unique=\"true\"
-\n"
- " not-null=\"true\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:58, index.docbook:193
+#. Tag: programlisting
+#: association_mapping.xml:58 association_mapping.xml:193
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key, addressId bigint not null unique )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key, addressId bigint "
+"not null unique )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key, addressId bigint not null unique )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:60
-msgid "A <emphasis>unidirectional one-to-one association on a primary key</emphasis> usually uses a special id generator. (Notice that we've reversed the direction of the association in this example.)"
-msgstr "<emphasis>主ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯é常ãç¹å¥ãªIDã¸ã§ãã¬ã¼ã¿ã使ãã¾ãã ï¼ãã®ä¾ã§ã¯é¢é£ã®æ¹åãéã«ãªã£ã¦ãããã¨ã«æ³¨æãã¦ãã ããï¼"
+#. Tag: para
+#: association_mapping.xml:60
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional one-to-one association on a primary key</"
+"emphasis> usually uses a special id generator. (Notice that we've reversed "
+"the direction of the association in this example.)"
+msgstr ""
+"<emphasis>主ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯é常ãç¹å¥ãªIDã¸ã§ãã¬ã¼ã¿ã"
+"使ãã¾ãã ï¼ãã®ä¾ã§ã¯é¢é£ã®æ¹åãéã«ãªã£ã¦ãããã¨ã«æ³¨æãã¦ãã ããï¼"
-#: index.docbook:66
+#. Tag: programlisting
+#: association_mapping.xml:66
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"foreign\">\n"
- " <param name=\"property\">person</param>\n"
- " </generator>\n"
- " </id>\n"
- " <one-to-one name=\"person\" constrained=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"foreign\">\n"
+" <param name=\"property\">person</param>\n"
+" </generator>\n"
+" </id>\n"
+" <one-to-one name=\"person\" constrained=\"true\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"foreign\">
-\n"
- " <param name=\"property\">person</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " <one-to-one name=\"person\" constrained=\"true\"/>
-\n"
- "</class>]]>"
-#: index.docbook:67, index.docbook:201
+#. Tag: programlisting
+#: association_mapping.xml:67 association_mapping.xml:201
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table Address ( personId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table Address ( personId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table Address ( personId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:72, index.docbook:94
+#. Tag: title
+#: association_mapping.xml:72 association_mapping.xml:94
+#, no-c-format
msgid "one to many"
-msgstr "<title>ä¸å¯¾å¤</title>"
+msgstr "ä¸å¯¾å¤"
-#: index.docbook:74
-msgid "A <emphasis>unidirectional one-to-many association on a foreign key</emphasis> is a very unusual case, and is not really recommended."
-msgstr "<emphasis>å¤é¨ãã¼ã®åæ¹åä¸å¯¾å¤é¢é£</emphasis> ã¯ã¨ã¦ãç¹æ®ãªã±ã¼ã¹ã§ã ãã¾ãæ¨å¥¨ããã¦ãã¾ããã"
+#. Tag: para
+#: association_mapping.xml:74
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional one-to-many association on a foreign key</"
+"emphasis> is a very unusual case, and is not really recommended."
+msgstr ""
+"<emphasis>å¤é¨ãã¼ã®åæ¹åä¸å¯¾å¤é¢é£</emphasis> ã¯ã¨ã¦ãç¹æ®ãªã±ã¼ã¹ã§ã ãã¾"
+"ãæ¨å¥¨ããã¦ãã¾ããã"
-#: index.docbook:79
+#. Tag: programlisting
+#: association_mapping.xml:79
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"addresses\">\n"
- " <key column=\"personId\" \n"
- " not-null=\"true\"/>\n"
- " <one-to-many class=\"Address\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"addresses\">\n"
+" <key column=\"personId\" \n"
+" not-null=\"true\"/>\n"
+" <one-to-many class=\"Address\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"addresses\">
-\n"
- " <key column=\"personId\"
-\n"
- " not-null=\"true\"/>
-\n"
- " <one-to-many class=\"Address\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:80
+#. Tag: programlisting
+#: association_mapping.xml:80
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table Address ( addressId bigint not null primary key, personId bigint not null )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table Address ( addressId bigint not null primary key, personId "
+"bigint not null )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table Address ( addressId bigint not null primary key, personId bigint not null )
-\n"
- " ]]>"
-#: index.docbook:82
+#. Tag: para
+#: association_mapping.xml:82
+#, no-c-format
msgid "We think it's better to use a join table for this kind of association."
msgstr "ãã®ãããªé¢é£ã®ããã«çµåãã¼ãã«ã使ããã¨ããè¦ããã¾ãã"
-#: index.docbook:91
+#. Tag: title
+#: association_mapping.xml:91
+#, no-c-format
msgid "Unidirectional associations with join tables"
msgstr "çµåãã¼ãã«ã使ã£ãåæ¹åé¢é£"
-#: index.docbook:96
-msgid "A <emphasis>unidirectional one-to-many association on a join table</emphasis> is much preferred. Notice that by specifying <literal>unique=\"true\"</literal>, we have changed the multiplicity from many-to-many to one-to-many."
-msgstr "<emphasis>çµåãã¼ãã«ã使ã£ãåæ¹åä¸å¯¾å¤é¢é£</emphasis> ã¯ãã好ã¾ããã§ãã <literal>unique=\"true\"</literal> ã®æå®ã«ãããå¤é度ãå¤å¯¾å¤ããä¸å¯¾å¤ ã«å¤ãã£ããã¨ã«æ³¨æãã¦ä¸ããã"
+#. Tag: para
+#: association_mapping.xml:96
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional one-to-many association on a join table</"
+"emphasis> is much preferred. Notice that by specifying <literal>unique=\"true"
+"\"</literal>, we have changed the multiplicity from many-to-many to one-to-"
+"many."
+msgstr ""
+"<emphasis>çµåãã¼ãã«ã使ã£ãåæ¹åä¸å¯¾å¤é¢é£</emphasis> ã¯ãã好ã¾ããã§"
+"ãã <literal>unique=\"true\"</literal> ã®æå®ã«ãããå¤é度ãå¤å¯¾å¤ããä¸å¯¾"
+"å¤ ã«å¤ãã£ããã¨ã«æ³¨æãã¦ä¸ããã"
-#: index.docbook:102
+#. Tag: programlisting
+#: association_mapping.xml:102
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"addresses\" table=\"PersonAddress\">\n"
- " <key column=\"personId\"/>\n"
- " <many-to-many column=\"addressId\"\n"
- " unique=\"true\"\n"
- " class=\"Address\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"addresses\" table=\"PersonAddress\">\n"
+" <key column=\"personId\"/>\n"
+" <many-to-many column=\"addressId\"\n"
+" unique=\"true\"\n"
+" class=\"Address\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"addresses\" table=\"PersonAddress\">
-\n"
- " <key column=\"personId\"/>
-\n"
- " <many-to-many column=\"addressId\"
-\n"
- " unique=\"true\"
-\n"
- " class=\"Address\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:103
+#. Tag: programlisting
+#: association_mapping.xml:103
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table PersonAddress ( personId not null, addressId bigint not null primary key )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table PersonAddress ( personId not null, addressId bigint not null "
+"primary key )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table PersonAddress ( personId not null, addressId bigint not null primary key )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:110
-msgid "A <emphasis>unidirectional many-to-one association on a join table</emphasis> is quite common when the association is optional."
-msgstr "<emphasis>çµåãã¼ãã«ã®åæ¹åå¤å¯¾ä¸é¢é£</emphasis> 㯠é¢é£ãä»»æã§ããã¨ãã«é常ã«ä¸è¬çãªãã®ã§ãã"
+#. Tag: para
+#: association_mapping.xml:110
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional many-to-one association on a join table</"
+"emphasis> is quite common when the association is optional."
+msgstr ""
+"<emphasis>çµåãã¼ãã«ã®åæ¹åå¤å¯¾ä¸é¢é£</emphasis> 㯠é¢é£ãä»»æã§ããã¨ãã«"
+"é常ã«ä¸è¬çãªãã®ã§ãã"
-#: index.docbook:115
+#. Tag: programlisting
+#: association_mapping.xml:115
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <join table=\"PersonAddress\" \n"
- " optional=\"true\">\n"
- " <key column=\"personId\" unique=\"true\"/>\n"
- " <many-to-one name=\"address\"\n"
- " column=\"addressId\" \n"
- " not-null=\"true\"/>\n"
- " </join>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <join table=\"PersonAddress\" \n"
+" optional=\"true\">\n"
+" <key column=\"personId\" unique=\"true\"/>\n"
+" <many-to-one name=\"address\"\n"
+" column=\"addressId\" \n"
+" not-null=\"true\"/>\n"
+" </join>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <join table=\"PersonAddress\"
-\n"
- " optional=\"true\">
-\n"
- " <key column=\"personId\" unique=\"true\"/>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"/>
-\n"
- " </join>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:116
+#. Tag: programlisting
+#: association_mapping.xml:116
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table PersonAddress ( personId bigint not null primary key, addressId bigint not null )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table PersonAddress ( personId bigint not null primary key, addressId "
+"bigint not null )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table PersonAddress ( personId bigint not null primary key, addressId bigint not null )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:123
-msgid "A <emphasis>unidirectional one-to-one association on a join table</emphasis> is extremely unusual, but possible."
-msgstr "<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ãæ¬å½ã«ç¹æ®ã§ãã ä¸å¯è½ã§ã¯ããã¾ããã"
+#. Tag: para
+#: association_mapping.xml:123
+#, no-c-format
+msgid ""
+"A <emphasis>unidirectional one-to-one association on a join table</emphasis> "
+"is extremely unusual, but possible."
+msgstr ""
+"<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ãæ¬å½ã«ç¹æ®ã§ãã ä¸å¯"
+"è½ã§ã¯ããã¾ããã"
-#: index.docbook:128
+#. Tag: programlisting
+#: association_mapping.xml:128
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <join table=\"PersonAddress\" \n"
- " optional=\"true\">\n"
- " <key column=\"personId\" \n"
- " unique=\"true\"/>\n"
- " <many-to-one name=\"address\"\n"
- " column=\"addressId\" \n"
- " not-null=\"true\"\n"
- " unique=\"true\"/>\n"
- " </join>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <join table=\"PersonAddress\" \n"
+" optional=\"true\">\n"
+" <key column=\"personId\" \n"
+" unique=\"true\"/>\n"
+" <many-to-one name=\"address\"\n"
+" column=\"addressId\" \n"
+" not-null=\"true\"\n"
+" unique=\"true\"/>\n"
+" </join>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <join table=\"PersonAddress\"
-\n"
- " optional=\"true\">
-\n"
- " <key column=\"personId\"
-\n"
- " unique=\"true\"/>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"
-\n"
- " unique=\"true\"/>
-\n"
- " </join>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:129, index.docbook:233
+#. Tag: programlisting
+#: association_mapping.xml:129 association_mapping.xml:233
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table PersonAddress ( personId bigint not null primary key, addressId bigint not null unique )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table PersonAddress ( personId bigint not null primary key, addressId "
+"bigint not null unique )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table PersonAddress ( personId bigint not null primary key, addressId bigint not null unique )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:134, index.docbook:238
+#. Tag: title
+#: association_mapping.xml:134 association_mapping.xml:238
+#, no-c-format
msgid "many to many"
-msgstr "<title>å¤å¯¾å¤</title>"
+msgstr "å¤å¯¾å¤"
-#: index.docbook:136
-msgid "Finally, we have a <emphasis>unidirectional many-to-many association</emphasis>."
+#. Tag: para
+#: association_mapping.xml:136
+#, no-c-format
+msgid ""
+"Finally, we have a <emphasis>unidirectional many-to-many association</"
+"emphasis>."
msgstr "æå¾ã«ã<emphasis>åæ¹åå¤å¯¾å¤é¢é£</emphasis> ã示ãã¾ãã"
-#: index.docbook:140
+#. Tag: programlisting
+#: association_mapping.xml:140
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"addresses\" table=\"PersonAddress\">\n"
- " <key column=\"personId\"/>\n"
- " <many-to-many column=\"addressId\"\n"
- " class=\"Address\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"addresses\" table=\"PersonAddress\">\n"
+" <key column=\"personId\"/>\n"
+" <many-to-many column=\"addressId\"\n"
+" class=\"Address\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"addresses\" table=\"PersonAddress\">
-\n"
- " <key column=\"personId\"/>
-\n"
- " <many-to-many column=\"addressId\"
-\n"
- " class=\"Address\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "</class>]]>"
-#: index.docbook:141, index.docbook:246
+#. Tag: programlisting
+#: association_mapping.xml:141 association_mapping.xml:246
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table PersonAddress ( personId bigint not null, addressId bigint not null, primary key (personId, addressId) )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table PersonAddress ( personId bigint not null, addressId bigint not "
+"null, primary key (personId, addressId) )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table PersonAddress ( personId bigint not null, addressId bigint not null, primary key (personId, addressId) )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:148
+#. Tag: title
+#: association_mapping.xml:148
+#, no-c-format
msgid "Bidirectional associations"
msgstr "åæ¹åé¢é£"
-#: index.docbook:151, index.docbook:211
+#. Tag: title
+#: association_mapping.xml:151 association_mapping.xml:211
+#, no-c-format
msgid "one to many / many to one"
msgstr "ä¸å¯¾å¤/å¤å¯¾ä¸"
-#: index.docbook:153
-msgid "A <emphasis>bidirectional many-to-one association</emphasis> is the most common kind of association. (This is the standard parent/child relationship.)"
-msgstr "<emphasis>åæ¹åå¤å¯¾ä¸é¢é£</emphasis> ã¯æãä¸è¬çãªé¢é£ã§ãã ï¼æ¨æºçãªè¦ªåé¢ä¿ã§ãï¼"
+#. Tag: para
+#: association_mapping.xml:153
+#, no-c-format
+msgid ""
+"A <emphasis>bidirectional many-to-one association</emphasis> is the most "
+"common kind of association. (This is the standard parent/child relationship.)"
+msgstr ""
+"<emphasis>åæ¹åå¤å¯¾ä¸é¢é£</emphasis> ã¯æãä¸è¬çãªé¢é£ã§ãã ï¼æ¨æºçãªè¦ªå"
+"é¢ä¿ã§ãï¼"
-#: index.docbook:159
+#. Tag: programlisting
+#: association_mapping.xml:159
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <many-to-one name=\"address\" \n"
- " column=\"addressId\"\n"
- " not-null=\"true\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"people\" inverse=\"true\">\n"
- " <key column=\"addressId\"/>\n"
- " <one-to-many class=\"Person\"/>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <many-to-one name=\"address\" \n"
+" column=\"addressId\"\n"
+" not-null=\"true\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"people\" inverse=\"true\">\n"
+" <key column=\"addressId\"/>\n"
+" <one-to-many class=\"Person\"/>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"people\" inverse=\"true\">
-\n"
- " <key column=\"addressId\"/>
-\n"
- " <one-to-many class=\"Person\"/>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:163
-msgid "If you use a <literal>List</literal> (or other indexed collection) you need to set the <literal>key</literal> column of the foreign key to <literal>not null</literal>, and let Hibernate manage the association from the collections side to maintain the index of each element (making the other side virtually inverse by setting <literal>update=\"false\"</literal> and <literal>insert=\"false\"</literal>):"
-msgstr "<literal>List</literal> ï¼ã¾ãã¯ä»ã®ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ï¼ã使ããªãã å¤é¨ãã¼ã® <literal>key</literal> ã«ã©ã ã <literal>not null</literal> ã«è¨å®ãã ã³ã¬ã¯ã·ã§ã³å´ãåè¦ç´ ã®ã¤ã³ããã¯ã¹ãã¡ã³ããã³ã¹ããããã«ã é¢é£ãæ±ãå¿
è¦ãããã¾ã ï¼<literal>update=\"false\"</literal> ã㤠<literal>insert=\"false\"</literal> ã¨è¨å®ãã¦ãå対å´ãä»®æ³çã«inverseã«ãã¾ãï¼ï¼"
+#. Tag: para
+#: association_mapping.xml:163
+#, no-c-format
+msgid ""
+"If you use a <literal>List</literal> (or other indexed collection) you need "
+"to set the <literal>key</literal> column of the foreign key to <literal>not "
+"null</literal>, and let Hibernate manage the association from the "
+"collections side to maintain the index of each element (making the other "
+"side virtually inverse by setting <literal>update=\"false\"</literal> and "
+"<literal>insert=\"false\"</literal>):"
+msgstr ""
+"<literal>List</literal> ï¼ã¾ãã¯ä»ã®ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ï¼ã使ããª"
+"ãã å¤é¨ãã¼ã® <literal>key</literal> ã«ã©ã ã <literal>not null</literal> "
+"ã«è¨å®ãã ã³ã¬ã¯ã·ã§ã³å´ãåè¦ç´ ã®ã¤ã³ããã¯ã¹ãã¡ã³ããã³ã¹ããããã«ã é¢"
+"é£ãæ±ãå¿
è¦ãããã¾ã ï¼<literal>update=\"false\"</literal> ã㤠"
+"<literal>insert=\"false\"</literal> ã¨è¨å®ãã¦ãå対å´ãä»®æ³çã«inverseã«ãã¾"
+"ãï¼ï¼"
-#: index.docbook:171
+#. Tag: programlisting
+#: association_mapping.xml:171
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\"/>\n"
- " ...\n"
- " <many-to-one name=\"address\"\n"
- " column=\"addressId\"\n"
- " not-null=\"true\"\n"
- " insert=\"false\"\n"
- " update=\"false\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\"/>\n"
- " ...\n"
- " <list name=\"people\">\n"
- " <key column=\"addressId\" not-null=\"true\"/>\n"
- " <list-index column=\"peopleIdx\"/>\n"
- " <one-to-many class=\"Person\"/>\n"
- " </list>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\"/>\n"
+" ...\n"
+" <many-to-one name=\"address\"\n"
+" column=\"addressId\"\n"
+" not-null=\"true\"\n"
+" insert=\"false\"\n"
+" update=\"false\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\"/>\n"
+" ...\n"
+" <list name=\"people\">\n"
+" <key column=\"addressId\" not-null=\"true\"/>\n"
+" <list-index column=\"peopleIdx\"/>\n"
+" <one-to-many class=\"Person\"/>\n"
+" </list>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\"/>
-\n"
- " ...
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"
-\n"
- " insert=\"false\"
-\n"
- " update=\"false\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\"/>
-\n"
- " ...
-\n"
- " <list name=\"people\">
-\n"
- " <key column=\"addressId\" not-null=\"true\"/>
-\n"
- " <list-index column=\"peopleIdx\"/>
-\n"
- " <one-to-many class=\"Person\"/>
-\n"
- " </list>
-\n"
- "</class>]]>"
-#: index.docbook:173
-msgid "It is important that you define <literal>not-null=\"true\"</literal> on the <literal><key></literal> element of the collection mapping if the underlying foreign key column is <literal>NOT NULL</literal>. Don't only declare <literal>not-null=\"true\"</literal> on a possible nested <literal><column></literal> element, but on the <literal><key></literal> element."
-msgstr "ããå¤é¨ãã¼ã«ã©ã ã <literal>NOT NULL</literal> ã§ãããªãã°ã ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã® <literal><key></literal> è¦ç´ ã <literal>not-null=\"true\"</literal> ã«ãããã¨ã¯éè¦ã§ãã å
¥ãåã«ãªã£ã <literal><column></literal> è¦ç´ ã ãã§ã¯ãªãã <literal><key></literal> è¦ç´ ã <literal>not-null=\"true\"</literal> ã¨å®ç¾©ããªãããã«ãã¦ãã ããã"
+#. Tag: para
+#: association_mapping.xml:173
+#, no-c-format
+msgid ""
+"It is important that you define <literal>not-null=\"true\"</literal> on the "
+"<literal><key></literal> element of the collection mapping if the "
+"underlying foreign key column is <literal>NOT NULL</literal>. Don't only "
+"declare <literal>not-null=\"true\"</literal> on a possible nested "
+"<literal><column></literal> element, but on the <literal><key></"
+"literal> element."
+msgstr ""
+"ããå¤é¨ãã¼ã«ã©ã ã <literal>NOT NULL</literal> ã§ãããªãã°ã ã³ã¬ã¯ã·ã§ã³"
+"ãããã³ã°ã® <literal><key></literal> è¦ç´ ã <literal>not-null=\"true"
+"\"</literal> ã«ãããã¨ã¯éè¦ã§ãã å
¥ãåã«ãªã£ã <literal><column></"
+"literal> è¦ç´ ã ãã§ã¯ãªãã <literal><key></literal> è¦ç´ ã "
+"<literal>not-null=\"true\"</literal> ã¨å®ç¾©ããªãããã«ãã¦ãã ããã"
-#: index.docbook:187
-msgid "A <emphasis>bidirectional one-to-one association on a foreign key</emphasis> is quite common."
+#. Tag: para
+#: association_mapping.xml:187
+#, no-c-format
+msgid ""
+"A <emphasis>bidirectional one-to-one association on a foreign key</emphasis> "
+"is quite common."
msgstr "<emphasis>å¤é¨ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯é常ã«ä¸è¬çã§ãã"
-#: index.docbook:192
+#. Tag: programlisting
+#: association_mapping.xml:192
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <many-to-one name=\"address\" \n"
- " column=\"addressId\" \n"
- " unique=\"true\"\n"
- " not-null=\"true\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <one-to-one name=\"person\" \n"
- " property-ref=\"address\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <many-to-one name=\"address\" \n"
+" column=\"addressId\" \n"
+" unique=\"true\"\n"
+" not-null=\"true\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <one-to-one name=\"person\" \n"
+" property-ref=\"address\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " unique=\"true\"
-\n"
- " not-null=\"true\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <one-to-one name=\"person\"
-\n"
- " property-ref=\"address\"/>
-\n"
- "</class>]]>"
-#: index.docbook:195
-msgid "A <emphasis>bidirectional one-to-one association on a primary key</emphasis> uses the special id generator."
-msgstr "<emphasis>主ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ç¹æ®ãªIDã¸ã§ãã¬ã¼ã¿ã使ãã¾ãã"
+#. Tag: para
+#: association_mapping.xml:195
+#, no-c-format
+msgid ""
+"A <emphasis>bidirectional one-to-one association on a primary key</emphasis> "
+"uses the special id generator."
+msgstr ""
+"<emphasis>主ãã¼ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯ç¹æ®ãªIDã¸ã§ãã¬ã¼ã¿ã使ãã¾"
+"ãã"
-#: index.docbook:200
+#. Tag: programlisting
+#: association_mapping.xml:200
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <one-to-one name=\"address\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"foreign\">\n"
- " <param name=\"property\">person</param>\n"
- " </generator>\n"
- " </id>\n"
- " <one-to-one name=\"person\" \n"
- " constrained=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <one-to-one name=\"address\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"foreign\">\n"
+" <param name=\"property\">person</param>\n"
+" </generator>\n"
+" </id>\n"
+" <one-to-one name=\"person\" \n"
+" constrained=\"true\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <one-to-one name=\"address\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"foreign\">
-\n"
- " <param name=\"property\">person</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " <one-to-one name=\"person\"
-\n"
- " constrained=\"true\"/>
-\n"
- "</class>]]>"
-#: index.docbook:208
+#. Tag: title
+#: association_mapping.xml:208
+#, no-c-format
msgid "Bidirectional associations with join tables"
msgstr "çµåãã¼ãã«ã使ã£ãåæ¹åé¢é£"
-#: index.docbook:213
-msgid "A <emphasis>bidirectional one-to-many association on a join table</emphasis>. Note that the <literal>inverse=\"true\"</literal> can go on either end of the association, on the collection, or on the join."
-msgstr "<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾å¤é¢é£</emphasis> ã§ãã <literal>inverse=\"true\"</literal> ãé¢é£ç«¯ãã³ã¬ã¯ã·ã§ã³ãçµåã®ããããã« è¨å®ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: association_mapping.xml:213
+#, no-c-format
+msgid ""
+"A <emphasis>bidirectional one-to-many association on a join table</"
+"emphasis>. Note that the <literal>inverse=\"true\"</literal> can go on "
+"either end of the association, on the collection, or on the join."
+msgstr ""
+"<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾å¤é¢é£</emphasis> ã§ãã <literal>inverse="
+"\"true\"</literal> ãé¢é£ç«¯ãã³ã¬ã¯ã·ã§ã³ãçµåã®ããããã« è¨å®ã§ãããã¨ã«"
+"注æãã¦ãã ããã"
-#: index.docbook:219
+#. Tag: programlisting
+#: association_mapping.xml:219
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"addresses\" \n"
- " table=\"PersonAddress\">\n"
- " <key column=\"personId\"/>\n"
- " <many-to-many column=\"addressId\"\n"
- " unique=\"true\"\n"
- " class=\"Address\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <join table=\"PersonAddress\" \n"
- " inverse=\"true\" \n"
- " optional=\"true\">\n"
- " <key column=\"addressId\"/>\n"
- " <many-to-one name=\"person\"\n"
- " column=\"personId\"\n"
- " not-null=\"true\"/>\n"
- " </join>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"addresses\" \n"
+" table=\"PersonAddress\">\n"
+" <key column=\"personId\"/>\n"
+" <many-to-many column=\"addressId\"\n"
+" unique=\"true\"\n"
+" class=\"Address\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <join table=\"PersonAddress\" \n"
+" inverse=\"true\" \n"
+" optional=\"true\">\n"
+" <key column=\"addressId\"/>\n"
+" <many-to-one name=\"person\"\n"
+" column=\"personId\"\n"
+" not-null=\"true\"/>\n"
+" </join>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"addresses\"
-\n"
- " table=\"PersonAddress\">
-\n"
- " <key column=\"personId\"/>
-\n"
- " <many-to-many column=\"addressId\"
-\n"
- " unique=\"true\"
-\n"
- " class=\"Address\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <join table=\"PersonAddress\"
-\n"
- " inverse=\"true\"
-\n"
- " optional=\"true\">
-\n"
- " <key column=\"addressId\"/>
-\n"
- " <many-to-one name=\"person\"
-\n"
- " column=\"personId\"
-\n"
- " not-null=\"true\"/>
-\n"
- " </join>
-\n"
- "</class>]]>"
-#: index.docbook:220
+#. Tag: programlisting
+#: association_mapping.xml:220
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "create table Person ( personId bigint not null primary key )\n"
- "create table PersonAddress ( personId bigint not null, addressId bigint not null primary key )\n"
- "create table Address ( addressId bigint not null primary key )\n"
- " ]]>"
+"<![CDATA[\n"
+"create table Person ( personId bigint not null primary key )\n"
+"create table PersonAddress ( personId bigint not null, addressId bigint not "
+"null primary key )\n"
+"create table Address ( addressId bigint not null primary key )\n"
+" ]]>"
msgstr ""
- "<![CDATA[
-\n"
- "create table Person ( personId bigint not null primary key )
-\n"
- "create table PersonAddress ( personId bigint not null, addressId bigint not null primary key )
-\n"
- "create table Address ( addressId bigint not null primary key )
-\n"
- " ]]>"
-#: index.docbook:227
-msgid "A <emphasis>bidirectional one-to-one association on a join table</emphasis> is extremely unusual, but possible."
-msgstr "<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯é常ã«ç¹æ®ã§ãããå¯è½ã§ãã"
+#. Tag: para
+#: association_mapping.xml:227
+#, no-c-format
+msgid ""
+"A <emphasis>bidirectional one-to-one association on a join table</emphasis> "
+"is extremely unusual, but possible."
+msgstr ""
+"<emphasis>çµåãã¼ãã«ã®åæ¹åä¸å¯¾ä¸é¢é£</emphasis> ã¯é常ã«ç¹æ®ã§ãããå¯è½"
+"ã§ãã"
-#: index.docbook:232
+#. Tag: programlisting
+#: association_mapping.xml:232
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <join table=\"PersonAddress\" \n"
- " optional=\"true\">\n"
- " <key column=\"personId\" \n"
- " unique=\"true\"/>\n"
- " <many-to-one name=\"address\"\n"
- " column=\"addressId\" \n"
- " not-null=\"true\"\n"
- " unique=\"true\"/>\n"
- " </join>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <join table=\"PersonAddress\" \n"
- " optional=\"true\"\n"
- " inverse=\"true\">\n"
- " <key column=\"addressId\" \n"
- " unique=\"true\"/>\n"
- " <many-to-one name=\"person\"\n"
- " column=\"personId\" \n"
- " not-null=\"true\"\n"
- " unique=\"true\"/>\n"
- " </join>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <join table=\"PersonAddress\" \n"
+" optional=\"true\">\n"
+" <key column=\"personId\" \n"
+" unique=\"true\"/>\n"
+" <many-to-one name=\"address\"\n"
+" column=\"addressId\" \n"
+" not-null=\"true\"\n"
+" unique=\"true\"/>\n"
+" </join>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <join table=\"PersonAddress\" \n"
+" optional=\"true\"\n"
+" inverse=\"true\">\n"
+" <key column=\"addressId\" \n"
+" unique=\"true\"/>\n"
+" <many-to-one name=\"person\"\n"
+" column=\"personId\" \n"
+" not-null=\"true\"\n"
+" unique=\"true\"/>\n"
+" </join>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <join table=\"PersonAddress\"
-\n"
- " optional=\"true\">
-\n"
- " <key column=\"personId\"
-\n"
- " unique=\"true\"/>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"addressId\"
-\n"
- " not-null=\"true\"
-\n"
- " unique=\"true\"/>
-\n"
- " </join>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <join table=\"PersonAddress\"
-\n"
- " optional=\"true\"
-\n"
- " inverse=\"true\">
-\n"
- " <key column=\"addressId\"
-\n"
- " unique=\"true\"/>
-\n"
- " <many-to-one name=\"address\"
-\n"
- " column=\"personId\"
-\n"
- " not-null=\"true\"
-\n"
- " unique=\"true\"/>
-\n"
- " </join>
-\n"
- "</class>]]>"
-#: index.docbook:240
-msgid "Finally, we have a <emphasis>bidirectional many-to-many association</emphasis>."
+#. Tag: para
+#: association_mapping.xml:240
+#, no-c-format
+msgid ""
+"Finally, we have a <emphasis>bidirectional many-to-many association</"
+"emphasis>."
msgstr "æå¾ã«ã<emphasis>åæ¹åå¤å¯¾å¤é¢é£</emphasis> ã示ãã¾ãã"
-#: index.docbook:244
+#. Tag: programlisting
+#: association_mapping.xml:244
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\" column=\"personId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"addresses\" table=\"PersonAddress\">\n"
- " <key column=\"personId\"/>\n"
- " <many-to-many column=\"addressId\"\n"
- " class=\"Address\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- " <id name=\"id\" column=\"addressId\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <set name=\"people\" inverse=\"true\" table=\"PersonAddress\">\n"
- " <key column=\"addressId\"/>\n"
- " <many-to-many column=\"personId\"\n"
- " class=\"Person\"/>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\" column=\"personId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"addresses\" table=\"PersonAddress\">\n"
+" <key column=\"personId\"/>\n"
+" <many-to-many column=\"addressId\"\n"
+" class=\"Address\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+" <id name=\"id\" column=\"addressId\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <set name=\"people\" inverse=\"true\" table=\"PersonAddress\">\n"
+" <key column=\"addressId\"/>\n"
+" <many-to-many column=\"personId\"\n"
+" class=\"Person\"/>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"id\" column=\"personId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"addresses\" table=\"PersonAddress\">
-\n"
- " <key column=\"personId\"/>
-\n"
- " <many-to-many column=\"addressId\"
-\n"
- " class=\"Address\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- " <id name=\"id\" column=\"addressId\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <set name=\"people\" inverse=\"true\" table=\"PersonAddress\">
-\n"
- " <key column=\"addressId\"/>
-\n"
- " <many-to-many column=\"personId\"
-\n"
- " class=\"Person\"/>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:253
+#. Tag: title
+#: association_mapping.xml:253
+#, no-c-format
msgid "More complex association mappings"
msgstr "ããè¤éãªé¢é£ãããã³ã°"
-#: index.docbook:255
-msgid "More complex association joins are <emphasis>extremely</emphasis> rare. Hibernate makes it possible to handle more complex situations using SQL fragments embedded in the mapping document. For example, if a table with historical account information data defines <literal>accountNumber</literal>, <literal>effectiveEndDate</literal> and <literal>effectiveStartDate</literal>columns, mapped as follows:"
-msgstr "ããè¤éãªé¢é£çµå㯠<emphasis>極ãã¦</emphasis> ç¨ã§ãã ãããã³ã°ããã¥ã¡ã³ãã«SQLæãåãè¾¼ããã¨ã§ã ããã«è¤éãªç¶æ³ãæ±ããã¨ãã§ãã¾ãã ä¾ãã°ã<literal>accountNumber</literal>, <literal>effectiveEndDate</literal>, <literal>effectiveStartDate</literal> ã«ã©ã ãæã¤accountï¼å£åº§ï¼æ
å ±ã®å±¥æ´ãæ±ããã¼ãã«ã¯ã 以ä¸ã®ããã«ãããã³ã°ãã¾ãã"
+#. Tag: para
+#: association_mapping.xml:255
+#, no-c-format
+msgid ""
+"More complex association joins are <emphasis>extremely</emphasis> rare. "
+"Hibernate makes it possible to handle more complex situations using SQL "
+"fragments embedded in the mapping document. For example, if a table with "
+"historical account information data defines <literal>accountNumber</"
+"literal>, <literal>effectiveEndDate</literal> and "
+"<literal>effectiveStartDate</literal>columns, mapped as follows:"
+msgstr ""
+"ããè¤éãªé¢é£çµå㯠<emphasis>極ãã¦</emphasis> ç¨ã§ãã ãããã³ã°ããã¥ã¡"
+"ã³ãã«SQLæãåãè¾¼ããã¨ã§ã ããã«è¤éãªç¶æ³ãæ±ããã¨ãã§ãã¾ãã ä¾ãã°ã"
+"<literal>accountNumber</literal>, <literal>effectiveEndDate</literal>, "
+"<literal>effectiveStartDate</literal> ã«ã©ã ãæã¤accountï¼å£åº§ï¼æ
å ±ã®å±¥æ´ã"
+"æ±ããã¼ãã«ã¯ã 以ä¸ã®ããã«ãããã³ã°ãã¾ãã"
-#: index.docbook:264
+#. Tag: programlisting
+#: association_mapping.xml:264
+#, no-c-format
msgid ""
- "<![CDATA[<properties name=\"currentAccountKey\">\n"
- " <property name=\"accountNumber\" type=\"string\" not-null=\"true\"/>\n"
- " <property name=\"currentAccount\" type=\"boolean\">\n"
- " <formula>case when effectiveEndDate is null then 1 else 0 end</formula>\n"
- " </property>\n"
- "</properties>\n"
- "<property name=\"effectiveEndDate\" type=\"date\"/>\n"
- "<property name=\"effectiveStateDate\" type=\"date\" not-null=\"true\"/>]]>"
+"<![CDATA[<properties name=\"currentAccountKey\">\n"
+" <property name=\"accountNumber\" type=\"string\" not-null=\"true\"/>\n"
+" <property name=\"currentAccount\" type=\"boolean\">\n"
+" <formula>case when effectiveEndDate is null then 1 else 0 end</"
+"formula>\n"
+" </property>\n"
+"</properties>\n"
+"<property name=\"effectiveEndDate\" type=\"date\"/>\n"
+"<property name=\"effectiveStateDate\" type=\"date\" not-null=\"true\"/>]]>"
msgstr ""
- "<![CDATA[<properties name=\"currentAccountKey\">
-\n"
- " <property name=\"accountNumber\" type=\"string\" not-null=\"true\"/>
-\n"
- " <property name=\"currentAccount\" type=\"boolean\">
-\n"
- " <formula>case when effectiveEndDate is null then 1 else 0 end</formula>
-\n"
- " </property>
-\n"
- "</properties>
-\n"
- "<property name=\"effectiveEndDate\" type=\"date\"/>
-\n"
- "<property name=\"effectiveStateDate\" type=\"date\" not-null=\"true\"/>]]>"
-#: index.docbook:266
-msgid "Then we can map an association to the <emphasis>current</emphasis> instance (the one with null <literal>effectiveEndDate</literal>) using:"
-msgstr "ããã¦ãé¢é£ã <emphasis>ç¾æç¹ã®</emphasis> ã¤ã³ã¹ã¿ã³ã¹ ï¼<literal>effectiveEndDate</literal> ãnullã§ãããã®ï¼ã«ãããã³ã°ãã¾ãã 以ä¸ã®ããã«ãªãã¾ãï¼"
+#. Tag: para
+#: association_mapping.xml:266
+#, no-c-format
+msgid ""
+"Then we can map an association to the <emphasis>current</emphasis> instance "
+"(the one with null <literal>effectiveEndDate</literal>) using:"
+msgstr ""
+"ããã¦ãé¢é£ã <emphasis>ç¾æç¹ã®</emphasis> ã¤ã³ã¹ã¿ã³ã¹ "
+"ï¼<literal>effectiveEndDate</literal> ãnullã§ãããã®ï¼ã«ãããã³ã°ãã¾ãã "
+"以ä¸ã®ããã«ãªãã¾ãï¼"
-#: index.docbook:271
+#. Tag: programlisting
+#: association_mapping.xml:271
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one name=\"currentAccountInfo\" \n"
- " property-ref=\"currentAccountKey\"\n"
- " class=\"AccountInfo\">\n"
- " <column name=\"accountNumber\"/>\n"
- " <formula>'1'</formula>\n"
- "</many-to-one>]]>"
+"<![CDATA[<many-to-one name=\"currentAccountInfo\" \n"
+" property-ref=\"currentAccountKey\"\n"
+" class=\"AccountInfo\">\n"
+" <column name=\"accountNumber\"/>\n"
+" <formula>'1'</formula>\n"
+"</many-to-one>]]>"
msgstr ""
- "<![CDATA[<many-to-one name=\"currentAccountInfo\"
-\n"
- " property-ref=\"currentAccountKey\"
-\n"
- " class=\"AccountInfo\">
-\n"
- " <column name=\"accountNumber\"/>
-\n"
- " <formula>'1'</formula>
-\n"
- "</many-to-one>]]>"
-#: index.docbook:273
-msgid "In a more complex example, imagine that the association between <literal>Employee</literal> and <literal>Organization</literal> is maintained in an <literal>Employment</literal> table full of historical employment data. Then an association to the employee's <emphasis>most recent</emphasis> employer (the one with the most recent <literal>startDate</literal>) might be mapped this way:"
-msgstr "ããã«è¤éãªä¾ã§ã¯ã<literal>Employeeï¼å¾æ¥å¡ï¼</literal> 㨠<literal>Organizationï¼çµç¹ï¼</literal> éã®é¢é£ã <literal>Employmentï¼éç¨ï¼</literal> ãã¼ãã«ã§ä¿æãããå ´åãæ³åãã¦ãã ããã ãã®ãã¼ãã«ã«ã¯éç¨ãã¼ã¿ã®å±¥æ´ããã¹ã¦å«ã¾ãã¾ãã ããã¨å¾æ¥å¡ã® <emphasis>æãæè¿ã®</emphasis> éç¨è
ã表ãé¢é£ ï¼æãæè¿ã® <literal>startDate</literal> ãæã¤ãã®ï¼ã¯ããã®ããã«ãããã³ã°ã§ãã¾ãï¼"
+#. Tag: para
+#: association_mapping.xml:273
+#, no-c-format
+msgid ""
+"In a more complex example, imagine that the association between "
+"<literal>Employee</literal> and <literal>Organization</literal> is "
+"maintained in an <literal>Employment</literal> table full of historical "
+"employment data. Then an association to the employee's <emphasis>most "
+"recent</emphasis> employer (the one with the most recent <literal>startDate</"
+"literal>) might be mapped this way:"
+msgstr ""
+"ããã«è¤éãªä¾ã§ã¯ã<literal>Employeeï¼å¾æ¥å¡ï¼</literal> 㨠"
+"<literal>Organizationï¼çµç¹ï¼</literal> éã®é¢é£ã <literal>Employmentï¼é"
+"ç¨ï¼</literal> ãã¼ãã«ã§ä¿æãããå ´åãæ³åãã¦ãã ããã ãã®ãã¼ãã«ã«ã¯"
+"éç¨ãã¼ã¿ã®å±¥æ´ããã¹ã¦å«ã¾ãã¾ãã ããã¨å¾æ¥å¡ã® <emphasis>æãæè¿ã®</"
+"emphasis> éç¨è
ã表ãé¢é£ ï¼æãæè¿ã® <literal>startDate</literal> ãæã¤ã"
+"ã®ï¼ã¯ããã®ããã«ãããã³ã°ã§ãã¾ãï¼"
-#: index.docbook:281
+#. Tag: programlisting
+#: association_mapping.xml:281
+#, no-c-format
msgid ""
- "<![CDATA[<join>\n"
- " <key column=\"employeeId\"/>\n"
- " <subselect>\n"
- " select employeeId, orgId \n"
- " from Employments \n"
- " group by orgId \n"
- " having startDate = max(startDate)\n"
- " </subselect>\n"
- " <many-to-one name=\"mostRecentEmployer\" \n"
- " class=\"Organization\" \n"
- " column=\"orgId\"/>\n"
- "</join>]]>"
+"<![CDATA[<join>\n"
+" <key column=\"employeeId\"/>\n"
+" <subselect>\n"
+" select employeeId, orgId \n"
+" from Employments \n"
+" group by orgId \n"
+" having startDate = max(startDate)\n"
+" </subselect>\n"
+" <many-to-one name=\"mostRecentEmployer\" \n"
+" class=\"Organization\" \n"
+" column=\"orgId\"/>\n"
+"</join>]]>"
msgstr ""
- "<![CDATA[<join>
-\n"
- " <key column=\"employeeId\"/>
-\n"
- " <subselect>
-\n"
- " select employeeId, orgId
-\n"
- " from Employments
-\n"
- " group by orgId
-\n"
- " having startDate = max(startDate)
-\n"
- " </subselect>
-\n"
- " <many-to-one name=\"mostRecentEmployer\"
-\n"
- " class=\"Organization\"
-\n"
- " column=\"orgId\"/>
-\n"
- "</join>]]>"
-#: index.docbook:283
-msgid "You can get quite creative with this functionality, but it is usually more practical to handle these kinds of cases using HQL or a criteria query."
-msgstr "ãã®æ©è½ã¯é常ã«å¼·åã§ãã ããããã®ãããªå ´åãæ®éã¯HQLãcriteriaã¯ã¨ãªãä½¿ãæ¹ãããå®è·µçã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: association_mapping.xml:283
+#, no-c-format
+msgid ""
+"You can get quite creative with this functionality, but it is usually more "
+"practical to handle these kinds of cases using HQL or a criteria query."
+msgstr ""
+"ãã®æ©è½ã¯é常ã«å¼·åã§ãã ããããã®ãããªå ´åãæ®éã¯HQLãcriteriaã¯ã¨ãªã"
+"ä½¿ãæ¹ãããå®è·µçã§ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/basic_mapping.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/basic_mapping.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/basic_mapping.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,3698 +1,5651 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: basic_mapping.xml:5
+#, no-c-format
msgid "Basic O/R Mapping"
msgstr "åºæ¬çãªO/Rãããã³ã°"
-#: index.docbook:8
+#. Tag: title
+#: basic_mapping.xml:8
+#, no-c-format
msgid "Mapping declaration"
msgstr "ãããã³ã°å®ç¾©"
-#: index.docbook:10
-msgid "Object/relational mappings are usually defined in an XML document. The mapping document is designed to be readable and hand-editable. The mapping language is Java-centric, meaning that mappings are constructed around persistent class declarations, not table declarations."
-msgstr "ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã¯é常XMLããã¥ã¡ã³ãã§å®ç¾©ãã¾ãã ãããã³ã°ããã¥ã¡ã³ãã¯ãèªã¿ãããæä½æ¥ã§ç·¨éããããããã«ãã¶ã¤ã³ããã¦ãã¾ãã ãããã³ã°è¨èªã¯Javaä¸å¿ãã¤ã¾ããã¼ãã«å®ç¾©ã§ã¯ãªãæ°¸ç¶ã¯ã©ã¹ã®å®ç¾©ã«åºã¥ãã¦æ§ç¯ããã¦ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:10
+#, no-c-format
+msgid ""
+"Object/relational mappings are usually defined in an XML document. The "
+"mapping document is designed to be readable and hand-editable. The mapping "
+"language is Java-centric, meaning that mappings are constructed around "
+"persistent class declarations, not table declarations."
+msgstr ""
+"ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã¯é常XMLããã¥ã¡ã³ãã§å®ç¾©ãã¾ãã ãã"
+"ãã³ã°ããã¥ã¡ã³ãã¯ãèªã¿ãããæä½æ¥ã§ç·¨éããããããã«ãã¶ã¤ã³ããã¦ãã¾"
+"ãã ãããã³ã°è¨èªã¯Javaä¸å¿ãã¤ã¾ããã¼ãã«å®ç¾©ã§ã¯ãªãæ°¸ç¶ã¯ã©ã¹ã®å®ç¾©ã«åº"
+"ã¥ãã¦æ§ç¯ããã¦ãã¾ãã"
-#: index.docbook:17
-msgid "Note that, even though many Hibernate users choose to write the XML by hand, a number of tools exist to generate the mapping document, including XDoclet, Middlegen and AndroMDA."
-msgstr "å¤ãã®Hibernateã¦ã¼ã¶ã¯XMLãããã³ã°ã®è¨è¿°ãæä½æ¥ã§è¡ãã¾ããã XDoclet, Middlegen, AndroMDAã¨ãããããªãããã³ã°ããã¥ã¡ã³ããçæãããã¼ã«ã ããã¤ãåå¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:17
+#, no-c-format
+msgid ""
+"Note that, even though many Hibernate users choose to write the XML by hand, "
+"a number of tools exist to generate the mapping document, including XDoclet, "
+"Middlegen and AndroMDA."
+msgstr ""
+"å¤ãã®Hibernateã¦ã¼ã¶ã¯XMLãããã³ã°ã®è¨è¿°ãæä½æ¥ã§è¡ãã¾ããã XDoclet, "
+"Middlegen, AndroMDAã¨ãããããªãããã³ã°ããã¥ã¡ã³ããçæãããã¼ã«ã ãã"
+"ã¤ãåå¨ãã¾ãã"
-#: index.docbook:23
+#. Tag: para
+#: basic_mapping.xml:23
+#, no-c-format
msgid "Lets kick off with an example mapping:"
msgstr "ãµã³ãã«ã®ãããã³ã°ããå§ãã¾ãããï¼"
-#: index.docbook:27
+#. Tag: programlisting
+#: basic_mapping.xml:27
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
- "\n"
- "<hibernate-mapping package=\"eg\">\n"
- "\n"
- " <class name=\"Cat\"\n"
- " table=\"cats\"\n"
- " discriminator-value=\"C\">\n"
- "\n"
- " <id name=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- "\n"
- " <discriminator column=\"subclass\"\n"
- " type=\"character\"/>\n"
- "\n"
- " <property name=\"weight\"/>\n"
- "\n"
- " <property name=\"birthdate\"\n"
- " type=\"date\"\n"
- " not-null=\"true\"\n"
- " update=\"false\"/>\n"
- "\n"
- " <property name=\"color\"\n"
- " type=\"eg.types.ColorUserType\"\n"
- " not-null=\"true\"\n"
- " update=\"false\"/>\n"
- "\n"
- " <property name=\"sex\"\n"
- " not-null=\"true\"\n"
- " update=\"false\"/>\n"
- "\n"
- " <property name=\"litterId\"\n"
- " column=\"litterId\"\n"
- " update=\"false\"/>\n"
- "\n"
- " <many-to-one name=\"mother\"\n"
- " column=\"mother_id\"\n"
- " update=\"false\"/>\n"
- "\n"
- " <set name=\"kittens\"\n"
- " inverse=\"true\"\n"
- " order-by=\"litter_id\">\n"
- " <key column=\"mother_id\"/>\n"
- " <one-to-many class=\"Cat\"/>\n"
- " </set>\n"
- "\n"
- " <subclass name=\"DomesticCat\"\n"
- " discriminator-value=\"D\">\n"
- "\n"
- " <property name=\"name\"\n"
- " type=\"string\"/>\n"
- "\n"
- " </subclass>\n"
- "\n"
- " </class>\n"
- "\n"
- " <class name=\"Dog\">\n"
- " <!-- mapping for Dog could go here -->\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+"\n"
+"<hibernate-mapping package=\"eg\">\n"
+"\n"
+" <class name=\"Cat\"\n"
+" table=\"cats\"\n"
+" discriminator-value=\"C\">\n"
+"\n"
+" <id name=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+"\n"
+" <discriminator column=\"subclass\"\n"
+" type=\"character\"/>\n"
+"\n"
+" <property name=\"weight\"/>\n"
+"\n"
+" <property name=\"birthdate\"\n"
+" type=\"date\"\n"
+" not-null=\"true\"\n"
+" update=\"false\"/>\n"
+"\n"
+" <property name=\"color\"\n"
+" type=\"eg.types.ColorUserType\"\n"
+" not-null=\"true\"\n"
+" update=\"false\"/>\n"
+"\n"
+" <property name=\"sex\"\n"
+" not-null=\"true\"\n"
+" update=\"false\"/>\n"
+"\n"
+" <property name=\"litterId\"\n"
+" column=\"litterId\"\n"
+" update=\"false\"/>\n"
+"\n"
+" <many-to-one name=\"mother\"\n"
+" column=\"mother_id\"\n"
+" update=\"false\"/>\n"
+"\n"
+" <set name=\"kittens\"\n"
+" inverse=\"true\"\n"
+" order-by=\"litter_id\">\n"
+" <key column=\"mother_id\"/>\n"
+" <one-to-many class=\"Cat\"/>\n"
+" </set>\n"
+"\n"
+" <subclass name=\"DomesticCat\"\n"
+" discriminator-value=\"D\">\n"
+"\n"
+" <property name=\"name\"\n"
+" type=\"string\"/>\n"
+"\n"
+" </subclass>\n"
+"\n"
+" </class>\n"
+"\n"
+" <class name=\"Dog\">\n"
+" <!-- mapping for Dog could go here -->\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\"?>
-\n"
- "<!DOCTYPE hibernate-mapping PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">
-\n"
- "
-\n"
- "<hibernate-mapping package=\"eg\">
-\n"
- "
-\n"
- " <class name=\"Cat\"
-\n"
- " table=\"cats\"
-\n"
- " discriminator-value=\"C\">
-\n"
- "
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <discriminator column=\"subclass\"
-\n"
- " type=\"character\"/>
-\n"
- "
-\n"
- " <property name=\"weight\"/>
-\n"
- "
-\n"
- " <property name=\"birthdate\"
-\n"
- " type=\"date\"
-\n"
- " not-null=\"true\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <property name=\"color\"
-\n"
- " type=\"eg.types.ColorUserType\"
-\n"
- " not-null=\"true\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <property name=\"sex\"
-\n"
- " not-null=\"true\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <property name=\"litterId\"
-\n"
- " column=\"litterId\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"mother\"
-\n"
- " column=\"mother_id\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <set name=\"kittens\"
-\n"
- " inverse=\"true\"
-\n"
- " order-by=\"litter_id\">
-\n"
- " <key column=\"mother_id\"/>
-\n"
- " <one-to-many class=\"Cat\"/>
-\n"
- " </set>
-\n"
- "
-\n"
- " <subclass name=\"DomesticCat\"
-\n"
- " discriminator-value=\"D\">
-\n"
- "
-\n"
- " <property name=\"name\"
-\n"
- " type=\"string\"/>
-\n"
- "
-\n"
- " </subclass>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Dog\">
-\n"
- " <!-- ããã«Dogç¨ã®ãããã³ã°æ¸ãã¾ã -->
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:29
-msgid "We will now discuss the content of the mapping document. We will only describe the document elements and attributes that are used by Hibernate at runtime. The mapping document also contains some extra optional attributes and elements that affect the database schemas exported by the schema export tool. (For example the <literal> not-null</literal> attribute.)"
-msgstr "ãããã³ã°ããã¥ã¡ã³ãã®å
容ã説æãã¾ããã ãã ããããã§ã¯Hibernateãå®è¡æã«ä½¿ãããã¥ã¡ã³ãè¦ç´ ã¨å±æ§ã«ã¤ãã¦ã®ã¿èª¬æãã¾ãã ãããã³ã°ããã¥ã¡ã³ãã¯ãããã¤ãã®ãªãã·ã§ã³å±æ§ã¨è¦ç´ ãå«ãã§ãã¾ãï¼ä¾ãã° <literal>not-null</literal> 屿§ï¼ã ãããã¯ã¹ãã¼ãã¨ã¯ã¹ãã¼ããã¼ã«ãåºåãããã¼ã¿ãã¼ã¹ã¹ãã¼ãã«å½±é¿ãä¸ãããã®ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:29
+#, no-c-format
+msgid ""
+"We will now discuss the content of the mapping document. We will only "
+"describe the document elements and attributes that are used by Hibernate at "
+"runtime. The mapping document also contains some extra optional attributes "
+"and elements that affect the database schemas exported by the schema export "
+"tool. (For example the <literal> not-null</literal> attribute.)"
+msgstr ""
+"ãããã³ã°ããã¥ã¡ã³ãã®å
容ã説æãã¾ããã ãã ããããã§ã¯Hibernateãå®è¡"
+"æã«ä½¿ãããã¥ã¡ã³ãè¦ç´ ã¨å±æ§ã«ã¤ãã¦ã®ã¿èª¬æãã¾ãã ãããã³ã°ããã¥ã¡ã³ã"
+"ã¯ãããã¤ãã®ãªãã·ã§ã³å±æ§ã¨è¦ç´ ãå«ãã§ãã¾ãï¼ä¾ãã° <literal>not-null</"
+"literal> 屿§ï¼ã ãããã¯ã¹ãã¼ãã¨ã¯ã¹ãã¼ããã¼ã«ãåºåãããã¼ã¿ãã¼ã¹ã¹"
+"ãã¼ãã«å½±é¿ãä¸ãããã®ã§ãã"
-#: index.docbook:40
+#. Tag: title
+#: basic_mapping.xml:40
+#, no-c-format
msgid "Doctype"
msgstr "Doctype"
-#: index.docbook:42
-msgid "All XML mappings should declare the doctype shown. The actual DTD may be found at the URL above, in the directory <literal>hibernate-x.x.x/src/org/hibernate </literal> or in <literal>hibernate3.jar</literal>. Hibernate will always look for the DTD in its classpath first. If you experience lookups of the DTD using an Internet connection, check your DTD declaration against the contents of your claspath."
-msgstr "XMLãããã³ã°ã§ã¯ããè¦ããããããªããã¥ã¡ã³ãåãå¿
ãå®ç¾©ãã¹ãã§ãã å®éã®DTDã¯ãä¸è¨ã®URLã® <literal>hibernate-x.x.x/src/org/hibernate</literal> ãã£ã¬ã¯ããªã ã¾ã㯠<literal>hibernate.jar</literal> å
ã«ããã¾ãã Hibernateã¯å¸¸ã«ããã®ã¯ã©ã¹ãã¹å
ã§DTDãæ¢ãå§ãã¾ãã ã¤ã³ã¿ã¼ãããã«ããDTDãã¡ã¤ã«ãæ¢ããã¨ãããªãã ã¯ã©ã¹ãã¹ã®å
容ãè¦ã¦ãDTD宣è¨ã確èªãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:42
+#, no-c-format
+msgid ""
+"All XML mappings should declare the doctype shown. The actual DTD may be "
+"found at the URL above, in the directory <literal>hibernate-x.x.x/src/org/"
+"hibernate </literal> or in <literal>hibernate3.jar</literal>. Hibernate will "
+"always look for the DTD in its classpath first. If you experience lookups of "
+"the DTD using an Internet connection, check your DTD declaration against the "
+"contents of your claspath."
+msgstr ""
+"XMLãããã³ã°ã§ã¯ããè¦ããããããªããã¥ã¡ã³ãåãå¿
ãå®ç¾©ãã¹ãã§ãã å®é"
+"ã®DTDã¯ãä¸è¨ã®URLã® <literal>hibernate-x.x.x/src/org/hibernate</literal> "
+"ãã£ã¬ã¯ããªã ã¾ã㯠<literal>hibernate.jar</literal> å
ã«ããã¾ãã "
+"Hibernateã¯å¸¸ã«ããã®ã¯ã©ã¹ãã¹å
ã§DTDãæ¢ãå§ãã¾ãã ã¤ã³ã¿ã¼ãããã«ãã"
+"DTDãã¡ã¤ã«ãæ¢ããã¨ãããªãã ã¯ã©ã¹ãã¹ã®å
容ãè¦ã¦ãDTD宣è¨ã確èªãã¦ãã "
+"ããã"
-#: index.docbook:52
+#. Tag: title
+#: basic_mapping.xml:52
+#, no-c-format
msgid "EntityResolver"
msgstr "ã¨ã³ãã£ãã£ã»ãªã¾ã«ã"
-#: index.docbook:53
-msgid "As mentioned previously, Hibernate will first attempt to resolve DTDs in its classpath. The manner in which it does this is by registering a custom <literal>org.xml.sax.EntityResolver</literal> implementation with the SAXReader it uses to read in the xml files. This custom <literal>EntityResolver</literal> recognizes two different systemId namespaces."
-msgstr "åè¿°ããããã«ãHibernateã¯ã¾ãã¯ã©ã¹ãã¹å
ã§DTDã解決ãããã¨ãã¾ãã <literal>org.xml.sax.EntityResolver</literal> ã®ã«ã¹ã¿ã å®è£
ã XMLãã¡ã¤ã«ãèªã¿è¾¼ãããã®SAXReaderã«ç»é²ãããã¨ã«ãã£ã¦ãDTDã解決ãã¾ãã ãã®ã«ã¹ã¿ã ã® <literal>EntityResolver</literal> ã¯2ã¤ã®ç°ãªãã·ã¹ãã IDåå空éãèªèãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:53
+#, no-c-format
+msgid ""
+"As mentioned previously, Hibernate will first attempt to resolve DTDs in its "
+"classpath. The manner in which it does this is by registering a custom "
+"<literal>org.xml.sax.EntityResolver</literal> implementation with the "
+"SAXReader it uses to read in the xml files. This custom "
+"<literal>EntityResolver</literal> recognizes two different systemId "
+"namespaces."
+msgstr ""
+"åè¿°ããããã«ãHibernateã¯ã¾ãã¯ã©ã¹ãã¹å
ã§DTDã解決ãããã¨ãã¾ãã "
+"<literal>org.xml.sax.EntityResolver</literal> ã®ã«ã¹ã¿ã å®è£
ã XMLãã¡ã¤ã«ã"
+"èªã¿è¾¼ãããã®SAXReaderã«ç»é²ãããã¨ã«ãã£ã¦ãDTDã解決ãã¾ãã ãã®ã«ã¹ã¿ã "
+"ã® <literal>EntityResolver</literal> ã¯2ã¤ã®ç°ãªãã·ã¹ãã IDåå空éãèªèã"
+"ã¾ãã"
-#: index.docbook:61
-msgid "a <literal>hibernate namespace</literal> is recognized whenever the resolver encounteres a systemId starting with <literal>http://hibernate.sourceforge.net/</literal>; the resolver attempts to resolve these entities via the classlaoder which loaded the Hibernate classes."
-msgstr "<literal>Hibernateåå空é</literal> ã¯ããªã¾ã«ãã <literal>http://hibernate.sourceforge.net/</literal> ã§å§ã¾ãã·ã¹ãã IDã«å°éããã¨ãã«ã èªèããã¾ãã ããã¦ãªã¾ã«ãã¯ãHibernateã®ã¯ã©ã¹ããã¼ãããã¯ã©ã¹ãã¼ããç¨ãã¦ã ãããã®ã¨ã³ãã£ãã£ã解決ãããã¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:61
+#, no-c-format
+msgid ""
+"a <literal>hibernate namespace</literal> is recognized whenever the resolver "
+"encounteres a systemId starting with <literal>http://hibernate.sourceforge."
+"net/</literal>; the resolver attempts to resolve these entities via the "
+"classlaoder which loaded the Hibernate classes."
+msgstr ""
+"<literal>Hibernateåå空é</literal> ã¯ããªã¾ã«ãã <literal>http://"
+"hibernate.sourceforge.net/</literal> ã§å§ã¾ãã·ã¹ãã IDã«å°éããã¨ãã«ã èª"
+"èããã¾ãã ããã¦ãªã¾ã«ãã¯ãHibernateã®ã¯ã©ã¹ããã¼ãããã¯ã©ã¹ãã¼ããç¨"
+"ãã¦ã ãããã®ã¨ã³ãã£ãã£ã解決ãããã¨ãã¾ãã"
-#: index.docbook:70
-msgid "a <literal>user namespace</literal> is recognized whenever the resolver encounteres a systemId using a <literal>classpath://</literal> URL protocol; the resolver will attempt to resolve these entities via (1) the current thread context classloader and (2) the classloader which loaded the Hibernate classes."
-msgstr "<literal>ã¦ã¼ã¶åå空é</literal> ã¯ããªã¾ã«ãã URLãããã³ã«ã® <literal>classpath://</literal> ã使ã£ãã·ã¹ãã IDã«å°éããã¨ãã«ã èªèããã¾ããããã¦ãªã¾ã«ãã¯ã(1)ã«ã¬ã³ãã¹ã¬ããã®ã³ã³ããã¹ãã¯ã©ã¹ãã¼ãã¼ã ã¾ãã¯(2)Hibernateã®ã¯ã©ã¹ããã¼ãããã¯ã©ã¹ãã¼ãã使ã£ã¦ã ãããã®ã¨ã³ãã£ãã£ã解決ãããã¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:70
+#, no-c-format
+msgid ""
+"a <literal>user namespace</literal> is recognized whenever the resolver "
+"encounteres a systemId using a <literal>classpath://</literal> URL protocol; "
+"the resolver will attempt to resolve these entities via (1) the current "
+"thread context classloader and (2) the classloader which loaded the "
+"Hibernate classes."
+msgstr ""
+"<literal>ã¦ã¼ã¶åå空é</literal> ã¯ããªã¾ã«ãã URLãããã³ã«ã® "
+"<literal>classpath://</literal> ã使ã£ãã·ã¹ãã IDã«å°éããã¨ãã«ã èªèãã"
+"ã¾ããããã¦ãªã¾ã«ãã¯ã(1)ã«ã¬ã³ãã¹ã¬ããã®ã³ã³ããã¹ãã¯ã©ã¹ãã¼ãã¼ã ã¾"
+"ãã¯(2)Hibernateã®ã¯ã©ã¹ããã¼ãããã¯ã©ã¹ãã¼ãã使ã£ã¦ã ãããã®ã¨ã³ãã£"
+"ãã£ã解決ãããã¨ãã¾ãã"
-#: index.docbook:79
+#. Tag: para
+#: basic_mapping.xml:79
+#, no-c-format
msgid "An example of utilizing user namespacing:"
msgstr "ä¸è¨ã¯ãã¦ã¼ã¶åå空éã使ã£ãä¾ã§ãï¼"
-#: index.docbook:82
+#. Tag: programlisting
+#: basic_mapping.xml:82
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\" [\n"
- " <!ENTITY types SYSTEM \"classpath://your/domain/types.xml\">\n"
- "]>\n"
- "\n"
- "<hibernate-mapping package=\"your.domain\">\n"
- " <class name=\"MyEntity\">\n"
- " <id name=\"id\" type=\"my-custom-id-type\">\n"
- " ...\n"
- " </id>\n"
- " <class>\n"
- " &types;\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\" [\n"
+" <!ENTITY types SYSTEM \"classpath://your/domain/types.xml\">\n"
+"]>\n"
+"\n"
+"<hibernate-mapping package=\"your.domain\">\n"
+" <class name=\"MyEntity\">\n"
+" <id name=\"id\" type=\"my-custom-id-type\">\n"
+" ...\n"
+" </id>\n"
+" <class>\n"
+" &types;\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\"?>
-\n"
- "<!DOCTYPE hibernate-mapping PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\" [
-\n"
- " <!ENTITY types SYSTEM \"classpath://your/domain/types.xml\">
-\n"
- "]>
-\n"
- "
-\n"
- "<hibernate-mapping package=\"your.domain\">
-\n"
- " <class name=\"MyEntity\">
-\n"
- " <id name=\"id\" type=\"my-custom-id-type\">
-\n"
- " ...
-\n"
- " </id>
-\n"
- " <class>
-\n"
- " &types;
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:83
-msgid "Where <literal>types.xml</literal> is a resource in the <literal>your.domain</literal> package and contains a custom <xref linkend=\"mapping-types-custom\"/>typedef."
-msgstr "ããã§ <literal>types.xml</literal> 㯠<literal>your.domain</literal> ããã±ã¼ã¸å
ã®ãªã½ã¼ã¹ã§ããã ã«ã¹ã¿ã <xref linkend=\"mapping-types-custom\"/>typedef ãå«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:83
+#, no-c-format
+msgid ""
+"Where <literal>types.xml</literal> is a resource in the <literal>your."
+"domain</literal> package and contains a custom <link linkend=\"mapping-types-"
+"custom\">typedef</link>."
+msgstr ""
+"ããã§ <literal>types.xml</literal> 㯠<literal>your.domain</literal> ãã"
+"ã±ã¼ã¸å
ã®ãªã½ã¼ã¹ã§ããã ã«ã¹ã¿ã <xref linkend=\"mapping-types-custom"
+"\">typedef</xref> ãå«ãã¾ãã"
-#: index.docbook:91
+#. Tag: title
+#: basic_mapping.xml:91
+#, no-c-format
msgid "hibernate-mapping"
msgstr "hibernate-mapping"
-#: index.docbook:93
-msgid "This element has several optional attributes. The <literal>schema</literal> and <literal>catalog</literal> attributes specify that tables referred to in this mapping belong to the named schema and/or catalog. If specified, tablenames will be qualified by the given schema and catalog names. If missing, tablenames will be unqualified. The <literal>default-cascade</literal> attribute specifies what cascade style should be assumed for properties and collections which do not specify a <literal>cascade</literal> attribute. The <literal>auto-import</literal> attribute lets us use unqualified class names in the query language, by default."
-msgstr "ãã®è¦ç´ ã«ã¯ããã¤ããªãã·ã§ã³å±æ§ãããã¾ãã<literal>schema</literal> 屿§ã¨ <literal>catalog</literal> 屿§ã¯ã ãã®ãããã³ã°ãåç
§ãããã¼ãã«ãããã®å±æ§ã«ãã£ã¦æå®ãããã¹ãã¼ãã¨(ã¾ãã¯)ã«ã¿ãã°ã«å±ãããã¨ãæå®ãã¾ãã ãã®å±æ§ãæå®ãããã¨ããã¼ãã«åã¯ä¸ããããã¹ãã¼ãåã¨ã«ã¿ãã°åã§ä¿®é£¾ããã¾ãããããã®å±æ§ãæå®ããã¦ããªããã°ã ãã¼ãã«åã¯ä¿®é£¾ããã¾ããã<literal>default-cascade</literal> 屿§ã¯ã <literal>cascade</literal> 屿§ãæå®ãã¦ããªãããããã£ãã³ã¬ã¯ã·ã§ã³ã«ã ã©ã®ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ãå²ãå½ã¦ãããæå®ãã¾ãã <literal>auto-import</literal> 屿§ã¯ã ã¯ã¨ãªè¨èªå
ã§ä¿®é£¾ããã¦ããªãã¯ã©ã¹åããããã©ã«ãã§ä½¿ããããã«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:93
+#, no-c-format
+msgid ""
+"This element has several optional attributes. The <literal>schema</literal> "
+"and <literal>catalog</literal> attributes specify that tables referred to in "
+"this mapping belong to the named schema and/or catalog. If specified, "
+"tablenames will be qualified by the given schema and catalog names. If "
+"missing, tablenames will be unqualified. The <literal>default-cascade</"
+"literal> attribute specifies what cascade style should be assumed for "
+"properties and collections which do not specify a <literal>cascade</literal> "
+"attribute. The <literal>auto-import</literal> attribute lets us use "
+"unqualified class names in the query language, by default."
+msgstr ""
+"ãã®è¦ç´ ã«ã¯ããã¤ããªãã·ã§ã³å±æ§ãããã¾ãã<literal>schema</literal> 屿§"
+"㨠<literal>catalog</literal> 屿§ã¯ã ãã®ãããã³ã°ãåç
§ãããã¼ãã«ããã"
+"ã®å±æ§ã«ãã£ã¦æå®ãããã¹ãã¼ãã¨(ã¾ãã¯)ã«ã¿ãã°ã«å±ãããã¨ãæå®ãã¾ãã "
+"ãã®å±æ§ãæå®ãããã¨ããã¼ãã«åã¯ä¸ããããã¹ãã¼ãåã¨ã«ã¿ãã°åã§ä¿®é£¾ã"
+"ãã¾ãããããã®å±æ§ãæå®ããã¦ããªããã°ã ãã¼ãã«åã¯ä¿®é£¾ããã¾ããã"
+"<literal>default-cascade</literal> 屿§ã¯ã <literal>cascade</literal> 屿§ã"
+"æå®ãã¦ããªãããããã£ãã³ã¬ã¯ã·ã§ã³ã«ã ã©ã®ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ãå²ãå½ã¦ã"
+"ããæå®ãã¾ãã <literal>auto-import</literal> 屿§ã¯ã ã¯ã¨ãªè¨èªå
ã§ä¿®é£¾ã"
+"ãã¦ããªãã¯ã©ã¹åããããã©ã«ãã§ä½¿ããããã«ãã¾ãã"
-#: index.docbook:114
+#. Tag: programlisting
+#: basic_mapping.xml:114
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping\n"
- " schema=\"schemaName\"\n"
- " catalog=\"catalogName\"\n"
- " default-cascade=\"cascade_style\"\n"
- " default-access=\"field|property|ClassName\"\n"
- " default-lazy=\"true|false\"\n"
- " auto-import=\"true|false\"\n"
- " package=\"package.name\"\n"
- " />]]>"
+"<![CDATA[<hibernate-mapping\n"
+" schema=\"schemaName\"\n"
+" catalog=\"catalogName\"\n"
+" default-cascade=\"cascade_style\"\n"
+" default-access=\"field|property|ClassName\"\n"
+" default-lazy=\"true|false\"\n"
+" auto-import=\"true|false\"\n"
+" package=\"package.name\"\n"
+" />]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping
-\n"
- " schema=\"schemaName\"
-\n"
- " catalog=\"catalogName\"
-\n"
- " default-cascade=\"cascade_style\"
-\n"
- " default-access=\"field|property|ClassName\"
-\n"
- " default-lazy=\"true|false\"
-\n"
- " auto-import=\"true|false\"
-\n"
- " package=\"package.name\"
-\n"
- " />]]>"
-#: index.docbook:117
+#. Tag: para
+#: basic_mapping.xml:117
+#, no-c-format
msgid "<literal>schema</literal> (optional): The name of a database schema."
msgstr "<literal>schema</literal>ï¼ãªãã·ã§ã³ï¼ï¼ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã®ååã"
-#: index.docbook:122
+#. Tag: para
+#: basic_mapping.xml:122
+#, no-c-format
msgid "<literal>catalog</literal> (optional): The name of a database catalog."
-msgstr "<literal>catalog</literal> ï¼ãªãã·ã§ã³ï¼ï¼ãã¼ã¿ãã¼ã¹ã«ã¿ãã°ã®ååã"
+msgstr ""
+"<literal>catalog</literal> ï¼ãªãã·ã§ã³ï¼ï¼ãã¼ã¿ãã¼ã¹ã«ã¿ãã°ã®ååã"
-#: index.docbook:127
-msgid "<literal>default-cascade</literal> (optional - defaults to <literal>none</literal>): A default cascade style."
-msgstr "<literal>default-cascade</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</literal>ï¼ï¼ ããã©ã«ãã®ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ã"
+#. Tag: para
+#: basic_mapping.xml:127
+#, no-c-format
+msgid ""
+"<literal>default-cascade</literal> (optional - defaults to <literal>none</"
+"literal>): A default cascade style."
+msgstr ""
+"<literal>default-cascade</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠"
+"<literal>none</literal>ï¼ï¼ ããã©ã«ãã®ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ã"
-#: index.docbook:133
-msgid "<literal>default-access</literal> (optional - defaults to <literal>property</literal>): The strategy Hibernate should use for accessing all properties. Can be a custom implementation of <literal>PropertyAccessor</literal>."
-msgstr "<literal>default-access</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ Hibernateãããããã£ã«ã¢ã¯ã»ã¹ããéã«æ¡ãã¹ãæ¦ç¥ã <literal>PropertyAccessor</literal> ãå®è£
ãããã¨ã§ã«ã¹ã¿ãã¤ãºå¯è½ã"
+#. Tag: para
+#: basic_mapping.xml:133
+#, no-c-format
+msgid ""
+"<literal>default-access</literal> (optional - defaults to <literal>property</"
+"literal>): The strategy Hibernate should use for accessing all properties. "
+"Can be a custom implementation of <literal>PropertyAccessor</literal>."
+msgstr ""
+"<literal>default-access</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠"
+"<literal>property</literal> ï¼ï¼ Hibernateãããããã£ã«ã¢ã¯ã»ã¹ããéã«æ¡ã"
+"ã¹ãæ¦ç¥ã <literal>PropertyAccessor</literal> ãå®è£
ãããã¨ã§ã«ã¹ã¿ãã¤ãºå¯"
+"è½ã"
-#: index.docbook:140
-msgid "<literal>default-lazy</literal> (optional - defaults to <literal>true</literal>): The default value for unspecifed <literal>lazy</literal> attributes of class and collection mappings."
-msgstr "<literal>default-lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> )ï¼ <literal>lazy</literal> 屿§ãæå®ããã¦ããªãã¯ã©ã¹ãã³ã¬ã¯ã·ã§ã³ãããã³ã°ã«å¯¾ããããã©ã«ãå¤ã"
+#. Tag: para
+#: basic_mapping.xml:140
+#, no-c-format
+msgid ""
+"<literal>default-lazy</literal> (optional - defaults to <literal>true</"
+"literal>): The default value for unspecifed <literal>lazy</literal> "
+"attributes of class and collection mappings."
+msgstr ""
+"<literal>default-lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> )ï¼ <literal>lazy</literal> 屿§ãæå®ããã¦ããªãã¯ã©ã¹ãã³ã¬ã¯ã·ã§"
+"ã³ãããã³ã°ã«å¯¾ããããã©ã«ãå¤ã"
-#: index.docbook:147
-msgid "<literal>auto-import</literal> (optional - defaults to <literal>true</literal>): Specifies whether we can use unqualified class names (of classes in this mapping) in the query language."
-msgstr "<literal>auto-import</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal>ï¼ï¼ ã¯ã¨ãªè¨èªå
ã§ãï¼ãã®ãããã³ã°å
ã®ã¯ã©ã¹ã®ï¼ä¿®é£¾ããã¦ããªãã¯ã©ã¹åã使ãããã©ãããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:147
+#, no-c-format
+msgid ""
+"<literal>auto-import</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies whether we can use unqualified class names (of classes "
+"in this mapping) in the query language."
+msgstr ""
+"<literal>auto-import</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal>ï¼ï¼ ã¯ã¨ãªè¨èªå
ã§ãï¼ãã®ãããã³ã°å
ã®ã¯ã©ã¹ã®ï¼ä¿®é£¾ããã¦ããªãã¯"
+"ã©ã¹åã使ãããã©ãããæå®ãã¾ãã"
-#: index.docbook:154
-msgid "<literal>package</literal> (optional): Specifies a package prefix to assume for unqualified class names in the mapping document."
-msgstr "<literal>package</literal> (ãªãã·ã§ã³): ãããã³ã°ããã¥ã¡ã³ãå
ã§ä¿®é£¾ããã¦ããªãã¯ã©ã¹åã«å¯¾ãã¦å²ãå½ã¦ãã ããã±ã¼ã¸ã®æ¥é è¾(prefix)ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:154
+#, no-c-format
+msgid ""
+"<literal>package</literal> (optional): Specifies a package prefix to assume "
+"for unqualified class names in the mapping document."
+msgstr ""
+"<literal>package</literal> (ãªãã·ã§ã³): ãããã³ã°ããã¥ã¡ã³ãå
ã§ä¿®é£¾ããã¦"
+"ããªãã¯ã©ã¹åã«å¯¾ãã¦å²ãå½ã¦ãã ããã±ã¼ã¸ã®æ¥é è¾(prefix)ãæå®ãã¾ãã"
-#: index.docbook:162
-msgid "If you have two persistent classes with the same (unqualified) name, you should set <literal>auto-import=\"false\"</literal>. Hibernate will throw an exception if you attempt to assign two classes to the same \"imported\" name."
-msgstr "ï¼ä¿®é£¾ããã¦ããªãï¼åãååã®æ°¸ç¶ã¯ã©ã¹ã2ã¤ãããªãã <literal>auto-import=\"false\"</literal> ãè¨å®ãã¹ãã§ãã 2ã¤ã®ã¯ã©ã¹ã«âã¤ã³ãã¼ããããâåãååãå²ãå½ã¦ããã¨ããã¨ãHibernateã¯ä¾å¤ãæãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:162
+#, no-c-format
+msgid ""
+"If you have two persistent classes with the same (unqualified) name, you "
+"should set <literal>auto-import=\"false\"</literal>. Hibernate will throw an "
+"exception if you attempt to assign two classes to the same \"imported\" name."
+msgstr ""
+"ï¼ä¿®é£¾ããã¦ããªãï¼åãååã®æ°¸ç¶ã¯ã©ã¹ã2ã¤ãããªãã <literal>auto-import="
+"\"false\"</literal> ãè¨å®ãã¹ãã§ãã 2ã¤ã®ã¯ã©ã¹ã«âã¤ã³ãã¼ããããâåãå"
+"åãå²ãå½ã¦ããã¨ããã¨ãHibernateã¯ä¾å¤ãæãã¾ãã"
-#: index.docbook:168
-msgid "Note that the <literal>hibernate-mapping</literal> element allows you to nest several persistent <literal><class></literal> mappings, as shown above. It is however good practice (and expected by some tools) to map only a single persistent class (or a single class hierarchy) in one mapping file and name it after the persistent superclass, e.g. <literal>Cat.hbm.xml</literal>, <literal>Dog.hbm.xml</literal>, or if using inheritance, <literal>Animal.hbm.xml</literal>."
-msgstr "<literal>hibernate-mapping</literal> è¦ç´ ã¯ãæåã®ä¾ã§ç¤ºããããã«ããã¤ãã®æ°¸ç¶ <literal><class></literal> ãããã³ã°ããã¹ãã§ãã¾ãã ããããï¼ã¤ã®ãããã³ã°ãã¡ã¤ã«ã§ã¯ãã ã²ã¨ã¤ã®æ°¸ç¶ã¯ã©ã¹(ã¾ãã¯ã²ã¨ã¤ã®ã¯ã©ã¹é層)ã«ãããã³ã°ããããã«ãã ããã«æ°¸ç¶ã¹ã¼ãã¼ã¯ã©ã¹ã®å¾ã§æå®ããã¹ãã§ããã(ããã¤ãã®ãã¼ã«ã¯ãã®ãããªãããã³ã°ãã¡ã¤ã«ãæ³å®ãã¦ãã¾ã)ã ä¾ãã°æ¬¡ã®ããã«ãªãã¾ããï¼ <literal>Cat.hbm.xml</literal> , <literal>Dog.hbm.xml</literal> , ã¾ãã¯ç¶æ¿ã使ããªã <literal>Animal.hbm.xml</literal> ã"
+#. Tag: para
+#: basic_mapping.xml:168
+#, no-c-format
+msgid ""
+"Note that the <literal>hibernate-mapping</literal> element allows you to "
+"nest several persistent <literal><class></literal> mappings, as shown "
+"above. It is however good practice (and expected by some tools) to map only "
+"a single persistent class (or a single class hierarchy) in one mapping file "
+"and name it after the persistent superclass, e.g. <literal>Cat.hbm.xml</"
+"literal>, <literal>Dog.hbm.xml</literal>, or if using inheritance, "
+"<literal>Animal.hbm.xml</literal>."
+msgstr ""
+"<literal>hibernate-mapping</literal> è¦ç´ ã¯ãæåã®ä¾ã§ç¤ºããããã«ããã¤ãã®"
+"æ°¸ç¶ <literal><class></literal> ãããã³ã°ããã¹ãã§ãã¾ãã ããããï¼"
+"ã¤ã®ãããã³ã°ãã¡ã¤ã«ã§ã¯ãã ã²ã¨ã¤ã®æ°¸ç¶ã¯ã©ã¹(ã¾ãã¯ã²ã¨ã¤ã®ã¯ã©ã¹é層)ã«"
+"ãããã³ã°ããããã«ãã ããã«æ°¸ç¶ã¹ã¼ãã¼ã¯ã©ã¹ã®å¾ã§æå®ããã¹ãã§ããã"
+"(ããã¤ãã®ãã¼ã«ã¯ãã®ãããªãããã³ã°ãã¡ã¤ã«ãæ³å®ãã¦ãã¾ã)ã ä¾ãã°æ¬¡ã®"
+"ããã«ãªãã¾ããï¼ <literal>Cat.hbm.xml</literal> , <literal>Dog.hbm.xml</"
+"literal> , ã¾ãã¯ç¶æ¿ã使ããªã <literal>Animal.hbm.xml</literal> ã"
-#: index.docbook:181
+#. Tag: title
+#: basic_mapping.xml:181
+#, no-c-format
msgid "<title>class</title>"
-msgstr "<title>class</title>"
+msgstr ""
-#: index.docbook:183
-msgid "You may declare a persistent class using the <literal>class</literal> element:"
+#. Tag: para
+#: basic_mapping.xml:183
+#, no-c-format
+msgid ""
+"You may declare a persistent class using the <literal>class</literal> "
+"element:"
msgstr "<literal>class</literal> è¦ç´ ã使ã£ã¦ãæ°¸ç¶ã¯ã©ã¹ã宣è¨ã§ãã¾ãã"
-#: index.docbook:211
+#. Tag: programlisting
+#: basic_mapping.xml:211
+#, no-c-format
msgid ""
- "<![CDATA[<class\n"
- " name=\"ClassName\"\n"
- " table=\"tableName\"\n"
- " discriminator-value=\"discriminator_value\"\n"
- " mutable=\"true|false\"\n"
- " schema=\"owner\"\n"
- " catalog=\"catalog\"\n"
- " proxy=\"ProxyInterface\"\n"
- " dynamic-update=\"true|false\"\n"
- " dynamic-insert=\"true|false\"\n"
- " select-before-update=\"true|false\"\n"
- " polymorphism=\"implicit|explicit\"\n"
- " where=\"arbitrary sql where condition\"\n"
- " persister=\"PersisterClass\"\n"
- " batch-size=\"N\"\n"
- " optimistic-lock=\"none|version|dirty|all\"\n"
- " lazy=\"true|false\"\n"
- " entity-name=\"EntityName\"\n"
- " check=\"arbitrary sql check condition\"\n"
- " rowid=\"rowid\"\n"
- " subselect=\"SQL expression\"\n"
- " abstract=\"true|false\"\n"
- " node=\"element-name\"\n"
- "/>]]>"
+"<![CDATA[<class\n"
+" name=\"ClassName\"\n"
+" table=\"tableName\"\n"
+" discriminator-value=\"discriminator_value\"\n"
+" mutable=\"true|false\"\n"
+" schema=\"owner\"\n"
+" catalog=\"catalog\"\n"
+" proxy=\"ProxyInterface\"\n"
+" dynamic-update=\"true|false\"\n"
+" dynamic-insert=\"true|false\"\n"
+" select-before-update=\"true|false\"\n"
+" polymorphism=\"implicit|explicit\"\n"
+" where=\"arbitrary sql where condition\"\n"
+" persister=\"PersisterClass\"\n"
+" batch-size=\"N\"\n"
+" optimistic-lock=\"none|version|dirty|all\"\n"
+" lazy=\"true|false\"\n"
+" entity-name=\"EntityName\"\n"
+" check=\"arbitrary sql check condition\"\n"
+" rowid=\"rowid\"\n"
+" subselect=\"SQL expression\"\n"
+" abstract=\"true|false\"\n"
+" node=\"element-name\"\n"
+"/>]]>"
msgstr ""
- "<![CDATA[<class
-\n"
- " name=\"ClassName\"
-\n"
- " table=\"tableName\"
-\n"
- " discriminator-value=\"discriminator_value\"
-\n"
- " mutable=\"true|false\"
-\n"
- " schema=\"owner\"
-\n"
- " catalog=\"catalog\"
-\n"
- " proxy=\"ProxyInterface\"
-\n"
- " dynamic-update=\"true|false\"
-\n"
- " dynamic-insert=\"true|false\"
-\n"
- " select-before-update=\"true|false\"
-\n"
- " polymorphism=\"implicit|explicit\"
-\n"
- " where=\"arbitrary sql where condition\"
-\n"
- " persister=\"PersisterClass\"
-\n"
- " batch-size=\"N\"
-\n"
- " optimistic-lock=\"none|version|dirty|all\"
-\n"
- " lazy=\"true|false\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " check=\"arbitrary sql check condition\"
-\n"
- " rowid=\"rowid\"
-\n"
- " subselect=\"SQL expression\"
-\n"
- " abstract=\"true|false\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " node=\"element-name\"
-\n"
- "/>]]>"
-#: index.docbook:214
-msgid "<literal>name</literal> (optional): The fully qualified Java class name of the persistent class (or interface). If this attribute is missing, it is assumed that the mapping is for a non-POJO entity."
-msgstr "<literal>name</literal> (ãªãã·ã§ã³)ï¼æ°¸ç¶ã¯ã©ã¹ï¼ã¾ãã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼ã®å®å
¨ä¿®é£¾Javaã¯ã©ã¹åã ãããã®å±æ§ãæå®ããªããã°ãPOJOã§ã¯ãªãã¨ã³ãã£ãã£ã«å¯¾ãããããã³ã°ã¨ãã¦æ±ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:214
+#, no-c-format
+msgid ""
+"<literal>name</literal> (optional): The fully qualified Java class name of "
+"the persistent class (or interface). If this attribute is missing, it is "
+"assumed that the mapping is for a non-POJO entity."
+msgstr ""
+"<literal>name</literal> (ãªãã·ã§ã³)ï¼æ°¸ç¶ã¯ã©ã¹ï¼ã¾ãã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼ã®"
+"å®å
¨ä¿®é£¾Javaã¯ã©ã¹åã ãããã®å±æ§ãæå®ããªããã°ãPOJOã§ã¯ãªãã¨ã³ãã£ãã£"
+"ã«å¯¾ãããããã³ã°ã¨ãã¦æ±ããã¾ãã"
-#: index.docbook:221
-msgid "<literal>table</literal> (optional - defaults to the unqualified class name): The name of its database table."
-msgstr "<literal>table</literal> (ãªãã·ã§ã³ - ããã©ã«ãã¯ä¿®é£¾ããã¦ããªãã¯ã©ã¹å)ï¼ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®åå"
+#. Tag: para
+#: basic_mapping.xml:221
+#, no-c-format
+msgid ""
+"<literal>table</literal> (optional - defaults to the unqualified class "
+"name): The name of its database table."
+msgstr ""
+"<literal>table</literal> (ãªãã·ã§ã³ - ããã©ã«ãã¯ä¿®é£¾ããã¦ããªãã¯ã©ã¹"
+"å)ï¼ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®åå"
-#: index.docbook:227
-msgid "<literal>discriminator-value</literal> (optional - defaults to the class name): A value that distiguishes individual subclasses, used for polymorphic behaviour. Acceptable values include <literal>null</literal> and <literal>not null</literal>."
-msgstr "<literal>discriminator-value</literal> (ãªãã·ã§ã³ - ããã©ã«ãã¯ã¯ã©ã¹å)ï¼ ããªã¢ã¼ãã£ãã¯ãªæ¯ãèãã«ä½¿ãããåã
ã®ãµãã¯ã©ã¹ãèå¥ããããã®å¤ã å¤ã¯ <literal>null</literal> ã <literal>not null</literal> ã®ãããããåãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:227
+#, no-c-format
+msgid ""
+"<literal>discriminator-value</literal> (optional - defaults to the class "
+"name): A value that distiguishes individual subclasses, used for polymorphic "
+"behaviour. Acceptable values include <literal>null</literal> and "
+"<literal>not null</literal>."
+msgstr ""
+"<literal>discriminator-value</literal> (ãªãã·ã§ã³ - ããã©ã«ãã¯ã¯ã©ã¹å)ï¼ "
+"ããªã¢ã¼ãã£ãã¯ãªæ¯ãèãã«ä½¿ãããåã
ã®ãµãã¯ã©ã¹ãèå¥ããããã®å¤ã å¤"
+"㯠<literal>null</literal> ã <literal>not null</literal> ã®ãããããåãã¾"
+"ãã"
-#: index.docbook:234
-msgid "<literal>mutable</literal> (optional, defaults to <literal>true</literal>): Specifies that instances of the class are (not) mutable."
-msgstr "<literal>mutable</literal> (ãªãã·ã§ã³ã ããã©ã«ã㯠<literal>true</literal> )ï¼ ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæ´æ°å¯è½ï¼ã¾ãã¯ä¸å¯è½ï¼ã§ãããã¨ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:234
+#, no-c-format
+msgid ""
+"<literal>mutable</literal> (optional, defaults to <literal>true</literal>): "
+"Specifies that instances of the class are (not) mutable."
+msgstr ""
+"<literal>mutable</literal> (ãªãã·ã§ã³ã ããã©ã«ã㯠<literal>true</"
+"literal> )ï¼ ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæ´æ°å¯è½ï¼ã¾ãã¯ä¸å¯è½ï¼ã§ãããã¨ãæ"
+"å®ãã¾ãã"
-#: index.docbook:240, index.docbook:2204
-msgid "<literal>schema</literal> (optional): Override the schema name specified by the root <literal><hibernate-mapping></literal> element."
-msgstr "<literal>schema</literal> ï¼ãªãã·ã§ã³ï¼ï¼ ã«ã¼ãã® <literal><hibernate-mapping></literal> è¦ç´ ã§æå®ãããã¹ãã¼ãåããªã¼ãã¼ã©ã¤ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:240 basic_mapping.xml:2204
+#, fuzzy, no-c-format
+msgid ""
+"<literal>schema</literal> (optional): Override the schema name specified by "
+"the root <literal><hibernate-mapping></literal> element."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>schema</literal> ï¼ãªãã·ã§ã³ï¼ï¼ ã«ã¼ãã® <literal><hibernate-"
+"mapping></literal> è¦ç´ ã§æå®ãããã¹ãã¼ãåããªã¼ãã¼ã©ã¤ããã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>schema</literal> (ãªãã·ã§ã³): ã«ã¼ãã® <literal><hibernate-"
+"mapping></literal> è¦ç´ ã§æå®ããã¹ãã¼ãåã ãªã¼ãã¼ã©ã¤ããã¾ãã"
-#: index.docbook:246, index.docbook:2210
-msgid "<literal>catalog</literal> (optional): Override the catalog name specified by the root <literal><hibernate-mapping></literal> element."
-msgstr "<literal>catalog</literal> ï¼ãªãã·ã§ã³ï¼ï¼ã«ã¼ãã® <literal><hibernate-mapping></literal> è¦ç´ ã§æå®ãããã«ã¿ãã°åããªã¼ãã¼ã©ã¤ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:246 basic_mapping.xml:2210
+#, fuzzy, no-c-format
+msgid ""
+"<literal>catalog</literal> (optional): Override the catalog name specified "
+"by the root <literal><hibernate-mapping></literal> element."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>catalog</literal> ï¼ãªãã·ã§ã³ï¼ï¼ã«ã¼ãã® <literal><hibernate-"
+"mapping></literal> è¦ç´ ã§æå®ãããã«ã¿ãã°åããªã¼ãã¼ã©ã¤ããã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>catalog</literal> (ãªãã·ã§ã³): ã«ã¼ãã® <literal><hibernate-"
+"mapping></literal> è¦ç´ ã§æå®ããã«ã¿ãã°åã ãªã¼ãã¼ã©ã¤ããã¾ãã"
-#: index.docbook:252
-msgid "<literal>proxy</literal> (optional): Specifies an interface to use for lazy initializing proxies. You may specify the name of the class itself."
-msgstr "<literal>proxy</literal> ï¼ãªãã·ã§ã³ï¼ï¼é
å»¶åæåãããã·ã«ä½¿ãã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã æ°¸ç¶åããã¯ã©ã¹åãã®ãã®ãæå®ãããã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:252
+#, no-c-format
+msgid ""
+"<literal>proxy</literal> (optional): Specifies an interface to use for lazy "
+"initializing proxies. You may specify the name of the class itself."
+msgstr ""
+"<literal>proxy</literal> ï¼ãªãã·ã§ã³ï¼ï¼é
å»¶åæåãããã·ã«ä½¿ãã¤ã³ã¿ã¼ãã§"
+"ã¤ã¹ãæå®ãã¾ãã æ°¸ç¶åããã¯ã©ã¹åãã®ãã®ãæå®ãããã¨ãå¯è½ã§ãã"
-#: index.docbook:258
-msgid "<literal>dynamic-update</literal> (optional, defaults to <literal>false</literal>): Specifies that <literal>UPDATE</literal> SQL should be generated at runtime and contain only those columns whose values have changed."
-msgstr "<literal>dynamic-update</literal> ï¼ãªãã·ã§ã³ã ããã©ã«ã㯠<literal>false</literal> ï¼ï¼ å¤ã夿´ãããã«ã©ã ã ããå«ãSQLã® <literal>UPDATE</literal> æããå®è¡æã«çæãããã¨ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:258
+#, no-c-format
+msgid ""
+"<literal>dynamic-update</literal> (optional, defaults to <literal>false</"
+"literal>): Specifies that <literal>UPDATE</literal> SQL should be generated "
+"at runtime and contain only those columns whose values have changed."
+msgstr ""
+"<literal>dynamic-update</literal> ï¼ãªãã·ã§ã³ã ããã©ã«ã㯠"
+"<literal>false</literal> ï¼ï¼ å¤ã夿´ãããã«ã©ã ã ããå«ãSQLã® "
+"<literal>UPDATE</literal> æããå®è¡æã«çæãããã¨ãæå®ãã¾ãã"
-#: index.docbook:265
-msgid "<literal>dynamic-insert</literal> (optional, defaults to <literal>false</literal>): Specifies that <literal>INSERT</literal> SQL should be generated at runtime and contain only the columns whose values are not null."
-msgstr "<literal>dynamic-insert</literal> ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>false</literal> ï¼ï¼ å¤ãnullã§ã¯ãªãã«ã©ã ã ããå«ãSQLã® <literal>INSERT</literal> æããå®è¡æã«çæãããã¨ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:265
+#, no-c-format
+msgid ""
+"<literal>dynamic-insert</literal> (optional, defaults to <literal>false</"
+"literal>): Specifies that <literal>INSERT</literal> SQL should be generated "
+"at runtime and contain only the columns whose values are not null."
+msgstr ""
+"<literal>dynamic-insert</literal> ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>false</"
+"literal> ï¼ï¼ å¤ãnullã§ã¯ãªãã«ã©ã ã ããå«ãSQLã® <literal>INSERT</"
+"literal> æããå®è¡æã«çæãããã¨ãæå®ãã¾ãã"
-#: index.docbook:272
-msgid "<literal>select-before-update</literal> (optional, defaults to <literal>false</literal>): Specifies that Hibernate should <emphasis>never</emphasis> perform an SQL <literal>UPDATE</literal> unless it is certain that an object is actually modified. In certain cases (actually, only when a transient object has been associated with a new session using <literal>update()</literal>), this means that Hibernate will perform an extra SQL <literal>SELECT</literal> to determine if an <literal>UPDATE</literal> is actually required."
-msgstr "<literal>select-before-update</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>false</literal>): ãªãã¸ã§ã¯ãã夿´ãããã®ã確å®ã§ãªããªãã°ãHibernateãSQLã® <literal>UPDATE</literal> ã <emphasis>決ãã¦å®è¡ããªã</emphasis> ãã¨ãæå®ãã¾ãã ããç¹å®ã®å ´å(å®éçã«ã¯ã䏿ãªãã¸ã§ã¯ãã <literal>update()</literal> ã使ãã æ°ããã»ãã·ã§ã³ã¨é¢é£ä»ããããæã ã)ã<literal>UPDATE</literal> ãå®éã«å¿
è¦ãã©ãããæ±ºå®ããããã«ã Hibernateãä½åãªSQLã® <literal>SELECT</literal> æãå®è¡ãããã¨ãæå³ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:272
+#, no-c-format
+msgid ""
+"<literal>select-before-update</literal> (optional, defaults to "
+"<literal>false</literal>): Specifies that Hibernate should <emphasis>never</"
+"emphasis> perform an SQL <literal>UPDATE</literal> unless it is certain that "
+"an object is actually modified. In certain cases (actually, only when a "
+"transient object has been associated with a new session using <literal>update"
+"()</literal>), this means that Hibernate will perform an extra SQL "
+"<literal>SELECT</literal> to determine if an <literal>UPDATE</literal> is "
+"actually required."
+msgstr ""
+"<literal>select-before-update</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠"
+"<literal>false</literal>): ãªãã¸ã§ã¯ãã夿´ãããã®ã確å®ã§ãªããªãã°ã"
+"HibernateãSQLã® <literal>UPDATE</literal> ã <emphasis>決ãã¦å®è¡ããªã</"
+"emphasis> ãã¨ãæå®ãã¾ãã ããç¹å®ã®å ´å(å®éçã«ã¯ã䏿ãªãã¸ã§ã¯ãã "
+"<literal>update()</literal> ã使ãã æ°ããã»ãã·ã§ã³ã¨é¢é£ä»ããããæã "
+"ã)ã<literal>UPDATE</literal> ãå®éã«å¿
è¦ãã©ãããæ±ºå®ããããã«ã "
+"Hibernateãä½åãªSQLã® <literal>SELECT</literal> æãå®è¡ãããã¨ãæå³ãã¾"
+"ãã"
-#: index.docbook:282
-msgid "<literal>polymorphism</literal> (optional, defaults to <literal>implicit</literal>): Determines whether implicit or explicit query polymorphism is used."
-msgstr "(optional, ããã©ã«ãã§ã¯ <literal>implicit</literal> ): implicitï¼æé»ï¼ãexplicitï¼æç¤ºï¼ã®ã ã©ã¡ãã®ã¯ã¨ãªããªã¢ã¼ãã£ãºã ã使ããæ±ºå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:282
+#, no-c-format
+msgid ""
+"<literal>polymorphism</literal> (optional, defaults to <literal>implicit</"
+"literal>): Determines whether implicit or explicit query polymorphism is "
+"used."
+msgstr ""
+"(optional, ããã©ã«ãã§ã¯ <literal>implicit</literal> ): implicitï¼æé»ï¼ã"
+"explicitï¼æç¤ºï¼ã®ã ã©ã¡ãã®ã¯ã¨ãªããªã¢ã¼ãã£ãºã ã使ããæ±ºå®ãã¾ãã"
-#: index.docbook:288
-msgid "<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</literal> condition to be used when retrieving objects of this class"
-msgstr "<literal>where</literal> ï¼ãªãã·ã§ã³ï¼ï¼ ãã®ã¯ã©ã¹ã®ãªãã¸ã§ã¯ããæ¤ç´¢ããã¨ãã«ä½¿ç¨ãããä»»æã®SQLã® <literal>WHERE</literal> æ¡ä»¶ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:288
+#, no-c-format
+msgid ""
+"<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</"
+"literal> condition to be used when retrieving objects of this class"
+msgstr ""
+"<literal>where</literal> ï¼ãªãã·ã§ã³ï¼ï¼ ãã®ã¯ã©ã¹ã®ãªãã¸ã§ã¯ããæ¤ç´¢ãã"
+"ã¨ãã«ä½¿ç¨ãããä»»æã®SQLã® <literal>WHERE</literal> æ¡ä»¶ãæå®ãã¾ãã"
-#: index.docbook:294
-msgid "<literal>persister</literal> (optional): Specifies a custom <literal>ClassPersister</literal>."
-msgstr "<literal>persister</literal> ï¼ãªãã·ã§ã³ï¼ï¼ã«ã¹ã¿ã <literal>ClassPersister</literal> ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:294
+#, no-c-format
+msgid ""
+"<literal>persister</literal> (optional): Specifies a custom "
+"<literal>ClassPersister</literal>."
+msgstr ""
+"<literal>persister</literal> ï¼ãªãã·ã§ã³ï¼ï¼ã«ã¹ã¿ã "
+"<literal>ClassPersister</literal> ãæå®ãã¾ãã"
-#: index.docbook:299
-msgid "<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) specify a \"batch size\" for fetching instances of this class by identifier."
-msgstr "<literal>batch-size</literal> ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>1</literal> ï¼ï¼ èå¥åã§ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã復å
ããã¨ãã®ãããããµã¤ãºããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:299
+#, no-c-format
+msgid ""
+"<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) "
+"specify a \"batch size\" for fetching instances of this class by identifier."
+msgstr ""
+"<literal>batch-size</literal> ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>1</"
+"literal> ï¼ï¼ èå¥åã§ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã復å
ããã¨ãã®ãããããµã¤"
+"ãºããæå®ãã¾ãã"
-#: index.docbook:305
-msgid "<literal>optimistic-lock</literal> (optional, defaults to <literal>version</literal>): Determines the optimistic locking strategy."
-msgstr "<literal>optimistic-lock</literal> ï¼ãªãã·ã§ã³,ããã©ã«ã㯠<literal>version</literal> ï¼ï¼ 楽観ããã¯æ¦ç¥ã決å®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:305
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional, defaults to <literal>version</"
+"literal>): Determines the optimistic locking strategy."
+msgstr ""
+"<literal>optimistic-lock</literal> ï¼ãªãã·ã§ã³,ããã©ã«ã㯠"
+"<literal>version</literal> ï¼ï¼ 楽観ããã¯æ¦ç¥ã決å®ãã¾ãã"
-#: index.docbook:311
-msgid "<literal>lazy</literal> (optional): Lazy fetching may be completely disabled by setting <literal>lazy=\"false\"</literal>."
-msgstr "<literal>lazy</literal> ï¼ãªãã·ã§ã³ï¼ï¼ <literal>lazy=\"false\"</literal> ã¨è¨å®ãããã¨ã§ã é
å»¶ãã§ãããã§ããªããªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:311
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional): Lazy fetching may be completely disabled "
+"by setting <literal>lazy=\"false\"</literal>."
+msgstr ""
+"<literal>lazy</literal> ï¼ãªãã·ã§ã³ï¼ï¼ <literal>lazy=\"false\"</literal> ã¨"
+"è¨å®ãããã¨ã§ã é
å»¶ãã§ãããã§ããªããªãã¾ãã"
-#: index.docbook:317
-msgid "<literal>entity-name</literal> (optional, defaults to the class name): Hibernate3 allows a class to be mapped multiple times (to different tables, potentially), and allows entity mappings that are represented by Maps or XML at the Java level. In these cases, you should provide an explicit arbitrary name for the entity. See <xref linkend=\"persistent-classes-dynamicmodels\"/> and <xref linkend=\"xml\"/> for more information."
-msgstr "<literal>entity-name</literal> ï¼ãªãã·ã§ã³ãããã©ã«ãã¯ã¯ã©ã¹åï¼ï¼ Hibernate3ã§ã¯ã¯ã©ã¹ãè¤æ°åãããã³ã°ã§ãï¼å ´åã«ãã£ã¦ã¯éããã¼ãã«ã«å¯¾ãã¦ãï¼ã Javaã¬ãã«ã§MapãXMLã§è¡¨ç¾ãããã¨ã³ãã£ãã£ãããã³ã°ãå¯è½ã§ãã ãããã®å ´åãã¨ã³ãã£ãã£ã«å¯¾ãã¦ä»»æã®ååããæç¤ºçã«ä»ããªãã¦ã¯ãªãã¾ããã 詳ãã㯠<xref linkend=\"persistent-classes-dynamicmodels\"/> 㨠<xref linkend=\"xml\"/> ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:317
+#, no-c-format
+msgid ""
+"<literal>entity-name</literal> (optional, defaults to the class name): "
+"Hibernate3 allows a class to be mapped multiple times (to different tables, "
+"potentially), and allows entity mappings that are represented by Maps or XML "
+"at the Java level. In these cases, you should provide an explicit arbitrary "
+"name for the entity. See <xref linkend=\"persistent-classes-dynamicmodels\"/"
+"> and <xref linkend=\"xml\"/> for more information."
+msgstr ""
+"<literal>entity-name</literal> ï¼ãªãã·ã§ã³ãããã©ã«ãã¯ã¯ã©ã¹åï¼ï¼ "
+"Hibernate3ã§ã¯ã¯ã©ã¹ãè¤æ°åãããã³ã°ã§ãï¼å ´åã«ãã£ã¦ã¯éããã¼ãã«ã«å¯¾ã"
+"ã¦ãï¼ã Javaã¬ãã«ã§MapãXMLã§è¡¨ç¾ãããã¨ã³ãã£ãã£ãããã³ã°ãå¯è½ã§ãã "
+"ãããã®å ´åãã¨ã³ãã£ãã£ã«å¯¾ãã¦ä»»æã®ååããæç¤ºçã«ä»ããªãã¦ã¯ãªãã¾ã"
+"ãã 詳ãã㯠<xref linkend=\"persistent-classes-dynamicmodels\"/> 㨠<xref "
+"linkend=\"xml\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:327
-msgid "<literal>check</literal> (optional): A SQL expression used to generate a multi-row <emphasis>check</emphasis> constraint for automatic schema generation."
-msgstr "<literal>check</literal> ï¼ãªãã·ã§ã³ï¼ï¼èªåçã«ã¹ãã¼ããçæããããã«ã è¤æ°è¡ã® <emphasis>check</emphasis> å¶ç´ãçæããSQLå¼ã"
+#. Tag: para
+#: basic_mapping.xml:327
+#, no-c-format
+msgid ""
+"<literal>check</literal> (optional): A SQL expression used to generate a "
+"multi-row <emphasis>check</emphasis> constraint for automatic schema "
+"generation."
+msgstr ""
+"<literal>check</literal> ï¼ãªãã·ã§ã³ï¼ï¼èªåçã«ã¹ãã¼ããçæããããã«ã "
+"è¤æ°è¡ã® <emphasis>check</emphasis> å¶ç´ãçæããSQLå¼ã"
-#: index.docbook:333
-msgid "<literal>rowid</literal> (optional): Hibernate can use so called ROWIDs on databases which support. E.g. on Oracle, Hibernate can use the <literal>rowid</literal> extra column for fast updates if you set this option to <literal>rowid</literal>. A ROWID is an implementation detail and represents the physical location of a stored tuple."
-msgstr "<literal>rowid</literal> ï¼ãªãã·ã§ã³ï¼ï¼Hibernateã¯ãããããµãã¼ããã¦ãããã¼ã¿ãã¼ã¹ã§ROWID㨠å¼ã°ãããã®ã使ããã¨ãã§ãã¾ãã ä¾ãã°Oracleã使ã£ã¦ããã¨ãããã®ãªãã·ã§ã³ã« <literal>rowid</literal> ãè¨å®ããã°ã Hiberanteã¯updateãé«éåããããã« <literal>rowid</literal> ã¨ããç¹å¥ãªã«ã©ã ã使ããã¨ãã§ãã¾ãã ROWIDã¯è©³ç´°ãªå®è£
ã§ãããä¿åãããã¿ãã«ã®ç©ççãªä½ç½®ã表ãã¦ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:333
+#, no-c-format
+msgid ""
+"<literal>rowid</literal> (optional): Hibernate can use so called ROWIDs on "
+"databases which support. E.g. on Oracle, Hibernate can use the "
+"<literal>rowid</literal> extra column for fast updates if you set this "
+"option to <literal>rowid</literal>. A ROWID is an implementation detail and "
+"represents the physical location of a stored tuple."
+msgstr ""
+"<literal>rowid</literal> ï¼ãªãã·ã§ã³ï¼ï¼Hibernateã¯ãããããµãã¼ããã¦ãã"
+"ãã¼ã¿ãã¼ã¹ã§ROWID㨠å¼ã°ãããã®ã使ããã¨ãã§ãã¾ãã ä¾ãã°Oracleã使ã£ã¦"
+"ããã¨ãããã®ãªãã·ã§ã³ã« <literal>rowid</literal> ãè¨å®ããã°ã Hiberante"
+"ã¯updateãé«éåããããã« <literal>rowid</literal> ã¨ããç¹å¥ãªã«ã©ã ã使ã"
+"ãã¨ãã§ãã¾ãã ROWIDã¯è©³ç´°ãªå®è£
ã§ãããä¿åãããã¿ãã«ã®ç©ççãªä½ç½®ã表"
+"ãã¦ãã¾ãã"
-#: index.docbook:341
-msgid "<literal>subselect</literal> (optional): Maps an immutable and read-only entity to a database subselect. Useful if you want to have a view instead of a base table, but don't. See below for more information."
-msgstr "<literal>subselect</literal> ï¼ãªãã·ã§ã³ï¼ï¼ä¸å¤ãã¤èªã¿åãå°ç¨ã§ããã¨ã³ãã£ãã£ã ãã¼ã¿ãã¼ã¹ã®å¯ååãï¼subselectï¼ã«ãããã³ã°ãã¾ãã ããå
ã®ãã¼ãã«ã®ä»£ããã«ãã¥ã¼ãæã¡ãããã°æç¨ã§ããã ããã§ãªãã®ãªãæç¨ã§ã¯ããã¾ããããã詳ããæ
å ±ã¯ä¸è¨ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:341
+#, no-c-format
+msgid ""
+"<literal>subselect</literal> (optional): Maps an immutable and read-only "
+"entity to a database subselect. Useful if you want to have a view instead of "
+"a base table, but don't. See below for more information."
+msgstr ""
+"<literal>subselect</literal> ï¼ãªãã·ã§ã³ï¼ï¼ä¸å¤ãã¤èªã¿åãå°ç¨ã§ããã¨ã³"
+"ãã£ãã£ã ãã¼ã¿ãã¼ã¹ã®å¯ååãï¼subselectï¼ã«ãããã³ã°ãã¾ãã ããå
ã®"
+"ãã¼ãã«ã®ä»£ããã«ãã¥ã¼ãæã¡ãããã°æç¨ã§ããã ããã§ãªãã®ãªãæç¨ã§ã¯ã"
+"ãã¾ããããã詳ããæ
å ±ã¯ä¸è¨ãåç
§ãã¦ãã ããã"
-#: index.docbook:348
-msgid "<literal>abstract</literal> (optional): Used to mark abstract superclasses in <literal><union-subclass></literal> hierarchies."
-msgstr "<literal>abstract</literal> ï¼ãªãã·ã§ã³ï¼ï¼ <literal><union-subclass></literal> é層å
ã®æ½è±¡ã¹ã¼ãã¼ã¯ã©ã¹ã«ãã¼ã¯ããããã«ä½¿ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:348
+#, no-c-format
+msgid ""
+"<literal>abstract</literal> (optional): Used to mark abstract superclasses "
+"in <literal><union-subclass></literal> hierarchies."
+msgstr ""
+"<literal>abstract</literal> ï¼ãªãã·ã§ã³ï¼ï¼ <literal><union-subclass>"
+"</literal> é層å
ã®æ½è±¡ã¹ã¼ãã¼ã¯ã©ã¹ã«ãã¼ã¯ããããã«ä½¿ãã¾ãã"
-#: index.docbook:356
-msgid "It is perfectly acceptable for the named persistent class to be an interface. You would then declare implementing classes of that interface using the <literal><subclass></literal> element. You may persist any <emphasis>static</emphasis> inner class. You should specify the class name using the standard form ie. <literal>eg.Foo$Bar</literal>."
-msgstr "æ°¸ç¶ã¯ã©ã¹ã®ååã«ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¦ãã¾ã£ããåé¡ããã¾ããã ãã®ã¨ã㯠<literal><subclass></literal> è¦ç´ ã使ã£ã¦ã ãã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããã¯ã©ã¹ãå®ç¾©ãã¦ãã ããã <emphasis>static</emphasis> ãªå
é¨ã¯ã©ã¹ã§ãæ°¸ç¶åã§ãã¾ãã ãã®ã¨ãã¯æ¨æºå½¢å¼ãä¾ãã° <literal>eg.Foo$Bar</literal> ã使ã£ã¦ã¯ã©ã¹åãæå®ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:356
+#, no-c-format
+msgid ""
+"It is perfectly acceptable for the named persistent class to be an "
+"interface. You would then declare implementing classes of that interface "
+"using the <literal><subclass></literal> element. You may persist any "
+"<emphasis>static</emphasis> inner class. You should specify the class name "
+"using the standard form ie. <literal>eg.Foo$Bar</literal>."
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã®ååã«ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¦ãã¾ã£ããåé¡ããã¾ããã ãã®ã¨"
+"ã㯠<literal><subclass></literal> è¦ç´ ã使ã£ã¦ã ãã®ã¤ã³ã¿ã¼ãã§ã¤ã¹"
+"ãå®è£
ããã¯ã©ã¹ãå®ç¾©ãã¦ãã ããã <emphasis>static</emphasis> ãªå
é¨ã¯ã©ã¹"
+"ã§ãæ°¸ç¶åã§ãã¾ãã ãã®ã¨ãã¯æ¨æºå½¢å¼ãä¾ãã° <literal>eg.Foo$Bar</"
+"literal> ã使ã£ã¦ã¯ã©ã¹åãæå®ãã¦ãã ããã"
-#: index.docbook:363
-msgid "Immutable classes, <literal>mutable=\"false\"</literal>, may not be updated or deleted by the application. This allows Hibernate to make some minor performance optimizations."
-msgstr "<literal>mutable=\"false\"</literal> æå®ãããä¸å¤ã¯ã©ã¹ã¯ã ã¢ããªã±ã¼ã·ã§ã³ã«ããæ´æ°ãåé¤ãåºæ¥ãªããã¨ãããã¾ãã ããã«ãããHibernateãããã©ã¼ãã³ã¹ãå°ãæ¹åãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:363
+#, no-c-format
+msgid ""
+"Immutable classes, <literal>mutable=\"false\"</literal>, may not be updated "
+"or deleted by the application. This allows Hibernate to make some minor "
+"performance optimizations."
+msgstr ""
+"<literal>mutable=\"false\"</literal> æå®ãããä¸å¤ã¯ã©ã¹ã¯ã ã¢ããªã±ã¼ã·ã§"
+"ã³ã«ããæ´æ°ãåé¤ãåºæ¥ãªããã¨ãããã¾ãã ããã«ãããHibernateãããã©ã¼"
+"ãã³ã¹ãå°ãæ¹åãã¾ãã"
-#: index.docbook:368
-msgid "The optional <literal>proxy</literal> attribute enables lazy initialization of persistent instances of the class. Hibernate will initially return CGLIB proxies which implement the named interface. The actual persistent object will be loaded when a method of the proxy is invoked. See \"Initializing collections and proxies\" below."
-msgstr "ãªãã·ã§ã³ã® <literal>proxy</literal> 屿§ã«ãããã¯ã©ã¹ã®æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã®é
å»¶åæåãå¯è½ã«ãªãã¾ãã Hibernateã¯æåã«ãæå®ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããCGLIBãããã·ãè¿ãã¾ãã å®éã®æ°¸ç¶ãªãã¸ã§ã¯ãã¯ãããã·ã®ã¡ã½ãããå¼ã³åºãã¨ãã«ãã¼ããã¾ãã 以ä¸ã®ãé
å»¶åæåã®ããã®ãããã·ããåç
§ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:368
+#, no-c-format
+msgid ""
+"The optional <literal>proxy</literal> attribute enables lazy initialization "
+"of persistent instances of the class. Hibernate will initially return CGLIB "
+"proxies which implement the named interface. The actual persistent object "
+"will be loaded when a method of the proxy is invoked. See \"Initializing "
+"collections and proxies\" below."
+msgstr ""
+"ãªãã·ã§ã³ã® <literal>proxy</literal> 屿§ã«ãããã¯ã©ã¹ã®æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã®"
+"é
å»¶åæåãå¯è½ã«ãªãã¾ãã Hibernateã¯æåã«ãæå®ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®"
+"è£
ããCGLIBãããã·ãè¿ãã¾ãã å®éã®æ°¸ç¶ãªãã¸ã§ã¯ãã¯ãããã·ã®ã¡ã½ããã"
+"å¼ã³åºãã¨ãã«ãã¼ããã¾ãã 以ä¸ã®ãé
å»¶åæåã®ããã®ãããã·ããåç
§ãã¦ã"
+"ã ããã"
-#: index.docbook:375
-msgid "<emphasis>Implicit</emphasis> polymorphism means that instances of the class will be returned by a query that names any superclass or implemented interface or the class and that instances of any subclass of the class will be returned by a query that names the class itself. <emphasis>Explicit</emphasis> polymorphism means that class instances will be returned only by queries that explicitly name that class and that queries that name the class will return only instances of subclasses mapped inside this <literal><class></literal> declaration as a <literal><subclass></literal> or <literal><joined-subclass></literal>. For most purposes the default, <literal>polymorphism=\"implicit\"</literal>, is appropriate. Explicit polymorphism is useful when two different classes are mapped to the same table (this allows a \"lightweight\" class that contains a subset of the table columns)."
-msgstr "<emphasis>æé»ç</emphasis> ããªã¢ã¼ãã£ãºã ã¨ã¯ã次ã®äºã¤ãæå³ãã¦ãã¾ãã ä¸ã¤ã¯ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ããã¹ã¼ãã¼ã¯ã©ã¹ãå®è£
ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãã¾ããã®ã¯ã©ã¹ãæå®ããã¯ã¨ãªã«ãã£ã¦è¿ããããã¨ã§ã ããä¸ã¤ã¯ãã®ã¯ã©ã¹ã®ãµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãããã®ã¯ã©ã¹èªèº«ãæå®ããã¯ã¨ãªã«ãã£ã¦è¿ããããã¨ã§ãã ã¾ãã<emphasis>æç¤ºç</emphasis> ããªã¢ã¼ãã£ãºã ã¨ã¯ã次ã®äºã¤ãæå³ãã¦ãã¾ãã ä¸ã¤ã¯ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãããã®ã¯ã©ã¹ãæç¤ºçã«æå®ããã¯ã¨ãªã«ãã£ã¦ã®ã¿è¿ããããã¨ã§ã ããä¸ã¤ã¯ã¯ã©ã¹ãæå®ããã¯ã¨ãªãã<literal><class></literal> è¦ç´ ã®ä¸ã§ <literal><subclass></literal> ã <literal><joined-subclass></literal> ã¨ãããã³ã°ããã¦ãããµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã ããè¿ããã!
¨ã§ãã ã»ã¨ãã©ã®ç¨éã§ã¯ããã©ã«ãã® <literal>polymorphism=\"implicit\"</literal> ãé©åã§ãã æç¤ºçãªããªã¢ã¼ãã£ãºã ã¯ã2ã¤ã®éã£ãã¯ã©ã¹ãåããã¼ãã«ã«ãããã³ã°ããã¦ããã¨ãã«æç¨ã§ã ï¼ããã«ãã£ã¦ãã¼ãã«ã«ã©ã ã®ãµãã»ãããå«ããã軽éãªãã¯ã©ã¹ãå¯è½ã«ãªãã¾ãï¼ã"
+#. Tag: para
+#: basic_mapping.xml:375
+#, no-c-format
+msgid ""
+"<emphasis>Implicit</emphasis> polymorphism means that instances of the class "
+"will be returned by a query that names any superclass or implemented "
+"interface or the class and that instances of any subclass of the class will "
+"be returned by a query that names the class itself. <emphasis>Explicit</"
+"emphasis> polymorphism means that class instances will be returned only by "
+"queries that explicitly name that class and that queries that name the class "
+"will return only instances of subclasses mapped inside this <literal><"
+"class></literal> declaration as a <literal><subclass></literal> or "
+"<literal><joined-subclass></literal>. For most purposes the default, "
+"<literal>polymorphism=\"implicit\"</literal>, is appropriate. Explicit "
+"polymorphism is useful when two different classes are mapped to the same "
+"table (this allows a \"lightweight\" class that contains a subset of the "
+"table columns)."
+msgstr ""
+"<emphasis>æé»ç</emphasis> ããªã¢ã¼ãã£ãºã ã¨ã¯ã次ã®äºã¤ãæå³ãã¦ãã¾ãã "
+"ä¸ã¤ã¯ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ããã¹ã¼ãã¼ã¯ã©ã¹ãå®è£
ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãã¾ã"
+"ãã®ã¯ã©ã¹ãæå®ããã¯ã¨ãªã«ãã£ã¦è¿ããããã¨ã§ã ããä¸ã¤ã¯ãã®ã¯ã©ã¹ã®ãµã"
+"ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãããã®ã¯ã©ã¹èªèº«ãæå®ããã¯ã¨ãªã«ãã£ã¦è¿ããããã¨ã§"
+"ãã ã¾ãã<emphasis>æç¤ºç</emphasis> ããªã¢ã¼ãã£ãºã ã¨ã¯ã次ã®äºã¤ãæå³ã"
+"ã¦ãã¾ãã ä¸ã¤ã¯ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãããã®ã¯ã©ã¹ãæç¤ºçã«æå®ããã¯ã¨ãªã«"
+"ãã£ã¦ã®ã¿è¿ããããã¨ã§ã ããä¸ã¤ã¯ã¯ã©ã¹ãæå®ããã¯ã¨ãªãã<literal><"
+"class></literal> è¦ç´ ã®ä¸ã§ <literal><subclass></literal> ã "
+"<literal><joined-subclass></literal> ã¨ãããã³ã°ããã¦ãããµãã¯ã©ã¹ã®"
+"ã¤ã³ã¹ã¿ã³ã¹ã ããè¿ããã¨ã§ãã ã»ã¨ãã©ã®ç¨éã§ã¯ããã©ã«ãã® "
+"<literal>polymorphism=\"implicit\"</literal> ãé©åã§ãã æç¤ºçãªããªã¢ã¼"
+"ãã£ãºã ã¯ã2ã¤ã®éã£ãã¯ã©ã¹ãåããã¼ãã«ã«ãããã³ã°ããã¦ããã¨ãã«æç¨ã§"
+"ã ï¼ããã«ãã£ã¦ãã¼ãã«ã«ã©ã ã®ãµãã»ãããå«ããã軽éãªãã¯ã©ã¹ãå¯è½ã«ãª"
+"ãã¾ãï¼ã"
-#: index.docbook:387
-msgid "The <literal>persister</literal> attribute lets you customize the persistence strategy used for the class. You may, for example, specify your own subclass of <literal>org.hibernate.persister.EntityPersister</literal> or you might even provide a completely new implementation of the interface <literal>org.hibernate.persister.ClassPersister</literal> that implements persistence via, for example, stored procedure calls, serialization to flat files or LDAP. See <literal>org.hibernate.test.CustomPersister</literal> for a simple example (of \"persistence\" to a <literal>Hashtable</literal>)."
-msgstr "<literal>persister</literal> 屿§ãæå®ãããã¨ã§ãã¯ã©ã¹ã®æ°¸ç¶åæ¦ç¥ãã«ã¹ã¿ãã¤ãºã§ãã¾ãã ä¾ãã° <literal>org.hibernate.persister.EntityPersister</literal> èªèº«ã®ãµãã¯ã©ã¹ãæå®ãããã ã¾ãä¾ãã°ã¹ãã¢ãããã·ã¼ã¸ã£ã³ã¼ã«ããã©ãããã¡ã¤ã«ã¸ã·ãªã¢ã©ã¤ãºã LDAPãªã©ãéããæ°¸ç¶æ§ãå®è£
ãã <literal>org.hibernate.persister.ClassPersister</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®å®å
¨ã«æ°ããå®è£
ãæä¾ã§ãã¾ããç°¡åãªä¾ã¨ã㦠<literal>org.hibernate.test.CustomPersister</literal> ãè¦ã¦ãã ããï¼ãã㯠<literal>Hashtable</literal> ã®ãæ°¸ç¶åãã§ãï¼ã"
+#. Tag: para
+#: basic_mapping.xml:387
+#, no-c-format
+msgid ""
+"The <literal>persister</literal> attribute lets you customize the "
+"persistence strategy used for the class. You may, for example, specify your "
+"own subclass of <literal>org.hibernate.persister.EntityPersister</literal> "
+"or you might even provide a completely new implementation of the interface "
+"<literal>org.hibernate.persister.ClassPersister</literal> that implements "
+"persistence via, for example, stored procedure calls, serialization to flat "
+"files or LDAP. See <literal>org.hibernate.test.CustomPersister</literal> for "
+"a simple example (of \"persistence\" to a <literal>Hashtable</literal>)."
+msgstr ""
+"<literal>persister</literal> 屿§ãæå®ãããã¨ã§ãã¯ã©ã¹ã®æ°¸ç¶åæ¦ç¥ãã«ã¹ã¿"
+"ãã¤ãºã§ãã¾ãã ä¾ãã° <literal>org.hibernate.persister.EntityPersister</"
+"literal> èªèº«ã®ãµãã¯ã©ã¹ãæå®ãããã ã¾ãä¾ãã°ã¹ãã¢ãããã·ã¼ã¸ã£ã³ã¼"
+"ã«ããã©ãããã¡ã¤ã«ã¸ã·ãªã¢ã©ã¤ãºã LDAPãªã©ãéããæ°¸ç¶æ§ãå®è£
ãã "
+"<literal>org.hibernate.persister.ClassPersister</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®"
+"å®å
¨ã«æ°ããå®è£
ãæä¾ã§ãã¾ããç°¡åãªä¾ã¨ã㦠<literal>org.hibernate.test."
+"CustomPersister</literal> ãè¦ã¦ãã ããï¼ãã㯠<literal>Hashtable</"
+"literal> ã®ãæ°¸ç¶åãã§ãï¼ã"
-#: index.docbook:398
-msgid "Note that the <literal>dynamic-update</literal> and <literal>dynamic-insert</literal> settings are not inherited by subclasses and so may also be specified on the <literal><subclass></literal> or <literal><joined-subclass></literal> elements. These settings may increase performance in some cases, but might actually decrease performance in others. Use judiciously."
-msgstr "<literal>dynamic-update</literal> 㨠<literal>dynamic-insert</literal> ã®è¨å®ã¯ãµãã¯ã©ã¹ã«ç¶æ¿ããã¾ããã ãã®ãã <literal><subclass></literal> ã <literal><joined-subclass></literal> è¦ç´ ãæå®ãããã¨ãåºæ¥ã¾ãã ãããã®è¨å®ã¯ããã©ã¼ãã³ã¹ãåä¸ãããäºãããã¾ãããè½ã¨ããã¨ãããã¾ãã®ã§ãæ
éã«ä½¿ç¨ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:398
+#, no-c-format
+msgid ""
+"Note that the <literal>dynamic-update</literal> and <literal>dynamic-insert</"
+"literal> settings are not inherited by subclasses and so may also be "
+"specified on the <literal><subclass></literal> or <literal><joined-"
+"subclass></literal> elements. These settings may increase performance in "
+"some cases, but might actually decrease performance in others. Use "
+"judiciously."
+msgstr ""
+"<literal>dynamic-update</literal> 㨠<literal>dynamic-insert</literal> ã®è¨å®"
+"ã¯ãµãã¯ã©ã¹ã«ç¶æ¿ããã¾ããã ãã®ãã <literal><subclass></literal> "
+"ã <literal><joined-subclass></literal> è¦ç´ ãæå®ãããã¨ãåºæ¥ã¾ãã "
+"ãããã®è¨å®ã¯ããã©ã¼ãã³ã¹ãåä¸ãããäºãããã¾ãããè½ã¨ããã¨ãããã¾ã"
+"ã®ã§ãæ
éã«ä½¿ç¨ãã¦ãã ããã"
-#: index.docbook:406
-msgid "Use of <literal>select-before-update</literal> will usually decrease performance. It is very useful to prevent a database update trigger being called unnecessarily if you reattach a graph of detached instances to a <literal>Session</literal>."
-msgstr "<literal>select-before-update</literal> ã®ä½¿ç¨ã¯é常ããã©ã¼ãã³ã¹ãè½ã¨ãã¾ãã ãã <literal>Session</literal> ã¸åé¢ã¤ã³ã¹ã¿ã³ã¹ã®ã°ã©ããå追å ãããªãã ãã¼ã¿ãã¼ã¹æ´æ°ã®ããªã¬ãä¸å¿
è¦ã«å¼ã³åºãã®ãé¿ããã¨ããç¹ã§ãéå¸¸ã«æç¨ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:406
+#, no-c-format
+msgid ""
+"Use of <literal>select-before-update</literal> will usually decrease "
+"performance. It is very useful to prevent a database update trigger being "
+"called unnecessarily if you reattach a graph of detached instances to a "
+"<literal>Session</literal>."
+msgstr ""
+"<literal>select-before-update</literal> ã®ä½¿ç¨ã¯é常ããã©ã¼ãã³ã¹ãè½ã¨ãã¾"
+"ãã ãã <literal>Session</literal> ã¸åé¢ã¤ã³ã¹ã¿ã³ã¹ã®ã°ã©ããå追å ãããª"
+"ãã ãã¼ã¿ãã¼ã¹æ´æ°ã®ããªã¬ãä¸å¿
è¦ã«å¼ã³åºãã®ãé¿ããã¨ããç¹ã§ãéå¸¸ã«æ"
+"ç¨ã§ãã"
-#: index.docbook:412
-msgid "If you enable <literal>dynamic-update</literal>, you will have a choice of optimistic locking strategies:"
-msgstr "<literal>dynamic-update</literal> ãæå¹ã«ããã°ã楽観ããã¯æ¦ç¥ãé¸ã¶ãã¨ã«ãªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:412
+#, no-c-format
+msgid ""
+"If you enable <literal>dynamic-update</literal>, you will have a choice of "
+"optimistic locking strategies:"
+msgstr ""
+"<literal>dynamic-update</literal> ãæå¹ã«ããã°ã楽観ããã¯æ¦ç¥ãé¸ã¶ãã¨ã«"
+"ãªãã¾ãã"
-#: index.docbook:418
+#. Tag: para
+#: basic_mapping.xml:418
+#, no-c-format
msgid "<literal>version</literal> check the version/timestamp columns"
-msgstr "<literal>version</literal> ãã¼ã¸ã§ã³/ã¿ã¤ã ã¹ã¿ã³ãã«ã©ã ããã§ãã¯ãã¾ã"
+msgstr ""
+"<literal>version</literal> ãã¼ã¸ã§ã³/ã¿ã¤ã ã¹ã¿ã³ãã«ã©ã ããã§ãã¯ãã¾ã"
-#: index.docbook:423
+#. Tag: para
+#: basic_mapping.xml:423
+#, no-c-format
msgid "<literal>all</literal> check all columns"
msgstr "<literal>all</literal> ãã¹ã¦ã®ã«ã©ã ããã§ãã¯ãã¾ãã"
-#: index.docbook:428
-msgid "<literal>dirty</literal> check the changed columns, allowing some concurrent updates"
-msgstr "<literal>dirty</literal> 夿´ããã«ã©ã ããã§ãã¯ããåææ´æ°ã§ããããã«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:428
+#, no-c-format
+msgid ""
+"<literal>dirty</literal> check the changed columns, allowing some concurrent "
+"updates"
+msgstr ""
+"<literal>dirty</literal> 夿´ããã«ã©ã ããã§ãã¯ããåææ´æ°ã§ããããã«ãã¾"
+"ãã"
-#: index.docbook:433
+#. Tag: para
+#: basic_mapping.xml:433
+#, no-c-format
msgid "<literal>none</literal> do not use optimistic locking"
msgstr "<literal>none</literal> 楽観ããã¯ã使ç¨ãã¾ãã"
-#: index.docbook:438
-msgid "We <emphasis>very</emphasis> strongly recommend that you use version/timestamp columns for optimistic locking with Hibernate. This is the optimal strategy with respect to performance and is the only strategy that correctly handles modifications made to detached instances (ie. when <literal>Session.merge()</literal> is used)."
-msgstr "Hibernateã§æ¥½è¦³çããã¯æ¦ç¥ã使ããªãããã¼ã¸ã§ã³/ã¿ã¤ã ã¹ã¿ã³ãã«ã©ã ã使ããã¨ã <emphasis> é常ã«</emphasis> å¼·ããå§ããã¾ãã æ¥½è¦³çããã¯ã¯ããã©ã¼ãã³ã¹ã®è¦³ç¹ãããæé©ã§ãããããã«åé¢ã¤ã³ã¹ã¿ã³ã¹ã¸ã®ä¿®æ£ ï¼ã¤ã¾ã <literal>Session.marge()</literal> ã使ãããã¨ãï¼ ãæ£ç¢ºã«æ±ããã¨ã®ã§ããå¯ä¸ã®æ¦ç¥ã§ãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:438
+#, no-c-format
+msgid ""
+"We <emphasis>very</emphasis> strongly recommend that you use version/"
+"timestamp columns for optimistic locking with Hibernate. This is the optimal "
+"strategy with respect to performance and is the only strategy that correctly "
+"handles modifications made to detached instances (ie. when <literal>Session."
+"merge()</literal> is used)."
+msgstr ""
+"Hibernateã§æ¥½è¦³çããã¯æ¦ç¥ã使ããªãããã¼ã¸ã§ã³/ã¿ã¤ã ã¹ã¿ã³ãã«ã©ã ã使ã"
+"ãã¨ã <emphasis> é常ã«</emphasis> å¼·ããå§ããã¾ãã æ¥½è¦³çããã¯ã¯ããã©ã¼"
+"ãã³ã¹ã®è¦³ç¹ãããæé©ã§ãããããã«åé¢ã¤ã³ã¹ã¿ã³ã¹ã¸ã®ä¿®æ£ ï¼ã¤ã¾ã "
+"<literal>Session.marge()</literal> ã使ãããã¨ãï¼ ãæ£ç¢ºã«æ±ããã¨ã®ã§ãã"
+"å¯ä¸ã®æ¦ç¥ã§ãããã¾ãã"
-#: index.docbook:445
-msgid "There is no difference between a view and a base table for a Hibernate mapping, as expected this is transparent at the database level (note that some DBMS don't support views properly, especially with updates). Sometimes you want to use a view, but can't create one in the database (ie. with a legacy schema). In this case, you can map an immutable and read-only entity to a given SQL subselect expression:"
-msgstr "Hibernateã®ãããã³ã°ã«ã¨ã£ã¦ãã¥ã¼ã¨æ®éã®ãã¼ãã«ã®éã«éãã¯ãªãã ãã¼ã¿ãã¼ã¹ã¬ãã«ã§ã¯ééçã§ã ï¼ãã ããã¥ã¼ãå®å
¨ã«ã¯ãµãã¼ããã¦ããªãDBMSãããã¾ãã ç¹ã«ãæ´æ°ã®ãããã¥ã¼ã«å¯¾ãã¦ã¯ããã§ãï¼ã ãã¥ã¼ã使ãããã¦ãããã¼ã¿ãã¼ã¹ã§ä½æã§ããªããã¨ãããã¾ã ï¼ä¾ãã°ãã¬ã¬ã·ã¼ã¹ãã¼ãã®å ´åï¼ã ãã®å ´åã«ã¯ãä¸å¤ãã¤èªã¿åãå°ç¨ã®ã¨ã³ãã£ãã£ã«ä¸ããããSQLã®å¯ååãæããããã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:445
+#, no-c-format
+msgid ""
+"There is no difference between a view and a base table for a Hibernate "
+"mapping, as expected this is transparent at the database level (note that "
+"some DBMS don't support views properly, especially with updates). Sometimes "
+"you want to use a view, but can't create one in the database (ie. with a "
+"legacy schema). In this case, you can map an immutable and read-only entity "
+"to a given SQL subselect expression:"
+msgstr ""
+"Hibernateã®ãããã³ã°ã«ã¨ã£ã¦ãã¥ã¼ã¨æ®éã®ãã¼ãã«ã®éã«éãã¯ãªãã ãã¼ã¿"
+"ãã¼ã¹ã¬ãã«ã§ã¯ééçã§ã ï¼ãã ããã¥ã¼ãå®å
¨ã«ã¯ãµãã¼ããã¦ããªãDBMSãã"
+"ãã¾ãã ç¹ã«ãæ´æ°ã®ãããã¥ã¼ã«å¯¾ãã¦ã¯ããã§ãï¼ã ãã¥ã¼ã使ãããã¦ãã"
+"ãã¼ã¿ãã¼ã¹ã§ä½æã§ããªããã¨ãããã¾ã ï¼ä¾ãã°ãã¬ã¬ã·ã¼ã¹ãã¼ãã®å ´"
+"åï¼ã ãã®å ´åã«ã¯ãä¸å¤ãã¤èªã¿åãå°ç¨ã®ã¨ã³ãã£ãã£ã«ä¸ããããSQLã®å¯å"
+"åãæããããã§ãã¾ãã"
-#: index.docbook:453
+#. Tag: programlisting
+#: basic_mapping.xml:453
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Summary\">\n"
- " <subselect>\n"
- " select item.name, max(bid.amount), count(*)\n"
- " from item\n"
- " join bid on bid.item_id = item.id\n"
- " group by item.name\n"
- " </subselect>\n"
- " <synchronize table=\"item\"/>\n"
- " <synchronize table=\"bid\"/>\n"
- " <id name=\"name\"/>\n"
- " ...\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Summary\">\n"
+" <subselect>\n"
+" select item.name, max(bid.amount), count(*)\n"
+" from item\n"
+" join bid on bid.item_id = item.id\n"
+" group by item.name\n"
+" </subselect>\n"
+" <synchronize table=\"item\"/>\n"
+" <synchronize table=\"bid\"/>\n"
+" <id name=\"name\"/>\n"
+" ...\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Summary\">
-\n"
- " <subselect>
-\n"
- " select item.name, max(bid.amount), count(*)
-\n"
- " from item
-\n"
- " join bid on bid.item_id = item.id
-\n"
- " group by item.name
-\n"
- " </subselect>
-\n"
- " <synchronize table=\"item\"/>
-\n"
- " <synchronize table=\"bid\"/>
-\n"
- " <id name=\"name\"/>
-\n"
- " ...
-\n"
- "</class>]]>"
-#: index.docbook:455
-msgid "Declare the tables to synchronize this entity with, ensuring that auto-flush happens correctly, and that queries against the derived entity do not return stale data. The <literal><subselect></literal> is available as both as an attribute and a nested mapping element."
-msgstr "ãã¼ãã«ããã®ã¨ã³ãã£ãã£ã¨åæããããã«å®ç¾©ãã¦ãã ããã ãªã¼ããã©ãã·ã¥ã確å®ã«èµ·ããããã«ãã¾ãå°åºã¨ã³ãã£ãã£ã«å¯¾ããã¯ã¨ãªãå¤ããã¼ã¿ã è¿ããªãããã«ããããã§ãã <literal><subselect></literal> ã¯å±æ§ã¨ãã¹ããããããã³ã°å±æ§ã®ã©ã¡ãã§ãå©ç¨ã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:455
+#, no-c-format
+msgid ""
+"Declare the tables to synchronize this entity with, ensuring that auto-flush "
+"happens correctly, and that queries against the derived entity do not return "
+"stale data. The <literal><subselect></literal> is available as both as "
+"an attribute and a nested mapping element."
+msgstr ""
+"ãã¼ãã«ããã®ã¨ã³ãã£ãã£ã¨åæããããã«å®ç¾©ãã¦ãã ããã ãªã¼ããã©ãã·ã¥"
+"ã確å®ã«èµ·ããããã«ãã¾ãå°åºã¨ã³ãã£ãã£ã«å¯¾ããã¯ã¨ãªãå¤ããã¼ã¿ã è¿ããª"
+"ãããã«ããããã§ãã <literal><subselect></literal> ã¯å±æ§ã¨ãã¹ãã"
+"ããããã³ã°å±æ§ã®ã©ã¡ãã§ãå©ç¨ã§ãã¾ãã"
-#: index.docbook:465
+#. Tag: title
+#: basic_mapping.xml:465
+#, no-c-format
msgid "<title>id</title>"
-msgstr "<title>id</title>"
+msgstr ""
-#: index.docbook:467
-msgid "Mapped classes <emphasis>must</emphasis> declare the primary key column of the database table. Most classes will also have a JavaBeans-style property holding the unique identifier of an instance. The <literal><id></literal> element defines the mapping from that property to the primary key column."
-msgstr "ããããããã¯ã©ã¹ã¯ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®ä¸»ãã¼ã«ã©ã ãå®ç¾© <emphasis>ããªããã°ãªãã¾ãã</emphasis> ã ã»ã¨ãã©ã®ã¯ã©ã¹ã«ã¯ã¤ã³ã¹ã¿ã³ã¹ã®ã¦ãã¼ã¯ãªèå¥åãä¿æããJavaBeansã¹ã¿ã¤ã«ã®ããããã£ãããã¾ãã <literal><id></literal> è¦ç´ ã¯ããã®ããããã£ãã主ãã¼ã«ã©ã ã¸ã®ãããã³ã°ãå®ç¾©ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:467
+#, no-c-format
+msgid ""
+"Mapped classes <emphasis>must</emphasis> declare the primary key column of "
+"the database table. Most classes will also have a JavaBeans-style property "
+"holding the unique identifier of an instance. The <literal><id></"
+"literal> element defines the mapping from that property to the primary key "
+"column."
+msgstr ""
+"ããããããã¯ã©ã¹ã¯ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®ä¸»ãã¼ã«ã©ã ãå®ç¾© <emphasis>ããªã"
+"ãã°ãªãã¾ãã</emphasis> ã ã»ã¨ãã©ã®ã¯ã©ã¹ã«ã¯ã¤ã³ã¹ã¿ã³ã¹ã®ã¦ãã¼ã¯ãªèå¥"
+"åãä¿æããJavaBeansã¹ã¿ã¤ã«ã®ããããã£ãããã¾ãã <literal><id></"
+"literal> è¦ç´ ã¯ããã®ããããã£ãã主ãã¼ã«ã©ã ã¸ã®ãããã³ã°ãå®ç¾©ãã¾ãã"
-#: index.docbook:482
+#. Tag: programlisting
+#: basic_mapping.xml:482
+#, no-c-format
msgid ""
- "<![CDATA[<id\n"
- " name=\"propertyName\"\n"
- " type=\"typename\"\n"
- " column=\"column_name\"\n"
- " unsaved-value=\"null|any|none|undefined|id_value\"\n"
- " access=\"field|property|ClassName\">\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- "\n"
- " <generator class=\"generatorClass\"/>\n"
- "</id>]]>"
+"<![CDATA[<id\n"
+" name=\"propertyName\"\n"
+" type=\"typename\"\n"
+" column=\"column_name\"\n"
+" unsaved-value=\"null|any|none|undefined|id_value\"\n"
+" access=\"field|property|ClassName\">\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+"\n"
+" <generator class=\"generatorClass\"/>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id
-\n"
- " name=\"propertyName\"
-\n"
- " type=\"typename\"
-\n"
- " column=\"column_name\"
-\n"
- " unsaved-value=\"null|any|none|undefined|id_value\"
-\n"
- " access=\"field|property|ClassName\">
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- "
-\n"
- " <generator class=\"generatorClass\"/>
-\n"
- "</id>]]>"
-#: index.docbook:485
-msgid "<literal>name</literal> (optional): The name of the identifier property."
+#. Tag: para
+#: basic_mapping.xml:485
+#, no-c-format
+msgid ""
+"<literal>name</literal> (optional): The name of the identifier property."
msgstr "<literal>name</literal>ï¼ãªãã·ã§ã³ï¼ï¼èå¥åããããã£ã®ååã"
-#: index.docbook:490
-msgid "<literal>type</literal> (optional): A name that indicates the Hibernate type."
+#. Tag: para
+#: basic_mapping.xml:490
+#, no-c-format
+msgid ""
+"<literal>type</literal> (optional): A name that indicates the Hibernate type."
msgstr "<literal>type</literal>ï¼ãªãã·ã§ã³ï¼ï¼Hibernateã®åã示ãååã"
-#: index.docbook:495
-msgid "<literal>column</literal> (optional - defaults to the property name): The name of the primary key column."
-msgstr "<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ 主ãã¼ã«ã©ã ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:495
+#, no-c-format
+msgid ""
+"<literal>column</literal> (optional - defaults to the property name): The "
+"name of the primary key column."
+msgstr ""
+"<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ 主ãã¼ã«"
+"ã©ã ã®ååã"
-#: index.docbook:501
-msgid "<literal>unsaved-value</literal> (optional - defaults to a \"sensible\" value): An identifier property value that indicates that an instance is newly instantiated (unsaved), distinguishing it from detached instances that were saved or loaded in a previous session."
-msgstr "<literal>unsaved-value</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã®å¤ã¯sensibleï¼ï¼ ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããã ï¼ã»ã¼ãããã¦ããªãï¼ãã¨ã示ããèå¥åããããã£ã®å¤ã 以åã®Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã䏿çã¤ã³ã¹ã¿ã³ã¹ã¨åºå¥ãããã㫠使ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:501
+#, no-c-format
+msgid ""
+"<literal>unsaved-value</literal> (optional - defaults to a \"sensible\" "
+"value): An identifier property value that indicates that an instance is "
+"newly instantiated (unsaved), distinguishing it from detached instances that "
+"were saved or loaded in a previous session."
+msgstr ""
+"<literal>unsaved-value</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã®å¤ã¯sensibleï¼ï¼ "
+"ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããã ï¼ã»ã¼ãããã¦ããªãï¼ãã¨ã示ããè"
+"å¥åããããã£ã®å¤ã 以åã®Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã䏿çã¤ã³ã¹ã¿ã³"
+"ã¹ã¨åºå¥ãããã㫠使ãã¾ãã"
-#: index.docbook:509, index.docbook:1017, index.docbook:1156, index.docbook:1238, index.docbook:1345, index.docbook:1534, index.docbook:1708, index.docbook:1878, index.docbook:2457
-msgid "<literal>access</literal> (optional - defaults to <literal>property</literal>): The strategy Hibernate should use for accessing the property value."
-msgstr "<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã¢ã¯ã»ã¹ããããã«Hibernateãä½¿ãæ¦ç¥ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:509 basic_mapping.xml:1017 basic_mapping.xml:1156
+#: basic_mapping.xml:1238 basic_mapping.xml:1345 basic_mapping.xml:1534
+#: basic_mapping.xml:1708 basic_mapping.xml:1878 basic_mapping.xml:2457
+#, fuzzy, no-c-format
+msgid ""
+"<literal>access</literal> (optional - defaults to <literal>property</"
+"literal>): The strategy Hibernate should use for accessing the property "
+"value."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã¢ã¯ã»ã¹ããããã«Hibernateãä½¿ãæ¦ç¥ã§ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ): Hibernateãããããã£ã®å¤ã«ã¢ã¯ã»ã¹ããããã«ä½¿ç¨ãã¹ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
-#: index.docbook:517
-msgid "If the <literal>name</literal> attribute is missing, it is assumed that the class has no identifier property."
-msgstr "<literal>name</literal> 屿§ããªããã°ãã¯ã©ã¹ã«ã¯èå¥åããããã£ããªããã®ã¨ã¿ãªããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:517
+#, no-c-format
+msgid ""
+"If the <literal>name</literal> attribute is missing, it is assumed that the "
+"class has no identifier property."
+msgstr ""
+"<literal>name</literal> 屿§ããªããã°ãã¯ã©ã¹ã«ã¯èå¥åããããã£ããªããã®"
+"ã¨ã¿ãªããã¾ãã"
-#: index.docbook:522
-msgid "The <literal>unsaved-value</literal> attribute is almost never needed in Hibernate3."
-msgstr "<literal>unsaved-value</literal> 屿§ã¯Hibernate3ã§ã¯ã»ã¨ãã©ã®å ´åãå¿
è¦ã§ã¯ããã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:522
+#, no-c-format
+msgid ""
+"The <literal>unsaved-value</literal> attribute is almost never needed in "
+"Hibernate3."
+msgstr ""
+"<literal>unsaved-value</literal> 屿§ã¯Hibernate3ã§ã¯ã»ã¨ãã©ã®å ´åãå¿
è¦ã§ã¯"
+"ããã¾ããã"
-#: index.docbook:526
-msgid "There is an alternative <literal><composite-id></literal> declaration to allow access to legacy data with composite keys. We strongly discourage its use for anything else."
-msgstr "è¤åãã¼ãæã¤ã¬ã¬ã·ã¼ãã¼ã¿ã«ã¢ã¯ã»ã¹ã§ããããã«ã <literal><composite-id></literal> ã¨ãã代æ¿ã®ãããã³ã°å®ç¾©ãããã¾ãã ãããä»ã®ç¨éã¸ã®ä½¿ç¨ã¯å
¨ãããããã§ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:526
+#, no-c-format
+msgid ""
+"There is an alternative <literal><composite-id></literal> declaration "
+"to allow access to legacy data with composite keys. We strongly discourage "
+"its use for anything else."
+msgstr ""
+"è¤åãã¼ãæã¤ã¬ã¬ã·ã¼ãã¼ã¿ã«ã¢ã¯ã»ã¹ã§ããããã«ã <literal><composite-"
+"id></literal> ã¨ãã代æ¿ã®ãããã³ã°å®ç¾©ãããã¾ãã ãããä»ã®ç¨éã¸ã®ä½¿"
+"ç¨ã¯å
¨ãããããã§ãã¾ããã"
-#: index.docbook:532
+#. Tag: title
+#: basic_mapping.xml:532
+#, no-c-format
msgid "Generator"
msgstr "ã¸ã§ãã¬ã¼ã¿"
-#: index.docbook:534
-msgid "The optional <literal><generator></literal> child element names a Java class used to generate unique identifiers for instances of the persistent class. If any parameters are required to configure or initialize the generator instance, they are passed using the <literal><param></literal> element."
-msgstr "ãªãã·ã§ã³ã® <literal><generator></literal> åè¦ç´ ã¯ã æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã®ã¦ãã¼ã¯ãªèå¥åãçæããããã«ä½¿ããJavaã¯ã©ã¹ãæå®ãã¾ãã ã¸ã§ãã¬ã¼ã¿ã¤ã³ã¹ã¿ã³ã¹ã®è¨å®ããããã¯åæåã«ãã©ã¡ã¼ã¿ãå¿
è¦ã§ããã°ã<literal><param></literal> è¦ç´ ã使ã£ã¦æ¸¡ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:534
+#, no-c-format
+msgid ""
+"The optional <literal><generator></literal> child element names a Java "
+"class used to generate unique identifiers for instances of the persistent "
+"class. If any parameters are required to configure or initialize the "
+"generator instance, they are passed using the <literal><param></"
+"literal> element."
+msgstr ""
+"ãªãã·ã§ã³ã® <literal><generator></literal> åè¦ç´ ã¯ã æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³"
+"ã¹ã¿ã³ã¹ã®ã¦ãã¼ã¯ãªèå¥åãçæããããã«ä½¿ããJavaã¯ã©ã¹ãæå®ãã¾ãã ã¸ã§"
+"ãã¬ã¼ã¿ã¤ã³ã¹ã¿ã³ã¹ã®è¨å®ããããã¯åæåã«ãã©ã¡ã¼ã¿ãå¿
è¦ã§ããã°ã"
+"<literal><param></literal> è¦ç´ ã使ã£ã¦æ¸¡ããã¨ãã§ãã¾ãã"
-#: index.docbook:541
+#. Tag: programlisting
+#: basic_mapping.xml:541
+#, no-c-format
msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
- " <generator class=\"org.hibernate.id.TableHiLoGenerator\">\n"
- " <param name=\"table\">uid_table</param>\n"
- " <param name=\"column\">next_hi_value_column</param>\n"
- " </generator>\n"
- "</id>]]>"
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
+" <generator class=\"org.hibernate.id.TableHiLoGenerator\">\n"
+" <param name=\"table\">uid_table</param>\n"
+" <param name=\"column\">next_hi_value_column</param>\n"
+" </generator>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">
-\n"
- " <generator class=\"org.hibernate.id.TableHiLoGenerator\">
-\n"
- " <param name=\"table\">uid_table</param>
-\n"
- " <param name=\"column\">next_hi_value_column</param>
-\n"
- " </generator>
-\n"
- "</id>]]>"
-#: index.docbook:543
-msgid "All generators implement the interface <literal>org.hibernate.id.IdentifierGenerator</literal>. This is a very simple interface; some applications may choose to provide their own specialized implementations. However, Hibernate provides a range of built-in implementations. There are shortcut names for the built-in generators:"
-msgstr "ãã¹ã¦ã®ã¸ã§ãã¬ã¼ã¿ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>org.hibernate.id.IdentifierGenerator</literal> ãå®è£
ãã¾ãã ããã¯ã¨ã¦ãåç´ãªã¤ã³ã¿ã¼ãã§ã¤ã¹ãªã®ã§ãç¹å¥ãªå®è£
ãç¬èªã«ç¨æããã¢ããªã±ã¼ã·ã§ã³ãããããããã¾ããã ãããHibernateã¯çµã¿è¾¼ã¿ã®å®è£
ãããã¤ãç¨æãã¦ãã¾ãã çµã¿è¾¼ã¿ã®ã¸ã§ãã¬ã¼ã¿ã«ã¯ä»¥ä¸ã®ã·ã§ã¼ãã«ããåãããã¾ãï¼"
+#. Tag: para
+#: basic_mapping.xml:543
+#, fuzzy, no-c-format
+msgid ""
+"All generators implement the interface <literal>org.hibernate.id."
+"IdentifierGenerator</literal>. This is a very simple interface; some "
+"applications may choose to provide their own specialized implementations. "
+"However, Hibernate provides a range of built-in implementations. There are "
+"shortcut names for the built-in generators:"
+msgstr ""
+"ãã¹ã¦ã®ã¸ã§ãã¬ã¼ã¿ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>org.hibernate.id."
+"IdentifierGenerator</literal> ãå®è£
ãã¾ãã ããã¯ã¨ã¦ãåç´ãªã¤ã³ã¿ã¼ãã§ã¤"
+"ã¹ãªã®ã§ãç¹å¥ãªå®è£
ãç¬èªã«ç¨æããã¢ããªã±ã¼ã·ã§ã³ãããããããã¾ããã ã"
+"ããHibernateã¯çµã¿è¾¼ã¿ã®å®è£
ãããã¤ãç¨æãã¦ãã¾ãã çµã¿è¾¼ã¿ã®ã¸ã§ãã¬ã¼"
+"ã¿ã«ã¯ä»¥ä¸ã®ã·ã§ã¼ãã«ããåãããã¾ãï¼ <placeholder-1/>"
-#: index.docbook:551
+#. Tag: literal
+#: basic_mapping.xml:551
+#, no-c-format
msgid "increment"
msgstr "increment"
-#: index.docbook:553
-msgid "generates identifiers of type <literal>long</literal>, <literal>short</literal> or <literal>int</literal> that are unique only when no other process is inserting data into the same table. <emphasis>Do not use in a cluster.</emphasis>"
-msgstr "<literal>long</literal> , <literal>short</literal> , <literal>int</literal> åã®èå¥åãçæãã¾ãã ãããã¯ä»ã®ããã»ã¹ãåããã¼ãã«ã«ãã¼ã¿ãæ¿å
¥ããªãã¨ãã ãã¦ãã¼ã¯ã§ãã <emphasis>ã¯ã©ã¹ã¿å
ã§ã¯ä½¿ããªãã§ãã ãã</emphasis> ã"
+#. Tag: para
+#: basic_mapping.xml:553
+#, no-c-format
+msgid ""
+"generates identifiers of type <literal>long</literal>, <literal>short</"
+"literal> or <literal>int</literal> that are unique only when no other "
+"process is inserting data into the same table. <emphasis>Do not use in a "
+"cluster.</emphasis>"
+msgstr ""
+"<literal>long</literal> , <literal>short</literal> , <literal>int</literal> "
+"åã®èå¥åãçæãã¾ãã ãããã¯ä»ã®ããã»ã¹ãåããã¼ãã«ã«ãã¼ã¿ãæ¿å
¥ããª"
+"ãã¨ãã ãã¦ãã¼ã¯ã§ãã <emphasis>ã¯ã©ã¹ã¿å
ã§ã¯ä½¿ããªãã§ãã ãã</"
+"emphasis> ã"
-#: index.docbook:562
+#. Tag: literal
+#: basic_mapping.xml:562
+#, no-c-format
msgid "identity"
msgstr "identity"
-#: index.docbook:564
-msgid "supports identity columns in DB2, MySQL, MS SQL Server, Sybase and HypersonicSQL. The returned identifier is of type <literal>long</literal>, <literal>short</literal> or <literal>int</literal>."
-msgstr "DB2, MySQL, MS SQL Server, Sybase, HypersonicSQLã®èå¥åã«ã©ã ã ãµãã¼ããã¾ãã è¿ãããèå¥åã®å㯠<literal>long</literal> , <literal>short</literal> , <literal>int</literal> ã®ããããã§ãã"
+#. Tag: para
+#: basic_mapping.xml:564
+#, no-c-format
+msgid ""
+"supports identity columns in DB2, MySQL, MS SQL Server, Sybase and "
+"HypersonicSQL. The returned identifier is of type <literal>long</literal>, "
+"<literal>short</literal> or <literal>int</literal>."
+msgstr ""
+"DB2, MySQL, MS SQL Server, Sybase, HypersonicSQLã®èå¥åã«ã©ã ã ãµãã¼ããã¾"
+"ãã è¿ãããèå¥åã®å㯠<literal>long</literal> , <literal>short</"
+"literal> , <literal>int</literal> ã®ããããã§ãã"
-#: index.docbook:572
+#. Tag: literal
+#: basic_mapping.xml:572
+#, no-c-format
msgid "sequence"
msgstr "sequence"
-#: index.docbook:574
-msgid "uses a sequence in DB2, PostgreSQL, Oracle, SAP DB, McKoi or a generator in Interbase. The returned identifier is of type <literal>long</literal>, <literal>short</literal> or <literal>int</literal>"
-msgstr "DB2, PostgreSQL, Oracle, SAP DB, McKoiã®ã·ã¼ã±ã³ã¹ããInterbaseã®ã¸ã§ãã¬ã¼ã¿ã使ç¨ãã¾ãã è¿ãããèå¥åã®å㯠<literal>long</literal> , <literal>short</literal> , <literal>int</literal> ã®ããããã§ãã"
+#. Tag: para
+#: basic_mapping.xml:574
+#, no-c-format
+msgid ""
+"uses a sequence in DB2, PostgreSQL, Oracle, SAP DB, McKoi or a generator in "
+"Interbase. The returned identifier is of type <literal>long</literal>, "
+"<literal>short</literal> or <literal>int</literal>"
+msgstr ""
+"DB2, PostgreSQL, Oracle, SAP DB, McKoiã®ã·ã¼ã±ã³ã¹ããInterbaseã®ã¸ã§ãã¬ã¼ã¿"
+"ã使ç¨ãã¾ãã è¿ãããèå¥åã®å㯠<literal>long</literal> , "
+"<literal>short</literal> , <literal>int</literal> ã®ããããã§ãã"
-#: index.docbook:582
+#. Tag: literal
+#: basic_mapping.xml:582
+#, no-c-format
msgid "hilo"
msgstr "hilo"
-#: index.docbook:584
-msgid "uses a hi/lo algorithm to efficiently generate identifiers of type <literal>long</literal>, <literal>short</literal> or <literal>int</literal>, given a table and column (by default <literal>hibernate_unique_key</literal> and <literal>next_hi</literal> respectively) as a source of hi values. The hi/lo algorithm generates identifiers that are unique only for a particular database."
-msgstr "<literal>long</literal> , <literal>short</literal> , <literal>int</literal> åã®èå¥åãå¹ççã«çæããhi/loã¢ã«ã´ãªãºã ã使ãã¾ãã hiå¤ã®ã½ã¼ã¹ã¨ãã¦ããã¼ãã«ã¨ã«ã©ã ãä¸ãã¾ã(ããã©ã«ãã§ã¯ãããã <literal>hibernate_unique_key</literal> 㨠<literal>next_hi</literal> )ã hi/loã¢ã«ã´ãªãºã ã¯ç¹å®ã®ãã¼ã¿ãã¼ã¹ã«å¯¾ãã¦ã®ã¿ã¦ãã¼ã¯ãªèå¥åãçæãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:584
+#, no-c-format
+msgid ""
+"uses a hi/lo algorithm to efficiently generate identifiers of type "
+"<literal>long</literal>, <literal>short</literal> or <literal>int</literal>, "
+"given a table and column (by default <literal>hibernate_unique_key</literal> "
+"and <literal>next_hi</literal> respectively) as a source of hi values. The "
+"hi/lo algorithm generates identifiers that are unique only for a particular "
+"database."
+msgstr ""
+"<literal>long</literal> , <literal>short</literal> , <literal>int</literal> "
+"åã®èå¥åãå¹ççã«çæããhi/loã¢ã«ã´ãªãºã ã使ãã¾ãã hiå¤ã®ã½ã¼ã¹ã¨ã"
+"ã¦ããã¼ãã«ã¨ã«ã©ã ãä¸ãã¾ã(ããã©ã«ãã§ã¯ãããã "
+"<literal>hibernate_unique_key</literal> 㨠<literal>next_hi</literal> )ã hi/"
+"loã¢ã«ã´ãªãºã ã¯ç¹å®ã®ãã¼ã¿ãã¼ã¹ã«å¯¾ãã¦ã®ã¿ã¦ãã¼ã¯ãªèå¥åãçæãã¾ãã"
-#: index.docbook:594
+#. Tag: literal
+#: basic_mapping.xml:594
+#, no-c-format
msgid "seqhilo"
msgstr "seqhilo"
-#: index.docbook:596
-msgid "uses a hi/lo algorithm to efficiently generate identifiers of type <literal>long</literal>, <literal>short</literal> or <literal>int</literal>, given a named database sequence."
-msgstr "<literal>long</literal> , <literal>short</literal> , <literal>int</literal> åã®èå¥åãå¹ççã«çæããhi/loã¢ã«ã´ãªãºã ã使ãã¾ãã æå®ããããã¼ã¿ãã¼ã¹ã·ã¼ã±ã³ã¹ãä¸ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:596
+#, no-c-format
+msgid ""
+"uses a hi/lo algorithm to efficiently generate identifiers of type "
+"<literal>long</literal>, <literal>short</literal> or <literal>int</literal>, "
+"given a named database sequence."
+msgstr ""
+"<literal>long</literal> , <literal>short</literal> , <literal>int</literal> "
+"åã®èå¥åãå¹ççã«çæããhi/loã¢ã«ã´ãªãºã ã使ãã¾ãã æå®ããããã¼ã¿"
+"ãã¼ã¹ã·ã¼ã±ã³ã¹ãä¸ãã¾ãã"
-#: index.docbook:604
+#. Tag: literal
+#: basic_mapping.xml:604
+#, no-c-format
msgid "uuid"
msgstr "uuid"
-#: index.docbook:606
-msgid "uses a 128-bit UUID algorithm to generate identifiers of type string, unique within a network (the IP address is used). The UUID is encoded as a string of hexadecimal digits of length 32."
-msgstr "(IPã¢ãã¬ã¹ã使ç¨ããã)ãããã¯ã¼ã¯å
ã§ã¦ãã¼ã¯ãªæåååã®èå¥åãçæããããã«ã 128ãããã®UUIDã¢ã«ã´ãªãºã ã使ç¨ãã¾ããUUIDã¯é·ã32ã®16鲿°åã®æååã¨ãã¦ã¨ã³ã³ã¼ãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:606
+#, no-c-format
+msgid ""
+"uses a 128-bit UUID algorithm to generate identifiers of type string, unique "
+"within a network (the IP address is used). The UUID is encoded as a string "
+"of hexadecimal digits of length 32."
+msgstr ""
+"(IPã¢ãã¬ã¹ã使ç¨ããã)ãããã¯ã¼ã¯å
ã§ã¦ãã¼ã¯ãªæåååã®èå¥åãçæãã"
+"ããã«ã 128ãããã®UUIDã¢ã«ã´ãªãºã ã使ç¨ãã¾ããUUIDã¯é·ã32ã®16鲿°åã®æ"
+"ååã¨ãã¦ã¨ã³ã³ã¼ãããã¾ãã"
-#: index.docbook:614
+#. Tag: literal
+#: basic_mapping.xml:614
+#, no-c-format
msgid "guid"
msgstr "guid"
-#: index.docbook:616
+#. Tag: para
+#: basic_mapping.xml:616
+#, no-c-format
msgid "uses a database-generated GUID string on MS SQL Server and MySQL."
msgstr "MS SQLãµã¼ãã¨MySQLã§ãã¼ã¿ãã¼ã¹ãçæããGUIDæååã使ç¨ãã¾ãã"
-#: index.docbook:622
+#. Tag: literal
+#: basic_mapping.xml:622
+#, no-c-format
msgid "native"
msgstr "native"
-#: index.docbook:624
-msgid "picks <literal>identity</literal>, <literal>sequence</literal> or <literal>hilo</literal> depending upon the capabilities of the underlying database."
-msgstr "使ç¨ãããã¼ã¿ãã¼ã¹ã®æ§è½ã«ãã <literal>identity</literal> , <literal>sequence</literal> , <literal>hilo</literal> ã®ãããããé¸ã°ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:624
+#, no-c-format
+msgid ""
+"picks <literal>identity</literal>, <literal>sequence</literal> or "
+"<literal>hilo</literal> depending upon the capabilities of the underlying "
+"database."
+msgstr ""
+"使ç¨ãããã¼ã¿ãã¼ã¹ã®æ§è½ã«ãã <literal>identity</literal> , "
+"<literal>sequence</literal> , <literal>hilo</literal> ã®ãããããé¸ã°ãã¾"
+"ãã"
-#: index.docbook:632
+#. Tag: literal
+#: basic_mapping.xml:632
+#, no-c-format
msgid "assigned"
msgstr "assigned"
-#: index.docbook:634
-msgid "lets the application to assign an identifier to the object before <literal>save()</literal> is called. This is the default strategy if no <literal><generator></literal> element is specified."
-msgstr "<literal>save()</literal> ãå¼ã°ããåã«ã ã¢ããªã±ã¼ã·ã§ã³ããªãã¸ã§ã¯ãã«èå¥åã代å
¥ã§ããããã«ãã¾ãã <literal><generator></literal> ãæå®ããã¦ããªããã°ããããããã©ã«ãã®æ¦ç¥ã«ãªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:634
+#, no-c-format
+msgid ""
+"lets the application to assign an identifier to the object before "
+"<literal>save()</literal> is called. This is the default strategy if no "
+"<literal><generator></literal> element is specified."
+msgstr ""
+"<literal>save()</literal> ãå¼ã°ããåã«ã ã¢ããªã±ã¼ã·ã§ã³ããªãã¸ã§ã¯ãã«è"
+"å¥åã代å
¥ã§ããããã«ãã¾ãã <literal><generator></literal> ãæå®ã"
+"ãã¦ããªããã°ããããããã©ã«ãã®æ¦ç¥ã«ãªãã¾ãã"
-#: index.docbook:642
+#. Tag: literal
+#: basic_mapping.xml:642
+#, no-c-format
msgid "select"
msgstr "select"
-#: index.docbook:644
-msgid "retrieves a primary key assigned by a database trigger by selecting the row by some unique key and retrieving the primary key value."
-msgstr "ããã¦ãã¼ã¯ãã¼ã«ããè¡ã®é¸æã¨ä¸»ãã¼ã®å¤ã®å¾©å
ã«ããã ãã¼ã¿ãã¼ã¹ããªã¬ãå²ãå½ã¦ã主ãã¼ãåå¾ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:644
+#, no-c-format
+msgid ""
+"retrieves a primary key assigned by a database trigger by selecting the row "
+"by some unique key and retrieving the primary key value."
+msgstr ""
+"ããã¦ãã¼ã¯ãã¼ã«ããè¡ã®é¸æã¨ä¸»ãã¼ã®å¤ã®å¾©å
ã«ããã ãã¼ã¿ãã¼ã¹ããªã¬ã"
+"å²ãå½ã¦ã主ãã¼ãåå¾ãã¾ãã"
-#: index.docbook:651
+#. Tag: literal
+#: basic_mapping.xml:651
+#, no-c-format
msgid "foreign"
msgstr "foreign"
-#: index.docbook:653
-msgid "uses the identifier of another associated object. Usually used in conjunction with a <literal><one-to-one></literal> primary key association."
-msgstr "ä»ã®é¢é£ãªãã¸ã§ã¯ãã®èå¥åã使ãã¾ãã æ®éã¯ã<literal><one-to-one></literal> 主ãã¼é¢é£ã¨çµã¿åããã¦ä½¿ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:653
+#, no-c-format
+msgid ""
+"uses the identifier of another associated object. Usually used in "
+"conjunction with a <literal><one-to-one></literal> primary key "
+"association."
+msgstr ""
+"ä»ã®é¢é£ãªãã¸ã§ã¯ãã®èå¥åã使ãã¾ãã æ®éã¯ã<literal><one-to-one>"
+"</literal> 主ãã¼é¢é£ã¨çµã¿åããã¦ä½¿ãã¾ãã"
-#: index.docbook:660
+#. Tag: literal
+#: basic_mapping.xml:660
+#, no-c-format
msgid "sequence-identity"
-msgstr "Hi/lo ã¢ã«ã´ãªãºã "
+msgstr "sequence-identity"
-#: index.docbook:662
-msgid "a specialized sequence generation strategy which utilizes a database sequence for the actual value generation, but combines this with JDBC3 getGeneratedKeys to actually return the generated identifier value as part of the insert statement execution. This strategy is only known to be supported on Oracle 10g drivers targetted for JDK 1.4. Note comments on these insert statements are disabled due to a bug in the Oracle drivers."
-msgstr "<literal>hilo</literal> 㨠<literal>seqhilo</literal> ã¸ã§ãã¬ã¼ã¿ã¯ã èå¥åçæã®ä»£è¡¨çãªã¢ããã¼ãã§ããhi/loã¢ã«ã´ãªãºã ã®2ã¤ã®ä»£æ¿å®è£
ãæä¾ãã¾ãã 1çªç®ã®å®è£
ã¯ã次åã«å©ç¨ããã\"hi\"å¤ãä¿æãããç¹å¥ãªããã¼ã¿ãã¼ã¹ãã¼ãã«ã å¿
è¦ã¨ãã¾ãã 2çªç®ã®å®è£
ã¯ãOracleã¹ã¿ã¤ã«ã®ã·ã¼ã±ã³ã¹ã使ãã¾ãï¼ãµãã¼ãããã¦ããå ´åï¼ã"
+#. Tag: para
+#: basic_mapping.xml:662
+#, no-c-format
+msgid ""
+"a specialized sequence generation strategy which utilizes a database "
+"sequence for the actual value generation, but combines this with JDBC3 "
+"getGeneratedKeys to actually return the generated identifier value as part "
+"of the insert statement execution. This strategy is only known to be "
+"supported on Oracle 10g drivers targetted for JDK 1.4. Note comments on "
+"these insert statements are disabled due to a bug in the Oracle drivers."
+msgstr ""
+"a specialized sequence generation strategy which utilizes a database "
+"sequence for the actual value generation, but combines this with JDBC3 "
+"getGeneratedKeys to actually return the generated identifier value as part "
+"of the insert statement execution. This strategy is only known to be "
+"supported on Oracle 10g drivers targetted for JDK 1.4. Note comments on "
+"these insert statements are disabled due to a bug in the Oracle drivers."
-#: index.docbook:679
+#. Tag: title
+#: basic_mapping.xml:679
+#, no-c-format
msgid "Hi/lo algorithm"
+msgstr "Hi/lo ã¢ã«ã´ãªãºã "
+
+#. Tag: para
+#: basic_mapping.xml:680
+#, no-c-format
+msgid ""
+"The <literal>hilo</literal> and <literal>seqhilo</literal> generators "
+"provide two alternate implementations of the hi/lo algorithm, a favorite "
+"approach to identifier generation. The first implementation requires a "
+"\"special\" database table to hold the next available \"hi\" value. The "
+"second uses an Oracle-style sequence (where supported)."
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">
-\n"
- " <generator class=\"hilo\">
-\n"
- " <param name=\"table\">hi_value</param>
-\n"
- " <param name=\"column\">next_value</param>
-\n"
- " <param name=\"max_lo\">100</param>
-\n"
- " </generator>
-\n"
- "</id>]]>"
+"<literal>hilo</literal> 㨠<literal>seqhilo</literal> ã¸ã§ãã¬ã¼ã¿ã¯ã èå¥å"
+"çæã®ä»£è¡¨çãªã¢ããã¼ãã§ããhi/loã¢ã«ã´ãªãºã ã®2ã¤ã®ä»£æ¿å®è£
ãæä¾ãã¾ãã "
+"1çªç®ã®å®è£
ã¯ã次åã«å©ç¨ããã\"hi\"å¤ãä¿æãããç¹å¥ãªããã¼ã¿ãã¼ã¹ãã¼ã"
+"ã«ã å¿
è¦ã¨ãã¾ãã 2çªç®ã®å®è£
ã¯ãOracleã¹ã¿ã¤ã«ã®ã·ã¼ã±ã³ã¹ã使ãã¾ãï¼ãµ"
+"ãã¼ãããã¦ããå ´åï¼ã"
-#: index.docbook:680
-msgid "The <literal>hilo</literal> and <literal>seqhilo</literal> generators provide two alternate implementations of the hi/lo algorithm, a favorite approach to identifier generation. The first implementation requires a \"special\" database table to hold the next available \"hi\" value. The second uses an Oracle-style sequence (where supported)."
+#. Tag: programlisting
+#: basic_mapping.xml:687
+#, no-c-format
+msgid ""
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
+" <generator class=\"hilo\">\n"
+" <param name=\"table\">hi_value</param>\n"
+" <param name=\"column\">next_value</param>\n"
+" <param name=\"max_lo\">100</param>\n"
+" </generator>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">
-\n"
- " <generator class=\"seqhilo\">
-\n"
- " <param name=\"sequence\">hi_value</param>
-\n"
- " <param name=\"max_lo\">100</param>
-\n"
- " </generator>
-\n"
- "</id>]]>"
-#: index.docbook:687
+#. Tag: programlisting
+#: basic_mapping.xml:689
+#, no-c-format
msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
- " <generator class=\"hilo\">\n"
- " <param name=\"table\">hi_value</param>\n"
- " <param name=\"column\">next_value</param>\n"
- " <param name=\"max_lo\">100</param>\n"
- " </generator>\n"
- "</id>]]>"
-msgstr "æ®å¿µãªããHibernateã¸ã®ç¬èªã® <literal>Connection</literal> ãæä¾ããã¨ãã«ã¯ã<literal>hilo</literal> ã使ãã¾ããã HibernateãJTAã§ãªã¹ãããã¦ããæ¥ç¶ãåå¾ããããã«ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®ãã¼ã¿ã½ã¼ã¹ã使ç¨ãã¦ããã¨ãã«ã¯ã <literal>hibernate.transaction.manager_lookup_class</literal> ãé©åã«è¨å®ããªããã°ãªãã¾ããã"
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
+" <generator class=\"seqhilo\">\n"
+" <param name=\"sequence\">hi_value</param>\n"
+" <param name=\"max_lo\">100</param>\n"
+" </generator>\n"
+"</id>]]>"
+msgstr ""
-#: index.docbook:689
+#. Tag: para
+#: basic_mapping.xml:691
+#, no-c-format
msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"cat_id\">\n"
- " <generator class=\"seqhilo\">\n"
- " <param name=\"sequence\">hi_value</param>\n"
- " <param name=\"max_lo\">100</param>\n"
- " </generator>\n"
- "</id>]]>"
+"Unfortunately, you can't use <literal>hilo</literal> when supplying your own "
+"<literal>Connection</literal> to Hibernate. When Hibernate is using an "
+"application server datasource to obtain connections enlisted with JTA, you "
+"must properly configure the <literal>hibernate.transaction."
+"manager_lookup_class</literal>."
+msgstr ""
+"æ®å¿µãªããHibernateã¸ã®ç¬èªã® <literal>Connection</literal> ãæä¾ããã¨ãã«"
+"ã¯ã<literal>hilo</literal> ã使ãã¾ããã HibernateãJTAã§ãªã¹ãããã¦ããæ¥"
+"ç¶ãåå¾ããããã«ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®ãã¼ã¿ã½ã¼ã¹ã使ç¨ãã¦ããã¨ãã«"
+"ã¯ã <literal>hibernate.transaction.manager_lookup_class</literal> ãé©åã«è¨"
+"å®ããªããã°ãªãã¾ããã"
+
+#. Tag: title
+#: basic_mapping.xml:700
+#, no-c-format
+msgid "UUID algorithm"
msgstr "UUID ã¢ã«ã´ãªãºã "
-#: index.docbook:691
-msgid "Unfortunately, you can't use <literal>hilo</literal> when supplying your own <literal>Connection</literal> to Hibernate. When Hibernate is using an application server datasource to obtain connections enlisted with JTA, you must properly configure the <literal>hibernate.transaction.manager_lookup_class</literal>."
-msgstr "UUIDã«ã¯ä»¥ä¸ã®ãã®ãå«ã¾ãã¾ãï¼ IPã¢ãã¬ã¹ãJVMã®ã¹ã¿ã¼ãã¢ããã¿ã¤ã ï¼4åã®1ç§ã®æ£ç¢ºãï¼ã ã·ã¹ãã æéãï¼JVMã«å¯¾ãã¦ã¦ãã¼ã¯ãªï¼ã«ã¦ã³ã¿å¤ã Javaã³ã¼ãããMACã¢ãã¬ã¹ãã¡ã¢ãªã¢ãã¬ã¹ãåå¾ãããã¨ã¯ã§ããªãã®ã§ã JNIã使ããªãã¨ãã®æè¯ã®æ¹æ³ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:701
+#, no-c-format
+msgid ""
+"The UUID contains: IP address, startup time of the JVM (accurate to a "
+"quarter second), system time and a counter value (unique within the JVM). "
+"It's not possible to obtain a MAC address or memory address from Java code, "
+"so this is the best we can do without using JNI."
+msgstr ""
+"UUIDã«ã¯ä»¥ä¸ã®ãã®ãå«ã¾ãã¾ãï¼ IPã¢ãã¬ã¹ãJVMã®ã¹ã¿ã¼ãã¢ããã¿ã¤ã ï¼4åã®"
+"1ç§ã®æ£ç¢ºãï¼ã ã·ã¹ãã æéãï¼JVMã«å¯¾ãã¦ã¦ãã¼ã¯ãªï¼ã«ã¦ã³ã¿å¤ã Javaã³ã¼"
+"ãããMACã¢ãã¬ã¹ãã¡ã¢ãªã¢ãã¬ã¹ãåå¾ãããã¨ã¯ã§ããªãã®ã§ã JNIã使ããªã"
+"ã¨ãã®æè¯ã®æ¹æ³ã§ãã"
-#: index.docbook:700
-msgid "UUID algorithm"
+#. Tag: title
+#: basic_mapping.xml:710
+#, no-c-format
+msgid "Identity columns and sequences"
msgstr "èå¥åã«ã©ã ã¨ã·ã¼ã±ã³ã¹"
-#: index.docbook:701
-msgid "The UUID contains: IP address, startup time of the JVM (accurate to a quarter second), system time and a counter value (unique within the JVM). It's not possible to obtain a MAC address or memory address from Java code, so this is the best we can do without using JNI."
-msgstr "èå¥åã«ã©ã ããµãã¼ããã¦ãããã¼ã¿ãã¼ã¹ï¼DB2, MySQL, Sybase, MS SQLï¼ã§ã¯ã <literal>identity</literal> ãã¼çæã使ãã¾ãã ã·ã¼ã±ã³ã¹ããµãã¼ããããã¼ã¿ãã¼ã¹ï¼DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DBï¼ã§ã¯ã <literal>sequence</literal> ã¹ã¿ã¤ã«ã®ãã¼çæã使ãã¾ãã ã©ã¡ãã®æ¦ç¥ããæ°ãããªãã¸ã§ã¯ããæ¿å
¥ããããã«ãSQLã¯ã¨ãªã2ã¤å¿
è¦ã¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:711
+#, no-c-format
+msgid ""
+"For databases which support identity columns (DB2, MySQL, Sybase, MS SQL), "
+"you may use <literal>identity</literal> key generation. For databases that "
+"support sequences (DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DB) you "
+"may use <literal>sequence</literal> style key generation. Both these "
+"strategies require two SQL queries to insert a new object."
+msgstr ""
+"èå¥åã«ã©ã ããµãã¼ããã¦ãããã¼ã¿ãã¼ã¹ï¼DB2, MySQL, Sybase, MS SQLï¼ã§"
+"ã¯ã <literal>identity</literal> ãã¼çæã使ãã¾ãã ã·ã¼ã±ã³ã¹ããµãã¼ãã"
+"ããã¼ã¿ãã¼ã¹ï¼DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DBï¼ã§ã¯ã "
+"<literal>sequence</literal> ã¹ã¿ã¤ã«ã®ãã¼çæã使ãã¾ãã ã©ã¡ãã®æ¦ç¥ããæ°"
+"ãããªãã¸ã§ã¯ããæ¿å
¥ããããã«ãSQLã¯ã¨ãªã2ã¤å¿
è¦ã¨ãã¾ãã"
-#: index.docbook:710
-msgid "Identity columns and sequences"
+#. Tag: programlisting
+#: basic_mapping.xml:719
+#, no-c-format
+msgid ""
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">\n"
+" <generator class=\"sequence\">\n"
+" <param name=\"sequence\">person_id_sequence</param>\n"
+" </generator>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">
-\n"
- " <generator class=\"sequence\">
-\n"
- " <param name=\"sequence\">person_id_sequence</param>
-\n"
- " </generator>
-\n"
- "</id>]]>"
-#: index.docbook:711
-msgid "For databases which support identity columns (DB2, MySQL, Sybase, MS SQL), you may use <literal>identity</literal> key generation. For databases that support sequences (DB2, Oracle, PostgreSQL, Interbase, McKoi, SAP DB) you may use <literal>sequence</literal> style key generation. Both these strategies require two SQL queries to insert a new object."
+#. Tag: programlisting
+#: basic_mapping.xml:721
+#, no-c-format
+msgid ""
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\" unsaved-value=\"0"
+"\">\n"
+" <generator class=\"identity\"/>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\" unsaved-value=\"0\">
-\n"
- " <generator class=\"identity\"/>
-\n"
- "</id>]]>"
-#: index.docbook:719
+#. Tag: para
+#: basic_mapping.xml:723
+#, no-c-format
msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">\n"
- " <generator class=\"sequence\">\n"
- " <param name=\"sequence\">person_id_sequence</param>\n"
- " </generator>\n"
- "</id>]]>"
-msgstr "ã¯ãã¹ãã©ãããã©ã¼ã ã®éçºã§ã¯ã<literal>native</literal> æ¦ç¥ã¯ <literal>identity</literal> , <literal>sequence</literal> , <literal>hilo</literal> æ¦ç¥ã®ä¸ãã1ã¤ã鏿ãã¾ããã ããã¯ä½¿ç¨ãã¦ãããã¼ã¿ãã¼ã¹ã®è½åã«ä¾åãã¾ãã"
+"For cross-platform development, the <literal>native</literal> strategy will "
+"choose from the <literal>identity</literal>, <literal>sequence</literal> and "
+"<literal>hilo</literal> strategies, dependant upon the capabilities of the "
+"underlying database."
+msgstr ""
+"ã¯ãã¹ãã©ãããã©ã¼ã ã®éçºã§ã¯ã<literal>native</literal> æ¦ç¥ã¯ "
+"<literal>identity</literal> , <literal>sequence</literal> , <literal>hilo</"
+"literal> æ¦ç¥ã®ä¸ãã1ã¤ã鏿ãã¾ããã ããã¯ä½¿ç¨ãã¦ãããã¼ã¿ãã¼ã¹ã®è½å"
+"ã«ä¾åãã¾ãã"
-#: index.docbook:721
-msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\" unsaved-value=\"0\">\n"
- " <generator class=\"identity\"/>\n"
- "</id>]]>"
+#. Tag: title
+#: basic_mapping.xml:732
+#, no-c-format
+msgid "Assigned identifiers"
msgstr "èå¥åã®å²ãå½ã¦"
-#: index.docbook:723
-msgid "For cross-platform development, the <literal>native</literal> strategy will choose from the <literal>identity</literal>, <literal>sequence</literal> and <literal>hilo</literal> strategies, dependant upon the capabilities of the underlying database."
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ã«èå¥åãå²ãå½ã¦ããããã®ã§ããã°(Hibernateãçæãããã®ã§ã¯ãªãï¼ã <literal>assigned</literal> ã¸ã§ãã¬ã¼ã¿ã使ããã¨ãã§ãã¾ãã ãã®ç¹å¥ãªã¸ã§ãã¬ã¼ã¿ã¯ããã§ã«ãªãã¸ã§ã¯ãã®èå¥åããããã£ã«ä»£å
¥ãããå¤ã èå¥åã«ä½¿ãã¾ãããã®ã¸ã§ãã¬ã¼ã¿ã¯ä¸»ãã¼ã代çãã¼ã®ä»£ããã«èªç¶ãã¼ã§ããå ´åã«ä½¿ç¨ãã¾ãã <literal><generator></literal> è¦ç´ ãæå®ããªãå ´åã®ããã©ã«ãã®åä½ã«ãªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:733
+#, no-c-format
+msgid ""
+"If you want the application to assign identifiers (as opposed to having "
+"Hibernate generate them), you may use the <literal>assigned</literal> "
+"generator. This special generator will use the identifier value already "
+"assigned to the object's identifier property. This generator is used when "
+"the primary key is a natural key instead of a surrogate key. This is the "
+"default behavior if you do no specify a <literal><generator></literal> "
+"element."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã«èå¥åãå²ãå½ã¦ããããã®ã§ããã°(Hibernateãçæãããã®"
+"ã§ã¯ãªãï¼ã <literal>assigned</literal> ã¸ã§ãã¬ã¼ã¿ã使ããã¨ãã§ãã¾ãã "
+"ãã®ç¹å¥ãªã¸ã§ãã¬ã¼ã¿ã¯ããã§ã«ãªãã¸ã§ã¯ãã®èå¥åããããã£ã«ä»£å
¥ãããå¤"
+"ã èå¥åã«ä½¿ãã¾ãããã®ã¸ã§ãã¬ã¼ã¿ã¯ä¸»ãã¼ã代çãã¼ã®ä»£ããã«èªç¶ãã¼ã§ã"
+"ãå ´åã«ä½¿ç¨ãã¾ãã <literal><generator></literal> è¦ç´ ãæå®ããªãå ´"
+"åã®ããã©ã«ãã®åä½ã«ãªãã¾ãã"
-#: index.docbook:732
-msgid "Assigned identifiers"
-msgstr "<literal>assigned</literal> ã¸ã§ãã¬ã¼ã¿ã鏿ããã¨ã Hibernate㯠<literal>unsaved-value=\"undefined\"</literal> ã使ç¨ãã¾ãã ããã¦ããã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ããªãå ´åã <literal>Interceptor.isUnsaved()</literal> ãå®ç¾©ããªãã£ãå ´åã«ã¯ãã¤ã³ã¹ã¿ã³ã¹ã䏿ç(transient)ãªãã®ã§ããã®ãã ã¾ãã¯ã»ãã·ã§ã³ããåé¢(detached)ãããã®ãã©ãããæ±ºããããã«ããã¼ã¿ãã¼ã¹ã調ã¹ã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:742
+#, no-c-format
+msgid ""
+"Choosing the <literal>assigned</literal> generator makes Hibernate use "
+"<literal>unsaved-value=\"undefined\"</literal>, forcing Hibernate to go to "
+"the database to determine if an instance is transient or detached, unless "
+"there is a version or timestamp property, or you define <literal>Interceptor."
+"isUnsaved()</literal>."
+msgstr ""
+"<literal>assigned</literal> ã¸ã§ãã¬ã¼ã¿ã鏿ããã¨ã Hibernate㯠"
+"<literal>unsaved-value=\"undefined\"</literal> ã使ç¨ãã¾ãã ããã¦ããã¼"
+"ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ããªãå ´åã <literal>Interceptor.isUnsaved"
+"()</literal> ãå®ç¾©ããªãã£ãå ´åã«ã¯ãã¤ã³ã¹ã¿ã³ã¹ã䏿ç(transient)ãªãã®"
+"ã§ããã®ãã ã¾ãã¯ã»ãã·ã§ã³ããåé¢(detached)ãããã®ãã©ãããæ±ºãããã"
+"ã«ããã¼ã¿ãã¼ã¹ã調ã¹ã¾ãã"
-#: index.docbook:733
-msgid "If you want the application to assign identifiers (as opposed to having Hibernate generate them), you may use the <literal>assigned</literal> generator. This special generator will use the identifier value already assigned to the object's identifier property. This generator is used when the primary key is a natural key instead of a surrogate key. This is the default behavior if you do no specify a <literal><generator></literal> element."
+#. Tag: title
+#: basic_mapping.xml:752
+#, no-c-format
+msgid "Primary keys assigned by triggers"
msgstr "ããªã¬ã«ããå²ãå½ã¦ããã主ãã¼"
-#: index.docbook:742
-msgid "Choosing the <literal>assigned</literal> generator makes Hibernate use <literal>unsaved-value=\"undefined\"</literal>, forcing Hibernate to go to the database to determine if an instance is transient or detached, unless there is a version or timestamp property, or you define <literal>Interceptor.isUnsaved()</literal>."
-msgstr "ã¬ã¬ã·ã¼ã¹ãã¼ãã®ããã«ã®ã¿æå®ãã¾ã(Hibernateã¯ããªã¬ã使ã£ã¦DDLãçæãã¾ãã)ã"
+#. Tag: para
+#: basic_mapping.xml:753
+#, no-c-format
+msgid ""
+"For legacy schemas only (Hibernate does not generate DDL with triggers)."
+msgstr ""
+"ã¬ã¬ã·ã¼ã¹ãã¼ãã®ããã«ã®ã¿æå®ãã¾ã(Hibernateã¯ããªã¬ã使ã£ã¦DDLãçæãã¾"
+"ãã)ã"
-#: index.docbook:752
-msgid "Primary keys assigned by triggers"
+#. Tag: programlisting
+#: basic_mapping.xml:757
+#, no-c-format
+msgid ""
+"<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">\n"
+" <generator class=\"select\">\n"
+" <param name=\"key\">socialSecurityNumber</param>\n"
+" </generator>\n"
+"</id>]]>"
msgstr ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">
-\n"
- " <generator class=\"select\">
-\n"
- " <param name=\"key\">socialSecurityNumber</param>
-\n"
- " </generator>
-\n"
- "</id>]]>"
-#: index.docbook:753
-msgid "For legacy schemas only (Hibernate does not generate DDL with triggers)."
-msgstr "ä¸ã®ä¾ã®ä¸ã§ãã¯ã©ã¹ã§èªç¶ãã¼ã¨ãã¦å®ç¾©ããã <literal>socialSecurityNumber</literal> ã¨ããååã®ã¦ãã¼ã¯ãªå¤ã®ããããã£ã¨ã å¤ãããªã¬ã«ããçæããã <literal>person_id</literal> ã¨ããååã®ä»£çãã¼ãããã¾ãã"
-
-#: index.docbook:757
+#. Tag: para
+#: basic_mapping.xml:759
+#, no-c-format
msgid ""
- "<![CDATA[<id name=\"id\" type=\"long\" column=\"person_id\">\n"
- " <generator class=\"select\">\n"
- " <param name=\"key\">socialSecurityNumber</param>\n"
- " </generator>\n"
- "</id>]]>"
-msgstr "composite-id"
-
-#: index.docbook:759
-msgid "In the above example, there is a unique valued property named <literal>socialSecurityNumber</literal> defined by the class, as a natural key, and a surrogate key named <literal>person_id</literal> whose value is generated by a trigger."
+"In the above example, there is a unique valued property named "
+"<literal>socialSecurityNumber</literal> defined by the class, as a natural "
+"key, and a surrogate key named <literal>person_id</literal> whose value is "
+"generated by a trigger."
msgstr ""
- "<![CDATA[<composite-id
-\n"
- " name=\"propertyName\"
-\n"
- " class=\"ClassName\"
-\n"
- " mapped=\"true|false\"
-\n"
- " access=\"field|property|ClassName\">
-\n"
- " node=\"element-name|.\"
-\n"
- "
-\n"
- " <key-property name=\"propertyName\" type=\"typename\" column=\"column_name\"/>
-\n"
- " <key-many-to-one name=\"propertyName class=\"ClassName\" column=\"column_name\"/>
-\n"
- " ......
-\n"
- "</composite-id>]]>"
+"ä¸ã®ä¾ã®ä¸ã§ãã¯ã©ã¹ã§èªç¶ãã¼ã¨ãã¦å®ç¾©ããã "
+"<literal>socialSecurityNumber</literal> ã¨ããååã®ã¦ãã¼ã¯ãªå¤ã®ããããã£"
+"ã¨ã å¤ãããªã¬ã«ããçæããã <literal>person_id</literal> ã¨ããååã®ä»£ç"
+"ãã¼ãããã¾ãã"
-#: index.docbook:771
+#. Tag: title
+#: basic_mapping.xml:771
+#, no-c-format
msgid "Enhanced identifier generators"
-msgstr "è¤åãã¼ã®ãããã¼ãã«ã«å¯¾ãã èå¥åããããã£ã¨ãã¦ã¯ã©ã¹ã®è¤æ°ã®ããããã£ããããã³ã°ãããã¨ãã§ãã¾ãã <literal><composite-id></literal> è¦ç´ ã¯ãåè¦ç´ ã¨ã㦠<literal><key-property></literal> ããããã£ãããã³ã°ã¨ <literal><key-many-to-one></literal> ãããã³ã°ãåãå
¥ãã¾ãã"
+msgstr "Enhanced identifier generators"
-#: index.docbook:773
-msgid "Starting with release 3.2.3, there are 2 new generators which represent a re-thinking of 2 different aspects of identifier generation. The first aspect is database portability; the second is optimization (not having to query the database for every request for a new identifier value). These two new generators are intended to take the place of some of the named generators described above (starting in 3.3.x); however, they are included in the current releases and can be referenced by FQN."
+#. Tag: para
+#: basic_mapping.xml:773
+#, no-c-format
+msgid ""
+"Starting with release 3.2.3, there are 2 new generators which represent a re-"
+"thinking of 2 different aspects of identifier generation. The first aspect "
+"is database portability; the second is optimization (not having to query the "
+"database for every request for a new identifier value). These two new "
+"generators are intended to take the place of some of the named generators "
+"described above (starting in 3.3.x); however, they are included in the "
+"current releases and can be referenced by FQN."
msgstr ""
- "<![CDATA[<composite-id>
-\n"
- " <key-property name=\"medicareNumber\"/>
-\n"
- " <key-property name=\"dependent\"/>
-\n"
- "</composite-id>]]>"
+"Starting with release 3.2.3, there are 2 new generators which represent a re-"
+"thinking of 2 different aspects of identifier generation. The first aspect "
+"is database portability; the second is optimization (not having to query the "
+"database for every request for a new identifier value). These two new "
+"generators are intended to take the place of some of the named generators "
+"described above (starting in 3.3.x); however, they are included in the "
+"current releases and can be referenced by FQN."
-#: index.docbook:781
-msgid "The first of these new generators is <literal>org.hibernate.id.enhanced.SequenceStyleGenerator</literal> which is intended firstly as a replacement for the <literal>sequence</literal> generator and secondly as a better portability generator than <literal>native</literal> (because <literal>native</literal> (generally) chooses between <literal>identity</literal> and <literal>sequence</literal> which have largely different semantics which can cause subtle isssues in applications eyeing portability). <literal>org.hibernate.id.enhanced.SequenceStyleGenerator</literal> however achieves portability in a different manner. It chooses between using a table or a sequence in the database to store its incrementing values depending on the capabilities of the dialect being used. The difference between this and <literal>native</literal> is that table-based and sequence-based storage have the same exact semantic (in fact sequences are exactly what Hibernate tries to emmulate with its!
table-based generators). This generator has a number of configuration parameters:"
-msgstr "è¤åèå¥åã®ç価æ§ãå®è£
ããããã«ã¯ãæ°¸ç¶ã¯ã©ã¹ã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ããªã¼ãã¼ã©ã¤ã <emphasis>ããªããã°ãªãã¾ãã</emphasis> ã ã¾ã <literal>Serializable</literal> ãå®è£
ããªããã°ããã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:781
+#, fuzzy, no-c-format
+msgid ""
+"The first of these new generators is <literal>org.hibernate.id.enhanced."
+"SequenceStyleGenerator</literal> which is intended firstly as a replacement "
+"for the <literal>sequence</literal> generator and secondly as a better "
+"portability generator than <literal>native</literal> (because "
+"<literal>native</literal> (generally) chooses between <literal>identity</"
+"literal> and <literal>sequence</literal> which have largely different "
+"semantics which can cause subtle isssues in applications eyeing "
+"portability). <literal>org.hibernate.id.enhanced.SequenceStyleGenerator</"
+"literal> however achieves portability in a different manner. It chooses "
+"between using a table or a sequence in the database to store its "
+"incrementing values depending on the capabilities of the dialect being used. "
+"The difference between this and <literal>native</literal> is that table-"
+"based and sequence-based storage have the same exact semantic (in fact "
+"sequences are exactly what Hibernate tries to emmulate with its table-based "
+"generators). This generator has a number of configuration parameters:"
+msgstr ""
+"The first of these new generators is <literal>org.hibernate.id.enhanced."
+"SequenceStyleGenerator</literal> which is intended firstly as a replacement "
+"for the <literal>sequence</literal> generator and secondly as a better "
+"portability generator than <literal>native</literal> (because "
+"<literal>native</literal> (generally) chooses between <literal>identity</"
+"literal> and <literal>sequence</literal> which have largely different "
+"semantics which can cause subtle isssues in applications eyeing "
+"portability). <literal>org.hibernate.id.enhanced.SequenceStyleGenerator</"
+"literal> however achieves portability in a different manner. It chooses "
+"between using a table or a sequence in the database to store its "
+"incrementing values depending on the capabilities of the dialect being used. "
+"The difference between this and <literal>native</literal> is that table-"
+"based and sequence-based storage have the same exact semantic (in fact "
+"sequences are exactly what Hibernate tries to emmulate with its table-based "
+"generators). This generator has a number of configuration parameters: "
+"<placeholder-1/>"
-#: index.docbook:795
-msgid "<literal>sequence_name</literal> (optional, defaults to <literal>hibernate_sequence</literal>): The name of the sequence (or table) to be used."
-msgstr "æ®å¿µãªããè¤åèå¥åã®ããã®ãã®æ¹æ³ã¯ã æ°¸ç¶ãªãã¸ã§ã¯ããèªèº«ã®èå¥åã§ãããã¨ãæå³ãã¦ãã¾ãã ãªãã¸ã§ã¯ãèªèº«ãèå¥åã¨ãã以ä¸ã®ä¾¿å©ãªãæ±ãæ¹ãã¯ããã¾ããã è¤åãã¼ã«é¢é£ããæ°¸ç¶ç¶æ
ã <literal>load()</literal> åºæ¥ãããã«ãªãåã«ã æ°¸ç¶ã¯ã©ã¹èªèº«ãã¤ã³ã¹ã¿ã³ã¹åããèå¥åããããã£ãè¨å®ããªããã°ãªãã¾ããã <emphasis> çµã¿è¾¼ã¿ã®</emphasis> è¤åèå¥åã¨å¼ã°ãããã®ã¢ããã¼ãã¯ã æ¬æ ¼çãªã¢ããªã±ã¼ã·ã§ã³ã«ã¯åãã¦ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:795
+#, no-c-format
+msgid ""
+"<literal>sequence_name</literal> (optional, defaults to "
+"<literal>hibernate_sequence</literal>): The name of the sequence (or table) "
+"to be used."
+msgstr ""
+"<literal>sequence_name</literal> (optional, defaults to "
+"<literal>hibernate_sequence</literal>): The name of the sequence (or table) "
+"to be used."
-#: index.docbook:801
-msgid "<literal>initial_value</literal> (optional, defaults to <literal>1</literal>): The initial value to be retrieved from the sequence/table. In sequence creation terms, this is analogous to the clause typical named \"STARTS WITH\"."
-msgstr "2ã¤ç®ã®æ¹æ³ã¯ <emphasis> ãããããã</emphasis> è¤åèå¥åã¨å¼ã°ãããã®ã§ã <literal><composite-id></literal>ã¨ã¬ã¡ã³ãå
ã§æå®ããèå¥ããããã£ã æ°¸ç¶ã¯ã©ã¹ã¨åé¢ããèå¥åã¯ã©ã¹ã®ä¸¡æ¹ã«éè¤ãã¦åå¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:801
+#, no-c-format
+msgid ""
+"<literal>initial_value</literal> (optional, defaults to <literal>1</"
+"literal>): The initial value to be retrieved from the sequence/table. In "
+"sequence creation terms, this is analogous to the clause typical named "
+"\"STARTS WITH\"."
+msgstr ""
+"<literal>initial_value</literal> (optional, defaults to <literal>1</"
+"literal>): The initial value to be retrieved from the sequence/table. In "
+"sequence creation terms, this is analogous to the clause typical named "
+"\"STARTS WITH\"."
-#: index.docbook:808
-msgid "<literal>increment_size</literal> (optional, defaults to <literal>1</literal>): The value by which subsequent calls to the sequence/table should differ. In sequence creation terms, this is analogous to the clause typical named \"INCREMENT BY\"."
+#. Tag: para
+#: basic_mapping.xml:808
+#, no-c-format
+msgid ""
+"<literal>increment_size</literal> (optional, defaults to <literal>1</"
+"literal>): The value by which subsequent calls to the sequence/table should "
+"differ. In sequence creation terms, this is analogous to the clause typical "
+"named \"INCREMENT BY\"."
msgstr ""
- "<![CDATA[<composite-id class=\"MedicareId\" mapped=\"true\">
-\n"
- " <key-property name=\"medicareNumber\"/>
-\n"
- " <key-property name=\"dependent\"/>
-\n"
- "</composite-id>]]>"
+"<literal>increment_size</literal> (optional, defaults to <literal>1</"
+"literal>): The value by which subsequent calls to the sequence/table should "
+"differ. In sequence creation terms, this is analogous to the clause typical "
+"named \"INCREMENT BY\"."
-#: index.docbook:815
-msgid "<literal>force_table_use</literal> (optional, defaults to <literal>false</literal>): Should we force the use of a table as the backing structure even though the dialect might support sequence?"
-msgstr "ãã®ä¾ã§ã¯ãè¤åèå¥åã¯ã©ã¹ï¼ <literal>MedicareId</literal> ï¼ã¨ã¨ã³ãã£ãã£ã¯ã©ã¹èªèº«ã®ä¸¡æ¹ãã <literal>medicareNumber</literal> 㨠<literal>dependent</literal> ã¨ããååã®ããããã£ãæã¡ã¾ãã èå¥åã¯ã©ã¹ã¯ã<literal>equals()</literal> 㨠<literal>hashCode()</literal> ããªã¼ãã©ã¤ããã <literal>Serializable</literal> ãå®è£
ããªãã¦ã¯ãªãã¾ããã ãã®æ¹æ³ã«ã¯ãæããã«ã³ã¼ããéè¤ããã¨ããä¸é½åãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:815
+#, no-c-format
+msgid ""
+"<literal>force_table_use</literal> (optional, defaults to <literal>false</"
+"literal>): Should we force the use of a table as the backing structure even "
+"though the dialect might support sequence?"
+msgstr ""
+"<literal>force_table_use</literal> (optional, defaults to <literal>false</"
+"literal>): Should we force the use of a table as the backing structure even "
+"though the dialect might support sequence?"
-#: index.docbook:822
-msgid "<literal>value_column</literal> (optional, defaults to <literal>next_val</literal>): Only relevant for table structures! The name of the column on the table which is used to hold the value."
-msgstr "次ã®å±æ§ã¯ãããã³ã°ããè¤åèå¥åãæå®ããããã«ä½¿ç¨ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:822
+#, no-c-format
+msgid ""
+"<literal>value_column</literal> (optional, defaults to <literal>next_val</"
+"literal>): Only relevant for table structures! The name of the column on the "
+"table which is used to hold the value."
+msgstr ""
+"<literal>value_column</literal> (optional, defaults to <literal>next_val</"
+"literal>): Only relevant for table structures! The name of the column on the "
+"table which is used to hold the value."
-#: index.docbook:829
-msgid "<literal>optimizer</literal> (optional, defaults to <literal>none</literal>): See"
-msgstr "<literal>mapped</literal> (ãªãã·ã§ã³ãããã©ã«ã㯠<literal>false</literal> ): ãããã³ã°ããè¤åèå¥åã使ç¨ããããã¨ã¨ãå
å«ãããããããã£ã®ãããã³ã°ãã ã¨ã³ãã£ãã£ã¯ã©ã¹ã¨è¤åèå¥åã¯ã©ã¹ã®ä¸¡æ¹ãåç
§ãããã¨ã示ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:829
+#, fuzzy, no-c-format
+msgid ""
+"<literal>optimizer</literal> (optional, defaults to <literal>none</"
+"literal>): See"
+msgstr ""
+"<literal>cascade</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</"
+"literal> ï¼ï¼ ã«ã¹ã±ã¼ãã®ã¹ã¿ã¤ã«ã"
-#: index.docbook:836
-msgid "The second of these new generators is <literal>org.hibernate.id.enhanced.TableGenerator</literal> which is intended firstly as a replacement for the <literal>table</literal> generator (although it actually functions much more like <literal>org.hibernate.id.MultipleHiLoPerTableGenerator</literal>) and secondly as a re-implementation of <literal>org.hibernate.id.MultipleHiLoPerTableGenerator</literal> utilizing the notion of pluggable optimiziers. Essentially this generator defines a table capable of holding a number of different increment values simultaneously by using multiple distinctly keyed rows. This generator has a number of configuration parameters:"
-msgstr "<literal>class</literal> (ãªãã·ã§ã³,ãã ããããã³ã°ããè¤åèå¥åã«ã¯å¿
é ): è¤åèå¥åã¨ãã¦ä½¿ç¨ããã¯ã©ã¹ã"
+#. Tag: para
+#: basic_mapping.xml:836
+#, fuzzy, no-c-format
+msgid ""
+"The second of these new generators is <literal>org.hibernate.id.enhanced."
+"TableGenerator</literal> which is intended firstly as a replacement for the "
+"<literal>table</literal> generator (although it actually functions much more "
+"like <literal>org.hibernate.id.MultipleHiLoPerTableGenerator</literal>) and "
+"secondly as a re-implementation of <literal>org.hibernate.id."
+"MultipleHiLoPerTableGenerator</literal> utilizing the notion of pluggable "
+"optimiziers. Essentially this generator defines a table capable of holding a "
+"number of different increment values simultaneously by using multiple "
+"distinctly keyed rows. This generator has a number of configuration "
+"parameters:"
+msgstr ""
+"The second of these new generators is <literal>org.hibernate.id.enhanced."
+"TableGenerator</literal> which is intended firstly as a replacement for the "
+"<literal>table</literal> generator (although it actually functions much more "
+"like <literal>org.hibernate.id.MultipleHiLoPerTableGenerator</literal>) and "
+"secondly as a re-implementation of <literal>org.hibernate.id."
+"MultipleHiLoPerTableGenerator</literal> utilizing the notion of pluggable "
+"optimiziers. Essentially this generator defines a table capable of holding a "
+"number of different increment values simultaneously by using multiple "
+"distinctly keyed rows. This generator has a number of configuration "
+"parameters: <placeholder-1/>"
-#: index.docbook:846
-msgid "<literal>table_name</literal> (optional, defaults to <literal>hibernate_sequences</literal>): The name of the table to be used."
-msgstr "3ã¤ç®ã®ããã«ä¾¿å©ãªæ¹æ³ã¯ãè¤åèå¥åã<xref linkend=\"components-compositeid\"/>å
ã® ã³ã³ãã¼ãã³ãã¯ã©ã¹ã¨ãã¦å®è£
ãããã¨ã§ãã ä¸ã§è¨è¿°ãã¦ãã屿§ã¯ããã®ä»£æ¿æ¹æ³ã«ã®ã¿é©ç¨ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:846
+#, no-c-format
+msgid ""
+"<literal>table_name</literal> (optional, defaults to "
+"<literal>hibernate_sequences</literal>): The name of the table to be used."
+msgstr ""
+"<literal>table_name</literal> (optional, defaults to "
+"<literal>hibernate_sequences</literal>): The name of the table to be used."
-#: index.docbook:852
-msgid "<literal>value_column_name</literal> (optional, defaults to <literal>next_val</literal>): The name of the column on the table which is used to hold the value."
-msgstr "<literal>name</literal> (ãªãã·ã§ã³, ãã®ã¢ããã¼ãã§ã¯å¿
é ): è¤åèå¥åãä¿æããã³ã³ãã¼ãã³ãã¿ã¤ãã®ããããã£(9ç« ãåç
§ãã¦ãã ãã)."
+#. Tag: para
+#: basic_mapping.xml:852
+#, no-c-format
+msgid ""
+"<literal>value_column_name</literal> (optional, defaults to "
+"<literal>next_val</literal>): The name of the column on the table which is "
+"used to hold the value."
+msgstr ""
+"<literal>value_column_name</literal> (optional, defaults to "
+"<literal>next_val</literal>): The name of the column on the table which is "
+"used to hold the value."
-#: index.docbook:858
-msgid "<literal>segment_column_name</literal> (optional, defaults to <literal>sequence_name</literal>): The name of the column on the table which is used to hold the \"segement key\". This is the value which distinctly identifies which increment value to use."
-msgstr "<literal>access</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ): Hibernateãããããã£ã®å¤ã«ã¢ã¯ã»ã¹ããããã«ä½¿ç¨ãã¹ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:858
+#, no-c-format
+msgid ""
+"<literal>segment_column_name</literal> (optional, defaults to "
+"<literal>sequence_name</literal>): The name of the column on the table which "
+"is used to hold the \"segement key\". This is the value which distinctly "
+"identifies which increment value to use."
+msgstr ""
+"<literal>segment_column_name</literal> (optional, defaults to "
+"<literal>sequence_name</literal>): The name of the column on the table which "
+"is used to hold the \"segement key\". This is the value which distinctly "
+"identifies which increment value to use."
-#: index.docbook:865
-msgid "<literal>segment_value</literal> (optional, defaults to <literal>default</literal>): The \"segment key\" value for the segment from which we want to pull increment values for this generator."
-msgstr "<literal>class</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®ãããããããã£ã®åï¼ï¼ è¤åèå¥åã¨ãã¦ä½¿ãããã³ã³ãã¼ãã³ãã®ã¯ã©ã¹ï¼æ¬¡ã®ç¯ãè¦ã¦ãã ããï¼ã"
+#. Tag: para
+#: basic_mapping.xml:865
+#, no-c-format
+msgid ""
+"<literal>segment_value</literal> (optional, defaults to <literal>default</"
+"literal>): The \"segment key\" value for the segment from which we want to "
+"pull increment values for this generator."
+msgstr ""
+"<literal>segment_value</literal> (optional, defaults to <literal>default</"
+"literal>): The \"segment key\" value for the segment from which we want to "
+"pull increment values for this generator."
-#: index.docbook:872
-msgid "<literal>segment_value_length</literal> (optional, defaults to <literal>255</literal>): Used for schema generation; the column size to create this segment key column."
-msgstr "ãã®3ã¤ç®ã®æ¹æ³ã¯ <emphasis> èå¥åã³ã³ãã¼ãã³ã</emphasis> ã¨å¼ã³ã ã»ã¨ãã©ãã¹ã¦ã®ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦æ¨å¥¨ããæ¹æ³ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:872
+#, no-c-format
+msgid ""
+"<literal>segment_value_length</literal> (optional, defaults to <literal>255</"
+"literal>): Used for schema generation; the column size to create this "
+"segment key column."
+msgstr ""
+"<literal>segment_value_length</literal> (optional, defaults to <literal>255</"
+"literal>): Used for schema generation; the column size to create this "
+"segment key column."
-#: index.docbook:878
-msgid "<literal>initial_value</literal> (optional, defaults to <literal>1</literal>): The initial value to be retrieved from the table."
-msgstr "discriminator"
+#. Tag: para
+#: basic_mapping.xml:878
+#, no-c-format
+msgid ""
+"<literal>initial_value</literal> (optional, defaults to <literal>1</"
+"literal>): The initial value to be retrieved from the table."
+msgstr ""
+"<literal>initial_value</literal> (optional, defaults to <literal>1</"
+"literal>): The initial value to be retrieved from the table."
-#: index.docbook:884
-msgid "<literal>increment_size</literal> (optional, defaults to <literal>1</literal>): The value by which subsequent calls to the table should differ."
-msgstr "<literal><discriminator></literal> è¦ç´ ã¯ã table-per-class-hierarchyãããã³ã°æ¦ç¥ã使ãããªã¢ã¼ãã£ãã¯ãªæ°¸ç¶åã«å¿
è¦ã§ããã ãã¼ãã«ã®èå¥ã«ã©ã ãå®ç¾©ãã¾ãã èå¥ã«ã©ã ã¯ãããè¡ã«å¯¾ãã¦æ°¸ç¶å±¤ãã©ã®ãµãã¯ã©ã¹ãã¤ã³ã¹ã¿ã³ã¹åãããã ä¼ãããã¼ã«ã¼å¤ãå«ãã§ãã¾ãã 以ä¸ã®ãããªåã«å¶éããã¾ãï¼ <literal>string</literal> , <literal>character</literal> , <literal>integer</literal>, <literal>byte</literal> , <literal>short</literal> , <literal>boolean</literal> , <literal>yes_no</literal> , <literal>true_false</literal>."
+#. Tag: para
+#: basic_mapping.xml:884
+#, no-c-format
+msgid ""
+"<literal>increment_size</literal> (optional, defaults to <literal>1</"
+"literal>): The value by which subsequent calls to the table should differ."
+msgstr ""
+"<literal>increment_size</literal> (optional, defaults to <literal>1</"
+"literal>): The value by which subsequent calls to the table should differ."
-#: index.docbook:890
-msgid "<literal>optimizer</literal> (optional, defaults to <literal></literal>): See"
+#. Tag: para
+#: basic_mapping.xml:890
+#, fuzzy, no-c-format
+msgid ""
+"<literal>optimizer</literal> (optional, defaults to <literal></literal>): See"
msgstr ""
- "<![CDATA[<discriminator
-\n"
- " column=\"discriminator_column\"
-\n"
- " type=\"discriminator_type\"
-\n"
- " force=\"true|false\"
-\n"
- " insert=\"true|false\"
-\n"
- " formula=\"arbitrary sql expression\"
-\n"
- "/>]]>"
+"<literal>cascade</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</"
+"literal> ï¼ï¼ ã«ã¹ã±ã¼ãã®ã¹ã¿ã¤ã«ã"
-#: index.docbook:900
+#. Tag: title
+#: basic_mapping.xml:900
+#, no-c-format
msgid "Identifier generator optimization"
-msgstr "<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>class</literal> ï¼ï¼ èå¥ã«ã©ã ã®ååã"
+msgstr "Identifier generator optimization"
-#: index.docbook:901
-msgid "For identifier generators which store values in the database, it is inefficient for them to hit the database on each and every call to generate a new identifier value. Instead, you'd ideally want to group a bunch of them in memory and only hit the database when you have exhausted your in-memory value group. This is the role of the pluggable optimizers. Currently only the two enhanced generators (<xref linkend=\"mapping-declaration-id-enhanced\"/> support this notion."
-msgstr "<literal>type</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>string</literal> ï¼ï¼Hibernateã®åã示ãååã"
+#. Tag: para
+#: basic_mapping.xml:901
+#, fuzzy, no-c-format
+msgid ""
+"For identifier generators which store values in the database, it is "
+"inefficient for them to hit the database on each and every call to generate "
+"a new identifier value. Instead, you'd ideally want to group a bunch of them "
+"in memory and only hit the database when you have exhausted your in-memory "
+"value group. This is the role of the pluggable optimizers. Currently only "
+"the two enhanced generators (<xref linkend=\"mapping-declaration-id-enhanced"
+"\"/> support this notion."
+msgstr ""
+"For identifier generators which store values in the database, it is "
+"inefficient for them to hit the database on each and every call to generate "
+"a new identifier value. Instead, you'd ideally want to group a bunch of them "
+"in memory and only hit the database when you have exhausted your in-memory "
+"value group. This is the role of the pluggable optimizers. Currently only "
+"the two enhanced generators (<xref linkend=\"mapping-declaration-id-enhanced"
+"\"/> support this notion. <placeholder-1/>"
-#: index.docbook:909
-msgid "<literal>none</literal> (generally this is the default if no optimizer was specified): This says to not perform any optimizations, and hit the database each and every request."
-msgstr "<literal>force</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal> ï¼ï¼ ã«ã¼ãã¯ã©ã¹ã®ãã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ãæ¤ç´¢ããå ´åã§ãã£ã¦ãã Hibernateã使ç¨ã§ããèå¥ã«ã©ã ã®æå®ããå¼·å¶ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:909
+#, no-c-format
+msgid ""
+"<literal>none</literal> (generally this is the default if no optimizer was "
+"specified): This says to not perform any optimizations, and hit the database "
+"each and every request."
+msgstr ""
+"<literal>none</literal> (generally this is the default if no optimizer was "
+"specified): This says to not perform any optimizations, and hit the database "
+"each and every request."
-#: index.docbook:915
-msgid "<literal>hilo</literal>: applies a hi/lo algorithm around the database retrieved values. The values from the database for this optimizer are expected to be sequential. The values retrieved from the database structure for this optimizer indicates the \"group number\"; the <literal>increment_size</literal> is multiplied by that value in memory to define a group \"hi value\"."
-msgstr "<literal>insert</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ï¼ï¼ ããèå¥ã«ã©ã ããããã³ã°ããè¤åèå¥åã®ä¸é¨ãªãã°ã<literal>false</literal> ã¨è¨å®ãã¦ãã ããã (Hibernateã«SQLã® <literal>INSERT</literal> ã«ã¯å«ã¾ããªããã¨ãç¥ããã)"
+#. Tag: para
+#: basic_mapping.xml:915
+#, no-c-format
+msgid ""
+"<literal>hilo</literal>: applies a hi/lo algorithm around the database "
+"retrieved values. The values from the database for this optimizer are "
+"expected to be sequential. The values retrieved from the database structure "
+"for this optimizer indicates the \"group number\"; the "
+"<literal>increment_size</literal> is multiplied by that value in memory to "
+"define a group \"hi value\"."
+msgstr ""
+"<literal>hilo</literal>: applies a hi/lo algorithm around the database "
+"retrieved values. The values from the database for this optimizer are "
+"expected to be sequential. The values retrieved from the database structure "
+"for this optimizer indicates the \"group number\"; the "
+"<literal>increment_size</literal> is multiplied by that value in memory to "
+"define a group \"hi value\"."
-#: index.docbook:924
-msgid "<literal>pooled</literal>: like was discussed for <literal>hilo</literal>, this optimizers attempts to minimize the number of hits to the database. Here, however, we simply store the starting value for the \"next group\" into the database structure rather than a sequential value in combination with an in-memory grouping algorithm. <literal>increment_size</literal> here refers to the values coming from the database."
-msgstr "<literal>formula</literal> (ãªãã·ã§ã³)åãè©ä¾¡ãããã¨ãã«å®è¡ãããä»»æã®SQLå¼ã ã³ã³ãã³ããã¼ã¹ã®èå¥ãå¯è½ã«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:924
+#, no-c-format
+msgid ""
+"<literal>pooled</literal>: like was discussed for <literal>hilo</literal>, "
+"this optimizers attempts to minimize the number of hits to the database. "
+"Here, however, we simply store the starting value for the \"next group\" "
+"into the database structure rather than a sequential value in combination "
+"with an in-memory grouping algorithm. <literal>increment_size</literal> here "
+"refers to the values coming from the database."
+msgstr ""
+"<literal>pooled</literal>: like was discussed for <literal>hilo</literal>, "
+"this optimizers attempts to minimize the number of hits to the database. "
+"Here, however, we simply store the starting value for the \"next group\" "
+"into the database structure rather than a sequential value in combination "
+"with an in-memory grouping algorithm. <literal>increment_size</literal> here "
+"refers to the values coming from the database."
-#: index.docbook:937
+#. Tag: title
+#: basic_mapping.xml:937
+#, no-c-format
msgid "composite-id"
-msgstr "èå¥ã«ã©ã ã®å®éã®å¤ã¯ã <literal><class></literal> 㨠<literal><subclass></literal> è¦ç´ ã® <literal>discriminator-value</literal> 屿§ã§æå®ããã¾ãã"
+msgstr "composite-id"
-#: index.docbook:939
+#. Tag: programlisting
+#: basic_mapping.xml:939
+#, no-c-format
msgid ""
- "<![CDATA[<composite-id\n"
- " name=\"propertyName\"\n"
- " class=\"ClassName\"\n"
- " mapped=\"true|false\"\n"
- " access=\"field|property|ClassName\">\n"
- " node=\"element-name|.\"\n"
- "\n"
- " <key-property name=\"propertyName\" type=\"typename\" column=\"column_name\"/>\n"
- " <key-many-to-one name=\"propertyName class=\"ClassName\" column=\"column_name\"/>\n"
- " ......\n"
- "</composite-id>]]>"
-msgstr "æ°¸ç¶ã¯ã©ã¹ã¸ãããã³ã°ãããªãï½¢ä½åãªãèå¥å¤ãæã¤è¡ã ãã¼ãã«ã«ããã°ãï¼ãã®ã¨ãã«éãï¼<literal>force</literal> 屿§ã¯æå¹ã§ãã ãã ããæ®éã¯ãããããã¨ã¯ããã¾ããã"
+"<![CDATA[<composite-id\n"
+" name=\"propertyName\"\n"
+" class=\"ClassName\"\n"
+" mapped=\"true|false\"\n"
+" access=\"field|property|ClassName\">\n"
+" node=\"element-name|.\"\n"
+"\n"
+" <key-property name=\"propertyName\" type=\"typename\" column="
+"\"column_name\"/>\n"
+" <key-many-to-one name=\"propertyName class=\"ClassName\" column="
+"\"column_name\"/>\n"
+" ......\n"
+"</composite-id>]]>"
+msgstr ""
-#: index.docbook:941
-msgid "For a table with a composite key, you may map multiple properties of the class as identifier properties. The <literal><composite-id></literal> element accepts <literal><key-property></literal> property mappings and <literal><key-many-to-one></literal> mappings as child elements."
-msgstr "<literal>formula</literal> 屿§ã使ãã¨ãè¡ã®åãè©ä¾¡ããããã«ä»»æã®SQLå¼ã宣è¨ã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:941
+#, no-c-format
+msgid ""
+"For a table with a composite key, you may map multiple properties of the "
+"class as identifier properties. The <literal><composite-id></literal> "
+"element accepts <literal><key-property></literal> property mappings "
+"and <literal><key-many-to-one></literal> mappings as child elements."
+msgstr ""
+"è¤åãã¼ã®ãããã¼ãã«ã«å¯¾ãã èå¥åããããã£ã¨ãã¦ã¯ã©ã¹ã®è¤æ°ã®ããããã£"
+"ããããã³ã°ãããã¨ãã§ãã¾ãã <literal><composite-id></literal> è¦ç´ "
+"ã¯ãåè¦ç´ ã¨ã㦠<literal><key-property></literal> ããããã£ãããã³ã°"
+"㨠<literal><key-many-to-one></literal> ãããã³ã°ãåãå
¥ãã¾ãã"
-#: index.docbook:948
+#. Tag: programlisting
+#: basic_mapping.xml:948
+#, no-c-format
msgid ""
- "<![CDATA[<composite-id>\n"
- " <key-property name=\"medicareNumber\"/>\n"
- " <key-property name=\"dependent\"/>\n"
- "</composite-id>]]>"
+"<![CDATA[<composite-id>\n"
+" <key-property name=\"medicareNumber\"/>\n"
+" <key-property name=\"dependent\"/>\n"
+"</composite-id>]]>"
msgstr ""
- "<![CDATA[<discriminator
-\n"
- " formula=\"case when CLASS_TYPE in ('a', 'b', 'c') then 0 else 1 end\"
-\n"
- " type=\"integer\"/>]]>"
-#: index.docbook:950
-msgid "Your persistent class <emphasis>must</emphasis> override <literal>equals()</literal> and <literal>hashCode()</literal> to implement composite identifier equality. It must also implements <literal>Serializable</literal>."
-msgstr "versionï¼ãªãã·ã§ã³ï¼"
+#. Tag: para
+#: basic_mapping.xml:950
+#, no-c-format
+msgid ""
+"Your persistent class <emphasis>must</emphasis> override <literal>equals()</"
+"literal> and <literal>hashCode()</literal> to implement composite identifier "
+"equality. It must also implements <literal>Serializable</literal>."
+msgstr ""
+"è¤åèå¥åã®ç価æ§ãå®è£
ããããã«ã¯ãæ°¸ç¶ã¯ã©ã¹ã <literal>equals()</"
+"literal> 㨠<literal>hashCode()</literal> ããªã¼ãã¼ã©ã¤ã <emphasis>ããªãã"
+"ã°ãªãã¾ãã</emphasis> ã ã¾ã <literal>Serializable</literal> ãå®è£
ããªã"
+"ãã°ããã¾ããã"
-#: index.docbook:956
-msgid "Unfortunately, this approach to composite identifiers means that a persistent object is its own identifier. There is no convenient \"handle\" other than the object itself. You must instantiate an instance of the persistent class itself and populate its identifier properties before you can <literal>load()</literal> the persistent state associated with a composite key. We call this approach an <emphasis>embedded</emphasis> composite identifier, and discourage it for serious applications."
-msgstr "<literal><version></literal> è¦ç´ ã¯ãªãã·ã§ã³ã§ããã ãã¼ãã«ããã¼ã¸ã§ã³ãã¼ã¿ãå«ããã¨ã示ãã¾ãã ãã㯠<emphasis>ãã³ã°ãã©ã³ã¶ã¯ã·ã§ã³</emphasis> ã使ãã¤ãããªããç¹ã«å½¹ç«ã¡ã¾ãï¼ä»¥ä¸ãè¦ã¦ãã ããï¼ã"
+#. Tag: para
+#: basic_mapping.xml:956
+#, no-c-format
+msgid ""
+"Unfortunately, this approach to composite identifiers means that a "
+"persistent object is its own identifier. There is no convenient \"handle\" "
+"other than the object itself. You must instantiate an instance of the "
+"persistent class itself and populate its identifier properties before you "
+"can <literal>load()</literal> the persistent state associated with a "
+"composite key. We call this approach an <emphasis>embedded</emphasis> "
+"composite identifier, and discourage it for serious applications."
+msgstr ""
+"æ®å¿µãªããè¤åèå¥åã®ããã®ãã®æ¹æ³ã¯ã æ°¸ç¶ãªãã¸ã§ã¯ããèªèº«ã®èå¥åã§ãã"
+"ãã¨ãæå³ãã¦ãã¾ãã ãªãã¸ã§ã¯ãèªèº«ãèå¥åã¨ãã以ä¸ã®ä¾¿å©ãªãæ±ãæ¹ãã¯"
+"ããã¾ããã è¤åãã¼ã«é¢é£ããæ°¸ç¶ç¶æ
ã <literal>load()</literal> åºæ¥ãã"
+"ãã«ãªãåã«ã æ°¸ç¶ã¯ã©ã¹èªèº«ãã¤ã³ã¹ã¿ã³ã¹åããèå¥åããããã£ãè¨å®ããªã"
+"ãã°ãªãã¾ããã <emphasis> çµã¿è¾¼ã¿ã®</emphasis> è¤åèå¥åã¨å¼ã°ãããã®ã¢"
+"ããã¼ãã¯ã æ¬æ ¼çãªã¢ããªã±ã¼ã·ã§ã³ã«ã¯åãã¦ãã¾ããã"
-#: index.docbook:965
-msgid "A second approach is what we call a <emphasis>mapped</emphasis> composite identifier, where the identifier properties named inside the <literal><composite-id></literal> element are duplicated on both the persistent class and a separate identifier class."
+#. Tag: para
+#: basic_mapping.xml:965
+#, no-c-format
+msgid ""
+"A second approach is what we call a <emphasis>mapped</emphasis> composite "
+"identifier, where the identifier properties named inside the <literal><"
+"composite-id></literal> element are duplicated on both the persistent "
+"class and a separate identifier class."
msgstr ""
- "<![CDATA[<version
-\n"
- " column=\"version_column\"
-\n"
- " name=\"propertyName\"
-\n"
- " type=\"typename\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " unsaved-value=\"null|negative|undefined\"
-\n"
- " generated=\"never|always\"
-\n"
- " insert=\"true|false\"
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- "/>]]>"
+"2ã¤ç®ã®æ¹æ³ã¯ <emphasis> ãããããã</emphasis> è¤åèå¥åã¨å¼ã°ãããã®"
+"ã§ã <literal><composite-id></literal>ã¨ã¬ã¡ã³ãå
ã§æå®ããèå¥ããã"
+"ãã£ã æ°¸ç¶ã¯ã©ã¹ã¨åé¢ããèå¥åã¯ã©ã¹ã®ä¸¡æ¹ã«éè¤ãã¦åå¨ãã¾ãã"
-#: index.docbook:971
+#. Tag: programlisting
+#: basic_mapping.xml:971
+#, no-c-format
msgid ""
- "<![CDATA[<composite-id class=\"MedicareId\" mapped=\"true\">\n"
- " <key-property name=\"medicareNumber\"/>\n"
- " <key-property name=\"dependent\"/>\n"
- "</composite-id>]]>"
-msgstr "<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼: ãã¼ã¸ã§ã³çªå·ãä¿æããã«ã©ã ã®ååã"
+"<![CDATA[<composite-id class=\"MedicareId\" mapped=\"true\">\n"
+" <key-property name=\"medicareNumber\"/>\n"
+" <key-property name=\"dependent\"/>\n"
+"</composite-id>]]>"
+msgstr ""
-#: index.docbook:973
-msgid "In this example, both the composite identifier class, <literal>MedicareId</literal>, and the entity class itself have properties named <literal>medicareNumber</literal> and <literal>dependent</literal>. The identifier class must override <literal>equals()</literal> and <literal>hashCode()</literal> and implement. <literal>Serializable</literal>. The disadvantage of this approach is quite obvious—code duplication."
-msgstr "<literal>name</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã®ããããã£ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:973
+#, no-c-format
+msgid ""
+"In this example, both the composite identifier class, <literal>MedicareId</"
+"literal>, and the entity class itself have properties named "
+"<literal>medicareNumber</literal> and <literal>dependent</literal>. The "
+"identifier class must override <literal>equals()</literal> and "
+"<literal>hashCode()</literal> and implement. <literal>Serializable</"
+"literal>. The disadvantage of this approach is quite obvious—code "
+"duplication."
+msgstr ""
+"ãã®ä¾ã§ã¯ãè¤åèå¥åã¯ã©ã¹ï¼ <literal>MedicareId</literal> ï¼ã¨ã¨ã³ãã£ãã£"
+"ã¯ã©ã¹èªèº«ã®ä¸¡æ¹ãã <literal>medicareNumber</literal> 㨠"
+"<literal>dependent</literal> ã¨ããååã®ããããã£ãæã¡ã¾ãã èå¥åã¯ã©ã¹"
+"ã¯ã<literal>equals()</literal> 㨠<literal>hashCode()</literal> ããªã¼ãã©ã¤"
+"ããã <literal>Serializable</literal> ãå®è£
ããªãã¦ã¯ãªãã¾ããã ãã®æ¹æ³"
+"ã«ã¯ãæããã«ã³ã¼ããéè¤ããã¨ããä¸é½åãããã¾ãã"
-#: index.docbook:982
-msgid "The following attributes are used to specify a mapped composite identifier:"
-msgstr "<literal>type</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>integer</literal> ï¼ï¼ãã¼ã¸ã§ã³çªå·ã®åã"
+#. Tag: para
+#: basic_mapping.xml:982
+#, no-c-format
+msgid ""
+"The following attributes are used to specify a mapped composite identifier:"
+msgstr "次ã®å±æ§ã¯ãããã³ã°ããè¤åèå¥åãæå®ããããã«ä½¿ç¨ãã¾ãã"
-#: index.docbook:988
-msgid "<literal>mapped</literal> (optional, defaults to <literal>false</literal>): indicates that a mapped composite identifier is used, and that the contained property mappings refer to both the entity class and the composite identifier class."
-msgstr "<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:988
+#, no-c-format
+msgid ""
+"<literal>mapped</literal> (optional, defaults to <literal>false</literal>): "
+"indicates that a mapped composite identifier is used, and that the contained "
+"property mappings refer to both the entity class and the composite "
+"identifier class."
+msgstr ""
+"<literal>mapped</literal> (ãªãã·ã§ã³ãããã©ã«ã㯠<literal>false</"
+"literal> ): ãããã³ã°ããè¤åèå¥åã使ç¨ããããã¨ã¨ãå
å«ãããããããã£"
+"ã®ãããã³ã°ãã ã¨ã³ãã£ãã£ã¯ã©ã¹ã¨è¤åèå¥åã¯ã©ã¹ã®ä¸¡æ¹ãåç
§ãããã¨ã示"
+"ãã¾ãã"
-#: index.docbook:996
-msgid "<literal>class</literal> (optional, but required for a mapped composite identifier): The class used as a composite identifier."
-msgstr "<literal>unsaved-value</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>undefined</literal> ï¼ï¼ ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããããã¨ã示ã ï¼ã»ã¼ãããã¦ããªããã¨ã示ãï¼ãã¼ã¸ã§ã³ããããã£ã®å¤ã 以åã®Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã䏿çãªã¤ã³ã¹ã¿ã³ã¹ã¨åºå¥ãããã㫠使ãã¾ãã ï¼ <literal>undefined</literal> ã¯èå¥åããããã£ã®å¤ã使ããããã¨ãæå®ãã¾ããï¼"
+#. Tag: para
+#: basic_mapping.xml:996
+#, no-c-format
+msgid ""
+"<literal>class</literal> (optional, but required for a mapped composite "
+"identifier): The class used as a composite identifier."
+msgstr ""
+"<literal>class</literal> (ãªãã·ã§ã³,ãã ããããã³ã°ããè¤åèå¥åã«ã¯å¿
"
+"é ): è¤åèå¥åã¨ãã¦ä½¿ç¨ããã¯ã©ã¹ã"
-#: index.docbook:1003
-msgid "We will describe a third, even more convenient approach where the composite identifier is implemented as a component class in <xref linkend=\"components-compositeid\"/>. The attributes described below apply only to this alternative approach:"
-msgstr "<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</literal> ): ãã®ãã¼ã¸ã§ã³ã®ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæããããã¨ãæå®ãã¾ãã <xref linkend=\"mapping-generated\"/>çæãããã㣠ã®è°è«ãè¦ã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1003
+#, no-c-format
+msgid ""
+"We will describe a third, even more convenient approach where the composite "
+"identifier is implemented as a component class in <xref linkend=\"components-"
+"compositeid\"/>. The attributes described below apply only to this "
+"alternative approach:"
+msgstr ""
+"3ã¤ç®ã®ããã«ä¾¿å©ãªæ¹æ³ã¯ãè¤åèå¥åã<xref linkend=\"components-compositeid"
+"\"/>å
ã® ã³ã³ãã¼ãã³ãã¯ã©ã¹ã¨ãã¦å®è£
ãããã¨ã§ãã ä¸ã§è¨è¿°ãã¦ãã屿§"
+"ã¯ããã®ä»£æ¿æ¹æ³ã«ã®ã¿é©ç¨ããã¾ãã"
-#: index.docbook:1011
-msgid "<literal>name</literal> (optional, required for this approach): A property of component type that holds the composite identifier (see chapter 9)."
-msgstr "<literal>insert</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): SQLã®insertæã«ãã¼ã¸ã§ã³ã»ã«ã©ã ãå«ããã¹ããã©ãããæå®ãã¾ãã ãããã¼ã¿ãã¼ã¹ã»ã«ã©ã ã®ããã©ã«ãå¤ã <literal>0</literal> ã¨å®ç¾©ãããã¨ãã«ã¯ã <literal>false</literal> ã«è¨å®ããã¨è¯ãã§ãããã"
+#. Tag: para
+#: basic_mapping.xml:1011
+#, no-c-format
+msgid ""
+"<literal>name</literal> (optional, required for this approach): A property "
+"of component type that holds the composite identifier (see chapter 9)."
+msgstr ""
+"<literal>name</literal> (ãªãã·ã§ã³, ãã®ã¢ããã¼ãã§ã¯å¿
é ): è¤åèå¥åãä¿"
+"æããã³ã³ãã¼ãã³ãã¿ã¤ãã®ããããã£(9ç« ãåç
§ãã¦ãã ãã)."
-#: index.docbook:1023
-msgid "<literal>class</literal> (optional - defaults to the property type determined by reflection): The component class used as a composite identifier (see next section)."
-msgstr "ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ã¯ãåé¢ãããã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ãã¦nullã§ãã£ã¦ã¯ãªãã¾ããã ãã®ããã©ã®ãã㪠<literal>unsaved-value</literal> æ¦ç¥ãæå®ããã¦ãã Hibernateã¯nullã®ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ããæã£ããã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ãã 䏿çãªãã®ã§ããã¨å¤æãã¾ãã <emphasis> nullã許容ãããã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ãå®ç¾©ãããã¨ã¯ã 鿏¡çã«ä¸æãªãã¸ã§ã¯ãã¨ãããã¨ãé²ãç°¡åãªæ¹æ³ã§ãã ç¹ã«èå¥åã®å²ãå½ã¦ãè¤åãã¼ã使ç¨ãã¦ããã¨ãã«ã¯ç¹ã«æç¨ã§ãã</emphasis>"
+#. Tag: para
+#: basic_mapping.xml:1023
+#, no-c-format
+msgid ""
+"<literal>class</literal> (optional - defaults to the property type "
+"determined by reflection): The component class used as a composite "
+"identifier (see next section)."
+msgstr ""
+"<literal>class</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®"
+"ãããããããã£ã®åï¼ï¼ è¤åèå¥åã¨ãã¦ä½¿ãããã³ã³ãã¼ãã³ãã®ã¯ã©ã¹ï¼æ¬¡ã®"
+"ç¯ãè¦ã¦ãã ããï¼ã"
-#: index.docbook:1030
-msgid "This third approach, an <emphasis>identifier component</emphasis> is the one we recommend for almost all applications."
-msgstr "timestampï¼ãªãã·ã§ã³ï¼"
+#. Tag: para
+#: basic_mapping.xml:1030
+#, no-c-format
+msgid ""
+"This third approach, an <emphasis>identifier component</emphasis> is the one "
+"we recommend for almost all applications."
+msgstr ""
+"ãã®3ã¤ç®ã®æ¹æ³ã¯ <emphasis> èå¥åã³ã³ãã¼ãã³ã</emphasis> ã¨å¼ã³ã ã»ã¨ã"
+"ã©ãã¹ã¦ã®ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦æ¨å¥¨ããæ¹æ³ã§ãã"
-#: index.docbook:1038
+#. Tag: title
+#: basic_mapping.xml:1038
+#, no-c-format
msgid "discriminator"
-msgstr "ãªãã·ã§ã³ã® <literal><timestamp></literal> è¦ç´ ã¯ã ãã¼ãã«ãã¿ã¤ã ã¹ã¿ã³ããã¼ã¿ãå«ããã¨ã示ãã¾ãã ããã¯ãã¼ã¸ã§ã³ä»ãã®ä»£ããã®æ¹æ³ã¨ãã¦ç¨æããã¦ãã¾ãã ã¿ã¤ã ã¹ã¿ã³ãã¯ãã¨ãã¨æ¥½è¦³çããã¯ã«ãããå®å
¨æ§ã®ä½ãå®è£
ã§ãã ãããã¢ããªã±ã¼ã·ã§ã³ã¯ç°ãªãç¨éã§ä½¿ããã¨ãããããããã¾ããã"
+msgstr "discriminator"
-#: index.docbook:1040
-msgid "The <literal><discriminator></literal> element is required for polymorphic persistence using the table-per-class-hierarchy mapping strategy and declares a discriminator column of the table. The discriminator column contains marker values that tell the persistence layer what subclass to instantiate for a particular row. A restricted set of types may be used: <literal>string</literal>, <literal>character</literal>, <literal>integer</literal>, <literal>byte</literal>, <literal>short</literal>, <literal>boolean</literal>, <literal>yes_no</literal>, <literal>true_false</literal>."
+#. Tag: para
+#: basic_mapping.xml:1040
+#, no-c-format
+msgid ""
+"The <literal><discriminator></literal> element is required for "
+"polymorphic persistence using the table-per-class-hierarchy mapping strategy "
+"and declares a discriminator column of the table. The discriminator column "
+"contains marker values that tell the persistence layer what subclass to "
+"instantiate for a particular row. A restricted set of types may be used: "
+"<literal>string</literal>, <literal>character</literal>, <literal>integer</"
+"literal>, <literal>byte</literal>, <literal>short</literal>, "
+"<literal>boolean</literal>, <literal>yes_no</literal>, <literal>true_false</"
+"literal>."
msgstr ""
- "<![CDATA[<timestamp
-\n"
- " column=\"timestamp_column\"
-\n"
- " name=\"propertyName\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " unsaved-value=\"null|undefined\"
-\n"
- " source=\"vm|db\"
-\n"
- " generated=\"never|always\"
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- "/>]]>"
+"<literal><discriminator></literal> è¦ç´ ã¯ã table-per-class-hierarchy"
+"ãããã³ã°æ¦ç¥ã使ãããªã¢ã¼ãã£ãã¯ãªæ°¸ç¶åã«å¿
è¦ã§ããã ãã¼ãã«ã®èå¥ã«ã©"
+"ã ãå®ç¾©ãã¾ãã èå¥ã«ã©ã ã¯ãããè¡ã«å¯¾ãã¦æ°¸ç¶å±¤ãã©ã®ãµãã¯ã©ã¹ãã¤ã³ã¹ã¿"
+"ã³ã¹åãããã ä¼ãããã¼ã«ã¼å¤ãå«ãã§ãã¾ãã 以ä¸ã®ãããªåã«å¶éããã¾"
+"ãï¼ <literal>string</literal> , <literal>character</literal> , "
+"<literal>integer</literal>, <literal>byte</literal> , <literal>short</"
+"literal> , <literal>boolean</literal> , <literal>yes_no</literal> , "
+"<literal>true_false</literal>."
-#: index.docbook:1058
+#. Tag: programlisting
+#: basic_mapping.xml:1058
+#, no-c-format
msgid ""
- "<![CDATA[<discriminator\n"
- " column=\"discriminator_column\"\n"
- " type=\"discriminator_type\"\n"
- " force=\"true|false\"\n"
- " insert=\"true|false\"\n"
- " formula=\"arbitrary sql expression\"\n"
- "/>]]>"
-msgstr "<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ ã¿ã¤ã ã¹ã¿ã³ããä¿æããã«ã©ã ã®ååã"
+"<![CDATA[<discriminator\n"
+" column=\"discriminator_column\"\n"
+" type=\"discriminator_type\"\n"
+" force=\"true|false\"\n"
+" insert=\"true|false\"\n"
+" formula=\"arbitrary sql expression\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1061
-msgid "<literal>column</literal> (optional - defaults to <literal>class</literal>) the name of the discriminator column."
-msgstr "<literal>name</literal> ï¼ æ°¸ç¶ã¯ã©ã¹ã§ããJava ã® <literal>Date</literal>å ã¾ã㯠<literal>Timestamp</literal> å ã®ãJavaBeansã¹ã¿ã¤ã«ããããã£ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:1061
+#, no-c-format
+msgid ""
+"<literal>column</literal> (optional - defaults to <literal>class</literal>) "
+"the name of the discriminator column."
+msgstr ""
+"<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>class</"
+"literal> ï¼ï¼ èå¥ã«ã©ã ã®ååã"
-#: index.docbook:1067
-msgid "<literal>type</literal> (optional - defaults to <literal>string</literal>) a name that indicates the Hibernate type"
-msgstr "<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:1067
+#, no-c-format
+msgid ""
+"<literal>type</literal> (optional - defaults to <literal>string</literal>) a "
+"name that indicates the Hibernate type"
+msgstr ""
+"<literal>type</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>string</"
+"literal> ï¼ï¼Hibernateã®åã示ãååã"
-#: index.docbook:1073
-msgid "<literal>force</literal> (optional - defaults to <literal>false</literal>) \"force\" Hibernate to specify allowed discriminator values even when retrieving all instances of the root class."
-msgstr "<literal>unsaved-value</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>null</literal> ï¼ï¼ ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããã ï¼ã»ã¼ãããã¦ããªãï¼ãã¨ã示ããã¼ã¸ã§ã³ããããã£ã®å¤ã 以åã®Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã䏿çãªã¤ã³ã¹ã¿ã³ã¹ã¨ åºå¥ããããã«ä½¿ããã¾ãã ï¼ <literal>undefined</literal> ã¨æå®ããã¨ã èå¥åããããã£ã®å¤ã使ããã¾ããï¼"
+#. Tag: para
+#: basic_mapping.xml:1073
+#, no-c-format
+msgid ""
+"<literal>force</literal> (optional - defaults to <literal>false</literal>) "
+"\"force\" Hibernate to specify allowed discriminator values even when "
+"retrieving all instances of the root class."
+msgstr ""
+"<literal>force</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</"
+"literal> ï¼ï¼ ã«ã¼ãã¯ã©ã¹ã®ãã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ãæ¤ç´¢ããå ´åã§ãã£ã¦ãã "
+"Hibernateã使ç¨ã§ããèå¥ã«ã©ã ã®æå®ããå¼·å¶ããã¾ãã"
-#: index.docbook:1080
-msgid "<literal>insert</literal> (optional - defaults to <literal>true</literal>) set this to <literal>false</literal> if your discriminator column is also part of a mapped composite identifier. (Tells Hibernate to not include the column in SQL <literal>INSERT</literal>s.)"
-msgstr "<literal>source</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>vm</literal> ): Hibernateã¯ã©ãããã¿ã¤ã ã¹ã¿ã³ãã®å¤ãåå¾ããã¹ãã§ããããï¼ ãã¼ã¿ãã¼ã¹ããã§ãããããç¾å¨ã®JVMããã§ããããï¼ ãã¼ã¿ãã¼ã¹ã«ããã¿ã¤ã ã¹ã¿ã³ãã¯ãHibernateã\"次ã®å¤\"ãæ±ºå®ããããã« ãã¼ã¿ãã¼ã¹ããããããªããã°ãªããªãããããªã¼ãããããæãã¾ãã ãããã¯ã©ã¹ã¿ç°å¢ã§ã¯JVMããåå¾ããããå®å
¨ã§ãã ãã¼ã¿ãã¼ã¹ã®ç¾å¨ã®ã¿ã¤ã ã¹ã¿ã³ãã®åå¾ããµãã¼ããã ãã¹ã¦ã® <literal>ãã¼ã¿ãã¼ã¹æ¹è¨</literal> ãç¥ããã¦ããããã§ã¯ãªããã¨ã« 注æãã¦ãã ãããã¾ã䏿¹ã§ãç²¾å¯ããæ¬ ãããã«ã ããã¯ã§ä½¿ç¨ããã«ã¯å®å
¨ã§ãªããã®ãããã¾ã(ä¾ãã°Oracle 8)ã"
+#. Tag: para
+#: basic_mapping.xml:1080
+#, no-c-format
+msgid ""
+"<literal>insert</literal> (optional - defaults to <literal>true</literal>) "
+"set this to <literal>false</literal> if your discriminator column is also "
+"part of a mapped composite identifier. (Tells Hibernate to not include the "
+"column in SQL <literal>INSERT</literal>s.)"
+msgstr ""
+"<literal>insert</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ï¼ï¼ ããèå¥ã«ã©ã ããããã³ã°ããè¤åèå¥åã®ä¸é¨ãªãã°ã"
+"<literal>false</literal> ã¨è¨å®ãã¦ãã ããã (Hibernateã«SQLã® "
+"<literal>INSERT</literal> ã«ã¯å«ã¾ããªããã¨ãç¥ããã)"
-#: index.docbook:1088
-msgid "<literal>formula</literal> (optional) an arbitrary SQL expression that is executed when a type has to be evaluated. Allows content-based discrimination."
-msgstr "<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</literal> ): ãã®ã¿ã¤ã ã¹ã¿ã³ãã»ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæããããã¨ãæå®ãã¾ãã <xref linkend=\"mapping-generated\"/>çæãããã㣠ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1088
+#, no-c-format
+msgid ""
+"<literal>formula</literal> (optional) an arbitrary SQL expression that is "
+"executed when a type has to be evaluated. Allows content-based "
+"discrimination."
+msgstr ""
+"<literal>formula</literal> (ãªãã·ã§ã³)åãè©ä¾¡ãããã¨ãã«å®è¡ãããä»»æã®"
+"SQLå¼ã ã³ã³ãã³ããã¼ã¹ã®èå¥ãå¯è½ã«ãã¾ãã"
-#: index.docbook:1096
-msgid "Actual values of the discriminator column are specified by the <literal>discriminator-value</literal> attribute of the <literal><class></literal> and <literal><subclass></literal> elements."
-msgstr "<literal><timestamp></literal> 㯠<literal><version type=\"timestamp\"></literal> ã¨ç価ã§ãããã¨ã«æ³¨æãã¦ãã ããã <literal><timestamp source=\"db\"></literal> 㯠<literal><version type=\"dbtimestamp\"></literal> ã¨ç価ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1096
+#, no-c-format
+msgid ""
+"Actual values of the discriminator column are specified by the "
+"<literal>discriminator-value</literal> attribute of the <literal><"
+"class></literal> and <literal><subclass></literal> elements."
+msgstr ""
+"èå¥ã«ã©ã ã®å®éã®å¤ã¯ã <literal><class></literal> 㨠<literal><"
+"subclass></literal> è¦ç´ ã® <literal>discriminator-value</literal> 屿§ã§æ"
+"å®ããã¾ãã"
-#: index.docbook:1102
-msgid "The <literal>force</literal> attribute is (only) useful if the table contains rows with \"extra\" discriminator values that are not mapped to a persistent class. This will not usually be the case."
-msgstr "property"
+#. Tag: para
+#: basic_mapping.xml:1102
+#, no-c-format
+msgid ""
+"The <literal>force</literal> attribute is (only) useful if the table "
+"contains rows with \"extra\" discriminator values that are not mapped to a "
+"persistent class. This will not usually be the case."
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã¸ãããã³ã°ãããªãï½¢ä½åãªãèå¥å¤ãæã¤è¡ã ãã¼ãã«ã«ããã°ã"
+"ï¼ãã®ã¨ãã«éãï¼<literal>force</literal> 屿§ã¯æå¹ã§ãã ãã ããæ®éã¯ã"
+"ããããã¨ã¯ããã¾ããã"
-#: index.docbook:1108
-msgid "Using the <literal>formula</literal> attribute you can declare an arbitrary SQL expression that will be used to evaluate the type of a row:"
-msgstr "<literal><property></literal> è¦ç´ ã¯ãã¯ã©ã¹ã®æ°¸ç¶çãªJavaBeanã¹ã¿ã¤ã«ã®ããããã£ãå®ç¾©ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1108
+#, no-c-format
+msgid ""
+"Using the <literal>formula</literal> attribute you can declare an arbitrary "
+"SQL expression that will be used to evaluate the type of a row:"
+msgstr ""
+"<literal>formula</literal> 屿§ã使ãã¨ãè¡ã®åãè©ä¾¡ããããã«ä»»æã®SQLå¼ã"
+"宣è¨ã§ãã¾ãã"
-#: index.docbook:1113
+#. Tag: programlisting
+#: basic_mapping.xml:1113
+#, no-c-format
msgid ""
- "<![CDATA[<discriminator\n"
- " formula=\"case when CLASS_TYPE in ('a', 'b', 'c') then 0 else 1 end\"\n"
- " type=\"integer\"/>]]>"
+"<![CDATA[<discriminator\n"
+" formula=\"case when CLASS_TYPE in ('a', 'b', 'c') then 0 else 1 end\"\n"
+" type=\"integer\"/>]]>"
msgstr ""
- "<![CDATA[<property
-\n"
- " name=\"propertyName\"
-\n"
- " column=\"column_name\"
-\n"
- " type=\"typename\"
-\n"
- " update=\"true|false\"
-\n"
- " insert=\"true|false\"
-\n"
- " formula=\"arbitrary SQL expression\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " lazy=\"true|false\"
-\n"
- " unique=\"true|false\"
-\n"
- " not-null=\"true|false\"
-\n"
- " optimistic-lock=\"true|false\"
-\n"
- " generated=\"never|insert|always\"
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- " index=\"index_name\"
-\n"
- " unique_key=\"unique_key_id\"
-\n"
- " length=\"L\"
-\n"
- " precision=\"P\"
-\n"
- " scale=\"S\"
-\n"
- "/>]]>"
-#: index.docbook:1118
+#. Tag: title
+#: basic_mapping.xml:1118
+#, no-c-format
msgid "version (optional)"
-msgstr "<literal>name</literal>ï¼å°æåã§å§ã¾ãããããã£åã"
+msgstr "versionï¼ãªãã·ã§ã³ï¼"
-#: index.docbook:1120
-msgid "The <literal><version></literal> element is optional and indicates that the table contains versioned data. This is particularly useful if you plan to use <emphasis>long transactions</emphasis> (see below)."
-msgstr "<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ ãããã³ã°ããããã¼ã¿ãã¼ã¹ãã¼ãã«ã®ã«ã©ã ã®ååã ãã¹ããã <literal><column></literal> è¦ç´ ã§ãæå®ã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1120
+#, no-c-format
+msgid ""
+"The <literal><version></literal> element is optional and indicates "
+"that the table contains versioned data. This is particularly useful if you "
+"plan to use <emphasis>long transactions</emphasis> (see below)."
+msgstr ""
+"<literal><version></literal> è¦ç´ ã¯ãªãã·ã§ã³ã§ããã ãã¼ãã«ããã¼"
+"ã¸ã§ã³ãã¼ã¿ãå«ããã¨ã示ãã¾ãã ãã㯠<emphasis>ãã³ã°ãã©ã³ã¶ã¯ã·ã§ã³</"
+"emphasis> ã使ãã¤ãããªããç¹ã«å½¹ç«ã¡ã¾ãï¼ä»¥ä¸ãè¦ã¦ãã ããï¼ã"
-#: index.docbook:1136
+#. Tag: programlisting
+#: basic_mapping.xml:1136
+#, no-c-format
msgid ""
- "<![CDATA[<version\n"
- " column=\"version_column\"\n"
- " name=\"propertyName\"\n"
- " type=\"typename\"\n"
- " access=\"field|property|ClassName\"\n"
- " unsaved-value=\"null|negative|undefined\"\n"
- " generated=\"never|always\"\n"
- " insert=\"true|false\"\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- "/>]]>"
-msgstr "<literal>type</literal>ï¼ãªãã·ã§ã³ï¼ï¼Hibernateã®åã示ãååã"
+"<![CDATA[<version\n"
+" column=\"version_column\"\n"
+" name=\"propertyName\"\n"
+" type=\"typename\"\n"
+" access=\"field|property|ClassName\"\n"
+" unsaved-value=\"null|negative|undefined\"\n"
+" generated=\"never|always\"\n"
+" insert=\"true|false\"\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1139
-msgid "<literal>column</literal> (optional - defaults to the property name): The name of the column holding the version number."
-msgstr "<literal>update, insert</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ï¼ï¼ ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</literal> ã <literal>INSERT</literal> ã«å«ã¾ãããã¨ãæå®ãã¾ãã 両æ¹ã¨ã <literal>false</literal> ã«è¨å®ããã¨ã åãã«ã©ã ã«ãããã³ã°ãããä»ã®ããããã£ãããªã¬ã ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦åæåãããç´ç²ãªãå°åºãããããã£ãå¯è½ã«ãªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1139
+#, no-c-format
+msgid ""
+"<literal>column</literal> (optional - defaults to the property name): The "
+"name of the column holding the version number."
+msgstr ""
+"<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼: ãã¼ã¸ã§"
+"ã³çªå·ãä¿æããã«ã©ã ã®ååã"
-#: index.docbook:1145
-msgid "<literal>name</literal>: The name of a property of the persistent class."
-msgstr "<literal>formula</literal>ï¼ãªãã·ã§ã³ï¼ï¼ <emphasis>è¨ç®</emphasis> ããããã£ã®ããã®å¤ãå®ç¾©ããSQLå¼ã è¨ç®ãããããããã£ã¯èªèº«ã®ã«ã©ã ã¸ã®ãããã³ã°ãããã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:1145
+#, no-c-format
+msgid ""
+"<literal>name</literal>: The name of a property of the persistent class."
+msgstr "<literal>name</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã®ããããã£ã®ååã"
-#: index.docbook:1150
-msgid "<literal>type</literal> (optional - defaults to <literal>integer</literal>): The type of the version number."
-msgstr "<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:1150
+#, no-c-format
+msgid ""
+"<literal>type</literal> (optional - defaults to <literal>integer</literal>): "
+"The type of the version number."
+msgstr ""
+"<literal>type</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>integer</"
+"literal> ï¼ï¼ãã¼ã¸ã§ã³çªå·ã®åã"
-#: index.docbook:1162
-msgid "<literal>unsaved-value</literal> (optional - defaults to <literal>undefined</literal>): A version property value that indicates that an instance is newly instantiated (unsaved), distinguishing it from detached instances that were saved or loaded in a previous session. (<literal>undefined</literal> specifies that the identifier property value should be used.)"
-msgstr "<literal>unique</literal> (ãªãã·ã§ã³):ã«ã©ã ã«ã¦ãã¼ã¯å¶ç´ãã¤ããDDLã®çæãå¯è½ã«ãã¾ãã ã¾ãã<literal>property-ref</literal> ã®ã¿ã¼ã²ããã¨ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1162
+#, no-c-format
+msgid ""
+"<literal>unsaved-value</literal> (optional - defaults to <literal>undefined</"
+"literal>): A version property value that indicates that an instance is newly "
+"instantiated (unsaved), distinguishing it from detached instances that were "
+"saved or loaded in a previous session. (<literal>undefined</literal> "
+"specifies that the identifier property value should be used.)"
+msgstr ""
+"<literal>unsaved-value</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠"
+"<literal>undefined</literal> ï¼ï¼ ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åãããã"
+"ã¨ã示ã ï¼ã»ã¼ãããã¦ããªããã¨ã示ãï¼ãã¼ã¸ã§ã³ããããã£ã®å¤ã 以åã®"
+"Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã䏿çãªã¤ã³ã¹ã¿ã³ã¹ã¨åºå¥ãããã㫠使ãã¾"
+"ãã ï¼ <literal>undefined</literal> ã¯èå¥åããããã£ã®å¤ã使ããããã¨ãæ"
+"å®ãã¾ããï¼"
-#: index.docbook:1171
-msgid "<literal>generated</literal> (optional - defaults to <literal>never</literal>): Specifies that this version property value is actually generated by the database. See the discussion of <xref linkend=\"mapping-generated\"/>generated properties."
-msgstr "<literal>not-null</literal> (ãªãã·ã§ã³):ã«ã©ã ã«nullå¤ã許å¯ããDDLã®çæãå¯è½ã«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1171
+#, no-c-format
+msgid ""
+"<literal>generated</literal> (optional - defaults to <literal>never</"
+"literal>): Specifies that this version property value is actually generated "
+"by the database. See the discussion of <link linkend=\"mapping-generated"
+"\">generated properties</link>."
+msgstr ""
+"<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</"
+"literal> ): ãã®ãã¼ã¸ã§ã³ã®ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæããã"
+"ãã¨ãæå®ãã¾ãã <xref linkend=\"mapping-generated\">çæããããã£</xref> "
+"ã®è°è«ãè¦ã¦ãã ããã"
-#: index.docbook:1178
-msgid "<literal>insert</literal> (optional - defaults to <literal>true</literal>): Specifies whether the version column should be included in SQL insert statements. May be set to <literal>false</literal> if and only if the database column is defined with a default value of <literal>0</literal>."
-msgstr "<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹ãããæ±ºå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1178
+#, no-c-format
+msgid ""
+"<literal>insert</literal> (optional - defaults to <literal>true</literal>): "
+"Specifies whether the version column should be included in SQL insert "
+"statements. May be set to <literal>false</literal> if and only if the "
+"database column is defined with a default value of <literal>0</literal>."
+msgstr ""
+"<literal>insert</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): SQLã®insertæã«ãã¼ã¸ã§ã³ã»ã«ã©ã ãå«ããã¹ããã©ãããæå®ãã¾"
+"ãã ãããã¼ã¿ãã¼ã¹ã»ã«ã©ã ã®ããã©ã«ãå¤ã <literal>0</literal> ã¨å®ç¾©ãã"
+"ãã¨ãã«ã¯ã <literal>false</literal> ã«è¨å®ããã¨è¯ãã§ãããã"
-#: index.docbook:1188
-msgid "Version numbers may be of Hibernate type <literal>long</literal>, <literal>integer</literal>, <literal>short</literal>, <literal>timestamp</literal> or <literal>calendar</literal>."
-msgstr "<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</literal> ): ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæããããã¨ãæå®ãã¾ãã <xref linkend=\"mapping-generated\"/>çæãããã㣠ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1188
+#, no-c-format
+msgid ""
+"Version numbers may be of Hibernate type <literal>long</literal>, "
+"<literal>integer</literal>, <literal>short</literal>, <literal>timestamp</"
+"literal> or <literal>calendar</literal>."
+msgstr ""
+"ãã¼ã¸ã§ã³çªå·ã¯ Hibernateã® <literal>long</literal> , <literal>integer</"
+"literal> , <literal>short</literal> , <literal>timestamp</literal> , "
+"<literal>calendar</literal> åã®ããããã§ãã"
-#: index.docbook:1193
-msgid "A version or timestamp property should never be null for a detached instance, so Hibernate will detect any instance with a null version or timestamp as transient, no matter what other <literal>unsaved-value</literal> strategies are specified. <emphasis>Declaring a nullable version or timestamp property is an easy way to avoid any problems with transitive reattachment in Hibernate, especially useful for people using assigned identifiers or composite keys!</emphasis>"
-msgstr "<emphasis>typename</emphasis> ã«ã¯ä»¥ä¸ã®å¤ãå¯è½ã§ãï¼"
+#. Tag: para
+#: basic_mapping.xml:1193
+#, no-c-format
+msgid ""
+"A version or timestamp property should never be null for a detached "
+"instance, so Hibernate will detect any instance with a null version or "
+"timestamp as transient, no matter what other <literal>unsaved-value</"
+"literal> strategies are specified. <emphasis>Declaring a nullable version or "
+"timestamp property is an easy way to avoid any problems with transitive "
+"reattachment in Hibernate, especially useful for people using assigned "
+"identifiers or composite keys!</emphasis>"
+msgstr ""
+"ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ã¯ãåé¢ãããã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ãã¦null"
+"ã§ãã£ã¦ã¯ãªãã¾ããã ãã®ããã©ã®ãã㪠<literal>unsaved-value</literal> æ¦"
+"ç¥ãæå®ããã¦ãã Hibernateã¯nullã®ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ããæã£ããã¹ã¦"
+"ã®ã¤ã³ã¹ã¿ã³ã¹ãã 䏿çãªãã®ã§ããã¨å¤æãã¾ãã <emphasis> nullã許容ãã"
+"ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ãå®ç¾©ãããã¨ã¯ã 鿏¡çã«ä¸æãªãã¸ã§"
+"ã¯ãã¨ãããã¨ãé²ãç°¡åãªæ¹æ³ã§ãã ç¹ã«èå¥åã®å²ãå½ã¦ãè¤åãã¼ã使ç¨ãã¦"
+"ããã¨ãã«ã¯ç¹ã«æç¨ã§ãã</emphasis>"
-#: index.docbook:1204
+#. Tag: title
+#: basic_mapping.xml:1204
+#, no-c-format
msgid "timestamp (optional)"
-msgstr "Hibernateã®åºæ¬åã®ååï¼ä¾ <literal>integer, string, character, date, timestamp, float, binary, serializable, object, blob</literal> ï¼ã"
+msgstr "timestampï¼ãªãã·ã§ã³ï¼"
-#: index.docbook:1206
-msgid "The optional <literal><timestamp></literal> element indicates that the table contains timestamped data. This is intended as an alternative to versioning. Timestamps are by nature a less safe implementation of optimistic locking. However, sometimes the application might use the timestamps in other ways."
-msgstr "ããã©ã«ãã®åºæ¬åã®Javaã¯ã©ã¹å ï¼ä¾ <literal>int, float, char, java.lang.String, java.util.Date, java.lang.Integer, java.sql.Clob</literal> ï¼ã"
+#. Tag: para
+#: basic_mapping.xml:1206
+#, no-c-format
+msgid ""
+"The optional <literal><timestamp></literal> element indicates that the "
+"table contains timestamped data. This is intended as an alternative to "
+"versioning. Timestamps are by nature a less safe implementation of "
+"optimistic locking. However, sometimes the application might use the "
+"timestamps in other ways."
+msgstr ""
+"ãªãã·ã§ã³ã® <literal><timestamp></literal> è¦ç´ ã¯ã ãã¼ãã«ãã¿ã¤ã ã¹"
+"ã¿ã³ããã¼ã¿ãå«ããã¨ã示ãã¾ãã ããã¯ãã¼ã¸ã§ã³ä»ãã®ä»£ããã®æ¹æ³ã¨ãã¦ç¨"
+"æããã¦ãã¾ãã ã¿ã¤ã ã¹ã¿ã³ãã¯ãã¨ãã¨æ¥½è¦³çããã¯ã«ãããå®å
¨æ§ã®ä½ãå®è£
"
+"ã§ãã ãããã¢ããªã±ã¼ã·ã§ã³ã¯ç°ãªãç¨éã§ä½¿ããã¨ãããããããã¾ããã"
-#: index.docbook:1222
+#. Tag: programlisting
+#: basic_mapping.xml:1222
+#, no-c-format
msgid ""
- "<![CDATA[<timestamp\n"
- " column=\"timestamp_column\"\n"
- " name=\"propertyName\"\n"
- " access=\"field|property|ClassName\"\n"
- " unsaved-value=\"null|undefined\"\n"
- " source=\"vm|db\"\n"
- " generated=\"never|always\"\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- "/>]]>"
-msgstr "ã·ãªã¢ã©ã¤ãºå¯è½ãªJavaã¯ã©ã¹ã®ååã"
+"<![CDATA[<timestamp\n"
+" column=\"timestamp_column\"\n"
+" name=\"propertyName\"\n"
+" access=\"field|property|ClassName\"\n"
+" unsaved-value=\"null|undefined\"\n"
+" source=\"vm|db\"\n"
+" generated=\"never|always\"\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1225
-msgid "<literal>column</literal> (optional - defaults to the property name): The name of a column holding the timestamp."
-msgstr "ã«ã¹ã¿ã åã®ã¯ã©ã¹åï¼ä¾ <literal>com.illflow.type.MyCustomType</literal> ï¼ã"
+#. Tag: para
+#: basic_mapping.xml:1225
+#, no-c-format
+msgid ""
+"<literal>column</literal> (optional - defaults to the property name): The "
+"name of a column holding the timestamp."
+msgstr ""
+"<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ ã¿ã¤ã ã¹"
+"ã¿ã³ããä¿æããã«ã©ã ã®ååã"
-#: index.docbook:1231
-msgid "<literal>name</literal>: The name of a JavaBeans style property of Java type <literal>Date</literal> or <literal>Timestamp</literal> of the persistent class."
-msgstr "åãæå®ããªããã°ãHibernateã¯æ£ããHibernateã®åãæ¨æ¸¬ããããã«ã æå®ãããããããã£ã«å¯¾ãã¦ãªãã¬ã¯ã·ã§ã³ã使ãã¾ãã Hibernateã¯ã«ã¼ã«2, 3, 4ããã®é åºã«ä½¿ãã getterããããã£ã®è¿ãå¤ã®ã¯ã©ã¹ã®ååãè§£éãããã¨ãã¾ãã ãããããã§å¸¸ã«ååã§ããã¨ã¯éãã¾ããã å ´åã«ãã£ã¦ã¯ã<literal>type</literal> 屿§ãå¿
è¦ãªå ´åãããã¾ãã ï¼ä¾ãã° <literal>Hibernate.DATE</literal> 㨠<literal>Hibernate.TIMESTAMP</literal> ãåºå¥ããããã ã¾ãã¯ã«ã¹ã¿ã åãæå®ãããããªã©ã§ããï¼"
+#. Tag: para
+#: basic_mapping.xml:1231
+#, no-c-format
+msgid ""
+"<literal>name</literal>: The name of a JavaBeans style property of Java type "
+"<literal>Date</literal> or <literal>Timestamp</literal> of the persistent "
+"class."
+msgstr ""
+"<literal>name</literal> ï¼ æ°¸ç¶ã¯ã©ã¹ã§ããJava ã® <literal>Date</literal>å "
+"ã¾ã㯠<literal>Timestamp</literal> å ã®ãJavaBeansã¹ã¿ã¤ã«ããããã£ã®å"
+"åã"
-#: index.docbook:1244
-msgid "<literal>unsaved-value</literal> (optional - defaults to <literal>null</literal>): A version property value that indicates that an instance is newly instantiated (unsaved), distinguishing it from detached instances that were saved or loaded in a previous session. (<literal>undefined</literal> specifies that the identifier property value should be used.)"
-msgstr "ç¹ã«å¼·åãªç¹å¾´ã¯çæããããã£ã§ãã ãããã®ããããã£ã¯å½ç¶èªã¿åãå°ç¨ã§ãããããããã£ã®å¤ã¯ãã¼ãæã«è¨ç®ããã¾ãã è¨ç®ãSQLå¼ã¨ãã¦å®£è¨ããã¨ããã®ããããã£ã¯ ã¤ã³ã¹ã¿ã³ã¹ããã¼ãããSQLã¯ã¨ãªã® <literal>SELECT</literal> å¥ã®ãµãã¯ã¨ãªã«å¤æããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1244
+#, no-c-format
+msgid ""
+"<literal>unsaved-value</literal> (optional - defaults to <literal>null</"
+"literal>): A version property value that indicates that an instance is newly "
+"instantiated (unsaved), distinguishing it from detached instances that were "
+"saved or loaded in a previous session. (<literal>undefined</literal> "
+"specifies that the identifier property value should be used.)"
+msgstr ""
+"<literal>unsaved-value</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>null</"
+"literal> ï¼ï¼ ã¤ã³ã¹ã¿ã³ã¹ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããã ï¼ã»ã¼ãããã¦ããªãï¼"
+"ãã¨ã示ããã¼ã¸ã§ã³ããããã£ã®å¤ã 以åã®Sessionã§ã»ã¼ãã¾ãã¯ãã¼ãããã"
+"䏿çãªã¤ã³ã¹ã¿ã³ã¹ã¨ åºå¥ããããã«ä½¿ããã¾ãã ï¼ <literal>undefined</"
+"literal> ã¨æå®ããã¨ã èå¥åããããã£ã®å¤ã使ããã¾ããï¼"
-#: index.docbook:1253
-msgid "<literal>source</literal> (optional - defaults to <literal>vm</literal>): From where should Hibernate retrieve the timestamp value? From the database, or from the current JVM? Database-based timestamps incur an overhead because Hibernate must hit the database in order to determine the \"next value\", but will be safer for use in clustered environments. Note also, that not all <literal>Dialect</literal>s are known to support retrieving of the database's current timestamp, while others might be unsafe for usage in locking due to lack of precision (Oracle 8 for example)."
+#. Tag: para
+#: basic_mapping.xml:1253
+#, no-c-format
+msgid ""
+"<literal>source</literal> (optional - defaults to <literal>vm</literal>): "
+"From where should Hibernate retrieve the timestamp value? From the database, "
+"or from the current JVM? Database-based timestamps incur an overhead because "
+"Hibernate must hit the database in order to determine the \"next value\", "
+"but will be safer for use in clustered environments. Note also, that not all "
+"<literal>Dialect</literal>s are known to support retrieving of the "
+"database's current timestamp, while others might be unsafe for usage in "
+"locking due to lack of precision (Oracle 8 for example)."
msgstr ""
- "<![CDATA[
-\n"
- "<property name=\"totalPrice\"
-\n"
- " formula=\"( SELECT SUM (li.quantity*p.price) FROM LineItem li, Product p
-\n"
- " WHERE li.productId = p.productId
-\n"
- " AND li.customerId = customerId
-\n"
- " AND li.orderNumber = orderNumber )\"/>]]>"
+"<literal>source</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>vm</"
+"literal> ): Hibernateã¯ã©ãããã¿ã¤ã ã¹ã¿ã³ãã®å¤ãåå¾ããã¹ãã§ããããï¼ "
+"ãã¼ã¿ãã¼ã¹ããã§ãããããç¾å¨ã®JVMããã§ããããï¼ ãã¼ã¿ãã¼ã¹ã«ããã¿ã¤"
+"ã ã¹ã¿ã³ãã¯ãHibernateã\"次ã®å¤\"ãæ±ºå®ããããã« ãã¼ã¿ãã¼ã¹ããããããª"
+"ããã°ãªããªãããããªã¼ãããããæãã¾ãã ãããã¯ã©ã¹ã¿ç°å¢ã§ã¯JVMããå"
+"å¾ããããå®å
¨ã§ãã ãã¼ã¿ãã¼ã¹ã®ç¾å¨ã®ã¿ã¤ã ã¹ã¿ã³ãã®åå¾ããµãã¼ããã "
+"ãã¹ã¦ã® <literal>ãã¼ã¿ãã¼ã¹æ¹è¨</literal> ãç¥ããã¦ããããã§ã¯ãªããã¨"
+"㫠注æãã¦ãã ãããã¾ã䏿¹ã§ãç²¾å¯ããæ¬ ãããã«ã ããã¯ã§ä½¿ç¨ããã«ã¯å®"
+"å
¨ã§ãªããã®ãããã¾ã(ä¾ãã°Oracle 8)ã"
-#: index.docbook:1265
-msgid "<literal>generated</literal> (optional - defaults to <literal>never</literal>): Specifies that this timestamp property value is actually generated by the database. See the discussion of <xref linkend=\"mapping-generated\"/>generated properties."
-msgstr "ç¹å®ã®ã«ã©ã (ä¾ã§ã¯ <literal>customerId</literal> ãããã«ãããã¾ã)ã®ã¨ã¤ãªã¢ã¹ã宣è¨ãããã¨ãªãã ã¨ã³ãã£ãã£èªèº«ã®ãã¼ãã«ãåç
§ã§ãããã¨ã«æ³¨æãã¦ãã ããã ãã屿§ã使ç¨ããããªããã°ã ãã¹ããã <literal><formula></literal> ãããã³ã°è¦ç´ ã使ãããã¨ã«ã注æãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1265
+#, no-c-format
+msgid ""
+"<literal>generated</literal> (optional - defaults to <literal>never</"
+"literal>): Specifies that this timestamp property value is actually "
+"generated by the database. See the discussion of <link linkend=\"mapping-"
+"generated\">generated properties</link>."
+msgstr ""
+"<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</"
+"literal> ): ãã®ã¿ã¤ã ã¹ã¿ã³ãã»ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæã"
+"ãããã¨ãæå®ãã¾ãã <xref linkend=\"mapping-generated\">çæããããã£</"
+"xref> ãåç
§ãã¦ãã ããã"
-#: index.docbook:1274
-msgid "Note that <literal><timestamp></literal> is equivalent to <literal><version type=\"timestamp\"></literal>. And <literal><timestamp source=\"db\"></literal> is equivalent to <literal><version type=\"dbtimestamp\"></literal>"
-msgstr "many-to-one"
+#. Tag: para
+#: basic_mapping.xml:1274
+#, no-c-format
+msgid ""
+"Note that <literal><timestamp></literal> is equivalent to <literal><"
+"version type=\"timestamp\"></literal>. And <literal><timestamp source="
+"\"db\"></literal> is equivalent to <literal><version type=\"dbtimestamp"
+"\"></literal>"
+msgstr ""
+"<literal><timestamp></literal> 㯠<literal><version type=\"timestamp"
+"\"></literal> ã¨ç価ã§ãããã¨ã«æ³¨æãã¦ãã ããã <literal><timestamp "
+"source=\"db\"></literal> 㯠<literal><version type=\"dbtimestamp\">"
+"</literal> ã¨ç価ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:1284
+#. Tag: title
+#: basic_mapping.xml:1284
+#, no-c-format
msgid "property"
-msgstr "ä»ã®æ°¸ç¶ã¯ã©ã¹ã¸ã®é常ã®é¢é£ã¯ <literal>many-to-one</literal> è¦ç´ ã使ã£ã¦å®ç¾©ãã¾ãã ãªã¬ã¼ã·ã§ãã«ã¢ãã«ã¯å¤å¯¾ä¸é¢é£ã§ãã ã¤ã¾ããããã¼ãã«ã®å¤é¨ãã¼ã¯ãã¿ã¼ã²ããã¨ãªããã¼ãã«ã®ä¸»ãã¼ã«ã©ã ãåç
§ãã¦ãã¾ãã"
+msgstr "property"
-#: index.docbook:1286
-msgid "The <literal><property></literal> element declares a persistent, JavaBean style property of the class."
+#. Tag: para
+#: basic_mapping.xml:1286
+#, no-c-format
+msgid ""
+"The <literal><property></literal> element declares a persistent, "
+"JavaBean style property of the class."
msgstr ""
- "<![CDATA[<many-to-one
-\n"
- " name=\"propertyName\"
-\n"
- " column=\"column_name\"
-\n"
- " class=\"ClassName\"
-\n"
- " cascade=\"cascade_style\"
-\n"
- " fetch=\"join|select\"
-\n"
- " update=\"true|false\"
-\n"
- " insert=\"true|false\"
-\n"
- " property-ref=\"propertyNameFromAssociatedClass\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " unique=\"true|false\"
-\n"
- " not-null=\"true|false\"
-\n"
- " optimistic-lock=\"true|false\"
-\n"
- " lazy=\"proxy|no-proxy|false\"
-\n"
- " not-found=\"ignore|exception\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " formula=\"arbitrary SQL expression\"
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- " embed-xml=\"true|false\"
-\n"
- " index=\"index_name\"
-\n"
- " unique_key=\"unique_key_id\"
-\n"
- " foreign-key=\"foreign_key_name\"
-\n"
- "/>]]>"
+"<literal><property></literal> è¦ç´ ã¯ãã¯ã©ã¹ã®æ°¸ç¶çãªJavaBeanã¹ã¿ã¤ã«"
+"ã®ããããã£ãå®ç¾©ãã¾ãã"
-#: index.docbook:1308
+#. Tag: programlisting
+#: basic_mapping.xml:1308
+#, no-c-format
msgid ""
- "<![CDATA[<property\n"
- " name=\"propertyName\"\n"
- " column=\"column_name\"\n"
- " type=\"typename\"\n"
- " update=\"true|false\"\n"
- " insert=\"true|false\"\n"
- " formula=\"arbitrary SQL expression\"\n"
- " access=\"field|property|ClassName\"\n"
- " lazy=\"true|false\"\n"
- " unique=\"true|false\"\n"
- " not-null=\"true|false\"\n"
- " optimistic-lock=\"true|false\"\n"
- " generated=\"never|insert|always\"\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- " index=\"index_name\"\n"
- " unique_key=\"unique_key_id\"\n"
- " length=\"L\"\n"
- " precision=\"P\"\n"
- " scale=\"S\"\n"
- "/>]]>"
-msgstr "<literal>name</literal>ï¼ããããã£åã"
+"<![CDATA[<property\n"
+" name=\"propertyName\"\n"
+" column=\"column_name\"\n"
+" type=\"typename\"\n"
+" update=\"true|false\"\n"
+" insert=\"true|false\"\n"
+" formula=\"arbitrary SQL expression\"\n"
+" access=\"field|property|ClassName\"\n"
+" lazy=\"true|false\"\n"
+" unique=\"true|false\"\n"
+" not-null=\"true|false\"\n"
+" optimistic-lock=\"true|false\"\n"
+" generated=\"never|insert|always\"\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+" index=\"index_name\"\n"
+" unique_key=\"unique_key_id\"\n"
+" length=\"L\"\n"
+" precision=\"P\"\n"
+" scale=\"S\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1311
-msgid "<literal>name</literal>: the name of the property, with an initial lowercase letter."
-msgstr "<literal>column</literal> (ãªãã·ã§ã³):å¤é¨ãã¼ã«ã©ã ã®ååã ãã¹ããã <literal><column></literal> è¦ç´ ã§ãæå®ã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1311
+#, no-c-format
+msgid ""
+"<literal>name</literal>: the name of the property, with an initial lowercase "
+"letter."
+msgstr "<literal>name</literal>ï¼å°æåã§å§ã¾ãããããã£åã"
-#: index.docbook:1317
-msgid "<literal>column</literal> (optional - defaults to the property name): the name of the mapped database table column. This may also be specified by nested <literal><column></literal> element(s)."
-msgstr "<literal>class</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ã ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®ãããããããã£ã®åï¼ï¼é¢é£ã¯ã©ã¹ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:1317
+#, no-c-format
+msgid ""
+"<literal>column</literal> (optional - defaults to the property name): the "
+"name of the mapped database table column. This may also be specified by "
+"nested <literal><column></literal> element(s)."
+msgstr ""
+"<literal>column</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ï¼ ãããã³"
+"ã°ããããã¼ã¿ãã¼ã¹ãã¼ãã«ã®ã«ã©ã ã®ååã ãã¹ããã <literal><"
+"column></literal> è¦ç´ ã§ãæå®ã§ãã¾ãã"
-#: index.docbook:1324
-msgid "<literal>type</literal> (optional): a name that indicates the Hibernate type."
-msgstr "<literal>cascade</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ã©ã®æä½ãã親ãªãã¸ã§ã¯ãããé¢é£ãªãã¸ã§ã¯ãã¸ã¨ã«ã¹ã±ã¼ããããããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1324
+#, no-c-format
+msgid ""
+"<literal>type</literal> (optional): a name that indicates the Hibernate type."
+msgstr "<literal>type</literal>ï¼ãªãã·ã§ã³ï¼ï¼Hibernateã®åã示ãååã"
-#: index.docbook:1329
-msgid "<literal>update, insert</literal> (optional - defaults to <literal>true</literal>) : specifies that the mapped columns should be included in SQL <literal>UPDATE</literal> and/or <literal>INSERT</literal> statements. Setting both to <literal>false</literal> allows a pure \"derived\" property whose value is initialized from some other property that maps to the same colum(s) or by a trigger or other application."
-msgstr "<literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</literal> ): å¤é¨çµåãã§ãããé æ¬¡é¸æãã§ããï¼sequential select fetchï¼ã鏿ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1329
+#, no-c-format
+msgid ""
+"<literal>update, insert</literal> (optional - defaults to <literal>true</"
+"literal>) : specifies that the mapped columns should be included in SQL "
+"<literal>UPDATE</literal> and/or <literal>INSERT</literal> statements. "
+"Setting both to <literal>false</literal> allows a pure \"derived\" property "
+"whose value is initialized from some other property that maps to the same "
+"colum(s) or by a trigger or other application."
+msgstr ""
+"<literal>update, insert</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ï¼ï¼ ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</literal> ã "
+"<literal>INSERT</literal> ã«å«ã¾ãããã¨ãæå®ãã¾ãã 両æ¹ã¨ã "
+"<literal>false</literal> ã«è¨å®ããã¨ã åãã«ã©ã ã«ãããã³ã°ãããä»ã®ãã"
+"ããã£ãããªã¬ã ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦åæåãããç´ç²ãªãå°åºãããã"
+"ãã£ãå¯è½ã«ãªãã¾ãã"
-#: index.docbook:1338
-msgid "<literal>formula</literal> (optional): an SQL expression that defines the value for a <emphasis>computed</emphasis> property. Computed properties do not have a column mapping of their own."
-msgstr "<literal>update, insert</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ï¼ï¼ ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</literal> ã¾ã㯠<literal>INSERT</literal> æã«å«ã¾ãããã¨ãæå®ãã¾ãã 両æ¹ã¨ã <literal>false</literal> ã«è¨å®ããã¨ã ãã®å¤ãåãã«ã©ã ã«ãããã³ã°ãããä»ã®ããããã£ãããªã¬ã ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦åæåãããç´ç²ãªãå°åºãããããã£ãå¯è½ã«ãªãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1338
+#, no-c-format
+msgid ""
+"<literal>formula</literal> (optional): an SQL expression that defines the "
+"value for a <emphasis>computed</emphasis> property. Computed properties do "
+"not have a column mapping of their own."
+msgstr ""
+"<literal>formula</literal>ï¼ãªãã·ã§ã³ï¼ï¼ <emphasis>è¨ç®</emphasis> ããã"
+"ãã£ã®ããã®å¤ãå®ç¾©ããSQLå¼ã è¨ç®ãããããããã£ã¯èªèº«ã®ã«ã©ã ã¸ã®ããã"
+"ã³ã°ãããã¾ããã"
-#: index.docbook:1351
-msgid "<literal>lazy</literal> (optional - defaults to <literal>false</literal>): Specifies that this property should be fetched lazily when the instance variable is first accessed (requires build-time bytecode instrumentation)."
-msgstr "<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:1351
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional - defaults to <literal>false</literal>): "
+"Specifies that this property should be fetched lazily when the instance "
+"variable is first accessed (requires build-time bytecode instrumentation)."
+msgstr ""
+"<literal>lazy</literal> (optional - ããã©ã«ã㯠<literal>false</literal> ): "
+"ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ããã¨ãã«ãããããã£ãé
å»¶ãã¦åå¾ãããã"
+"æå®ãã¾ãã (ãã¤ãã³ã¼ãå®è£
ã使ããæéãå¿
è¦ã«ãªãã¾ã)ã"
-#: index.docbook:1358
-msgid "<literal>unique</literal> (optional): Enable the DDL generation of a unique constraint for the columns. Also, allow this to be the target of a <literal>property-ref</literal>."
-msgstr "<literal>unique</literal>ï¼ãªãã·ã§ã³ï¼ï¼ å¤é¨ãã¼ã«ã©ã ã«å¯¾ãã¦ã¦ãã¼ã¯å¶ç´ãã¤ããDDLã®çæãå¯è½ã«ãã¾ãã ã¾ãã<literal>property-ref</literal> ã®ã¿ã¼ã²ããã«ãããã¨ãã§ãã¾ãã ããã«ããé¢é£ã®å¤é度ã广çã«ä¸å¯¾ä¸ã«ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1358
+#, no-c-format
+msgid ""
+"<literal>unique</literal> (optional): Enable the DDL generation of a unique "
+"constraint for the columns. Also, allow this to be the target of a "
+"<literal>property-ref</literal>."
+msgstr ""
+"<literal>unique</literal> (ãªãã·ã§ã³):ã«ã©ã ã«ã¦ãã¼ã¯å¶ç´ãã¤ããDDLã®çæ"
+"ãå¯è½ã«ãã¾ãã ã¾ãã<literal>property-ref</literal> ã®ã¿ã¼ã²ããã¨ãããã¨"
+"ãã§ãã¾ãã"
-#: index.docbook:1365
-msgid "<literal>not-null</literal> (optional): Enable the DDL generation of a nullability constraint for the columns."
-msgstr "<literal>not-null</literal> (ãªãã·ã§ã³):å¤é¨ãã¼ã«ã©ã ã«å¯¾ãã¦ã nullå¤ã許å¯ããDDLã®çæãå¯è½ã«ãã¾ã"
+#. Tag: para
+#: basic_mapping.xml:1365
+#, no-c-format
+msgid ""
+"<literal>not-null</literal> (optional): Enable the DDL generation of a "
+"nullability constraint for the columns."
+msgstr ""
+"<literal>not-null</literal> (ãªãã·ã§ã³):ã«ã©ã ã«nullå¤ã許å¯ããDDLã®çæã"
+"å¯è½ã«ãã¾ãã"
-#: index.docbook:1371
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Specifies that updates to this property do or do not require acquisition of the optimistic lock. In other words, determines if a version increment should occur when this property is dirty."
-msgstr "<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³çããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹ãããæ±ºå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1371
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies that updates to this property do or do not require "
+"acquisition of the optimistic lock. In other words, determines if a version "
+"increment should occur when this property is dirty."
+msgstr ""
+"<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ã"
+"ã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹"
+"ãããæ±ºå®ãã¾ãã"
-#: index.docbook:1379
-msgid "<literal>generated</literal> (optional - defaults to <literal>never</literal>): Specifies that this property value is actually generated by the database. See the discussion of <xref linkend=\"mapping-generated\"/>generated properties."
-msgstr "<literal>lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>proxy</literal> ): ããã©ã«ãã§ã¯ãå¤é度ï¼ã®é¢é£ããããã·ã¨ãªãã¾ãã <literal>lazy=\"no-proxy\"</literal> ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ããã¨ãã«ã ããããã£ãé
å»¶ãã§ããããããæå®ãã¾ã (ãã«ãæã«ãã¤ãã³ã¼ãå®è£
ãå¿
è¦ã«ãªãã¾ã)ã <literal>lazy=\"false\"</literal> ã¯é¢é£ã常ã«å³æã«ãã§ããããããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1379
+#, no-c-format
+msgid ""
+"<literal>generated</literal> (optional - defaults to <literal>never</"
+"literal>): Specifies that this property value is actually generated by the "
+"database. See the discussion of <link linkend=\"mapping-generated"
+"\">generated properties</link>."
+msgstr ""
+"<literal>generated</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>never</"
+"literal> ): ããããã£ã®å¤ãããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæããããã¨ãæå®ãã¾"
+"ãã <xref linkend=\"mapping-generated\">çæããããã£</xref> ãåç
§ãã¦ãã "
+"ããã"
-#: index.docbook:1388
+#. Tag: para
+#: basic_mapping.xml:1388
+#, no-c-format
msgid "<emphasis>typename</emphasis> could be:"
-msgstr "<literal>not-found</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>exception</literal> ): æ¬ è½ããè¡ãåç
§ããå¤é¨ãã¼ãã©ã®ããã«æ±ãããæå®ãã¾ãã <literal>ignore</literal> ã¯æ¬ è½ããè¡ãnullé¢é£ã¨ãã¦æ±ãã¾ãã"
+msgstr "<emphasis>typename</emphasis> ã«ã¯ä»¥ä¸ã®å¤ãå¯è½ã§ãï¼"
-#: index.docbook:1394
-msgid "The name of a Hibernate basic type (eg. <literal>integer, string, character, date, timestamp, float, binary, serializable, object, blob</literal>)."
-msgstr "<literal>entity-name</literal> (ãªãã·ã§ã³):é¢é£ããã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã"
+#. Tag: para
+#: basic_mapping.xml:1394
+#, no-c-format
+msgid ""
+"The name of a Hibernate basic type (eg. <literal>integer, string, character, "
+"date, timestamp, float, binary, serializable, object, blob</literal>)."
+msgstr ""
+"Hibernateã®åºæ¬åã®ååï¼ä¾ <literal>integer, string, character, date, "
+"timestamp, float, binary, serializable, object, blob</literal> ï¼ã"
-#: index.docbook:1400
-msgid "The name of a Java class with a default basic type (eg. <literal>int, float, char, java.lang.String, java.util.Date, java.lang.Integer, java.sql.Clob</literal>)."
-msgstr "<literal>formula</literal> (ãªãã·ã§ã³): <emphasis> è¨ç®ããã</emphasis> å¤é¨ãã¼ã«å¯¾ãã¦å¤ãå®ç¾©ããSQLå¼"
+#. Tag: para
+#: basic_mapping.xml:1400
+#, no-c-format
+msgid ""
+"The name of a Java class with a default basic type (eg. <literal>int, float, "
+"char, java.lang.String, java.util.Date, java.lang.Integer, java.sql.Clob</"
+"literal>)."
+msgstr ""
+"ããã©ã«ãã®åºæ¬åã®Javaã¯ã©ã¹å ï¼ä¾ <literal>int, float, char, java.lang."
+"String, java.util.Date, java.lang.Integer, java.sql.Clob</literal> ï¼ã"
-#: index.docbook:1406
+#. Tag: para
+#: basic_mapping.xml:1406
+#, no-c-format
msgid "The name of a serializable Java class."
-msgstr "<literal>cascade</literal> 屿§ã« <literal>none</literal> 以å¤ã®æå³ã®ããå¤ããè¨å®ããã¨ã é¢é£ãªãã¸ã§ã¯ãã¸ããæä½ã伿ãããã¨ã«ãªãã¾ãã æå³ã®ããå¤ã¨ã¯Hibernateã®åºæ¬æä½ã®ååã®ãã¨ã§ã <literal>delete-orphan</literal> 㨠<literal>all</literal> ãæä½åãã«ã³ãã§åºåã£ãçµã¿åãã ï¼ä¾ãã° <literal>cascade=\"persist,merge,evict\"</literal> ã <literal>cascade=\"all,delete-orphan\"</literal>ï¼ã ã¾ãããã ãã§ãªã <literal>persist, merge, delete, save-update, evict, replicate, lock, refresh</literal> ã®ãã¨ãæãã¾ãã 詳ãã説æã¯ <xref linkend=\"objectstate-transitive\"/> ãè¦ã¦ãã ããã å¤ãä¸ã¤ã®é¢é£(many-to-oneã¨one-to-oneé¢é£)ã¯ã åç¬ã§ã®åé¤ï¼orphan delete)ããµãã¼ããã¦ããªããã¨ã«æ³¨æãã¦ãã ããã"
+msgstr "ã·ãªã¢ã©ã¤ãºå¯è½ãªJavaã¯ã©ã¹ã®ååã"
-#: index.docbook:1411
-msgid "The class name of a custom type (eg. <literal>com.illflow.type.MyCustomType</literal>)."
-msgstr "å
¸åç㪠<literal>many-to-one</literal> 宣è¨ã¯æ¬¡ã®ããã«ã·ã³ãã«ã§ããï¼"
+#. Tag: para
+#: basic_mapping.xml:1411
+#, no-c-format
+msgid ""
+"The class name of a custom type (eg. <literal>com.illflow.type.MyCustomType</"
+"literal>)."
+msgstr ""
+"ã«ã¹ã¿ã åã®ã¯ã©ã¹åï¼ä¾ <literal>com.illflow.type.MyCustomType</"
+"literal> ï¼ã"
-#: index.docbook:1417
-msgid "If you do not specify a type, Hibernate will use reflection upon the named property to take a guess at the correct Hibernate type. Hibernate will try to interpret the name of the return class of the property getter using rules 2, 3, 4 in that order. However, this is not always enough. In certain cases you will still need the <literal>type</literal> attribute. (For example, to distinguish between <literal>Hibernate.DATE</literal> and <literal>Hibernate.TIMESTAMP</literal>, or to specify a custom type.)"
-msgstr "<![CDATA[<many-to-one name=\"product\" class=\"Product\" column=\"PRODUCT_ID\"/>]]>"
+#. Tag: para
+#: basic_mapping.xml:1417
+#, no-c-format
+msgid ""
+"If you do not specify a type, Hibernate will use reflection upon the named "
+"property to take a guess at the correct Hibernate type. Hibernate will try "
+"to interpret the name of the return class of the property getter using rules "
+"2, 3, 4 in that order. However, this is not always enough. In certain cases "
+"you will still need the <literal>type</literal> attribute. (For example, to "
+"distinguish between <literal>Hibernate.DATE</literal> and <literal>Hibernate."
+"TIMESTAMP</literal>, or to specify a custom type.)"
+msgstr ""
+"åãæå®ããªããã°ãHibernateã¯æ£ããHibernateã®åãæ¨æ¸¬ããããã«ã æå®ãã"
+"ãããããã£ã«å¯¾ãã¦ãªãã¬ã¯ã·ã§ã³ã使ãã¾ãã Hibernateã¯ã«ã¼ã«2, 3, 4ããã®"
+"é åºã«ä½¿ãã getterããããã£ã®è¿ãå¤ã®ã¯ã©ã¹ã®ååãè§£éãããã¨ãã¾ãã ã"
+"ããããã§å¸¸ã«ååã§ããã¨ã¯éãã¾ããã å ´åã«ãã£ã¦ã¯ã<literal>type</"
+"literal> 屿§ãå¿
è¦ãªå ´åãããã¾ãã ï¼ä¾ãã° <literal>Hibernate.DATE</"
+"literal> 㨠<literal>Hibernate.TIMESTAMP</literal> ãåºå¥ããããã ã¾ãã¯ã«"
+"ã¹ã¿ã åãæå®ãããããªã©ã§ããï¼"
-#: index.docbook:1427
-msgid "The <literal>access</literal> attribute lets you control how Hibernate will access the property at runtime. By default, Hibernate will call the property get/set pair. If you specify <literal>access=\"field\"</literal>, Hibernate will bypass the get/set pair and access the field directly, using reflection. You may specify your own strategy for property access by naming a class that implements the interface <literal>org.hibernate.property.PropertyAccessor</literal>."
-msgstr "<literal>property-ref</literal> 屿§ã¯ãå¤é¨ãã¼ãé¢é£ä»ãããããã¼ãã«ã®ã主ãã¼ã§ãªã ã¦ãã¼ã¯ãã¼ãåç
§ãã¦ããã¬ã¬ã·ã¼ãã¼ã¿ããããããããã«ã ã使ãã¹ãã§ãã ããã¯éããªã¬ã¼ã·ã§ãã«ã¢ãã«ã§ãã ä¾ãã° <literal>Product</literal> ã¯ã©ã¹ãã 主ãã¼ã§ãªãã¦ãã¼ã¯ãªã·ãªã¢ã«ãã³ãã¼ãæã£ã¦ããã¨ä»®å®ãã¦ã¿ã¦ãã ããã ï¼ <literal>unique</literal> 屿§ã¯SchemaExportãã¼ã«ã使ã£ãHibernateã®DDLçæãå¶å¾¡ãã¾ããï¼"
+#. Tag: para
+#: basic_mapping.xml:1427
+#, no-c-format
+msgid ""
+"The <literal>access</literal> attribute lets you control how Hibernate will "
+"access the property at runtime. By default, Hibernate will call the property "
+"get/set pair. If you specify <literal>access=\"field\"</literal>, Hibernate "
+"will bypass the get/set pair and access the field directly, using "
+"reflection. You may specify your own strategy for property access by naming "
+"a class that implements the interface <literal>org.hibernate.property."
+"PropertyAccessor</literal>."
+msgstr ""
+"<literal>access</literal> 屿§ã§ã å®è¡æã«Hibernateãã©ã®ããã«ããããã£ã«"
+"ã¢ã¯ã»ã¹ããããå¶å¾¡ã§ãã¾ãã ããã©ã«ãã§ã¯Hibernateã¯ããããã£ã®get/setã®"
+"ãã¢ãã³ã¼ã«ãã¾ãã <literal>access=\"field\"</literal> ã¨æå®ããã°ã "
+"Hibernateã¯ãªãã¬ã¯ã·ã§ã³ã使ãget/setã®ãã¢ãä»ããã«ãç´æ¥ãã£ã¼ã«ãã«ã¢ã¯"
+"ã»ã¹ãã¾ãã ã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>org.hibernate.property."
+"PropertyAccessor</literal> ã å®è£
ããã¯ã©ã¹ãæå®ãããã¨ã§ãããããã£ã¸ã®"
+"ã¢ã¯ã»ã¹ã«ç¬èªã®æ¦ç¥ãæå®ãããã¨ãã§ãã¾ãã"
-#: index.docbook:1436
-msgid "An especially powerful feature are derived properties. These properties are by definition read-only, the property value is computed at load time. You declare the computation as a SQL expression, this translates to a <literal>SELECT</literal> clause subquery in the SQL query that loads an instance:"
-msgstr "<![CDATA[<property name=\"serialNumber\" unique=\"true\" type=\"string\" column=\"SERIAL_NUMBER\"/>]]>"
+#. Tag: para
+#: basic_mapping.xml:1436
+#, no-c-format
+msgid ""
+"An especially powerful feature are derived properties. These properties are "
+"by definition read-only, the property value is computed at load time. You "
+"declare the computation as a SQL expression, this translates to a "
+"<literal>SELECT</literal> clause subquery in the SQL query that loads an "
+"instance:"
+msgstr ""
+"ç¹ã«å¼·åãªç¹å¾´ã¯çæããããã£ã§ãã ãããã®ããããã£ã¯å½ç¶èªã¿åãå°ç¨ã§ã"
+"ããããããã£ã®å¤ã¯ãã¼ãæã«è¨ç®ããã¾ãã è¨ç®ãSQLå¼ã¨ãã¦å®£è¨ããã¨ãã"
+"ã®ããããã£ã¯ ã¤ã³ã¹ã¿ã³ã¹ããã¼ãããSQLã¯ã¨ãªã® <literal>SELECT</literal> "
+"å¥ã®ãµãã¯ã¨ãªã«å¤æããã¾ãã"
-#: index.docbook:1443
+#. Tag: programlisting
+#: basic_mapping.xml:1443
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "<property name=\"totalPrice\"\n"
- " formula=\"( SELECT SUM (li.quantity*p.price) FROM LineItem li, Product p\n"
- " WHERE li.productId = p.productId\n"
- " AND li.customerId = customerId\n"
- " AND li.orderNumber = orderNumber )\"/>]]>"
-msgstr "以ä¸ã®ããã« <literal>OrderItem</literal> ã«å¯¾ãã¦ãããã³ã°ã使ãã¾ãï¼"
+"<![CDATA[\n"
+"<property name=\"totalPrice\"\n"
+" formula=\"( SELECT SUM (li.quantity*p.price) FROM LineItem li, Product "
+"p\n"
+" WHERE li.productId = p.productId\n"
+" AND li.customerId = customerId\n"
+" AND li.orderNumber = orderNumber )\"/>]]>"
+msgstr ""
-#: index.docbook:1445
-msgid "Note that you can reference the entities own table by not declaring an alias on a particular column (<literal>customerId</literal> in the given example). Also note that you can use the nested <literal><formula></literal> mapping element if you don't like to use the attribute."
-msgstr "<![CDATA[<many-to-one name=\"product\" property-ref=\"serialNumber\" column=\"PRODUCT_SERIAL_NUMBER\"/>]]>"
+#. Tag: para
+#: basic_mapping.xml:1445
+#, no-c-format
+msgid ""
+"Note that you can reference the entities own table by not declaring an alias "
+"on a particular column (<literal>customerId</literal> in the given example). "
+"Also note that you can use the nested <literal><formula></literal> "
+"mapping element if you don't like to use the attribute."
+msgstr ""
+"ç¹å®ã®ã«ã©ã (ä¾ã§ã¯ <literal>customerId</literal> ãããã«ãããã¾ã)ã®ã¨ã¤ãª"
+"ã¢ã¹ã宣è¨ãããã¨ãªãã ã¨ã³ãã£ãã£èªèº«ã®ãã¼ãã«ãåç
§ã§ãããã¨ã«æ³¨æãã¦"
+"ãã ããã ãã屿§ã使ç¨ããããªããã°ã ãã¹ããã <literal><formula>"
+"</literal> ãããã³ã°è¦ç´ ã使ãããã¨ã«ã注æãã¦ãã ããã"
-#: index.docbook:1455
+#. Tag: title
+#: basic_mapping.xml:1455
+#, no-c-format
msgid "many-to-one"
-msgstr "ããããããã¯æ±ºãã¦æ¨å¥¨ã§ãã¾ããã"
+msgstr "many-to-one"
-#: index.docbook:1457
-msgid "An ordinary association to another persistent class is declared using a <literal>many-to-one</literal> element. The relational model is a many-to-one association: a foreign key in one table is referencing the primary key column(s) of the target table."
-msgstr "åç
§ããã¦ãã¼ã¯ãã¼ããé¢é£ããã¨ã³ãã£ãã£ã®å¤æ°ã®ããããã£ããæ§æãããå ´åã æå®ãã <literal><properties></literal> è¦ç´ å
ã§ãåç
§ããããããã£ããããã³ã°ããã¹ãã§ãã"
+#. Tag: para
+#: basic_mapping.xml:1457
+#, no-c-format
+msgid ""
+"An ordinary association to another persistent class is declared using a "
+"<literal>many-to-one</literal> element. The relational model is a many-to-"
+"one association: a foreign key in one table is referencing the primary key "
+"column(s) of the target table."
+msgstr ""
+"ä»ã®æ°¸ç¶ã¯ã©ã¹ã¸ã®é常ã®é¢é£ã¯ <literal>many-to-one</literal> è¦ç´ ã使ã£ã¦å®"
+"義ãã¾ãã ãªã¬ã¼ã·ã§ãã«ã¢ãã«ã¯å¤å¯¾ä¸é¢é£ã§ãã ã¤ã¾ããããã¼ãã«ã®å¤é¨"
+"ãã¼ã¯ãã¿ã¼ã²ããã¨ãªããã¼ãã«ã®ä¸»ãã¼ã«ã©ã ãåç
§ãã¦ãã¾ãã"
-#: index.docbook:1485
+#. Tag: programlisting
+#: basic_mapping.xml:1485
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one\n"
- " name=\"propertyName\"\n"
- " column=\"column_name\"\n"
- " class=\"ClassName\"\n"
- " cascade=\"cascade_style\"\n"
- " fetch=\"join|select\"\n"
- " update=\"true|false\"\n"
- " insert=\"true|false\"\n"
- " property-ref=\"propertyNameFromAssociatedClass\"\n"
- " access=\"field|property|ClassName\"\n"
- " unique=\"true|false\"\n"
- " not-null=\"true|false\"\n"
- " optimistic-lock=\"true|false\"\n"
- " lazy=\"proxy|no-proxy|false\"\n"
- " not-found=\"ignore|exception\"\n"
- " entity-name=\"EntityName\"\n"
- " formula=\"arbitrary SQL expression\"\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- " embed-xml=\"true|false\"\n"
- " index=\"index_name\"\n"
- " unique_key=\"unique_key_id\"\n"
- " foreign-key=\"foreign_key_name\"\n"
- "/>]]>"
-msgstr "ããåç
§ããã¦ãã¼ã¯ãã¼ãã³ã³ãã¼ãã³ãã®ããããã£ã§ããå ´åã¯ãããããã£ã®ãã¹ãæå®ã§ãã¾ãã"
+"<![CDATA[<many-to-one\n"
+" name=\"propertyName\"\n"
+" column=\"column_name\"\n"
+" class=\"ClassName\"\n"
+" cascade=\"cascade_style\"\n"
+" fetch=\"join|select\"\n"
+" update=\"true|false\"\n"
+" insert=\"true|false\"\n"
+" property-ref=\"propertyNameFromAssociatedClass\"\n"
+" access=\"field|property|ClassName\"\n"
+" unique=\"true|false\"\n"
+" not-null=\"true|false\"\n"
+" optimistic-lock=\"true|false\"\n"
+" lazy=\"proxy|no-proxy|false\"\n"
+" not-found=\"ignore|exception\"\n"
+" entity-name=\"EntityName\"\n"
+" formula=\"arbitrary SQL expression\"\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+" embed-xml=\"true|false\"\n"
+" index=\"index_name\"\n"
+" unique_key=\"unique_key_id\"\n"
+" foreign-key=\"foreign_key_name\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1488, index.docbook:1669, index.docbook:1855
+#. Tag: para
+#: basic_mapping.xml:1488 basic_mapping.xml:1669 basic_mapping.xml:1855
+#, no-c-format
msgid "<literal>name</literal>: The name of the property."
-msgstr "<![CDATA[<many-to-one name=\"owner\" property-ref=\"identity.ssn\" column=\"OWNER_SSN\"/>]]>"
+msgstr "<literal>name</literal>ï¼ããããã£åã"
-#: index.docbook:1493, index.docbook:2284
-msgid "<literal>column</literal> (optional): The name of the foreign key column. This may also be specified by nested <literal><column></literal> element(s)."
-msgstr "one-to-one"
+#. Tag: para
+#: basic_mapping.xml:1493 basic_mapping.xml:2284
+#, fuzzy, no-c-format
+msgid ""
+"<literal>column</literal> (optional): The name of the foreign key column. "
+"This may also be specified by nested <literal><column></literal> "
+"element(s)."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>column</literal> (ãªãã·ã§ã³):å¤é¨ãã¼ã«ã©ã ã®ååã ãã¹ããã "
+"<literal><column></literal> è¦ç´ ã§ãæå®ã§ãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>column</literal> (ãªãã·ã§ã³):å¤é¨ãã¼ã«ã©ã ã®ååã ãã¹ããã "
+"<literal><column></literal> ã«ã©ã ã«ãã£ã¦ãæå®ããã¾ãã"
-#: index.docbook:1500, index.docbook:1674
-msgid "<literal>class</literal> (optional - defaults to the property type determined by reflection): The name of the associated class."
-msgstr "ä»ã®æ°¸ç¶ã¯ã©ã¹ã¸ã®ä¸å¯¾ä¸é¢é£ã¯ã<literal>one-to-one</literal> è¦ç´ ã§å®ç¾©ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1500 basic_mapping.xml:1674
+#, fuzzy, no-c-format
+msgid ""
+"<literal>class</literal> (optional - defaults to the property type "
+"determined by reflection): The name of the associated class."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>class</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ã ãªãã¬ã¯ã·ã§ã³ã«ããæ±º"
+"å®ãããããããã£ã®åï¼ï¼é¢é£ã¯ã©ã¹ã®ååã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>class</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®ã"
+"ããããããã£ã®åï¼ï¼ é¢é£ã¯ã©ã¹ã®ååã"
-#: index.docbook:1506
-msgid "<literal>cascade</literal> (optional): Specifies which operations should be cascaded from the parent object to the associated object."
+#. Tag: para
+#: basic_mapping.xml:1506
+#, no-c-format
+msgid ""
+"<literal>cascade</literal> (optional): Specifies which operations should be "
+"cascaded from the parent object to the associated object."
msgstr ""
- "<![CDATA[<one-to-one
-\n"
- " name=\"propertyName\"
-\n"
- " class=\"ClassName\"
-\n"
- " cascade=\"cascade_style\"
-\n"
- " constrained=\"true|false\"
-\n"
- " fetch=\"join|select\"
-\n"
- " property-ref=\"propertyNameFromAssociatedClass\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " formula=\"any SQL expression\"
-\n"
- " lazy=\"proxy|no-proxy|false\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"
-\n"
- " embed-xml=\"true|false\"
-\n"
- " foreign-key=\"foreign_key_name\"
-\n"
- "/>]]>"
+"<literal>cascade</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ã©ã®æä½ãã親ãªãã¸ã§ã¯ãããé¢é£"
+"ãªãã¸ã§ã¯ãã¸ã¨ã«ã¹ã±ã¼ããããããæå®ãã¾ãã"
-#: index.docbook:1512, index.docbook:1695
-msgid "<literal>fetch</literal> (optional - defaults to <literal>select</literal>): Chooses between outer-join fetching or sequential select fetching."
-msgstr "<literal>name</literal>ï¼ããããã£åã"
+#. Tag: para
+#: basic_mapping.xml:1512 basic_mapping.xml:1695
+#, fuzzy, no-c-format
+msgid ""
+"<literal>fetch</literal> (optional - defaults to <literal>select</literal>): "
+"Chooses between outer-join fetching or sequential select fetching."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</"
+"literal> ): å¤é¨çµåãã§ãããé æ¬¡é¸æãã§ããï¼sequential select fetchï¼ãé¸"
+"æãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>fetch</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</"
+"literal> ï¼ï¼ å¤é¨çµåãã§ããã¨é æ¬¡é¸æãã§ããï¼sequential select fetchï¼ã®"
+"ã©ã¡ããã鏿ãã¾ãã"
-#: index.docbook:1518
-msgid "<literal>update, insert</literal> (optional - defaults to <literal>true</literal>) specifies that the mapped columns should be included in SQL <literal>UPDATE</literal> and/or <literal>INSERT</literal> statements. Setting both to <literal>false</literal> allows a pure \"derived\" association whose value is initialized from some other property that maps to the same colum(s) or by a trigger or other application."
-msgstr "<literal>class</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®ãããããããã£ã®åï¼ï¼ é¢é£ã¯ã©ã¹ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:1518
+#, no-c-format
+msgid ""
+"<literal>update, insert</literal> (optional - defaults to <literal>true</"
+"literal>) specifies that the mapped columns should be included in SQL "
+"<literal>UPDATE</literal> and/or <literal>INSERT</literal> statements. "
+"Setting both to <literal>false</literal> allows a pure \"derived\" "
+"association whose value is initialized from some other property that maps to "
+"the same colum(s) or by a trigger or other application."
+msgstr ""
+"<literal>update, insert</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ï¼ï¼ ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</literal> ã¾ã㯠"
+"<literal>INSERT</literal> æã«å«ã¾ãããã¨ãæå®ãã¾ãã 両æ¹ã¨ã "
+"<literal>false</literal> ã«è¨å®ããã¨ã ãã®å¤ãåãã«ã©ã ã«ãããã³ã°ããã"
+"ä»ã®ããããã£ãããªã¬ã ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦åæåãããç´ç²ãªãå°"
+"åºãããããã£ãå¯è½ã«ãªãã¾ãã"
-#: index.docbook:1527
-msgid "<literal>property-ref</literal>: (optional) The name of a property of the associated class that is joined to this foreign key. If not specified, the primary key of the associated class is used."
-msgstr "<literal>cascade</literal>ï¼ãªãã·ã§ã³ï¼ï¼ 親ãªãã¸ã§ã¯ãããé¢é£ãªãã¸ã§ã¯ãã¸ãã©ã®æä½ãã«ã¹ã±ã¼ãããããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1527
+#, no-c-format
+msgid ""
+"<literal>property-ref</literal>: (optional) The name of a property of the "
+"associated class that is joined to this foreign key. If not specified, the "
+"primary key of the associated class is used."
+msgstr ""
+"<literal>property-ref</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ãã®å¤é¨ãã¼ã«çµåãããé¢é£"
+"ã¯ã©ã¹ã®ããããã£åã ä½ãæå®ããªããã°ãé¢é£ã¯ã©ã¹ã®ä¸»ãã¼ã使ããã¾ãã"
-#: index.docbook:1540
-msgid "<literal>unique</literal> (optional): Enable the DDL generation of a unique constraint for the foreign-key column. Also, allow this to be the target of a <literal>property-ref</literal>. This makes the association multiplicity effectively one to one."
-msgstr "<literal>fetch</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</literal> ï¼ï¼ å¤é¨çµåãã§ããã¨é æ¬¡é¸æãã§ããï¼sequential select fetchï¼ã®ã©ã¡ããã鏿ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1540
+#, no-c-format
+msgid ""
+"<literal>unique</literal> (optional): Enable the DDL generation of a unique "
+"constraint for the foreign-key column. Also, allow this to be the target of "
+"a <literal>property-ref</literal>. This makes the association multiplicity "
+"effectively one to one."
+msgstr ""
+"<literal>unique</literal>ï¼ãªãã·ã§ã³ï¼ï¼ å¤é¨ãã¼ã«ã©ã ã«å¯¾ãã¦ã¦ãã¼ã¯å¶ç´"
+"ãã¤ããDDLã®çæãå¯è½ã«ãã¾ãã ã¾ãã<literal>property-ref</literal> ã®"
+"ã¿ã¼ã²ããã«ãããã¨ãã§ãã¾ãã ããã«ããé¢é£ã®å¤é度ã广çã«ä¸å¯¾ä¸ã«ãã¾"
+"ãã"
-#: index.docbook:1548
-msgid "<literal>not-null</literal> (optional): Enable the DDL generation of a nullability constraint for the foreign key columns."
-msgstr "<literal>property-ref</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ãã®ã¯ã©ã¹ã®ä¸»ãã¼ã«çµåãããé¢é£ã¯ã©ã¹ã®ããããã£åã æå®ãããªããã°ãé¢é£ã¯ã©ã¹ã®ä¸»ãã¼ã使ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1548
+#, no-c-format
+msgid ""
+"<literal>not-null</literal> (optional): Enable the DDL generation of a "
+"nullability constraint for the foreign key columns."
+msgstr ""
+"<literal>not-null</literal> (ãªãã·ã§ã³):å¤é¨ãã¼ã«ã©ã ã«å¯¾ãã¦ã nullå¤ã許"
+"å¯ããDDLã®çæãå¯è½ã«ãã¾ã"
-#: index.docbook:1554
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Specifies that updates to this property do or do not require acquisition of the optimistic lock. In other words, dertermines if a version increment should occur when this property is dirty."
-msgstr "<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:1554
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies that updates to this property do or do not require "
+"acquisition of the optimistic lock. In other words, dertermines if a version "
+"increment should occur when this property is dirty."
+msgstr ""
+"<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³çããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®"
+"ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ãã"
+"ã¹ãããæ±ºå®ãã¾ãã"
-#: index.docbook:1562
-msgid "<literal>lazy</literal> (optional - defaults to <literal>proxy</literal>): By default, single point associations are proxied. <literal>lazy=\"no-proxy\"</literal> specifies that the property should be fetched lazily when the instance variable is first accessed (requires build-time bytecode instrumentation). <literal>lazy=\"false\"</literal> specifies that the association will always be eagerly fetched."
-msgstr "<literal>formula</literal> (ãªãã·ã§ã³): ã»ã¨ãã©ãã¹ã¦ã®ä¸å¯¾ä¸é¢é£ã¯ãªã¼ãã¼ã®ã¨ã³ãã£ãã£ã®ä¸»ãã¼ã¸ã¨ãããã³ã°ããã¾ãã ãã以å¤ã®ç¨ãªå ´åã¯ã ä»ã®ã«ã©ã ããè¤æ°ã®ã«ã©ã ãSQLæ§æã使ã£ãçµåããããã®å¼ãæå®ã§ãã¾ãã ï¼ä¾ã¯ <literal>org.hibernate.test.onetooneformula</literal> ãåç
§ãã¦ãã ãããï¼"
+#. Tag: para
+#: basic_mapping.xml:1562
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional - defaults to <literal>proxy</literal>): "
+"By default, single point associations are proxied. <literal>lazy=\"no-proxy"
+"\"</literal> specifies that the property should be fetched lazily when the "
+"instance variable is first accessed (requires build-time bytecode "
+"instrumentation). <literal>lazy=\"false\"</literal> specifies that the "
+"association will always be eagerly fetched."
+msgstr ""
+"<literal>lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>proxy</"
+"literal> ): ããã©ã«ãã§ã¯ãå¤é度ï¼ã®é¢é£ããããã·ã¨ãªãã¾ãã "
+"<literal>lazy=\"no-proxy\"</literal> ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ãã"
+"ã¨ãã«ã ããããã£ãé
å»¶ãã§ããããããæå®ãã¾ã (ãã«ãæã«ãã¤ãã³ã¼ãå®"
+"è£
ãå¿
è¦ã«ãªãã¾ã)ã <literal>lazy=\"false\"</literal> ã¯é¢é£ã常ã«å³æã«"
+"ãã§ããããããæå®ãã¾ãã"
-#: index.docbook:1572
-msgid "<literal>not-found</literal> (optional - defaults to <literal>exception</literal>): Specifies how foreign keys that reference missing rows will be handled: <literal>ignore</literal> will treat a missing row as a null association."
-msgstr "<literal>lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>proxy</literal> ): ããã©ã«ãã§ã¯ãå¤é度ï¼ã®é¢é£ããããã·ã¨ãªãã¾ãã <literal>lazy=\"no-proxy\"</literal> ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ããã¨ãã«ã ããããã£ãé
å»¶ãã§ããããããæå®ãã¾ã (ãã«ãæã«ãã¤ãã³ã¼ãå®è£
ãå¿
è¦ã«ãªãã¾ã)ã <literal>lazy=\"false\"</literal> ã¯é¢é£ã常ã«å³æã«ãã§ããããããæå®ãã¾ãã <emphasis>ãã <literal>constrained=\"false\"</literal> ãªãã°ã ãããã·ã¯ä½¿ç¨ä¸å¯è½ã¨ãªããé¢é£ã峿ã«ãã§ãããããã¨ã«æ³¨æãã¦ãã ããï¼</emphasis>"
+#. Tag: para
+#: basic_mapping.xml:1572
+#, no-c-format
+msgid ""
+"<literal>not-found</literal> (optional - defaults to <literal>exception</"
+"literal>): Specifies how foreign keys that reference missing rows will be "
+"handled: <literal>ignore</literal> will treat a missing row as a null "
+"association."
+msgstr ""
+"<literal>not-found</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>exception</"
+"literal> ): æ¬ è½ããè¡ãåç
§ããå¤é¨ãã¼ãã©ã®ããã«æ±ãããæå®ãã¾ãã "
+"<literal>ignore</literal> ã¯æ¬ è½ããè¡ãnullé¢é£ã¨ãã¦æ±ãã¾ãã"
-#: index.docbook:1579, index.docbook:1733
-msgid "<literal>entity-name</literal> (optional): The entity name of the associated class."
-msgstr "<literal>entity-name</literal> (ãªãã·ã§ã³):é¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£å"
+#. Tag: para
+#: basic_mapping.xml:1579 basic_mapping.xml:1733
+#, fuzzy, no-c-format
+msgid ""
+"<literal>entity-name</literal> (optional): The entity name of the associated "
+"class."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>entity-name</literal> (ãªãã·ã§ã³):é¢é£ããã¯ã©ã¹ã®ã¨ã³ãã£ãã£"
+"åã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>entity-name</literal> (ãªãã·ã§ã³):é¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£å"
-#: index.docbook:1585
-msgid "<literal>formula</literal> (optional): an SQL expression that defines the value for a <emphasis>computed</emphasis> foreign key."
-msgstr "ä¸å¯¾ä¸é¢é£ã«ã¯2種é¡ããã¾ãï¼"
+#. Tag: para
+#: basic_mapping.xml:1585
+#, no-c-format
+msgid ""
+"<literal>formula</literal> (optional): an SQL expression that defines the "
+"value for a <emphasis>computed</emphasis> foreign key."
+msgstr ""
+"<literal>formula</literal> (ãªãã·ã§ã³): <emphasis> è¨ç®ããã</emphasis> å¤"
+"é¨ãã¼ã«å¯¾ãã¦å¤ãå®ç¾©ããSQLå¼"
-#: index.docbook:1592
-msgid "Setting a value of the <literal>cascade</literal> attribute to any meaningful value other than <literal>none</literal> will propagate certain operations to the associated object. The meaningful values are the names of Hibernate's basic operations, <literal>persist, merge, delete, save-update, evict, replicate, lock, refresh</literal>, as well as the special values <literal>delete-orphan</literal> and <literal>all</literal> and comma-separated combinations of operation names, for example, <literal>cascade=\"persist,merge,evict\"</literal> or <literal>cascade=\"all,delete-orphan\"</literal>. See <xref linkend=\"objectstate-transitive\"/> for a full explanation. Note that single valued associations (many-to-one and one-to-one associations) do not support orphan delete."
-msgstr "主ãã¼é¢é£"
+#. Tag: para
+#: basic_mapping.xml:1592
+#, no-c-format
+msgid ""
+"Setting a value of the <literal>cascade</literal> attribute to any "
+"meaningful value other than <literal>none</literal> will propagate certain "
+"operations to the associated object. The meaningful values are the names of "
+"Hibernate's basic operations, <literal>persist, merge, delete, save-update, "
+"evict, replicate, lock, refresh</literal>, as well as the special values "
+"<literal>delete-orphan</literal> and <literal>all</literal> and comma-"
+"separated combinations of operation names, for example, <literal>cascade="
+"\"persist,merge,evict\"</literal> or <literal>cascade=\"all,delete-orphan\"</"
+"literal>. See <xref linkend=\"objectstate-transitive\"/> for a full "
+"explanation. Note that single valued associations (many-to-one and one-to-"
+"one associations) do not support orphan delete."
+msgstr ""
+"<literal>cascade</literal> 屿§ã« <literal>none</literal> 以å¤ã®æå³ã®ããå¤"
+"ããè¨å®ããã¨ã é¢é£ãªãã¸ã§ã¯ãã¸ããæä½ã伿ãããã¨ã«ãªãã¾ãã æå³ã®"
+"ããå¤ã¨ã¯Hibernateã®åºæ¬æä½ã®ååã®ãã¨ã§ã <literal>delete-orphan</"
+"literal> 㨠<literal>all</literal> ãæä½åãã«ã³ãã§åºåã£ãçµã¿åãã ï¼ä¾"
+"ãã° <literal>cascade=\"persist,merge,evict\"</literal> ã <literal>cascade="
+"\"all,delete-orphan\"</literal>ï¼ã ã¾ãããã ãã§ãªã <literal>persist, "
+"merge, delete, save-update, evict, replicate, lock, refresh</literal> ã®ãã¨"
+"ãæãã¾ãã 詳ãã説æã¯ <xref linkend=\"objectstate-transitive\"/> ãè¦ã¦ã"
+"ã ããã å¤ãä¸ã¤ã®é¢é£(many-to-oneã¨one-to-oneé¢é£)ã¯ã åç¬ã§ã®åé¤"
+"ï¼orphan delete)ããµãã¼ããã¦ããªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:1605
-msgid "A typical <literal>many-to-one</literal> declaration looks as simple as this:"
-msgstr "ã¦ãã¼ã¯å¤é¨ãã¼é¢é£"
+#. Tag: para
+#: basic_mapping.xml:1605
+#, no-c-format
+msgid ""
+"A typical <literal>many-to-one</literal> declaration looks as simple as this:"
+msgstr ""
+"å
¸åç㪠<literal>many-to-one</literal> 宣è¨ã¯æ¬¡ã®ããã«ã·ã³ãã«ã§ããï¼"
-#: index.docbook:1609
-msgid "<![CDATA[<many-to-one name=\"product\" class=\"Product\" column=\"PRODUCT_ID\"/>]]>"
-msgstr "主ãã¼é¢é£ã«ã¯ãç¹å¥ãªãã¼ãã«ã«ã©ã ã¯å¿
è¦ããã¾ããã ãã2ã¤ã®è¡ãé¢é£ã«ããé¢ä¿ãã¦ããã°ã2ã¤ã®ãã¼ãã«ã¯åã主ãã¼ã®å¤ãå
±æãã¾ãã ãã®ãã2ã¤ã®ãªãã¸ã§ã¯ãã主ãã¼é¢é£ã«ãã£ã¦é¢é£ä»ãããã®ã§ããã°ã 確å®ã«åãèå¥åã®å¤ã代å
¥ããªããã°ãªãã¾ããã"
+#. Tag: programlisting
+#: basic_mapping.xml:1609
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"product\" class=\"Product\" column=\"PRODUCT_ID"
+"\"/>]]>"
+msgstr ""
-#: index.docbook:1611
-msgid "The <literal>property-ref</literal> attribute should only be used for mapping legacy data where a foreign key refers to a unique key of the associated table other than the primary key. This is an ugly relational model. For example, suppose the <literal>Product</literal> class had a unique serial number, that is not the primary key. (The <literal>unique</literal> attribute controls Hibernate's DDL generation with the SchemaExport tool.)"
-msgstr "主ãã¼é¢é£ãè¡ãããã«ã¯ã以ä¸ã®ãããã³ã°ã <literal>Employee</literal> 㨠<literal>Person</literal> ã®ããããã«è¿½å ãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1611
+#, no-c-format
+msgid ""
+"The <literal>property-ref</literal> attribute should only be used for "
+"mapping legacy data where a foreign key refers to a unique key of the "
+"associated table other than the primary key. This is an ugly relational "
+"model. For example, suppose the <literal>Product</literal> class had a "
+"unique serial number, that is not the primary key. (The <literal>unique</"
+"literal> attribute controls Hibernate's DDL generation with the SchemaExport "
+"tool.)"
+msgstr ""
+"<literal>property-ref</literal> 屿§ã¯ãå¤é¨ãã¼ãé¢é£ä»ãããããã¼ãã«ã®ã"
+"主ãã¼ã§ãªã ã¦ãã¼ã¯ãã¼ãåç
§ãã¦ããã¬ã¬ã·ã¼ãã¼ã¿ããããããããã«ã ã使"
+"ãã¹ãã§ãã ããã¯éããªã¬ã¼ã·ã§ãã«ã¢ãã«ã§ãã ä¾ãã° <literal>Product</"
+"literal> ã¯ã©ã¹ãã 主ãã¼ã§ãªãã¦ãã¼ã¯ãªã·ãªã¢ã«ãã³ãã¼ãæã£ã¦ããã¨ä»®å®"
+"ãã¦ã¿ã¦ãã ããã ï¼ <literal>unique</literal> 屿§ã¯SchemaExportãã¼ã«ã"
+"使ã£ãHibernateã®DDLçæãå¶å¾¡ãã¾ããï¼"
-#: index.docbook:1620
-msgid "<![CDATA[<property name=\"serialNumber\" unique=\"true\" type=\"string\" column=\"SERIAL_NUMBER\"/>]]>"
-msgstr "<![CDATA[<one-to-one name=\"person\" class=\"Person\"/>]]>"
+#. Tag: programlisting
+#: basic_mapping.xml:1620
+#, no-c-format
+msgid ""
+"<![CDATA[<property name=\"serialNumber\" unique=\"true\" type=\"string\" "
+"column=\"SERIAL_NUMBER\"/>]]>"
+msgstr ""
-#: index.docbook:1622
+#. Tag: para
+#: basic_mapping.xml:1622
+#, no-c-format
msgid "Then the mapping for <literal>OrderItem</literal> might use:"
-msgstr "<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" constrained=\"true\"/>]]>"
+msgstr ""
+"以ä¸ã®ããã« <literal>OrderItem</literal> ã«å¯¾ãã¦ãããã³ã°ã使ãã¾ãï¼"
-#: index.docbook:1626
-msgid "<![CDATA[<many-to-one name=\"product\" property-ref=\"serialNumber\" column=\"PRODUCT_SERIAL_NUMBER\"/>]]>"
-msgstr "ããã§ãPERSONã¨EMPLOYEEãã¼ãã«ã®é¢ä¿ããè¡ã®ä¸»ãã¼ãåãã§ãããã¨ã確å®ã«ããªããã°ããã¾ããã ããã§ã¯ã<literal>foreign</literal> ã¨ããç¹æ®ãªHibernateèå¥åçææ¦ç¥ã使ãã¾ãï¼"
+#. Tag: programlisting
+#: basic_mapping.xml:1626
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"product\" property-ref=\"serialNumber\" column="
+"\"PRODUCT_SERIAL_NUMBER\"/>]]>"
+msgstr ""
-#: index.docbook:1628
+#. Tag: para
+#: basic_mapping.xml:1628
+#, no-c-format
msgid "This is certainly not encouraged, however."
+msgstr "ããããããã¯æ±ºãã¦æ¨å¥¨ã§ãã¾ããã"
+
+#. Tag: para
+#: basic_mapping.xml:1632
+#, no-c-format
+msgid ""
+"If the referenced unique key comprises multiple properties of the associated "
+"entity, you should map the referenced properties inside a named <literal><"
+"properties></literal> element."
msgstr ""
- "<![CDATA[<class name=\"person\" table=\"PERSON\">
-\n"
- " <id name=\"id\" column=\"PERSON_ID\">
-\n"
- " <generator class=\"foreign\">
-\n"
- " <param name=\"property\">employee</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " ...
-\n"
- " <one-to-one name=\"employee\"
-\n"
- " class=\"Employee\"
-\n"
- " constrained=\"true\"/>
-\n"
- "</class>]]>"
+"åç
§ããã¦ãã¼ã¯ãã¼ããé¢é£ããã¨ã³ãã£ãã£ã®å¤æ°ã®ããããã£ããæ§æããã"
+"å ´åã æå®ãã <literal><properties></literal> è¦ç´ å
ã§ãåç
§ãããã"
+"ããã£ããããã³ã°ããã¹ãã§ãã"
-#: index.docbook:1632
-msgid "If the referenced unique key comprises multiple properties of the associated entity, you should map the referenced properties inside a named <literal><properties></literal> element."
-msgstr "<literal>Employee</literal> ã¤ã³ã¹ã¿ã³ã¹ãã<literal>Person</literal> ã® <literal>employee</literal> ããããã£ã§åç
§ãããããã«ã æ°ããã»ã¼ãããã <literal>Person</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¯åã主ãã¼ã®å¤ã代å
¥ããã¾ãã æ°ããã»ã¼ããã <literal>Person</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯ã ãã® <literal>Person</literal> ã® <literal>employee</literal> ããããã£ãåç
§ãã <literal>Employee</literal> ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦åã主ãã¼ãå²ãå½ã¦ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1637
+#, no-c-format
+msgid ""
+"If the referenced unique key is the property of a component, you may specify "
+"a property path:"
+msgstr ""
+"ããåç
§ããã¦ãã¼ã¯ãã¼ãã³ã³ãã¼ãã³ãã®ããããã£ã§ããå ´åã¯ãããããã£"
+"ã®ãã¹ãæå®ã§ãã¾ãã"
-#: index.docbook:1637
-msgid "If the referenced unique key is the property of a component, you may specify a property path:"
-msgstr "ãã1ã¤ã®æ¹æ³ã¨ãã¦ã<literal>Employee</literal> ãã <literal>Person</literal> ã¸ã® ã¦ãã¼ã¯å¶ç´ã使ã£ãå¤é¨ãã¼é¢é£ã¯ä»¥ä¸ã®ããã«è¡¨ç¾ããã¾ãï¼"
+#. Tag: programlisting
+#: basic_mapping.xml:1641
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"owner\" property-ref=\"identity.ssn\" column="
+"\"OWNER_SSN\"/>]]>"
+msgstr ""
-#: index.docbook:1641
-msgid "<![CDATA[<many-to-one name=\"owner\" property-ref=\"identity.ssn\" column=\"OWNER_SSN\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"person\" class=\"Person\" column=\"PERSON_ID\" unique=\"true\"/>]]>"
-
-#: index.docbook:1646
+#. Tag: title
+#: basic_mapping.xml:1646
+#, no-c-format
msgid "one-to-one"
-msgstr "ããã¦ãã®é¢é£ã¯ã 以ä¸ã®è¨è¿°ã <literal>Person</literal> ã®ãããã³ã°ã«è¿½å ãããã¨ã§åæ¹åã«ãããã¨ãã§ãã¾ãï¼"
+msgstr "one-to-one"
-#: index.docbook:1648
-msgid "A one-to-one association to another persistent class is declared using a <literal>one-to-one</literal> element."
-msgstr "<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" property-ref=\"person\"/>]]>"
+#. Tag: para
+#: basic_mapping.xml:1648
+#, no-c-format
+msgid ""
+"A one-to-one association to another persistent class is declared using a "
+"<literal>one-to-one</literal> element."
+msgstr ""
+"ä»ã®æ°¸ç¶ã¯ã©ã¹ã¸ã®ä¸å¯¾ä¸é¢é£ã¯ã<literal>one-to-one</literal> è¦ç´ ã§å®ç¾©ãã¾"
+"ãã"
-#: index.docbook:1666
+#. Tag: programlisting
+#: basic_mapping.xml:1666
+#, no-c-format
msgid ""
- "<![CDATA[<one-to-one\n"
- " name=\"propertyName\"\n"
- " class=\"ClassName\"\n"
- " cascade=\"cascade_style\"\n"
- " constrained=\"true|false\"\n"
- " fetch=\"join|select\"\n"
- " property-ref=\"propertyNameFromAssociatedClass\"\n"
- " access=\"field|property|ClassName\"\n"
- " formula=\"any SQL expression\"\n"
- " lazy=\"proxy|no-proxy|false\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name|@attribute-name|element/@attribute|.\"\n"
- " embed-xml=\"true|false\"\n"
- " foreign-key=\"foreign_key_name\"\n"
- "/>]]>"
-msgstr "natural-id"
+"<![CDATA[<one-to-one\n"
+" name=\"propertyName\"\n"
+" class=\"ClassName\"\n"
+" cascade=\"cascade_style\"\n"
+" constrained=\"true|false\"\n"
+" fetch=\"join|select\"\n"
+" property-ref=\"propertyNameFromAssociatedClass\"\n"
+" access=\"field|property|ClassName\"\n"
+" formula=\"any SQL expression\"\n"
+" lazy=\"proxy|no-proxy|false\"\n"
+" entity-name=\"EntityName\"\n"
+" node=\"element-name|@attribute-name|element/@attribute|.\"\n"
+" embed-xml=\"true|false\"\n"
+" foreign-key=\"foreign_key_name\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:1680
-msgid "<literal>cascade</literal> (optional) specifies which operations should be cascaded from the parent object to the associated object."
-msgstr "ã¨ã³ãã£ãã£ã®èªç¶ãã¼ããããã£ã®æ¯è¼ã«ã¯ã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ã®å®è£
ãå¼·ããå§ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1680
+#, no-c-format
+msgid ""
+"<literal>cascade</literal> (optional) specifies which operations should be "
+"cascaded from the parent object to the associated object."
+msgstr ""
+"<literal>cascade</literal>ï¼ãªãã·ã§ã³ï¼ï¼ 親ãªãã¸ã§ã¯ãããé¢é£ãªãã¸ã§ã¯ã"
+"ã¸ãã©ã®æä½ãã«ã¹ã±ã¼ãããããæå®ãã¾ãã"
-#: index.docbook:1686
-msgid "<literal>constrained</literal> (optional) specifies that a foreign key constraint on the primary key of the mapped table references the table of the associated class. This option affects the order in which <literal>save()</literal> and <literal>delete()</literal> are cascaded, and determines whether the association may be proxied (it is also used by the schema export tool)."
-msgstr "ãã®ãããã³ã°ã¯èªç¶ä¸»ãã¼ã使ã£ãã¨ã³ãã£ãã£ã§ã®ä½¿ç¨ãæå³ãã¦ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:1686
+#, no-c-format
+msgid ""
+"<literal>constrained</literal> (optional) specifies that a foreign key "
+"constraint on the primary key of the mapped table references the table of "
+"the associated class. This option affects the order in which <literal>save()"
+"</literal> and <literal>delete()</literal> are cascaded, and determines "
+"whether the association may be proxied (it is also used by the schema export "
+"tool)."
+msgstr ""
+"<literal>constrained</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ãããã³ã°ããããã¼ãã«ã®ä¸»"
+"ãã¼ã«å¯¾ããå¤é¨ãã¼å¶ç´ãã é¢é£ã¯ã©ã¹ã®ãã¼ãã«ãåç
§ãããã¨ãæå®ãã¾"
+"ãã ãã®ãªãã·ã§ã³ã¯ <literal>save()</literal> 㨠<literal>delete()</"
+"literal> ãã«ã¹ã±ã¼ããããé åºã«å½±é¿ãã ããã¦é¢é£ããããã·ããããã©ãã"
+"ã«ãå½±é¿ãã¾ã ï¼ããã¦ã¹ãã¼ãã¨ã¯ã¹ãã¼ããã¼ã«ã«ã使ããã¾ãï¼ã"
-#: index.docbook:1701
-msgid "<literal>property-ref</literal>: (optional) The name of a property of the associated class that is joined to the primary key of this class. If not specified, the primary key of the associated class is used."
-msgstr "component, dynamic-component"
+#. Tag: para
+#: basic_mapping.xml:1701
+#, no-c-format
+msgid ""
+"<literal>property-ref</literal>: (optional) The name of a property of the "
+"associated class that is joined to the primary key of this class. If not "
+"specified, the primary key of the associated class is used."
+msgstr ""
+"<literal>property-ref</literal>ï¼ãªãã·ã§ã³ï¼ï¼ ãã®ã¯ã©ã¹ã®ä¸»ãã¼ã«çµåãã"
+"ãé¢é£ã¯ã©ã¹ã®ããããã£åã æå®ãããªããã°ãé¢é£ã¯ã©ã¹ã®ä¸»ãã¼ã使ããã¾"
+"ãã"
-#: index.docbook:1714
-msgid "<literal>formula</literal> (optional): Almost all one to one associations map to the primary key of the owning entity. In the rare case that this is not the case, you may specify a some other column, columns or expression to join on using an SQL formula. (See <literal>org.hibernate.test.onetooneformula</literal> for an example.)"
+#. Tag: para
+#: basic_mapping.xml:1714
+#, no-c-format
+msgid ""
+"<literal>formula</literal> (optional): Almost all one to one associations "
+"map to the primary key of the owning entity. In the rare case that this is "
+"not the case, you may specify a some other column, columns or expression to "
+"join on using an SQL formula. (See <literal>org.hibernate.test."
+"onetooneformula</literal> for an example.)"
msgstr ""
- "<![CDATA[<component
-\n"
- " name=\"propertyName\"
-\n"
- " class=\"className\"
-\n"
- " insert=\"true|false\"
-\n"
- " update=\"true|false\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " lazy=\"true|false\"
-\n"
- " optimistic-lock=\"true|false\"
-\n"
- " unique=\"true|false\"
-\n"
- " node=\"element-name|.\"
-\n"
- ">
-\n"
- "
-\n"
- " <property ...../>
-\n"
- " <many-to-one .... />
-\n"
- " ........
-\n"
- "</component>]]>"
+"<literal>formula</literal> (ãªãã·ã§ã³): ã»ã¨ãã©ãã¹ã¦ã®ä¸å¯¾ä¸é¢é£ã¯ãªã¼ãã¼"
+"ã®ã¨ã³ãã£ãã£ã®ä¸»ãã¼ã¸ã¨ãããã³ã°ããã¾ãã ãã以å¤ã®ç¨ãªå ´åã¯ã ä»ã®ã«"
+"ã©ã ããè¤æ°ã®ã«ã©ã ãSQLæ§æã使ã£ãçµåããããã®å¼ãæå®ã§ãã¾ãã ï¼ä¾ã¯ "
+"<literal>org.hibernate.test.onetooneformula</literal> ãåç
§ãã¦ãã ãããï¼"
-#: index.docbook:1722
-msgid "<literal>lazy</literal> (optional - defaults to <literal>proxy</literal>): By default, single point associations are proxied. <literal>lazy=\"no-proxy\"</literal> specifies that the property should be fetched lazily when the instance variable is first accessed (requires build-time bytecode instrumentation). <literal>lazy=\"false\"</literal> specifies that the association will always be eagerly fetched. <emphasis>Note that if <literal>constrained=\"false\"</literal>, proxying is impossible and Hibernate will eager fetch the association!</emphasis>"
-msgstr "<literal>name</literal>ï¼ããããã£åã"
+#. Tag: para
+#: basic_mapping.xml:1722
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional - defaults to <literal>proxy</literal>): "
+"By default, single point associations are proxied. <literal>lazy=\"no-proxy"
+"\"</literal> specifies that the property should be fetched lazily when the "
+"instance variable is first accessed (requires build-time bytecode "
+"instrumentation). <literal>lazy=\"false\"</literal> specifies that the "
+"association will always be eagerly fetched. <emphasis>Note that if "
+"<literal>constrained=\"false\"</literal>, proxying is impossible and "
+"Hibernate will eager fetch the association!</emphasis>"
+msgstr ""
+"<literal>lazy</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>proxy</"
+"literal> ): ããã©ã«ãã§ã¯ãå¤é度ï¼ã®é¢é£ããããã·ã¨ãªãã¾ãã "
+"<literal>lazy=\"no-proxy\"</literal> ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ãã"
+"ã¨ãã«ã ããããã£ãé
å»¶ãã§ããããããæå®ãã¾ã (ãã«ãæã«ãã¤ãã³ã¼ãå®"
+"è£
ãå¿
è¦ã«ãªãã¾ã)ã <literal>lazy=\"false\"</literal> ã¯é¢é£ã常ã«å³æã«"
+"ãã§ããããããæå®ãã¾ãã <emphasis>ãã <literal>constrained=\"false\"</"
+"literal> ãªãã°ã ãããã·ã¯ä½¿ç¨ä¸å¯è½ã¨ãªããé¢é£ã峿ã«ãã§ãããããã¨ã«"
+"注æãã¦ãã ããï¼</emphasis>"
-#: index.docbook:1740
+#. Tag: para
+#: basic_mapping.xml:1740
+#, no-c-format
msgid "There are two varieties of one-to-one association:"
-msgstr "<literal>insert</literal> ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>INSERT</literal> ã«ç¾ããããã«ããã©ãããæå®ãã¾ãã"
+msgstr "ä¸å¯¾ä¸é¢é£ã«ã¯2種é¡ããã¾ãï¼"
-#: index.docbook:1744
+#. Tag: para
+#: basic_mapping.xml:1744
+#, no-c-format
msgid "primary key associations"
-msgstr "<literal>update</literal> : ãããã³ã°ãããã«ã©ã ãSQL ã® <literal>UPDATE</literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã"
+msgstr "主ãã¼é¢é£"
-#: index.docbook:1747
+#. Tag: para
+#: basic_mapping.xml:1747
+#, no-c-format
msgid "unique foreign key associations"
-msgstr "<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+msgstr "ã¦ãã¼ã¯å¤é¨ãã¼é¢é£"
-#: index.docbook:1752
-msgid "Primary key associations don't need an extra table column; if two rows are related by the association then the two table rows share the same primary key value. So if you want two objects to be related by a primary key association, you must make sure that they are assigned the same identifier value!"
-msgstr "<literal>lazy</literal> (optional - ããã©ã«ã㯠<literal>false</literal> ): ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ããã¨ãã«ã ã³ã³ãã¼ãã³ããé
å»¶ãã¦ãã§ããããããæå®ãã¾ãã (ãã¤ãã³ã¼ãå®è£
ã使ããæéãå¿
è¦ã«ãªãã¾ã)"
+#. Tag: para
+#: basic_mapping.xml:1752
+#, no-c-format
+msgid ""
+"Primary key associations don't need an extra table column; if two rows are "
+"related by the association then the two table rows share the same primary "
+"key value. So if you want two objects to be related by a primary key "
+"association, you must make sure that they are assigned the same identifier "
+"value!"
+msgstr ""
+"主ãã¼é¢é£ã«ã¯ãç¹å¥ãªãã¼ãã«ã«ã©ã ã¯å¿
è¦ããã¾ããã ãã2ã¤ã®è¡ãé¢é£ã«ã"
+"ãé¢ä¿ãã¦ããã°ã2ã¤ã®ãã¼ãã«ã¯åã主ãã¼ã®å¤ãå
±æãã¾ãã ãã®ãã2ã¤ã®ãª"
+"ãã¸ã§ã¯ãã主ãã¼é¢é£ã«ãã£ã¦é¢é£ä»ãããã®ã§ããã°ã 確å®ã«åãèå¥åã®å¤ã"
+"代å
¥ããªããã°ãªãã¾ããã"
-#: index.docbook:1759
-msgid "For a primary key association, add the following mappings to <literal>Employee</literal> and <literal>Person</literal>, respectively."
-msgstr "<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): ãã®ããããã£ã®æ´æ°ã«ã楽観ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹ãããæ±ºå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1759
+#, no-c-format
+msgid ""
+"For a primary key association, add the following mappings to "
+"<literal>Employee</literal> and <literal>Person</literal>, respectively."
+msgstr ""
+"主ãã¼é¢é£ãè¡ãããã«ã¯ã以ä¸ã®ãããã³ã°ã <literal>Employee</literal> 㨠"
+"<literal>Person</literal> ã®ããããã«è¿½å ãã¦ãã ããã"
-#: index.docbook:1764
+#. Tag: programlisting
+#: basic_mapping.xml:1764
+#, no-c-format
msgid "<![CDATA[<one-to-one name=\"person\" class=\"Person\"/>]]>"
-msgstr "<literal>unique</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal> ): ã³ã³ãã¼ãã³ãã®ãã¹ã¦ã®ãããã³ã°ããã«ã©ã ã«ãã¦ãã¼ã¯å¶ç´ãåå¨ããããæå®ãã¾ãã"
+msgstr ""
-#: index.docbook:1765
-msgid "<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" constrained=\"true\"/>]]>"
-msgstr "åã® <literal><property></literal> ã¿ã°ã§ã åã®ã¯ã©ã¹ã®ããããã£ããã¼ãã«ã«ã©ã ã«ãããã³ã°ãã¾ãã"
+#. Tag: programlisting
+#: basic_mapping.xml:1765
+#, no-c-format
+msgid ""
+"<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" constrained=\"true"
+"\"/>]]>"
+msgstr ""
-#: index.docbook:1767
-msgid "Now we must ensure that the primary keys of related rows in the PERSON and EMPLOYEE tables are equal. We use a special Hibernate identifier generation strategy called <literal>foreign</literal>:"
-msgstr "<literal><component></literal> è¦ç´ ã¯ã親ã¨ã³ãã£ãã£ã¸æ»ãåç
§ã¨ãã¦ã ã³ã³ãã¼ãã³ãã®ã¯ã©ã¹ã®ããããã£ããããã³ã°ãã <literal><parent></literal> ãµãè¦ç´ ã許å¯ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1767
+#, no-c-format
+msgid ""
+"Now we must ensure that the primary keys of related rows in the PERSON and "
+"EMPLOYEE tables are equal. We use a special Hibernate identifier generation "
+"strategy called <literal>foreign</literal>:"
+msgstr ""
+"ããã§ãPERSONã¨EMPLOYEEãã¼ãã«ã®é¢ä¿ããè¡ã®ä¸»ãã¼ãåãã§ãããã¨ã確å®ã«"
+"ããªããã°ããã¾ããã ããã§ã¯ã<literal>foreign</literal> ã¨ããç¹æ®ãª"
+"Hibernateèå¥åçææ¦ç¥ã使ãã¾ãï¼"
-#: index.docbook:1773
+#. Tag: programlisting
+#: basic_mapping.xml:1773
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"person\" table=\"PERSON\">\n"
- " <id name=\"id\" column=\"PERSON_ID\">\n"
- " <generator class=\"foreign\">\n"
- " <param name=\"property\">employee</param>\n"
- " </generator>\n"
- " </id>\n"
- " ...\n"
- " <one-to-one name=\"employee\"\n"
- " class=\"Employee\"\n"
- " constrained=\"true\"/>\n"
- "</class>]]>"
-msgstr "<literal><dynamic-component></literal> è¦ç´ ã¯ã <literal>Map</literal> ãã³ã³ãã¼ãã³ãã¨ãã¦ãããã³ã°ããããã¨ãå¯è½ã«ãã¾ãã ããããã£åã¯mapã®ãã¼ãåç
§ãã¾ãã<xref linkend=\"components-dynamic\"/> ãåç
§ãã¦ãã ããã"
+"<![CDATA[<class name=\"person\" table=\"PERSON\">\n"
+" <id name=\"id\" column=\"PERSON_ID\">\n"
+" <generator class=\"foreign\">\n"
+" <param name=\"property\">employee</param>\n"
+" </generator>\n"
+" </id>\n"
+" ...\n"
+" <one-to-one name=\"employee\"\n"
+" class=\"Employee\"\n"
+" constrained=\"true\"/>\n"
+"</class>]]>"
+msgstr ""
-#: index.docbook:1775
-msgid "A newly saved instance of <literal>Person</literal> is then assigned the same primary key value as the <literal>Employee</literal> instance refered with the <literal>employee</literal> property of that <literal>Person</literal>."
-msgstr "properties"
+#. Tag: para
+#: basic_mapping.xml:1775
+#, no-c-format
+msgid ""
+"A newly saved instance of <literal>Person</literal> is then assigned the "
+"same primary key value as the <literal>Employee</literal> instance refered "
+"with the <literal>employee</literal> property of that <literal>Person</"
+"literal>."
+msgstr ""
+"<literal>Employee</literal> ã¤ã³ã¹ã¿ã³ã¹ãã<literal>Person</literal> ã® "
+"<literal>employee</literal> ããããã£ã§åç
§ãããããã«ã æ°ããã»ã¼ããã"
+"ã <literal>Person</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã«ã¯åã主ãã¼ã®å¤ã代å
¥ããã¾"
+"ãã æ°ããã»ã¼ããã <literal>Person</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯ã ãã® "
+"<literal>Person</literal> ã® <literal>employee</literal> ããããã£ãåç
§ã"
+"ã <literal>Employee</literal> ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦åã主ãã¼ãå²ãå½ã¦ããã¾"
+"ãã"
-#: index.docbook:1781
-msgid "Alternatively, a foreign key with a unique constraint, from <literal>Employee</literal> to <literal>Person</literal>, may be expressed as:"
-msgstr "<literal><properties></literal> è¦ç´ ã¯ã¯ã©ã¹ã®ããããã£ã®æå®ãããã è«ççãªã°ã«ã¼ãã³ã°ãå¯è½ã«ãã¾ãã ãã®æ§é ã®æãéè¦ãªä½¿ç¨æ¹æ³ã¯ã <literal>property-ref</literal> ã®ã¿ã¼ã²ããã«ãªãããããã£ã®çµåã許å¯ãããã¨ã§ãã ããã¯ã¾ããè¤æ°ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ãå®ç¾©ããç°¡åãªæ¹æ³ã§ãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1781
+#, no-c-format
+msgid ""
+"Alternatively, a foreign key with a unique constraint, from "
+"<literal>Employee</literal> to <literal>Person</literal>, may be expressed "
+"as:"
+msgstr ""
+"ãã1ã¤ã®æ¹æ³ã¨ãã¦ã<literal>Employee</literal> ãã <literal>Person</"
+"literal> ã¸ã® ã¦ãã¼ã¯å¶ç´ã使ã£ãå¤é¨ãã¼é¢é£ã¯ä»¥ä¸ã®ããã«è¡¨ç¾ããã¾ãï¼"
-#: index.docbook:1786
-msgid "<![CDATA[<many-to-one name=\"person\" class=\"Person\" column=\"PERSON_ID\" unique=\"true\"/>]]>"
+#. Tag: programlisting
+#: basic_mapping.xml:1786
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"person\" class=\"Person\" column=\"PERSON_ID\" "
+"unique=\"true\"/>]]>"
msgstr ""
- "<![CDATA[<properties
-\n"
- " name=\"logicalName\"
-\n"
- " insert=\"true|false\"
-\n"
- " update=\"true|false\"
-\n"
- " optimistic-lock=\"true|false\"
-\n"
- " unique=\"true|false\"
-\n"
- ">
-\n"
- "
-\n"
- " <property ...../>
-\n"
- " <many-to-one .... />
-\n"
- " ........
-\n"
- "</properties>]]>"
-#: index.docbook:1788
-msgid "And this association may be made bidirectional by adding the following to the <literal>Person</literal> mapping:"
-msgstr "<literal>name</literal> : ã°ã«ã¼ãã³ã°ã®è«çåã å®éã®ããããã£åã§ã¯ <emphasis>ããã¾ãã</emphasis> ã"
+#. Tag: para
+#: basic_mapping.xml:1788
+#, no-c-format
+msgid ""
+"And this association may be made bidirectional by adding the following to "
+"the <literal>Person</literal> mapping:"
+msgstr ""
+"ããã¦ãã®é¢é£ã¯ã 以ä¸ã®è¨è¿°ã <literal>Person</literal> ã®ãããã³ã°ã«è¿½å "
+"ãããã¨ã§åæ¹åã«ãããã¨ãã§ãã¾ãï¼"
-#: index.docbook:1793
-msgid "<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" property-ref=\"person\"/>]]>"
-msgstr "<literal>insert</literal>ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>INSERT</literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã"
+#. Tag: programlisting
+#: basic_mapping.xml:1793
+#, no-c-format
+msgid ""
+"<![CDATA[<one-to-one name=\"employee\" class=\"Employee\" property-ref="
+"\"person\"/>]]>"
+msgstr ""
-#: index.docbook:1798
+#. Tag: title
+#: basic_mapping.xml:1798
+#, no-c-format
msgid "natural-id"
-msgstr "<literal>update</literal>ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã"
+msgstr "natural-id"
-#: index.docbook:1800
+#. Tag: programlisting
+#: basic_mapping.xml:1800
+#, no-c-format
msgid ""
- "<![CDATA[<natural-id mutable=\"true|false\"/>\n"
- " <property ... />\n"
- " <many-to-one ... />\n"
- " ......\n"
- "</natural-id>]]>"
-msgstr "<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): ãããã®ããããã£ã®æ´æ°ã«æ¥½è¦³çããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹ãããæ±ºå®ãã¾ãã"
+"<![CDATA[<natural-id mutable=\"true|false\"/>\n"
+" <property ... />\n"
+" <many-to-one ... />\n"
+" ......\n"
+"</natural-id>]]>"
+msgstr ""
-#: index.docbook:1802
-msgid "Even though we recommend the use of surrogate keys as primary keys, you should still try to identify natural keys for all entities. A natural key is a property or combination of properties that is unique and non-null. If it is also immutable, even better. Map the properties of the natural key inside the <literal><natural-id></literal> element. Hibernate will generate the necessary unique key and nullability constraints, and your mapping will be more self-documenting."
-msgstr "<literal>unique</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal> ): ã³ã³ãã¼ãã³ãã®ãã¹ã¦ã®ãããã³ã°ããã«ã©ã ã«ãã¦ãã¼ã¯å¶ç´ãåå¨ããããæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1802
+#, no-c-format
+msgid ""
+"Even though we recommend the use of surrogate keys as primary keys, you "
+"should still try to identify natural keys for all entities. A natural key is "
+"a property or combination of properties that is unique and non-null. If it "
+"is also immutable, even better. Map the properties of the natural key inside "
+"the <literal><natural-id></literal> element. Hibernate will generate "
+"the necessary unique key and nullability constraints, and your mapping will "
+"be more self-documenting."
+msgstr ""
+"主ãã¼ã¨ãã¦ä»£çãã¼ã®ä½¿ç¨ãæ¨å¥¨ãã¾ããã ãã¹ã¦ã®ã¨ã³ãã£ãã£ã«å¯¾ãã¦èªç¶"
+"ãã¼ãèå¥ããããã«ãã¹ãã§ãã èªç¶ãã¼ã¯ã¦ãã¼ã¯ãã¤énullãªä¸ã¤ã®ããã"
+"ãã£ãã¾ãã¯ããããã£ã®é£çµã§ãã ä¸å¤ã§ããã°ããã«è¯ãã§ãã <literal><"
+"natural-id></literal> è¦ç´ å
ã§èªç¶ãã¼ã®ããããã£ããããã³ã°ãã¾ãã "
+"Hibernateã¯å¿
ç¶çã«ã¦ãã¼ã¯ãã¤nullå¤ã許å¯ããå¶ç´ãçæãã ãããã¦ããã"
+"ã³ã°ã¯ããèªå·±è¨è¿°çã«ãªãã¾ãã"
-#: index.docbook:1811
-msgid "We strongly recommend that you implement <literal>equals()</literal> and <literal>hashCode()</literal> to compare the natural key properties of the entity."
-msgstr "ä¾ãã°ããã以ä¸ã®ãã㪠<literal><properties></literal> ãããã³ã°ããã£ãå ´åï¼"
+#. Tag: para
+#: basic_mapping.xml:1811
+#, no-c-format
+msgid ""
+"We strongly recommend that you implement <literal>equals()</literal> and "
+"<literal>hashCode()</literal> to compare the natural key properties of the "
+"entity."
+msgstr ""
+"ã¨ã³ãã£ãã£ã®èªç¶ãã¼ããããã£ã®æ¯è¼ã«ã¯ã <literal>equals()</literal> 㨠"
+"<literal>hashCode()</literal> ã®å®è£
ãå¼·ããå§ããã¾ãã"
-#: index.docbook:1816
-msgid "This mapping is not intended for use with entities with natural primary keys."
+#. Tag: para
+#: basic_mapping.xml:1816
+#, no-c-format
+msgid ""
+"This mapping is not intended for use with entities with natural primary keys."
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"personNumber\"/>
-\n"
- " ...
-\n"
- " <properties name=\"name\"
-\n"
- " unique=\"true\" update=\"false\">
-\n"
- " <property name=\"firstName\"/>
-\n"
- " <property name=\"initial\"/>
-\n"
- " <property name=\"lastName\"/>
-\n"
- " </properties>
-\n"
- "</class>]]>"
+"ãã®ãããã³ã°ã¯èªç¶ä¸»ãã¼ã使ã£ãã¨ã³ãã£ãã£ã§ã®ä½¿ç¨ãæå³ãã¦ãã¾ããã"
-#: index.docbook:1822
-msgid "<literal>mutable</literal> (optional, defaults to <literal>false</literal>): By default, natural identifier properties as assumed to be immutable (constant)."
-msgstr "主ãã¼ã®ä»£ããã« <literal>Person</literal> ãã¼ãã«ã®ã¦ãã¼ã¯ãã¼ã¸ã®åç
§ãæã¤ã ã¬ã¬ã·ã¼ãã¼ã¿ã®é¢é£ãæã¤ããããã¾ãããï¼"
+#. Tag: para
+#: basic_mapping.xml:1822
+#, no-c-format
+msgid ""
+"<literal>mutable</literal> (optional, defaults to <literal>false</literal>): "
+"By default, natural identifier properties as assumed to be immutable "
+"(constant)."
+msgstr ""
+"<literal>mutable</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>false</"
+"literal> ): ããã©ã«ãã§ã¯ãèªç¶èå¥åããããã£ã¯ä¸å¤(宿°)ã¨æ³å®ããã¦ãã¾"
+"ãã"
-#: index.docbook:1832
+#. Tag: title
+#: basic_mapping.xml:1832
+#, no-c-format
msgid "component, dynamic-component"
+msgstr "component, dynamic-component"
+
+#. Tag: para
+#: basic_mapping.xml:1834
+#, no-c-format
+msgid ""
+"The <literal><component></literal> element maps properties of a child "
+"object to columns of the table of a parent class. Components may, in turn, "
+"declare their own properties, components or collections. See \"Components\" "
+"below."
msgstr ""
- "<![CDATA[<many-to-one name=\"person\"
-\n"
- " class=\"Person\" property-ref=\"name\">
-\n"
- " <column name=\"firstName\"/>
-\n"
- " <column name=\"initial\"/>
-\n"
- " <column name=\"lastName\"/>
-\n"
- "</many-to-one>]]>"
+"<literal><component></literal> è¦ç´ ã¯ã åãªãã¸ã§ã¯ãã®ããããã£ã親"
+"ã¯ã©ã¹ã®ãã¼ãã«ã®ã«ã©ã ã¸ãããã³ã°ãã¾ãã ã³ã³ãã¼ãã³ãã¯èªåã®ããã"
+"ãã£ãã³ã³ãã¼ãã³ããã³ã¬ã¯ã·ã§ã³ã®é ã«å®ç¾©ã§ãã¾ãã 以ä¸ã®ãã³ã³ãã¼ãã³"
+"ãããè¦ã¦ãã ããã"
-#: index.docbook:1834
-msgid "The <literal><component></literal> element maps properties of a child object to columns of the table of a parent class. Components may, in turn, declare their own properties, components or collections. See \"Components\" below."
-msgstr "ãããããã®ãããªã¬ã¬ã·ã¼ãã¼ã¿ãããã³ã°ã®ã³ã³ããã¹ãå¤ã¸ã®ä½¿ç¨ã¯æ¨å¥¨ãã¾ããã"
+#. Tag: programlisting
+#: basic_mapping.xml:1852
+#, no-c-format
+msgid ""
+"<![CDATA[<component\n"
+" name=\"propertyName\"\n"
+" class=\"className\"\n"
+" insert=\"true|false\"\n"
+" update=\"true|false\"\n"
+" access=\"field|property|ClassName\"\n"
+" lazy=\"true|false\"\n"
+" optimistic-lock=\"true|false\"\n"
+" unique=\"true|false\"\n"
+" node=\"element-name|.\"\n"
+">\n"
+"\n"
+" <property ...../>\n"
+" <many-to-one .... />\n"
+" ........\n"
+"</component>]]>"
+msgstr ""
-#: index.docbook:1852
+#. Tag: para
+#: basic_mapping.xml:1860
+#, no-c-format
msgid ""
- "<![CDATA[<component\n"
- " name=\"propertyName\"\n"
- " class=\"className\"\n"
- " insert=\"true|false\"\n"
- " update=\"true|false\"\n"
- " access=\"field|property|ClassName\"\n"
- " lazy=\"true|false\"\n"
- " optimistic-lock=\"true|false\"\n"
- " unique=\"true|false\"\n"
- " node=\"element-name|.\"\n"
- ">\n"
- "\n"
- " <property ...../>\n"
- " <many-to-one .... />\n"
- " ........\n"
- "</component>]]>"
-msgstr "subclass"
+"<literal>class</literal> (optional - defaults to the property type "
+"determined by reflection): The name of the component (child) class."
+msgstr ""
+"<literal>class</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ãªãã¬ã¯ã·ã§ã³ã«ããæ±ºå®"
+"ãããããããã£ã®åï¼ï¼ ã³ã³ãã¼ãã³ãï¼åï¼ã¯ã©ã¹ã®ååã"
-#: index.docbook:1860
-msgid "<literal>class</literal> (optional - defaults to the property type determined by reflection): The name of the component (child) class."
+#. Tag: para
+#: basic_mapping.xml:1866 basic_mapping.xml:1955
+#, fuzzy, no-c-format
+msgid ""
+"<literal>insert</literal>: Do the mapped columns appear in SQL "
+"<literal>INSERT</literal>s?"
msgstr ""
- "<![CDATA[<subclass
-\n"
- " name=\"ClassName\"
-\n"
- " discriminator-value=\"discriminator_value\"
-\n"
- " proxy=\"ProxyInterface\"
-\n"
- " lazy=\"true|false\"
-\n"
- " dynamic-update=\"true|false\"
-\n"
- " dynamic-insert=\"true|false\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " node=\"element-name\"
-\n"
- " extends=\"SuperclassName\">
-\n"
- "
-\n"
- " <property .... />
-\n"
- " .....
-\n"
- "</subclass>]]>"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>insert</literal> ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>INSERT</"
+"literal> ã«ç¾ããããã«ããã©ãããæå®ãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>insert</literal>ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>INSERT</"
+"literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã"
-#: index.docbook:1866, index.docbook:1955
-msgid "<literal>insert</literal>: Do the mapped columns appear in SQL <literal>INSERT</literal>s?"
-msgstr "<literal>name</literal>ï¼ãµãã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
+#. Tag: para
+#: basic_mapping.xml:1872 basic_mapping.xml:1961
+#, fuzzy, no-c-format
+msgid ""
+"<literal>update</literal>: Do the mapped columns appear in SQL "
+"<literal>UPDATE</literal>s?"
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>update</literal> : ãããã³ã°ãããã«ã©ã ãSQL ã® <literal>UPDATE</"
+"literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>update</literal>ï¼ãããã³ã°ãããã«ã©ã ãSQLã® <literal>UPDATE</"
+"literal> ã«ç¾ããããã«ãããã©ãããæå®ãã¾ãã"
-#: index.docbook:1872, index.docbook:1961
-msgid "<literal>update</literal>: Do the mapped columns appear in SQL <literal>UPDATE</literal>s?"
-msgstr "<literal>discriminator-value</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ã¯ã©ã¹åï¼ï¼ åã
ã®ãµãã¯ã©ã¹ãåºå¥ããããã®å¤ã"
+#. Tag: para
+#: basic_mapping.xml:1884
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional - defaults to <literal>false</literal>): "
+"Specifies that this component should be fetched lazily when the instance "
+"variable is first accessed (requires build-time bytecode instrumentation)."
+msgstr ""
+"<literal>lazy</literal> (optional - ããã©ã«ã㯠<literal>false</literal> ): "
+"ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«æåã«ã¢ã¯ã»ã¹ããã¨ãã«ã ã³ã³ãã¼ãã³ããé
å»¶ãã¦ãã§ãã"
+"ããããæå®ãã¾ãã (ãã¤ãã³ã¼ãå®è£
ã使ããæéãå¿
è¦ã«ãªãã¾ã)"
-#: index.docbook:1884
-msgid "<literal>lazy</literal> (optional - defaults to <literal>false</literal>): Specifies that this component should be fetched lazily when the instance variable is first accessed (requires build-time bytecode instrumentation)."
-msgstr "<literal>lazy</literal>ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</literal> ï¼ï¼ <literal>lazy=\"false\"</literal> ã¨è¨å®ããã¨ãé
å»¶ãã§ããã使ç¨ã§ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:1891
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies that updates to this component do or do not require "
+"acquisition of the optimistic lock. In other words, determines if a version "
+"increment should occur when this property is dirty."
+msgstr ""
+"<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): ãã®ããããã£ã®æ´æ°ã«ã楽観ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®"
+"ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ãã"
+"ã¹ãããæ±ºå®ãã¾ãã"
-#: index.docbook:1891
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Specifies that updates to this component do or do not require acquisition of the optimistic lock. In other words, determines if a version increment should occur when this property is dirty."
-msgstr "åãµãã¯ã©ã¹ã§ã¯ãæ°¸ç¶ããããã£ã¨ãµãã¯ã©ã¹ãå®ç¾©ãã¾ãã <literal><version></literal> 㨠<literal><id></literal> ããããã£ã¯ã ã«ã¼ãã¯ã©ã¹ããç¶æ¿ãããã¨ä»®å®ããã¾ãã é層æ§é ã«ããããµãã¯ã©ã¹ã¯ã ã¦ãã¼ã¯ãª <literal>discriminator-value</literal> ãå®ç¾©ããªããã°ãªãã¾ããã noneãæå®ãããã¨ãå®å
¨ä¿®é£¾ãããJavaã¯ã©ã¹åã使ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1899 basic_mapping.xml:1975
+#, no-c-format
+msgid ""
+"<literal>unique</literal> (optional - defaults to <literal>false</literal>): "
+"Specifies that a unique constraint exists upon all mapped columns of the "
+"component."
+msgstr ""
+"<literal>unique</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</"
+"literal> ): ã³ã³ãã¼ãã³ãã®ãã¹ã¦ã®ãããã³ã°ããã«ã©ã ã«ãã¦ãã¼ã¯å¶ç´ãå"
+"å¨ããããæå®ãã¾ãã"
-#: index.docbook:1899, index.docbook:1975
-msgid "<literal>unique</literal> (optional - defaults to <literal>false</literal>): Specifies that a unique constraint exists upon all mapped columns of the component."
-msgstr "ç¶æ¿ã®ãããã³ã°ã«é¢ããæ
å ±ã¯ <xref linkend=\"inheritance\"/> ãè¦ã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1908
+#, no-c-format
+msgid ""
+"The child <literal><property></literal> tags map properties of the "
+"child class to table columns."
+msgstr ""
+"åã® <literal><property></literal> ã¿ã°ã§ã åã®ã¯ã©ã¹ã®ããããã£ã"
+"ãã¼ãã«ã«ã©ã ã«ãããã³ã°ãã¾ãã"
-#: index.docbook:1908
-msgid "The child <literal><property></literal> tags map properties of the child class to table columns."
-msgstr "joined-subclass"
+#. Tag: para
+#: basic_mapping.xml:1913
+#, no-c-format
+msgid ""
+"The <literal><component></literal> element allows a <literal><"
+"parent></literal> subelement that maps a property of the component class "
+"as a reference back to the containing entity."
+msgstr ""
+"<literal><component></literal> è¦ç´ ã¯ã親ã¨ã³ãã£ãã£ã¸æ»ãåç
§ã¨ã"
+"ã¦ã ã³ã³ãã¼ãã³ãã®ã¯ã©ã¹ã®ããããã£ããããã³ã°ãã <literal><"
+"parent></literal> ãµãè¦ç´ ã許å¯ãã¾ãã"
-#: index.docbook:1913
-msgid "The <literal><component></literal> element allows a <literal><parent></literal> subelement that maps a property of the component class as a reference back to the containing entity."
-msgstr "ãã1ã¤ã®æ¹æ³ã¨ãã¦ãåãµãã¯ã©ã¹ãèªèº«ã®ãã¼ãã«ã¸ãããã³ã°ãããã¨ãã§ãã¾ã (table-per-subclass mapping strategy)ã ç¶æ¿ããç¶æ
ã¯ã¹ã¼ãã¼ã¯ã©ã¹ã®ãã¼ãã«ã使ã£ãçµåã§æ¤ç´¢ãã¾ãã <literal><joined-subclass></literal> è¦ç´ ã使ç¨ãã¾ãã"
-
-#: index.docbook:1919
-msgid "The <literal><dynamic-component></literal> element allows a <literal>Map</literal> to be mapped as a component, where the property names refer to keys of the map, see <xref linkend=\"components-dynamic\"/>."
+#. Tag: para
+#: basic_mapping.xml:1919
+#, no-c-format
+msgid ""
+"The <literal><dynamic-component></literal> element allows a "
+"<literal>Map</literal> to be mapped as a component, where the property names "
+"refer to keys of the map, see <xref linkend=\"components-dynamic\"/>."
msgstr ""
- "<![CDATA[<joined-subclass
-\n"
- " name=\"ClassName\"
-\n"
- " table=\"tablename\"
-\n"
- " proxy=\"ProxyInterface\"
-\n"
- " lazy=\"true|false\"
-\n"
- " dynamic-update=\"true|false\"
-\n"
- " dynamic-insert=\"true|false\"
-\n"
- " schema=\"schema\"
-\n"
- " catalog=\"catalog\"
-\n"
- " extends=\"SuperclassName\"
-\n"
- " persister=\"ClassName\"
-\n"
- " subselect=\"SQL expression\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " node=\"element-name\">
-\n"
- "
-\n"
- " <key .... >
-\n"
- "
-\n"
- " <property .... />
-\n"
- " .....
-\n"
- "</joined-subclass>]]>"
+"<literal><dynamic-component></literal> è¦ç´ ã¯ã <literal>Map</literal> "
+"ãã³ã³ãã¼ãã³ãã¨ãã¦ãããã³ã°ããããã¨ãå¯è½ã«ãã¾ãã ããããã£åã¯map"
+"ã®ãã¼ãåç
§ãã¾ãã<xref linkend=\"components-dynamic\"/> ãåç
§ãã¦ãã ã"
+"ãã"
-#: index.docbook:1928
+#. Tag: title
+#: basic_mapping.xml:1928
+#, no-c-format
msgid "properties"
-msgstr "<literal>name</literal>ï¼ãµãã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
+msgstr "properties"
-#: index.docbook:1930
-msgid "The <literal><properties></literal> element allows the definition of a named, logical grouping of properties of a class. The most important use of the construct is that it allows a combination of properties to be the target of a <literal>property-ref</literal>. It is also a convenient way to define a multi-column unique constraint."
-msgstr "<literal>table</literal> :ãµãã¯ã©ã¹ãã¼ãã«ã®ååã"
+#. Tag: para
+#: basic_mapping.xml:1930
+#, no-c-format
+msgid ""
+"The <literal><properties></literal> element allows the definition of a "
+"named, logical grouping of properties of a class. The most important use of "
+"the construct is that it allows a combination of properties to be the target "
+"of a <literal>property-ref</literal>. It is also a convenient way to define "
+"a multi-column unique constraint."
+msgstr ""
+"<literal><properties></literal> è¦ç´ ã¯ã¯ã©ã¹ã®ããããã£ã®æå®ãããã "
+"è«ççãªã°ã«ã¼ãã³ã°ãå¯è½ã«ãã¾ãã ãã®æ§é ã®æãéè¦ãªä½¿ç¨æ¹æ³ã¯ã "
+"<literal>property-ref</literal> ã®ã¿ã¼ã²ããã«ãªãããããã£ã®çµåã許å¯ãã"
+"ãã¨ã§ãã ããã¯ã¾ããè¤æ°ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ãå®ç¾©ããç°¡åãªæ¹æ³ã§ãããã¾"
+"ãã"
-#: index.docbook:1946
+#. Tag: programlisting
+#: basic_mapping.xml:1946
+#, no-c-format
msgid ""
- "<![CDATA[<properties\n"
- " name=\"logicalName\"\n"
- " insert=\"true|false\"\n"
- " update=\"true|false\"\n"
- " optimistic-lock=\"true|false\"\n"
- " unique=\"true|false\"\n"
- ">\n"
- "\n"
- " <property ...../>\n"
- " <many-to-one .... />\n"
- " ........\n"
- "</properties>]]>"
-msgstr "<literal>proxy</literal> (ãªãã·ã§ã³): é
å»¶åæåãããã·ã«ä½¿ç¨ããã¯ã©ã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã"
+"<![CDATA[<properties\n"
+" name=\"logicalName\"\n"
+" insert=\"true|false\"\n"
+" update=\"true|false\"\n"
+" optimistic-lock=\"true|false\"\n"
+" unique=\"true|false\"\n"
+">\n"
+"\n"
+" <property ...../>\n"
+" <many-to-one .... />\n"
+" ........\n"
+"</properties>]]>"
+msgstr ""
-#: index.docbook:1949
-msgid "<literal>name</literal>: The logical name of the grouping - <emphasis>not</emphasis> an actual property name."
-msgstr "<literal>lazy</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</literal> ): <literal>lazy=\"false\"</literal> ã¨ããã¨ãé
å»¶ãã§ããã使ç¨ã§ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:1949
+#, no-c-format
+msgid ""
+"<literal>name</literal>: The logical name of the grouping - <emphasis>not</"
+"emphasis> an actual property name."
+msgstr ""
+"<literal>name</literal> : ã°ã«ã¼ãã³ã°ã®è«çåã å®éã®ããããã£åã§ã¯ "
+"<emphasis>ããã¾ãã</emphasis> ã"
-#: index.docbook:1967
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Specifies that updates to these properties do or do not require acquisition of the optimistic lock. In other words, determines if a version increment should occur when these properties are dirty."
-msgstr "ç¶æ¿ã®ãããã³ã°ã«é¢ããæ
å ±ã¯ <xref linkend=\"inheritance\"/> ãè¦ã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:1967
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies that updates to these properties do or do not require "
+"acquisition of the optimistic lock. In other words, determines if a version "
+"increment should occur when these properties are dirty."
+msgstr ""
+"<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): ãããã®ããããã£ã®æ´æ°ã«æ¥½è¦³çããã¯ã®åå¾ãè¦æ±ãããã©ããã"
+"æå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢"
+"ããã¹ãããæ±ºå®ãã¾ãã"
-#: index.docbook:1984
-msgid "For example, if we have the following <literal><properties></literal> mapping:"
-msgstr "3ã¤ç®ã®é¸æè¢ã¯ãç¶æ¿é層ã®å
·è±¡ã¯ã©ã¹ã®ã¿ããã¼ãã«ã«ãããã³ã°ãããã¨ã§ã (the table-per-concrete-classæ¦ç¥)ã ããããã®ãã¼ãã«ã¯ç¶æ¿ã®ç¶æ
ãå«ããã¹ã¦ã®ã¯ã©ã¹ã®æ°¸ç¶ç¶æ
ãå®ç¾©ãã¾ãã Hibernateã§ã¯ãã®æ§ãªç¶æ¿é層ãå¿
ãããå¿
è¦ã§ã¯ããã¾ããã åç´ã«ããããã®ã¯ã©ã¹ãã å¥ã
ã® <literal><class></literal> 宣è¨ã使ã£ã¦ãããã³ã°ãããã¨ãã§ãã¾ãã ãããããªã¢ã¼ãã£ãã¯ãªé¢é£(ä¾ãã° é層ã®ã¹ã¼ãã¼ã¯ã©ã¹ã¸ã®é¢é£)ã使ããããªãã <literal><union-subclass></literal> ãããã³ã°ã使ãå¿
è¦ãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1984
+#, no-c-format
+msgid ""
+"For example, if we have the following <literal><properties></literal> "
+"mapping:"
+msgstr ""
+"ä¾ãã°ããã以ä¸ã®ãã㪠<literal><properties></literal> ãããã³ã°ã"
+"ãã£ãå ´åï¼"
-#: index.docbook:1988
+#. Tag: programlisting
+#: basic_mapping.xml:1988
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"personNumber\"/>\n"
- " ...\n"
- " <properties name=\"name\"\n"
- " unique=\"true\" update=\"false\">\n"
- " <property name=\"firstName\"/>\n"
- " <property name=\"initial\"/>\n"
- " <property name=\"lastName\"/>\n"
- " </properties>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"personNumber\"/>\n"
+" ...\n"
+" <properties name=\"name\"\n"
+" unique=\"true\" update=\"false\">\n"
+" <property name=\"firstName\"/>\n"
+" <property name=\"initial\"/>\n"
+" <property name=\"lastName\"/>\n"
+" </properties>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<union-subclass
-\n"
- " name=\"ClassName\"
-\n"
- " table=\"tablename\"
-\n"
- " proxy=\"ProxyInterface\"
-\n"
- " lazy=\"true|false\"
-\n"
- " dynamic-update=\"true|false\"
-\n"
- " dynamic-insert=\"true|false\"
-\n"
- " schema=\"schema\"
-\n"
- " catalog=\"catalog\"
-\n"
- " extends=\"SuperclassName\"
-\n"
- " abstract=\"true|false\"
-\n"
- " persister=\"ClassName\"
-\n"
- " subselect=\"SQL expression\"
-\n"
- " entity-name=\"EntityName\"
-\n"
- " node=\"element-name\">
-\n"
- "
-\n"
- " <property .... />
-\n"
- " .....
-\n"
- "</union-subclass>]]>"
-#: index.docbook:1990
-msgid "Then we might have some legacy data association which refers to this unique key of the <literal>Person</literal> table, instead of to the primary key:"
-msgstr "<literal>name</literal>ï¼ãµãã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
+#. Tag: para
+#: basic_mapping.xml:1990
+#, no-c-format
+msgid ""
+"Then we might have some legacy data association which refers to this unique "
+"key of the <literal>Person</literal> table, instead of to the primary key:"
+msgstr ""
+"主ãã¼ã®ä»£ããã« <literal>Person</literal> ãã¼ãã«ã®ã¦ãã¼ã¯ãã¼ã¸ã®åç
§ãæ"
+"ã¤ã ã¬ã¬ã·ã¼ãã¼ã¿ã®é¢é£ãæã¤ããããã¾ãããï¼"
-#: index.docbook:1995
+#. Tag: programlisting
+#: basic_mapping.xml:1995
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one name=\"person\"\n"
- " class=\"Person\" property-ref=\"name\">\n"
- " <column name=\"firstName\"/>\n"
- " <column name=\"initial\"/>\n"
- " <column name=\"lastName\"/>\n"
- "</many-to-one>]]>"
-msgstr "<literal>table</literal> :ãµãã¯ã©ã¹ãã¼ãã«ã®ååã"
+"<![CDATA[<many-to-one name=\"person\"\n"
+" class=\"Person\" property-ref=\"name\">\n"
+" <column name=\"firstName\"/>\n"
+" <column name=\"initial\"/>\n"
+" <column name=\"lastName\"/>\n"
+"</many-to-one>]]>"
+msgstr ""
-#: index.docbook:1997
-msgid "We don't recommend the use of this kind of thing outside the context of mapping legacy data."
-msgstr "<literal>proxy</literal> (ãªãã·ã§ã³): é
å»¶åæåãããã·ã«ä½¿ç¨ããã¯ã©ã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:1997
+#, no-c-format
+msgid ""
+"We don't recommend the use of this kind of thing outside the context of "
+"mapping legacy data."
+msgstr ""
+"ãããããã®ãããªã¬ã¬ã·ã¼ãã¼ã¿ãããã³ã°ã®ã³ã³ããã¹ãå¤ã¸ã®ä½¿ç¨ã¯æ¨å¥¨ãã¾"
+"ããã"
-#: index.docbook:2005
+#. Tag: title
+#: basic_mapping.xml:2005
+#, no-c-format
msgid "subclass"
-msgstr "<literal>lazy</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</literal> ): <literal>lazy=\"false\"</literal> ã¨ããã¨ãé
å»¶ãã§ããã使ç¨ã§ãã¾ããã"
+msgstr "subclass"
-#: index.docbook:2007
-msgid "Finally, polymorphic persistence requires the declaration of each subclass of the root persistent class. For the table-per-class-hierarchy mapping strategy, the <literal><subclass></literal> declaration is used."
-msgstr "ãã®ãããã³ã°æ¦ç¥ã§ã¯èå¥ã«ã©ã ããã¼ã«ã©ã ã¯å¿
è¦ããã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:2007
+#, no-c-format
+msgid ""
+"Finally, polymorphic persistence requires the declaration of each subclass "
+"of the root persistent class. For the table-per-class-hierarchy mapping "
+"strategy, the <literal><subclass></literal> declaration is used."
+msgstr ""
+"æå¾ã«ããªã¢ã¼ãã£ãã¯ãªæ°¸ç¶åã«ã¯ãã«ã¼ãã®æ°¸ç¶ã¯ã©ã¹ã®åãµãã¯ã©ã¹ã®å®ç¾©ã"
+"å¿
è¦ã§ãã table-per-class-hierarchyãããã³ã°æ¦ç¥ã§ã¯ã <literal><"
+"subclass></literal> å®ç¾©ã使ããã¾ãã"
-#: index.docbook:2020
+#. Tag: programlisting
+#: basic_mapping.xml:2020
+#, no-c-format
msgid ""
- "<![CDATA[<subclass\n"
- " name=\"ClassName\"\n"
- " discriminator-value=\"discriminator_value\"\n"
- " proxy=\"ProxyInterface\"\n"
- " lazy=\"true|false\"\n"
- " dynamic-update=\"true|false\"\n"
- " dynamic-insert=\"true|false\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name\"\n"
- " extends=\"SuperclassName\">\n"
- "\n"
- " <property .... />\n"
- " .....\n"
- "</subclass>]]>"
-msgstr "ç¶æ¿ã®ãããã³ã°ã«é¢ããæ
å ±ã¯ <xref linkend=\"inheritance\"/> ãè¦ã¦ãã ããã"
+"<![CDATA[<subclass\n"
+" name=\"ClassName\"\n"
+" discriminator-value=\"discriminator_value\"\n"
+" proxy=\"ProxyInterface\"\n"
+" lazy=\"true|false\"\n"
+" dynamic-update=\"true|false\"\n"
+" dynamic-insert=\"true|false\"\n"
+" entity-name=\"EntityName\"\n"
+" node=\"element-name\"\n"
+" extends=\"SuperclassName\">\n"
+"\n"
+" <property .... />\n"
+" .....\n"
+"</subclass>]]>"
+msgstr ""
-#: index.docbook:2023, index.docbook:2081, index.docbook:2144
-msgid "<literal>name</literal>: The fully qualified class name of the subclass."
-msgstr "join"
+#. Tag: para
+#: basic_mapping.xml:2023 basic_mapping.xml:2081 basic_mapping.xml:2144
+#, no-c-format
+msgid ""
+"<literal>name</literal>: The fully qualified class name of the subclass."
+msgstr "<literal>name</literal>ï¼ãµãã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
-#: index.docbook:2028
-msgid "<literal>discriminator-value</literal> (optional - defaults to the class name): A value that distiguishes individual subclasses."
-msgstr "<literal><join></literal> è¦ç´ ã使ããã¨ã§ã ï¼ã¤ã®ã¯ã©ã¹ã®ããããã£ãããã¤ãã®ãã¼ãã«ã«ãããã³ã°ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2028
+#, no-c-format
+msgid ""
+"<literal>discriminator-value</literal> (optional - defaults to the class "
+"name): A value that distiguishes individual subclasses."
+msgstr ""
+"<literal>discriminator-value</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ã¯ã©ã¹"
+"åï¼ï¼ åã
ã®ãµãã¯ã©ã¹ãåºå¥ããããã®å¤ã"
-#: index.docbook:2034, index.docbook:2091, index.docbook:2154
-msgid "<literal>proxy</literal> (optional): Specifies a class or interface to use for lazy initializing proxies."
+#. Tag: para
+#: basic_mapping.xml:2034 basic_mapping.xml:2091 basic_mapping.xml:2154
+#, fuzzy, no-c-format
+msgid ""
+"<literal>proxy</literal> (optional): Specifies a class or interface to use "
+"for lazy initializing proxies."
msgstr ""
- "<![CDATA[<join
-\n"
- " table=\"tablename\"
-\n"
- " schema=\"owner\"
-\n"
- " catalog=\"catalog\"
-\n"
- " fetch=\"join|select\"
-\n"
- " inverse=\"true|false\"
-\n"
- " optional=\"true|false\">
-\n"
- "
-\n"
- " <key ... />
-\n"
- "
-\n"
- " <property ... />
-\n"
- " ...
-\n"
- "</join>]]>"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>proxy</literal>ï¼ãªãã·ã§ã³ï¼ï¼ é
å»¶åæåãããã·ã«ä½¿ãã¯ã©ã¹ãã¤ã³"
+"ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>proxy</literal> (ãªãã·ã§ã³): é
å»¶åæåãããã·ã«ä½¿ç¨ããã¯ã©ã¹ãã¤"
+"ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>proxy</literal> (ãªãã·ã§ã³): é
å»¶åæåãããã·ã«ä½¿ç¨ããã¯ã©ã¹ãã¤"
+"ã³ã¿ã¼ãã§ã¤ã¹ãæå®ãã¾ãã"
-#: index.docbook:2040, index.docbook:2097, index.docbook:2160
-msgid "<literal>lazy</literal> (optional, defaults to <literal>true</literal>): Setting <literal>lazy=\"false\"</literal> disables the use of lazy fetching."
-msgstr "<literal>table</literal> :çµåãããã¼ãã«ã®åå"
+#. Tag: para
+#: basic_mapping.xml:2040 basic_mapping.xml:2097 basic_mapping.xml:2160
+#, fuzzy, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional, defaults to <literal>true</literal>): "
+"Setting <literal>lazy=\"false\"</literal> disables the use of lazy fetching."
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>lazy</literal>ï¼ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</"
+"literal> ï¼ï¼ <literal>lazy=\"false\"</literal> ã¨è¨å®ããã¨ãé
å»¶ãã§ããã"
+"使ç¨ã§ãã¾ããã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>lazy</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</literal> ): "
+"<literal>lazy=\"false\"</literal> ã¨ããã¨ãé
å»¶ãã§ããã使ç¨ã§ãã¾ããã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"<literal>lazy</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>true</literal> ): "
+"<literal>lazy=\"false\"</literal> ã¨ããã¨ãé
å»¶ãã§ããã使ç¨ã§ãã¾ããã"
-#: index.docbook:2048
-msgid "Each subclass should declare its own persistent properties and subclasses. <literal><version></literal> and <literal><id></literal> properties are assumed to be inherited from the root class. Each subclass in a heirarchy must define a unique <literal>discriminator-value</literal>. If none is specified, the fully qualified Java class name is used."
-msgstr "<literal>schema</literal> (ãªãã·ã§ã³): ã«ã¼ãã® <literal><hibernate-mapping></literal> è¦ç´ ã§æå®ããã¹ãã¼ãåã ãªã¼ãã¼ã©ã¤ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2048
+#, no-c-format
+msgid ""
+"Each subclass should declare its own persistent properties and subclasses. "
+"<literal><version></literal> and <literal><id></literal> "
+"properties are assumed to be inherited from the root class. Each subclass in "
+"a heirarchy must define a unique <literal>discriminator-value</literal>. If "
+"none is specified, the fully qualified Java class name is used."
+msgstr ""
+"åãµãã¯ã©ã¹ã§ã¯ãæ°¸ç¶ããããã£ã¨ãµãã¯ã©ã¹ãå®ç¾©ãã¾ãã <literal><"
+"version></literal> 㨠<literal><id></literal> ããããã£ã¯ã ã«ã¼ã"
+"ã¯ã©ã¹ããç¶æ¿ãããã¨ä»®å®ããã¾ãã é層æ§é ã«ããããµãã¯ã©ã¹ã¯ã ã¦ãã¼ã¯"
+"㪠<literal>discriminator-value</literal> ãå®ç¾©ããªããã°ãªãã¾ããã noneã"
+"æå®ãããã¨ãå®å
¨ä¿®é£¾ãããJavaã¯ã©ã¹åã使ããã¾ãã"
-#: index.docbook:2056, index.docbook:2114, index.docbook:2172
-msgid "For information about inheritance mappings, see <xref linkend=\"inheritance\"/>."
-msgstr "<literal>catalog</literal> (ãªãã·ã§ã³): ã«ã¼ãã® <literal><hibernate-mapping></literal> è¦ç´ ã§æå®ããã«ã¿ãã°åã ãªã¼ãã¼ã©ã¤ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2056 basic_mapping.xml:2114 basic_mapping.xml:2172
+#, no-c-format
+msgid ""
+"For information about inheritance mappings, see <xref linkend=\"inheritance"
+"\"/>."
+msgstr ""
+"ç¶æ¿ã®ãããã³ã°ã«é¢ããæ
å ±ã¯ <xref linkend=\"inheritance\"/> ãè¦ã¦ãã ã"
+"ãã"
-#: index.docbook:2063
+#. Tag: title
+#: basic_mapping.xml:2063
+#, no-c-format
msgid "joined-subclass"
-msgstr "<literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>join</literal> ): <literal>join</literal> ãè¨å®ããå ´åã Hibernateã¯ããã©ã«ãã§ãã¯ã©ã¹ãã¹ã¼ãã¼ã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ãæ¤ç´¢ããã®ã«å
é¨çµåã使ãããµãã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ãæ¤ç´¢ããã®ã«å¤é¨çµåã使ãã¾ãã <literal>select</literal> ãè¨å®ããå ´åã«ã¯ã Hibernateã¯ãµãã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ã®é¸æã«é æ¬¡é¸æã使ãã¾ãããã®å ´åã è¡ããµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã代表ãããã¨ãããã£ãå ´åã«ã®ã¿çºè¡ããã¾ãã å
é¨çµåã¯ã¯ã©ã¹ããã®ã¹ã¼ãã¼ã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ãæ¤ç´¢ ããããã«ä½¿ç¨ãã¾ãã"
+msgstr "joined-subclass"
-#: index.docbook:2065
-msgid "Alternatively, each subclass may be mapped to its own table (table-per-subclass mapping strategy). Inherited state is retrieved by joining with the table of the superclass. We use the <literal><joined-subclass></literal> element."
-msgstr "<literal>inverse</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal> ): ããå¯è½ã§ããã°ãHibernateã¯ãã®çµåã§å®ç¾©ããã¦ããããããã£ã«å¯¾ã æ¿å
¥ãæ´æ°ãè¡ãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:2065
+#, no-c-format
+msgid ""
+"Alternatively, each subclass may be mapped to its own table (table-per-"
+"subclass mapping strategy). Inherited state is retrieved by joining with the "
+"table of the superclass. We use the <literal><joined-subclass></"
+"literal> element."
+msgstr ""
+"ãã1ã¤ã®æ¹æ³ã¨ãã¦ãåãµãã¯ã©ã¹ãèªèº«ã®ãã¼ãã«ã¸ãããã³ã°ãããã¨ãã§ãã¾"
+"ã (table-per-subclass mapping strategy)ã ç¶æ¿ããç¶æ
ã¯ã¹ã¼ãã¼ã¯ã©ã¹ã®ãã¼"
+"ãã«ã使ã£ãçµåã§æ¤ç´¢ãã¾ãã <literal><joined-subclass></literal> è¦"
+"ç´ ã使ç¨ãã¾ãã"
-#: index.docbook:2078
+#. Tag: programlisting
+#: basic_mapping.xml:2078
+#, no-c-format
msgid ""
- "<![CDATA[<joined-subclass\n"
- " name=\"ClassName\"\n"
- " table=\"tablename\"\n"
- " proxy=\"ProxyInterface\"\n"
- " lazy=\"true|false\"\n"
- " dynamic-update=\"true|false\"\n"
- " dynamic-insert=\"true|false\"\n"
- " schema=\"schema\"\n"
- " catalog=\"catalog\"\n"
- " extends=\"SuperclassName\"\n"
- " persister=\"ClassName\"\n"
- " subselect=\"SQL expression\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name\">\n"
- "\n"
- " <key .... >\n"
- "\n"
- " <property .... />\n"
- " .....\n"
- "</joined-subclass>]]>"
-msgstr "<literal>optional</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal> ): ããå¯è½ã§ããã°ãHibernateã¯ãã®çµåã§å®ç¾©ãããããããã£ãnullã§ãªãå ´åã«ã®ã¿ è¡ãæ¿å
¥ãããã®ããããã£ã®æ¤ç´¢ã«ã¯å¸¸ã«å¤é¨çµåã使ç¨ãã¾ãã"
+"<![CDATA[<joined-subclass\n"
+" name=\"ClassName\"\n"
+" table=\"tablename\"\n"
+" proxy=\"ProxyInterface\"\n"
+" lazy=\"true|false\"\n"
+" dynamic-update=\"true|false\"\n"
+" dynamic-insert=\"true|false\"\n"
+" schema=\"schema\"\n"
+" catalog=\"catalog\"\n"
+" extends=\"SuperclassName\"\n"
+" persister=\"ClassName\"\n"
+" subselect=\"SQL expression\"\n"
+" entity-name=\"EntityName\"\n"
+" node=\"element-name\">\n"
+"\n"
+" <key .... >\n"
+"\n"
+" <property .... />\n"
+" .....\n"
+"</joined-subclass>]]>"
+msgstr ""
-#: index.docbook:2086, index.docbook:2149
+#. Tag: para
+#: basic_mapping.xml:2086 basic_mapping.xml:2149
+#, no-c-format
msgid "<literal>table</literal>: The name of the subclass table."
+msgstr "<literal>table</literal> :ãµãã¯ã©ã¹ãã¼ãã«ã®ååã"
+
+#. Tag: para
+#: basic_mapping.xml:2105
+#, no-c-format
+msgid ""
+"No discriminator column is required for this mapping strategy. Each subclass "
+"must, however, declare a table column holding the object identifier using "
+"the <literal><key></literal> element. The mapping at the start of the "
+"chapter would be re-written as:"
msgstr ""
- "<![CDATA[<class name=\"Person\"
-\n"
- " table=\"PERSON\">
-\n"
- "
-\n"
- " <id name=\"id\" column=\"PERSON_ID\">...</id>
-\n"
- "
-\n"
- " <join table=\"ADDRESS\">
-\n"
- " <key column=\"ADDRESS_ID\"/>
-\n"
- " <property name=\"address\"/>
-\n"
- " <property name=\"zip\"/>
-\n"
- " <property name=\"country\"/>
-\n"
- " </join>
-\n"
- " ...]]>"
+"ãã®ãããã³ã°æ¦ç¥ã«ã¯ãèå¥ã«ã©ã ã¯å¿
è¦ããã¾ããã ãããåãµãã¯ã©ã¹ã¯ "
+"<literal><key></literal> è¦ç´ ã使ãã ãªãã¸ã§ã¯ãèå¥åãä¿æãããã¼"
+"ãã«ã«ã©ã ãå®ç¾©ããªããã°ãªãã¾ããã ãã®ç« ã®åãã®ãããã³ã°ã¯ä»¥ä¸ã®ããã«"
+"æ¸ãç´ãã¾ãï¼"
-#: index.docbook:2105
-msgid "No discriminator column is required for this mapping strategy. Each subclass must, however, declare a table column holding the object identifier using the <literal><key></literal> element. The mapping at the start of the chapter would be re-written as:"
-msgstr "ä»ã¾ã§ä½åº¦ã <literal><key></literal> è¦ç´ ãåºã¦ãã¾ããã ãã®è¦ç´ ã¯æ°ãããã¼ãã«ã¸ã®çµåãå®ç¾©ãããã çµåãã¼ãã«ã§å¤é¨ãã¼ãå®ç¾©ããããã親è¦ç´ ã®ã©ãã«ã§ãç¾ãã ãªãªã¸ãã«ãã¼ãã«ã®ä¸»ãã¼ãåç
§ãã¾ãã"
-
-#: index.docbook:2112
+#. Tag: programlisting
+#: basic_mapping.xml:2112
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
- "\n"
- "<hibernate-mapping package=\"eg\">\n"
- "\n"
- " <class name=\"Cat\" table=\"CATS\">\n"
- " <id name=\"id\" column=\"uid\" type=\"long\">\n"
- " <generator class=\"hilo\"/>\n"
- " </id>\n"
- " <property name=\"birthdate\" type=\"date\"/>\n"
- " <property name=\"color\" not-null=\"true\"/>\n"
- " <property name=\"sex\" not-null=\"true\"/>\n"
- " <property name=\"weight\"/>\n"
- " <many-to-one name=\"mate\"/>\n"
- " <set name=\"kittens\">\n"
- " <key column=\"MOTHER\"/>\n"
- " <one-to-many class=\"Cat\"/>\n"
- " </set>\n"
- " <joined-subclass name=\"DomesticCat\" table=\"DOMESTIC_CATS\">\n"
- " <key column=\"CAT\"/>\n"
- " <property name=\"name\" type=\"string\"/>\n"
- " </joined-subclass>\n"
- " </class>\n"
- "\n"
- " <class name=\"eg.Dog\">\n"
- " <!-- mapping for Dog could go here -->\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+"\n"
+"<hibernate-mapping package=\"eg\">\n"
+"\n"
+" <class name=\"Cat\" table=\"CATS\">\n"
+" <id name=\"id\" column=\"uid\" type=\"long\">\n"
+" <generator class=\"hilo\"/>\n"
+" </id>\n"
+" <property name=\"birthdate\" type=\"date\"/>\n"
+" <property name=\"color\" not-null=\"true\"/>\n"
+" <property name=\"sex\" not-null=\"true\"/>\n"
+" <property name=\"weight\"/>\n"
+" <many-to-one name=\"mate\"/>\n"
+" <set name=\"kittens\">\n"
+" <key column=\"MOTHER\"/>\n"
+" <one-to-many class=\"Cat\"/>\n"
+" </set>\n"
+" <joined-subclass name=\"DomesticCat\" table=\"DOMESTIC_CATS"
+"\">\n"
+" <key column=\"CAT\"/>\n"
+" <property name=\"name\" type=\"string\"/>\n"
+" </joined-subclass>\n"
+" </class>\n"
+"\n"
+" <class name=\"eg.Dog\">\n"
+" <!-- mapping for Dog could go here -->\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<key
-\n"
- " column=\"columnname\"
-\n"
- " on-delete=\"noaction|cascade\"
-\n"
- " property-ref=\"propertyName\"
-\n"
- " not-null=\"true|false\"
-\n"
- " update=\"true|false\"
-\n"
- " unique=\"true|false\"
-\n"
- "/>]]>"
-#: index.docbook:2121
+#. Tag: title
+#: basic_mapping.xml:2121
+#, no-c-format
msgid "union-subclass"
-msgstr "<literal>on-delete</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>noaction</literal>): å¤é¨ãã¼å¶ç´ããã¼ã¿ãã¼ã¹ã¬ãã«ã§ã«ã¹ã±ã¼ãåé¤ãå¯è½ãã©ãããæå®ãã¾ãã"
+msgstr "union-subclass"
-#: index.docbook:2123
-msgid "A third option is to map only the concrete classes of an inheritance hierarchy to tables, (the table-per-concrete-class strategy) where each table defines all persistent state of the class, including inherited state. In Hibernate, it is not absolutely necessary to explicitly map such inheritance hierarchies. You can simply map each class with a separate <literal><class></literal> declaration. However, if you wish use polymorphic associations (e.g. an association to the superclass of your hierarchy), you need to use the <literal><union-subclass></literal> mapping."
-msgstr "<literal>property-ref</literal> (ãªãã·ã§ã³): ãªãªã¸ãã«ãã¼ãã«ã®ä¸»ãã¼ã§ã¯ãªãã«ã©ã ãåç
§ããå¤é¨ãã¼ãæå®ãã¾ã (ã¬ã¬ã·ã¼ãã¼ã¿ã«å¯¾ãã¦æä¾ããã¾ã)ã"
+#. Tag: para
+#: basic_mapping.xml:2123
+#, no-c-format
+msgid ""
+"A third option is to map only the concrete classes of an inheritance "
+"hierarchy to tables, (the table-per-concrete-class strategy) where each "
+"table defines all persistent state of the class, including inherited state. "
+"In Hibernate, it is not absolutely necessary to explicitly map such "
+"inheritance hierarchies. You can simply map each class with a separate "
+"<literal><class></literal> declaration. However, if you wish use "
+"polymorphic associations (e.g. an association to the superclass of your "
+"hierarchy), you need to use the <literal><union-subclass></literal> "
+"mapping."
+msgstr ""
+"3ã¤ç®ã®é¸æè¢ã¯ãç¶æ¿é層ã®å
·è±¡ã¯ã©ã¹ã®ã¿ããã¼ãã«ã«ãããã³ã°ãããã¨ã§ã "
+"(the table-per-concrete-classæ¦ç¥)ã ããããã®ãã¼ãã«ã¯ç¶æ¿ã®ç¶æ
ãå«ããã¹"
+"ã¦ã®ã¯ã©ã¹ã®æ°¸ç¶ç¶æ
ãå®ç¾©ãã¾ãã Hibernateã§ã¯ãã®æ§ãªç¶æ¿é層ãå¿
ãããå¿
"
+"è¦ã§ã¯ããã¾ããã åç´ã«ããããã®ã¯ã©ã¹ãã å¥ã
ã® <literal><class></"
+"literal> 宣è¨ã使ã£ã¦ãããã³ã°ãããã¨ãã§ãã¾ãã ãããããªã¢ã¼ãã£ãã¯ãª"
+"é¢é£(ä¾ãã° é層ã®ã¹ã¼ãã¼ã¯ã©ã¹ã¸ã®é¢é£)ã使ããããªãã <literal><union-"
+"subclass></literal> ãããã³ã°ã使ãå¿
è¦ãããã¾ãã"
-#: index.docbook:2141
+#. Tag: programlisting
+#: basic_mapping.xml:2141
+#, no-c-format
msgid ""
- "<![CDATA[<union-subclass\n"
- " name=\"ClassName\"\n"
- " table=\"tablename\"\n"
- " proxy=\"ProxyInterface\"\n"
- " lazy=\"true|false\"\n"
- " dynamic-update=\"true|false\"\n"
- " dynamic-insert=\"true|false\"\n"
- " schema=\"schema\"\n"
- " catalog=\"catalog\"\n"
- " extends=\"SuperclassName\"\n"
- " abstract=\"true|false\"\n"
- " persister=\"ClassName\"\n"
- " subselect=\"SQL expression\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name\">\n"
- "\n"
- " <property .... />\n"
- " .....\n"
- "</union-subclass>]]>"
-msgstr "<literal>not-null</literal> (ãªãã·ã§ã³): å¤é¨ãã¼ã«ã©ã ãnullå¤ã許容ããªããã¨ãæå®ãã¾ã (ãã®ãã¨ã¯å¤é¨ãã¼ã主ãã¼ã®ä¸é¨ã§ãããã¨ãæé»çã«ç¤ºãã¾ã)ã"
+"<![CDATA[<union-subclass\n"
+" name=\"ClassName\"\n"
+" table=\"tablename\"\n"
+" proxy=\"ProxyInterface\"\n"
+" lazy=\"true|false\"\n"
+" dynamic-update=\"true|false\"\n"
+" dynamic-insert=\"true|false\"\n"
+" schema=\"schema\"\n"
+" catalog=\"catalog\"\n"
+" extends=\"SuperclassName\"\n"
+" abstract=\"true|false\"\n"
+" persister=\"ClassName\"\n"
+" subselect=\"SQL expression\"\n"
+" entity-name=\"EntityName\"\n"
+" node=\"element-name\">\n"
+"\n"
+" <property .... />\n"
+" .....\n"
+"</union-subclass>]]>"
+msgstr ""
-#: index.docbook:2168
-msgid "No discriminator column or key column is required for this mapping strategy."
-msgstr "column 㨠formula è¦ç´ "
+#. Tag: para
+#: basic_mapping.xml:2168
+#, no-c-format
+msgid ""
+"No discriminator column or key column is required for this mapping strategy."
+msgstr "ãã®ãããã³ã°æ¦ç¥ã§ã¯èå¥ã«ã©ã ããã¼ã«ã©ã ã¯å¿
è¦ããã¾ããã"
-#: index.docbook:2179
+#. Tag: title
+#: basic_mapping.xml:2179
+#, no-c-format
msgid "join"
+msgstr "join"
+
+#. Tag: para
+#: basic_mapping.xml:2181
+#, no-c-format
+msgid ""
+"Using the <literal><join></literal> element, it is possible to map "
+"properties of one class to several tables, when there's a 1-to-1 "
+"relationship between the tables."
msgstr ""
- "<![CDATA[<column
-\n"
- " name=\"column_name\"
-\n"
- " length=\"N\"
-\n"
- " precision=\"N\"
-\n"
- " scale=\"N\"
-\n"
- " not-null=\"true|false\"
-\n"
- " unique=\"true|false\"
-\n"
- " unique-key=\"multicolumn_unique_key_name\"
-\n"
- " index=\"index_name\"
-\n"
- " sql-type=\"sql_type_name\"
-\n"
- " check=\"SQL expression\"
-\n"
- " default=\"SQL expression\"/>]]>"
+"<literal><join></literal> è¦ç´ ã使ããã¨ã§ã ï¼ã¤ã®ã¯ã©ã¹ã®ããããã£ã"
+"ããã¤ãã®ãã¼ãã«ã«ãããã³ã°ãããã¨ãã§ãã¾ãã"
-#: index.docbook:2181
-msgid "Using the <literal><join></literal> element, it is possible to map properties of one class to several tables, when there's a 1-to-1 relationship between the tables."
-msgstr "<![CDATA[<formula>SQL expression</formula>]]>"
-
-#: index.docbook:2195
+#. Tag: programlisting
+#: basic_mapping.xml:2195
+#, no-c-format
msgid ""
- "<![CDATA[<join\n"
- " table=\"tablename\"\n"
- " schema=\"owner\"\n"
- " catalog=\"catalog\"\n"
- " fetch=\"join|select\"\n"
- " inverse=\"true|false\"\n"
- " optional=\"true|false\">\n"
- "\n"
- " <key ... />\n"
- "\n"
- " <property ... />\n"
- " ...\n"
- "</join>]]>"
-msgstr "åãããããã£ãé¢é£ã®ãããã³ã°ã®ä¸ã§ã <literal>column</literal> 㨠<literal>formula</literal> 屿§ãçµã¿åããããã¨ãã§ãã¾ãã ä¾ãã°ãç¹æ®ãªçµåæ¡ä»¶ãªã©ã§ãã"
+"<![CDATA[<join\n"
+" table=\"tablename\"\n"
+" schema=\"owner\"\n"
+" catalog=\"catalog\"\n"
+" fetch=\"join|select\"\n"
+" inverse=\"true|false\"\n"
+" optional=\"true|false\">\n"
+"\n"
+" <key ... />\n"
+"\n"
+" <property ... />\n"
+" ...\n"
+"</join>]]>"
+msgstr ""
-#: index.docbook:2199
+#. Tag: para
+#: basic_mapping.xml:2199
+#, no-c-format
msgid "<literal>table</literal>: The name of the joined table."
+msgstr "<literal>table</literal> :çµåãããã¼ãã«ã®åå"
+
+#. Tag: para
+#: basic_mapping.xml:2216
+#, no-c-format
+msgid ""
+"<literal>fetch</literal> (optional - defaults to <literal>join</literal>): "
+"If set to <literal>join</literal>, the default, Hibernate will use an inner "
+"join to retrieve a <literal><join></literal> defined by a class or its "
+"superclasses and an outer join for a <literal><join></literal> defined "
+"by a subclass. If set to <literal>select</literal> then Hibernate will use a "
+"sequential select for a <literal><join></literal> defined on a "
+"subclass, which will be issued only if a row turns out to represent an "
+"instance of the subclass. Inner joins will still be used to retrieve a "
+"<literal><join></literal> defined by the class and its superclasses."
msgstr ""
- "<![CDATA[<many-to-one name=\"homeAddress\" class=\"Address\"
-\n"
- " insert=\"false\" update=\"false\">
-\n"
- " <column name=\"person_id\" not-null=\"true\" length=\"10\"/>
-\n"
- " <formula>'MAILING'</formula>
-\n"
- "</many-to-one>]]>"
+"<literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>join</"
+"literal> ): <literal>join</literal> ãè¨å®ããå ´åã Hibernateã¯ããã©ã«ã"
+"ã§ãã¯ã©ã¹ãã¹ã¼ãã¼ã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ãæ¤ç´¢"
+"ããã®ã«å
é¨çµåã使ãããµãã¯ã©ã¹ã§å®ç¾©ããã <literal><join></"
+"literal> ãæ¤ç´¢ããã®ã«å¤é¨çµåã使ãã¾ãã <literal>select</literal> ãè¨å®"
+"ããå ´åã«ã¯ã Hibernateã¯ãµãã¯ã©ã¹ã§å®ç¾©ããã <literal><join></"
+"literal> ã®é¸æã«é æ¬¡é¸æã使ãã¾ãããã®å ´åã è¡ããµãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹"
+"ã代表ãããã¨ãããã£ãå ´åã«ã®ã¿çºè¡ããã¾ãã å
é¨çµåã¯ã¯ã©ã¹ããã®ã¹ã¼"
+"ãã¼ã¯ã©ã¹ã§å®ç¾©ããã <literal><join></literal> ãæ¤ç´¢ ããããã«ä½¿ç¨"
+"ãã¾ãã"
-#: index.docbook:2216
-msgid "<literal>fetch</literal> (optional - defaults to <literal>join</literal>): If set to <literal>join</literal>, the default, Hibernate will use an inner join to retrieve a <literal><join></literal> defined by a class or its superclasses and an outer join for a <literal><join></literal> defined by a subclass. If set to <literal>select</literal> then Hibernate will use a sequential select for a <literal><join></literal> defined on a subclass, which will be issued only if a row turns out to represent an instance of the subclass. Inner joins will still be used to retrieve a <literal><join></literal> defined by the class and its superclasses."
-msgstr "<![CDATA[<import class=\"java.lang.Object\" rename=\"Universe\"/>]]>"
+#. Tag: para
+#: basic_mapping.xml:2229
+#, no-c-format
+msgid ""
+"<literal>inverse</literal> (optional - defaults to <literal>false</"
+"literal>): If enabled, Hibernate will not try to insert or update the "
+"properties defined by this join."
+msgstr ""
+"<literal>inverse</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</"
+"literal> ): ããå¯è½ã§ããã°ãHibernateã¯ãã®çµåã§å®ç¾©ããã¦ããããããã£ã«"
+"å¯¾ã æ¿å
¥ãæ´æ°ãè¡ãã¾ããã"
-#: index.docbook:2229
-msgid "<literal>inverse</literal> (optional - defaults to <literal>false</literal>): If enabled, Hibernate will not try to insert or update the properties defined by this join."
+#. Tag: para
+#: basic_mapping.xml:2236
+#, no-c-format
+msgid ""
+"<literal>optional</literal> (optional - defaults to <literal>false</"
+"literal>): If enabled, Hibernate will insert a row only if the properties "
+"defined by this join are non-null and will always use an outer join to "
+"retrieve the properties."
msgstr ""
- "<![CDATA[<import
-\n"
- " class=\"ClassName\"
-\n"
- " rename=\"ShortName\"
-\n"
- "/>]]>"
+"<literal>optional</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</"
+"literal> ): ããå¯è½ã§ããã°ãHibernateã¯ãã®çµåã§å®ç¾©ãããããããã£ãnull"
+"ã§ãªãå ´åã«ã®ã¿ è¡ãæ¿å
¥ãããã®ããããã£ã®æ¤ç´¢ã«ã¯å¸¸ã«å¤é¨çµåã使ç¨ãã¾"
+"ãã"
-#: index.docbook:2236
-msgid "<literal>optional</literal> (optional - defaults to <literal>false</literal>): If enabled, Hibernate will insert a row only if the properties defined by this join are non-null and will always use an outer join to retrieve the properties."
-msgstr "<literal>class</literal>ï¼Javaã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
+#. Tag: para
+#: basic_mapping.xml:2245
+#, no-c-format
+msgid ""
+"For example, the address information for a person can be mapped to a "
+"separate table (while preserving value type semantics for all properties):"
+msgstr ""
+"ä¾ãã°äººã®ã¢ãã¬ã¹ã®æ
å ±ãåé¢ãããã¼ãã«ã«ãããã³ã°ãããã¨ãå¯è½ã§ã (ã"
+"ã¹ã¦ã®ããããã£ã«å¯¾ãã¦å¤åã®ã»ãã³ãã£ã¯ã¹ãä¿æãã¾ã)ã"
-#: index.docbook:2245
-msgid "For example, the address information for a person can be mapped to a separate table (while preserving value type semantics for all properties):"
-msgstr "<literal>rename</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ä¿®é£¾ããã¦ããªãã¯ã©ã¹åï¼ï¼ ã¯ã¨ãªè¨èªã§ä½¿ãããååã"
+#. Tag: programlisting
+#: basic_mapping.xml:2250
+#, no-c-format
+msgid ""
+"<![CDATA[<class name=\"Person\"\n"
+" table=\"PERSON\">\n"
+"\n"
+" <id name=\"id\" column=\"PERSON_ID\">...</id>\n"
+"\n"
+" <join table=\"ADDRESS\">\n"
+" <key column=\"ADDRESS_ID\"/>\n"
+" <property name=\"address\"/>\n"
+" <property name=\"zip\"/>\n"
+" <property name=\"country\"/>\n"
+" </join>\n"
+" ...]]>"
+msgstr ""
-#: index.docbook:2250
+#. Tag: para
+#: basic_mapping.xml:2252
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\"\n"
- " table=\"PERSON\">\n"
- "\n"
- " <id name=\"id\" column=\"PERSON_ID\">...</id>\n"
- "\n"
- " <join table=\"ADDRESS\">\n"
- " <key column=\"ADDRESS_ID\"/>\n"
- " <property name=\"address\"/>\n"
- " <property name=\"zip\"/>\n"
- " <property name=\"country\"/>\n"
- " </join>\n"
- " ...]]>"
-msgstr "<title>any</title>"
+"This feature is often only useful for legacy data models, we recommend fewer "
+"tables than classes and a fine-grained domain model. However, it is useful "
+"for switching between inheritance mapping strategies in a single hierarchy, "
+"as explained later."
+msgstr ""
+"ãã®ç¹å¾´ã¯ãã°ãã°ã¬ã¬ã·ã¼ãã¼ã¿ã¢ãã«ã«å¯¾ãã¦ã®ã¿æç¨ã§ããã ã¯ã©ã¹ãããå°"
+"ãªããã¼ãã«ã¨ãããã®ç´°ãããã¡ã¤ã³ã¢ãã«ãæ¨å¥¨ãã¾ãã ãããå¾ã§èª¬æããã"
+"ãã«ãï¼ã¤ã®ã¯ã©ã¹é層ã§ç¶æ¿ã®ãããã³ã°æ¦ç¥ãåãæ¿ããæã«ã¯æç¨ã§ãã"
-#: index.docbook:2252
-msgid "This feature is often only useful for legacy data models, we recommend fewer tables than classes and a fine-grained domain model. However, it is useful for switching between inheritance mapping strategies in a single hierarchy, as explained later."
-msgstr "ããããã£ãããã³ã°ã«ã¯ããã«ãã1ã¤ã®åãããã¾ãã <literal><any></literal> ãããã³ã°è¦ç´ ã¯ã è¤æ°ã®ãã¼ãã«ããã¯ã©ã¹ã¸ã®ããªã¢ã¼ãã£ãã¯ãªé¢é£ãå®ç¾©ãã¾ãã ãã®åã®ãããã³ã°ã«ã¯å¿
ãè¤æ°ã®ã«ã©ã ãå¿
è¦ã§ãã1çªç®ã®ã«ã©ã ã¯é¢é£ã¨ã³ãã£ãã£ã®åãä¿æãã¾ãã æ®ãã®ã«ã©ã ã¯èå¥åãä¿æãã¾ãããã®ç¨®é¡ã®é¢é£ã«ã¯å¤é¨ãã¼å¶ç´ãæå®ãããã¨ã¯ã§ãã¾ããã ãã®ããããã¯æã使ããããã¨ã®ãªãï¼ããªã¢ã¼ãã£ãã¯ãªï¼é¢é£ã®ãããã³ã°æ¹æ³ã§ãã é常ã«ç¹å¥ãªå ´åï¼ä¾ãã°ãæ¤æ»ãã°ãã¦ã¼ã¶ã»ãã·ã§ã³ãã¼ã¿ãªã©)ã«éã£ã¦ãããã使ãã¹ãã§ãã"
-
-#: index.docbook:2262
+#. Tag: title
+#: basic_mapping.xml:2262
+#, no-c-format
msgid "<title>key</title>"
-msgstr "<literal>meta-type</literal> ã«ããã ã¢ããªã±ã¼ã·ã§ã³ã¯ã«ã¹ã¿ã åãæå®ã§ãã¾ãããã®ã«ã¹ã¿ã å㯠ãã¼ã¿ãã¼ã¹ã«ã©ã ã®å¤ãã<literal>id-type</literal> ã§æå®ããåã® èå¥åããããã£ãæã£ãæ°¸ç¶ã¯ã©ã¹ã¸ãããã³ã°ãã¾ãã meta-typeã®å¤ããã¯ã©ã¹åã¸ã®ãããã³ã°ãæå®ããªããã°ãªãã¾ããã"
+msgstr ""
-#: index.docbook:2264
-msgid "We've seen the <literal><key></literal> element crop up a few times now. It appears anywhere the parent mapping element defines a join to a new table, and defines the foreign key in the joined table, that references the primary key of the original table."
+#. Tag: para
+#: basic_mapping.xml:2264
+#, no-c-format
+msgid ""
+"We've seen the <literal><key></literal> element crop up a few times "
+"now. It appears anywhere the parent mapping element defines a join to a new "
+"table, and defines the foreign key in the joined table, that references the "
+"primary key of the original table."
msgstr ""
- "<![CDATA[<any name=\"being\" id-type=\"long\" meta-type=\"string\">
-\n"
- " <meta-value value=\"TBL_ANIMAL\" class=\"Animal\"/>
-\n"
- " <meta-value value=\"TBL_HUMAN\" class=\"Human\"/>
-\n"
- " <meta-value value=\"TBL_ALIEN\" class=\"Alien\"/>
-\n"
- " <column name=\"table_name\"/>
-\n"
- " <column name=\"id\"/>
-\n"
- "</any>]]>"
+"ä»ã¾ã§ä½åº¦ã <literal><key></literal> è¦ç´ ãåºã¦ãã¾ããã ãã®è¦ç´ ã¯æ°"
+"ãããã¼ãã«ã¸ã®çµåãå®ç¾©ãããã çµåãã¼ãã«ã§å¤é¨ãã¼ãå®ç¾©ããããã親è¦"
+"ç´ ã®ã©ãã«ã§ãç¾ãã ãªãªã¸ãã«ãã¼ãã«ã®ä¸»ãã¼ãåç
§ãã¾ãã"
-#: index.docbook:2280
+#. Tag: programlisting
+#: basic_mapping.xml:2280
+#, no-c-format
msgid ""
- "<![CDATA[<key\n"
- " column=\"columnname\"\n"
- " on-delete=\"noaction|cascade\"\n"
- " property-ref=\"propertyName\"\n"
- " not-null=\"true|false\"\n"
- " update=\"true|false\"\n"
- " unique=\"true|false\"\n"
- "/>]]>"
+"<![CDATA[<key\n"
+" column=\"columnname\"\n"
+" on-delete=\"noaction|cascade\"\n"
+" property-ref=\"propertyName\"\n"
+" not-null=\"true|false\"\n"
+" update=\"true|false\"\n"
+" unique=\"true|false\"\n"
+"/>]]>"
msgstr ""
- "<![CDATA[<any
-\n"
- " name=\"propertyName\"
-\n"
- " id-type=\"idtypename\"
-\n"
- " meta-type=\"metatypename\"
-\n"
- " cascade=\"cascade_style\"
-\n"
- " access=\"field|property|ClassName\"
-\n"
- " optimistic-lock=\"true|false\"
-\n"
- ">
-\n"
- " <meta-value ... />
-\n"
- " <meta-value ... />
-\n"
- " .....
-\n"
- " <column .... />
-\n"
- " <column .... />
-\n"
- " .....
-\n"
- "</any>]]>"
-#: index.docbook:2291
-msgid "<literal>on-delete</literal> (optional, defaults to <literal>noaction</literal>): Specifies whether the foreign key constraint has database-level cascade delete enabled."
-msgstr "<literal>id-type</literal>ï¼èå¥åã®åã"
+#. Tag: para
+#: basic_mapping.xml:2291
+#, no-c-format
+msgid ""
+"<literal>on-delete</literal> (optional, defaults to <literal>noaction</"
+"literal>): Specifies whether the foreign key constraint has database-level "
+"cascade delete enabled."
+msgstr ""
+"<literal>on-delete</literal> (ãªãã·ã§ã³, ããã©ã«ã㯠<literal>noaction</"
+"literal>): å¤é¨ãã¼å¶ç´ããã¼ã¿ãã¼ã¹ã¬ãã«ã§ã«ã¹ã±ã¼ãåé¤ãå¯è½ãã©ãããæ"
+"å®ãã¾ãã"
-#: index.docbook:2298
-msgid "<literal>property-ref</literal> (optional): Specifies that the foreign key refers to columns that are not the primary key of the orginal table. (Provided for legacy data.)"
-msgstr "<literal>meta-type</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>string</literal> ï¼ï¼ ãã£ã¹ã¯ãªããã¼ã¿ãããã³ã°ã§è¨±ãããå"
+#. Tag: para
+#: basic_mapping.xml:2298
+#, no-c-format
+msgid ""
+"<literal>property-ref</literal> (optional): Specifies that the foreign key "
+"refers to columns that are not the primary key of the orginal table. "
+"(Provided for legacy data.)"
+msgstr ""
+"<literal>property-ref</literal> (ãªãã·ã§ã³): ãªãªã¸ãã«ãã¼ãã«ã®ä¸»ãã¼ã§ã¯"
+"ãªãã«ã©ã ãåç
§ããå¤é¨ãã¼ãæå®ãã¾ã (ã¬ã¬ã·ã¼ãã¼ã¿ã«å¯¾ãã¦æä¾ããã¾"
+"ã)ã"
-#: index.docbook:2305
-msgid "<literal>not-null</literal> (optional): Specifies that the foreign key columns are not nullable (this is implied whenever the foreign key is also part of the primary key)."
-msgstr "<literal>cascade</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</literal> ï¼ï¼ ã«ã¹ã±ã¼ãã®ã¹ã¿ã¤ã«ã"
+#. Tag: para
+#: basic_mapping.xml:2305
+#, no-c-format
+msgid ""
+"<literal>not-null</literal> (optional): Specifies that the foreign key "
+"columns are not nullable (this is implied whenever the foreign key is also "
+"part of the primary key)."
+msgstr ""
+"<literal>not-null</literal> (ãªãã·ã§ã³): å¤é¨ãã¼ã«ã©ã ãnullå¤ã許容ããªã"
+"ãã¨ãæå®ãã¾ã (ãã®ãã¨ã¯å¤é¨ãã¼ã主ãã¼ã®ä¸é¨ã§ãããã¨ãæé»çã«ç¤ºãã¾"
+"ã)ã"
-#: index.docbook:2312
-msgid "<literal>update</literal> (optional): Specifies that the foreign key should never be updated (this is implied whenever the foreign key is also part of the primary key)."
-msgstr "<literal>access</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal> ï¼ï¼ ããããã£ã®å¤ã¸ã®ã¢ã¯ã»ã¹ã«Hibernateãä½¿ãæ¦ç¥ã"
+#. Tag: para
+#: basic_mapping.xml:2312
+#, no-c-format
+msgid ""
+"<literal>update</literal> (optional): Specifies that the foreign key should "
+"never be updated (this is implied whenever the foreign key is also part of "
+"the primary key)."
+msgstr ""
+"<literal>update</literal> (ãªãã·ã§ã³): å¤é¨ãã¼ã決ãã¦æ´æ°ãã¦ã¯ãªããªãã"
+"ã¨ãæå®ãã¾ã (ãã®ãã¨ã¯å¤é¨ãã¼ã主ãã¼ã®ä¸é¨ã§ãããã¨ãæé»çã«ç¤ºãã¾"
+"ã)ã"
-#: index.docbook:2319
-msgid "<literal>unique</literal> (optional): Specifies that the foreign key should have a unique constraint (this is implied whenever the foreign key is also the primary key)."
-msgstr "<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ãã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹ãããå®ç¾©ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2319
+#, no-c-format
+msgid ""
+"<literal>unique</literal> (optional): Specifies that the foreign key should "
+"have a unique constraint (this is implied whenever the foreign key is also "
+"the primary key)."
+msgstr ""
+"<literal>unique</literal> (ãªãã·ã§ã³): å¤é¨ãã¼ãã¦ãã¼ã¯å¶ç´ãæã¤ã¹ãã§ã"
+"ããã¨ãæå®ãã¾ã (ãã®ãã¨ã¯å¤é¨ãã¼ã主ãã¼ã®ä¸é¨ã§ãããã¨ãæé»çã«ç¤ºã"
+"ã¾ã)ã"
-#: index.docbook:2327
-msgid "We recommend that for systems where delete performance is important, all keys should be defined <literal>on-delete=\"cascade\"</literal>, and Hibernate will use a database-level <literal>ON CASCADE DELETE</literal> constraint, instead of many individual <literal>DELETE</literal> statements. Be aware that this feature bypasses Hibernate's usual optimistic locking strategy for versioned data."
-msgstr "Hibernateã®å"
+#. Tag: para
+#: basic_mapping.xml:2327
+#, no-c-format
+msgid ""
+"We recommend that for systems where delete performance is important, all "
+"keys should be defined <literal>on-delete=\"cascade\"</literal>, and "
+"Hibernate will use a database-level <literal>ON CASCADE DELETE</literal> "
+"constraint, instead of many individual <literal>DELETE</literal> statements. "
+"Be aware that this feature bypasses Hibernate's usual optimistic locking "
+"strategy for versioned data."
+msgstr ""
+"åé¤ã®ããã©ã¼ãã³ã¹ãéè¦ã§ããã·ã¹ãã ã«ã¯ã ãã¹ã¦ã®ãã¼ã <literal>on-"
+"delete=\"cascade\"</literal> ã¨å®ç¾©ãããã¨ãæ¨å¥¨ãã¾ãã ãããããã¨ã§"
+"Hibernateã¯ã<literal>DELETE</literal> æãæ¯åçºè¡ãã代ããã«ã ãã¼ã¿ãã¼"
+"ã¹ã¬ãã«ã® <literal>ON CASCADE DELETE</literal> å¶ç´ã使ç¨ãã¾ãã ãã®ç¹å¾´ã¯"
+"ãã¼ã¸ã§ã³ä»ãããããã¼ã¿ã«å¯¾ããHibernateã®éå¸¸ã®æ¥½è¦³çããã¯æ¦ç¥ã ç¡è¦ã"
+"ãã¨ãããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:2335
-msgid "The <literal>not-null</literal> and <literal>update</literal> attributes are useful when mapping a unidirectional one to many association. If you map a unidirectional one to many to a non-nullable foreign key, you <emphasis>must</emphasis> declare the key column using <literal><key not-null=\"true\"></literal>."
-msgstr "ã¨ã³ãã£ãã£ã¨å¤"
+#. Tag: para
+#: basic_mapping.xml:2335
+#, no-c-format
+msgid ""
+"The <literal>not-null</literal> and <literal>update</literal> attributes are "
+"useful when mapping a unidirectional one to many association. If you map a "
+"unidirectional one to many to a non-nullable foreign key, you "
+"<emphasis>must</emphasis> declare the key column using <literal><key not-"
+"null=\"true\"></literal>."
+msgstr ""
+"<literal>not-null</literal> 㨠<literal>update</literal> 屿§ã¯ãåæ¹åä¸å¯¾å¤"
+"é¢é£ã®æã«ã¯æç¨ã§ãã åæ¹åä¸å¯¾å¤é¢é£ãnullã許容ããªãå¤é¨ãã¼ã«ãããã³ã°"
+"ããã¨ãã¯ã <literal><key not-null=\"true\"></literal> ã使ã£ã¦ãã¼ã«"
+"ã©ã ãå®£è¨ <emphasis> ããªãã¦ã¯ãªãã¾ãã</emphasis> ã"
-#: index.docbook:2345
+#. Tag: title
+#: basic_mapping.xml:2345
+#, no-c-format
msgid "column and formula elements"
-msgstr "æ°¸ç¶ãµã¼ãã¹ã«é¢ããæ§ã
ãªJavaè¨èªã¬ãã«ã®ãªãã¸ã§ã¯ãã®æ¯ãèããçè§£ããããã«ã¯ã ãªãã¸ã§ã¯ãã2ã¤ã®ã°ã«ã¼ãã«åããå¿
è¦ãããã¾ãï¼"
+msgstr "column 㨠formula è¦ç´ "
-#: index.docbook:2346
-msgid "Any mapping element which accepts a <literal>column</literal> attribute will alternatively accept a <literal><column></literal> subelement. Likewise, <literal><formula></literal> is an alternative to the <literal>formula</literal> attribute."
-msgstr "<emphasis> ã¨ã³ãã£ãã£</emphasis> ã¯ã¨ã³ãã£ãã£ã¸ã®åç
§ãä¿æããã ä»ã®ãã¹ã¦ã®ãªãã¸ã§ã¯ãããç¬ç«ãã¦åå¨ãã¾ãã åç
§ãããªããªãã¸ã§ã¯ããã¬ãã¼ã¸ã³ã¬ã¯ãããã¦ãã¾ãæ§è³ªãæã¤é常ã®Javaã¢ãã«ã¨ã ãããæ¯ã¹ã¦ã¿ã¦ãã ããã ï¼è¦ªã¨ã³ãã£ãã£ããåã¸ãã»ã¼ãã¨åé¤ã <emphasis>ã«ã¹ã±ã¼ã</emphasis> ãããããã¨ãé¤ãã¦ï¼ ã¨ã³ãã£ãã£ã¯æç¤ºçã«ã»ã¼ãã¾ãã¯åé¤ãããªããã°ãªãã¾ããã ããã¯å°éå¯è½æ§ã«ãããªãã¸ã§ã¯ãæ°¸ç¶åã®ODMGã¢ãã«ã¨ã¯ç°ãªã£ã¦ãã¾ãã å¤§è¦æ¨¡ãªã·ã¹ãã ã§ã¢ããªã±ã¼ã·ã§ã³ãªãã¸ã§ã¯ããæ®éã©ã®ããã«ä½¿ããããã«ãã坿¥ã«å¯¾å¿ãã¾ãã ã¨ã³ãã£ãã£ã¯å¾ªç°ã¨åç
§ã®å
±æããµãã¼ããã¾ãã ã¾ããããã¯ãã¼ã¸ã§ã³ä»ããããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2346
+#, no-c-format
+msgid ""
+"Any mapping element which accepts a <literal>column</literal> attribute will "
+"alternatively accept a <literal><column></literal> subelement. "
+"Likewise, <literal><formula></literal> is an alternative to the "
+"<literal>formula</literal> attribute."
+msgstr ""
+"<literal>column</literal> 屿§ãè¨è¿°ã§ããä»»æã®ãããã³ã°è¦ç´ ã¯ã¾ãã "
+"<literal><column></literal> ãµãè¦ç´ ãè¨è¿°ã§ãã¾ãã åæ§ã« "
+"<literal><formula></literal> ã <literal>formula</literal> 屿§ã®ä»£æ¿æ"
+"段ã§ãã"
-#: index.docbook:2352
+#. Tag: programlisting
+#: basic_mapping.xml:2352
+#, no-c-format
msgid ""
- "<![CDATA[<column\n"
- " name=\"column_name\"\n"
- " length=\"N\"\n"
- " precision=\"N\"\n"
- " scale=\"N\"\n"
- " not-null=\"true|false\"\n"
- " unique=\"true|false\"\n"
- " unique-key=\"multicolumn_unique_key_name\"\n"
- " index=\"index_name\"\n"
- " sql-type=\"sql_type_name\"\n"
- " check=\"SQL expression\"\n"
- " default=\"SQL expression\"/>]]>"
-msgstr "ã¨ã³ãã£ãã£ã®æ°¸ç¶ç¶æ
ã¯ä»ã®ã¨ã³ãã£ãã£ã <emphasis>å¤</emphasis> åã® ã¤ã³ã¹ã¿ã³ã¹ã¸ã®åç
§ããæ§æããã¾ãã å¤ã¯ããªããã£ããã³ã¬ã¯ã·ã§ã³(ã³ã¬ã¯ã·ã§ã³ã®å
é¨ã§ã¯ãªã)ã ã³ã³ãã¼ãã³ããä¸å¤ãªãã¸ã§ã¯ãã§ãã ã¨ã³ãã£ãã£ã¨ã¯éããå¤ã¯ï¼ç¹ã«ã³ã¬ã¯ã·ã§ã³ã¨ã³ã³ãã¼ãã³ãã«ããã¦ï¼ã å°éå¯è½æ§ã«ããæ°¸ç¶åãåé¤ã <emphasis>è¡ããã¾ã</emphasis> ã å¤ãªãã¸ã§ã¯ãï¼ã¨ããªããã£ãï¼ã¯ãå
å«ããã¨ã³ãã£ãã£ã¨ä¸ç·ã«æ°¸ç¶åãåé¤ãè¡ãããã®ã§ã ããããç¬ç«ã«ãã¼ã¸ã§ã³ä»ããããã¨ã¯ã§ãã¾ããã å¤ã«ã¯ç¬ç«ããã¢ã¤ãã³ãã£ãã£ããªãã®ã§ã è¤æ°ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ããããå
±æãããã¨ã¯ã§ãã¾ããã"
+"<![CDATA[<column\n"
+" name=\"column_name\"\n"
+" length=\"N\"\n"
+" precision=\"N\"\n"
+" scale=\"N\"\n"
+" not-null=\"true|false\"\n"
+" unique=\"true|false\"\n"
+" unique-key=\"multicolumn_unique_key_name\"\n"
+" index=\"index_name\"\n"
+" sql-type=\"sql_type_name\"\n"
+" check=\"SQL expression\"\n"
+" default=\"SQL expression\"/>]]>"
+msgstr ""
-#: index.docbook:2354
+#. Tag: programlisting
+#: basic_mapping.xml:2354
+#, no-c-format
msgid "<![CDATA[<formula>SQL expression</formula>]]>"
-msgstr "ããã¾ã§ãæ°¸ç¶ã¯ã©ã¹ãã¨ããè¨èãã¨ã³ãã£ãã£ã®æå³ã§ä½¿ã£ã¦ãã¾ããã ããããããããã¦ããã¾ãã å³å¯ã«è¨ãã¨ãæ°¸ç¶ç¶æ
ãæã¤ã¦ã¼ã¶å®ç¾©ã®ã¯ã©ã¹ã®ãã¹ã¦ã ã¨ã³ãã£ãã£ã¨ããããã§ã¯ããã¾ããã <emphasis>ã³ã³ãã¼ãã³ã</emphasis> ã¯å¤ã®ã»ãã³ãã£ã¯ã¹ãæã¤ã¦ã¼ã¶å®ç¾©ã¯ã©ã¹ã§ãã <literal>java.lang.String</literal> åã®ããããã£ãã¾ãå¤ã®ã»ãã³ãã£ã¯ã¹ãæã¡ã¾ãã å®ç¾©ãããªããJDKã§æä¾ããã¦ãããã¹ã¦ã®Javaã®å(ã¯ã©ã¹)ãå¤ã®ã»ãã³ãã£ã¯ã¹ãæã¤ã¨ããã¾ãã 䏿¹ã¦ã¼ã¶å®ç¾©åã¯ãã¨ã³ãã£ãã£ãå¤åã®ã»ãã³ãã£ã¯ã¹ã¨ã¨ãã«ãããã³ã°ã§ãã¾ãã ãã®æ±ºå®ã¯ã¢ããªã±ã¼ã·ã§ã³éçºè
次第ã§ãã ãã®ã¯ã©ã¹ã®ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã¸ã®å
񑆇
§ã¯ã ãã¡ã¤ã³ã¢ãã«å
ã®ã¨ã³ãã£ãã£ã¯ã©ã¹ã«å¯¾ã!
ãè¯ããã³ãã«ãªãã¾ãã 䏿¹åæéç´ãéç´ã¯ãé常å¤åã¸å¤æããã¾ãã"
+msgstr ""
-#: index.docbook:2356
-msgid "<literal>column</literal> and <literal>formula</literal> attributes may even be combined within the same property or association mapping to express, for example, exotic join conditions."
-msgstr "æ¬ããã¥ã¡ã³ããéãã¦ãä½åº¦ããã®æ¦å¿µãåãä¸ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2356
+#, no-c-format
+msgid ""
+"<literal>column</literal> and <literal>formula</literal> attributes may even "
+"be combined within the same property or association mapping to express, for "
+"example, exotic join conditions."
+msgstr ""
+"åãããããã£ãé¢é£ã®ãããã³ã°ã®ä¸ã§ã <literal>column</literal> 㨠"
+"<literal>formula</literal> 屿§ãçµã¿åããããã¨ãã§ãã¾ãã ä¾ãã°ãç¹æ®ãª"
+"çµåæ¡ä»¶ãªã©ã§ãã"
-#: index.docbook:2362
+#. Tag: programlisting
+#: basic_mapping.xml:2362
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one name=\"homeAddress\" class=\"Address\"\n"
- " insert=\"false\" update=\"false\">\n"
- " <column name=\"person_id\" not-null=\"true\" length=\"10\"/>\n"
- " <formula>'MAILING'</formula>\n"
- "</many-to-one>]]>"
-msgstr "Javaåã®ã·ã¹ãã (ãããã¯éçºè
ãå®ç¾©ããã¨ã³ãã£ãã£ã¨å¤å)ã SQL/ãã¼ã¿ãã¼ã¹åã®ã·ã¹ãã ã«ãããã³ã°ãããã¨ã¯é£ããã§ãã Hibernateã¯ï¼ã¤ã®ã·ã¹ãã ã®æ¶ãæ©ãæä¾ãã¾ãã ã¨ã³ãã£ãã£ã«å¯¾ãã¦ã¯ <literal><class></literal> ã <literal><subclass></literal> ãªã©ã使ç¨ãã¾ãã å¤åã«å¯¾ãã¦ã¯ <literal><property></literal> ã <literal><component></literal> ãªã©ããé常 <literal>type</literal> ã¨ã¨ãã«ä½¿ãã¾ãã ãã®å±æ§ã®å¤ã¯Hibernateã® <emphasis>ãããã³ã°å</emphasis> ã®ååã§ãã Hibernateã¯(æ¨æºJDKã®å¤åã«å¯¾ãã¦)å¤ãã®èªç±ãªãããã³ã°ãæä¾ãã¾ãã å¾ã§è¦ãããã«ãèªèº«ã®ãããã³ã°åãè¨è¿°ããåæ§ã«ã«ã¹ã¿ã ã®å¤ææ¦ç¥ãå®è£
ãããã¨ãã§ãã¾ãã"
+"<![CDATA[<many-to-one name=\"homeAddress\" class=\"Address\"\n"
+" insert=\"false\" update=\"false\">\n"
+" <column name=\"person_id\" not-null=\"true\" length=\"10\"/>\n"
+" <formula>'MAILING'</formula>\n"
+"</many-to-one>]]>"
+msgstr ""
-#: index.docbook:2367
+#. Tag: title
+#: basic_mapping.xml:2367
+#, no-c-format
msgid "import"
-msgstr "ã³ã¬ã¯ã·ã§ã³ãé¤ãçµã¿è¾¼ã¿ã®Hibernateã®åã¯ãã¹ã¦ãnullã»ãã³ãã£ã¯ã¹ããµãã¼ããã¾ãã"
+msgstr "import"
-#: index.docbook:2369
-msgid "Suppose your application has two persistent classes with the same name, and you don't want to specify the fully qualified (package) name in Hibernate queries. Classes may be \"imported\" explicitly, rather than relying upon <literal>auto-import=\"true\"</literal>. You may even import classes and interfaces that are not explicitly mapped."
-msgstr "åºæ¬çãªå"
+#. Tag: para
+#: basic_mapping.xml:2369
+#, no-c-format
+msgid ""
+"Suppose your application has two persistent classes with the same name, and "
+"you don't want to specify the fully qualified (package) name in Hibernate "
+"queries. Classes may be \"imported\" explicitly, rather than relying upon "
+"<literal>auto-import=\"true\"</literal>. You may even import classes and "
+"interfaces that are not explicitly mapped."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã«åãååã®2ã¤ã®æ°¸ç¶ã¯ã©ã¹ãããã Hibernateã¯ã¨ãªã§å®å
¨ä¿®é£¾"
+"ãããï¼ããã±ã¼ã¸ã®ï¼ååãæå®ããããªãã¨ä»®å®ãã¾ãã ãã®ãããªå ´å㯠"
+"<literal>auto-import=\"true\"</literal> ã«é ¼ããã ã¯ã©ã¹ããã¤ã³ãã¼ãããã"
+"ããã®ã§ããã¨æç¤ºã§ãã¾ãã æç¤ºçã«ãããã³ã°ããã¦ããªãã¯ã©ã¹ãã¤ã³ã¿ã¼"
+"ãã§ã¤ã¹ã§ãããã¤ã³ãã¼ãã§ãã¾ãã"
-#: index.docbook:2376
+#. Tag: programlisting
+#: basic_mapping.xml:2376
+#, no-c-format
msgid "<![CDATA[<import class=\"java.lang.Object\" rename=\"Universe\"/>]]>"
-msgstr "çµã¿è¾¼ã¿ã® <emphasis>åºæ¬çãªãããã³ã°å</emphasis> ã¯å¤§ã¾ãã«ä»¥ä¸ã®ããã«åãããã¾ãã"
+msgstr ""
-#: index.docbook:2383
+#. Tag: programlisting
+#: basic_mapping.xml:2383
+#, no-c-format
msgid ""
- "<![CDATA[<import\n"
- " class=\"ClassName\"\n"
- " rename=\"ShortName\"\n"
- "/>]]>"
-msgstr "integer, long, short, float, double, character, byte, boolean, yes_no, true_false"
+"<![CDATA[<import\n"
+" class=\"ClassName\"\n"
+" rename=\"ShortName\"\n"
+"/>]]>"
+msgstr ""
-#: index.docbook:2386
-msgid "<literal>class</literal>: The fully qualified class name of of any Java class."
-msgstr "Javaã®ããªããã£ããã©ããã¼ã¯ã©ã¹ããé©åãªï¼ãã³ãã¼åºæã®ï¼ SQLã«ã©ã åã¸ã®åãããã³ã°ã <literal>boolean, yes_no</literal> 㨠<literal>true_false</literal> ã¯ã ãã¹ã¦Javaã® <literal>boolean</literal> ã¾ã㯠<literal>java.lang.Boolean</literal> ã®ä»£æ¿ã¨ã³ã³ã¼ãã§ãã"
+#. Tag: para
+#: basic_mapping.xml:2386
+#, no-c-format
+msgid ""
+"<literal>class</literal>: The fully qualified class name of of any Java "
+"class."
+msgstr "<literal>class</literal>ï¼Javaã¯ã©ã¹ã®å®å
¨ä¿®é£¾ãããã¯ã©ã¹åã"
-#: index.docbook:2391
-msgid "<literal>rename</literal> (optional - defaults to the unqualified class name): A name that may be used in the query language."
-msgstr "string"
+#. Tag: para
+#: basic_mapping.xml:2391
+#, no-c-format
+msgid ""
+"<literal>rename</literal> (optional - defaults to the unqualified class "
+"name): A name that may be used in the query language."
+msgstr ""
+"<literal>rename</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ä¿®é£¾ããã¦ããªãã¯ã©ã¹"
+"åï¼ï¼ ã¯ã¨ãªè¨èªã§ä½¿ãããååã"
-#: index.docbook:2402
+#. Tag: title
+#: basic_mapping.xml:2402
+#, no-c-format
msgid "<title>any</title>"
-msgstr "<literal>java.lang.String</literal> ãã <literal>VARCHAR</literal> ï¼ã¾ãã¯Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã"
+msgstr ""
-#: index.docbook:2404
-msgid "There is one further type of property mapping. The <literal><any></literal> mapping element defines a polymorphic association to classes from multiple tables. This type of mapping always requires more than one column. The first column holds the type of the associated entity. The remaining columns hold the identifier. It is impossible to specify a foreign key constraint for this kind of association, so this is most certainly not meant as the usual way of mapping (polymorphic) associations. You should use this only in very special cases (eg. audit logs, user session data, etc)."
-msgstr "date, time, timestamp"
+#. Tag: para
+#: basic_mapping.xml:2404
+#, no-c-format
+msgid ""
+"There is one further type of property mapping. The <literal><any></"
+"literal> mapping element defines a polymorphic association to classes from "
+"multiple tables. This type of mapping always requires more than one column. "
+"The first column holds the type of the associated entity. The remaining "
+"columns hold the identifier. It is impossible to specify a foreign key "
+"constraint for this kind of association, so this is most certainly not meant "
+"as the usual way of mapping (polymorphic) associations. You should use this "
+"only in very special cases (eg. audit logs, user session data, etc)."
+msgstr ""
+"ããããã£ãããã³ã°ã«ã¯ããã«ãã1ã¤ã®åãããã¾ãã <literal><any></"
+"literal> ãããã³ã°è¦ç´ ã¯ã è¤æ°ã®ãã¼ãã«ããã¯ã©ã¹ã¸ã®ããªã¢ã¼ãã£ãã¯ãªé¢"
+"é£ãå®ç¾©ãã¾ãã ãã®åã®ãããã³ã°ã«ã¯å¿
ãè¤æ°ã®ã«ã©ã ãå¿
è¦ã§ãã1çªç®ã®ã«"
+"ã©ã ã¯é¢é£ã¨ã³ãã£ãã£ã®åãä¿æãã¾ãã æ®ãã®ã«ã©ã ã¯èå¥åãä¿æãã¾ããã"
+"ã®ç¨®é¡ã®é¢é£ã«ã¯å¤é¨ãã¼å¶ç´ãæå®ãããã¨ã¯ã§ãã¾ããã ãã®ããããã¯æã使"
+"ããããã¨ã®ãªãï¼ããªã¢ã¼ãã£ãã¯ãªï¼é¢é£ã®ãããã³ã°æ¹æ³ã§ãã é常ã«ç¹å¥ãª"
+"å ´åï¼ä¾ãã°ãæ¤æ»ãã°ãã¦ã¼ã¶ã»ãã·ã§ã³ãã¼ã¿ãªã©)ã«éã£ã¦ãããã使ãã¹ãã§"
+"ãã"
-#: index.docbook:2414
-msgid "The <literal>meta-type</literal> attribute lets the application specify a custom type that maps database column values to persistent classes which have identifier properties of the type specified by <literal>id-type</literal>. You must specify the mapping from values of the meta-type to class names."
-msgstr "<literal>java.util.Date</literal> ã¨ãã®ãµãã¯ã©ã¹ããSQLåã® <literal>DATE</literal>, <literal>TIME</literal> , <literal>TIMESTAMP</literal> ï¼ã¾ãã¯ãããã¨ç価ãªãã®ï¼ ã¸ã®åãããã³ã°ã"
+#. Tag: para
+#: basic_mapping.xml:2414
+#, no-c-format
+msgid ""
+"The <literal>meta-type</literal> attribute lets the application specify a "
+"custom type that maps database column values to persistent classes which "
+"have identifier properties of the type specified by <literal>id-type</"
+"literal>. You must specify the mapping from values of the meta-type to class "
+"names."
+msgstr ""
+"<literal>meta-type</literal> ã«ããã ã¢ããªã±ã¼ã·ã§ã³ã¯ã«ã¹ã¿ã åãæå®ã§ã"
+"ã¾ãããã®ã«ã¹ã¿ã å㯠ãã¼ã¿ãã¼ã¹ã«ã©ã ã®å¤ãã<literal>id-type</literal> "
+"ã§æå®ããåã® èå¥åããããã£ãæã£ãæ°¸ç¶ã¯ã©ã¹ã¸ãããã³ã°ãã¾ãã meta-"
+"typeã®å¤ããã¯ã©ã¹åã¸ã®ãããã³ã°ãæå®ããªããã°ãªãã¾ããã"
-#: index.docbook:2421
+#. Tag: programlisting
+#: basic_mapping.xml:2421
+#, no-c-format
msgid ""
- "<![CDATA[<any name=\"being\" id-type=\"long\" meta-type=\"string\">\n"
- " <meta-value value=\"TBL_ANIMAL\" class=\"Animal\"/>\n"
- " <meta-value value=\"TBL_HUMAN\" class=\"Human\"/>\n"
- " <meta-value value=\"TBL_ALIEN\" class=\"Alien\"/>\n"
- " <column name=\"table_name\"/>\n"
- " <column name=\"id\"/>\n"
- "</any>]]>"
-msgstr "calendar, calendar_date"
+"<![CDATA[<any name=\"being\" id-type=\"long\" meta-type=\"string\">\n"
+" <meta-value value=\"TBL_ANIMAL\" class=\"Animal\"/>\n"
+" <meta-value value=\"TBL_HUMAN\" class=\"Human\"/>\n"
+" <meta-value value=\"TBL_ALIEN\" class=\"Alien\"/>\n"
+" <column name=\"table_name\"/>\n"
+" <column name=\"id\"/>\n"
+"</any>]]>"
+msgstr ""
-#: index.docbook:2432
+#. Tag: programlisting
+#: basic_mapping.xml:2432
+#, no-c-format
msgid ""
- "<![CDATA[<any\n"
- " name=\"propertyName\"\n"
- " id-type=\"idtypename\"\n"
- " meta-type=\"metatypename\"\n"
- " cascade=\"cascade_style\"\n"
- " access=\"field|property|ClassName\"\n"
- " optimistic-lock=\"true|false\"\n"
- ">\n"
- " <meta-value ... />\n"
- " <meta-value ... />\n"
- " .....\n"
- " <column .... />\n"
- " <column .... />\n"
- " .....\n"
- "</any>]]>"
-msgstr "<literal>java.util.Calendar</literal> ããSQLå ã®ã <literal>TIMESTAMP</literal> , <literal>DATE</literal> (ã¾ãã¯ãããã¨ç価ãªãã®ï¼ã¸ã®åãããã³ã°ã"
+"<![CDATA[<any\n"
+" name=\"propertyName\"\n"
+" id-type=\"idtypename\"\n"
+" meta-type=\"metatypename\"\n"
+" cascade=\"cascade_style\"\n"
+" access=\"field|property|ClassName\"\n"
+" optimistic-lock=\"true|false\"\n"
+">\n"
+" <meta-value ... />\n"
+" <meta-value ... />\n"
+" .....\n"
+" <column .... />\n"
+" <column .... />\n"
+" .....\n"
+"</any>]]>"
+msgstr ""
-#: index.docbook:2435
+#. Tag: para
+#: basic_mapping.xml:2435
+#, no-c-format
msgid "<literal>name</literal>: the property name."
-msgstr "big_decimal, big_integer"
+msgstr "<literal>name</literal>ï¼ããããã£åã"
-#: index.docbook:2440
+#. Tag: para
+#: basic_mapping.xml:2440
+#, no-c-format
msgid "<literal>id-type</literal>: the identifier type."
-msgstr "<literal>java.math.BigDecimal</literal> 㨠<literal>java.math.BigInteger</literal> ãã <literal>NUMERIC</literal>ï¼ã¾ãã¯Oracleã® <literal>NUMBER</literal> ï¼ã¸ã®åãããã³ã°ã"
+msgstr "<literal>id-type</literal>ï¼èå¥åã®åã"
-#: index.docbook:2445
-msgid "<literal>meta-type</literal> (optional - defaults to <literal>string</literal>): Any type that is allowed for a discriminator mapping."
-msgstr "locale, timezone, currency"
+#. Tag: para
+#: basic_mapping.xml:2445
+#, no-c-format
+msgid ""
+"<literal>meta-type</literal> (optional - defaults to <literal>string</"
+"literal>): Any type that is allowed for a discriminator mapping."
+msgstr ""
+"<literal>meta-type</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>string</"
+"literal> ï¼ï¼ ãã£ã¹ã¯ãªããã¼ã¿ãããã³ã°ã§è¨±ãããå"
-#: index.docbook:2451
-msgid "<literal>cascade</literal> (optional- defaults to <literal>none</literal>): the cascade style."
-msgstr "<literal>java.util.Locale</literal> , <literal>java.util.TimeZone</literal> , <literal>java.util.Currency</literal> ãã <literal>VARCHAR</literal> ï¼ã¾ãã¯Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã <literal>Locale</literal> 㨠<literal>Currency</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã ãããã®ISOã³ã¼ãã«ãããã³ã°ããã¾ãã <literal>TimeZone</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã ãããã® <literal>ID</literal> ã«ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2451
+#, no-c-format
+msgid ""
+"<literal>cascade</literal> (optional- defaults to <literal>none</literal>): "
+"the cascade style."
+msgstr ""
+"<literal>cascade</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</"
+"literal> ï¼ï¼ ã«ã¹ã±ã¼ãã®ã¹ã¿ã¤ã«ã"
-#: index.docbook:2463
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Specifies that updates to this property do or do not require acquisition of the optimistic lock. In other words, define if a version increment should occur if this property is dirty."
-msgstr "<literal>java.lang.Class</literal> ãã <literal>VARCHAR</literal> ï¼ã¾ãã¯Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã <literal>Class</literal> ã¯ãã®å®å
¨ä¿®é£¾ãããååã«ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2463
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Specifies that updates to this property do or do not require "
+"acquisition of the optimistic lock. In other words, define if a version "
+"increment should occur if this property is dirty."
+msgstr ""
+"<literal>optimistic-lock</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal> ): ãã®ããããã£ã®æ´æ°ã«æ¥½è¦³ããã¯ã®åå¾ãè¦æ±ãããã©ãããæå®ã"
+"ã¾ãã è¨ãæããã°ããã®ããããã£ããã¼ãã£ã§ããã¨ãã«ãã¼ã¸ã§ã³ãå¢ããã¹"
+"ãããå®ç¾©ãã¾ãã"
-#: index.docbook:2478
+#. Tag: title
+#: basic_mapping.xml:2478
+#, no-c-format
msgid "Hibernate Types"
-msgstr "binary"
+msgstr "Hibernateã®å"
-#: index.docbook:2481
+#. Tag: title
+#: basic_mapping.xml:2481
+#, no-c-format
msgid "Entities and values"
-msgstr "ãã¤ãé
åã¯ãé©åãªSQLã®ãã¤ããªåã«ãããã³ã°ããã¾ãã"
+msgstr "ã¨ã³ãã£ãã£ã¨å¤"
-#: index.docbook:2483
-msgid "To understand the behaviour of various Java language-level objects with respect to the persistence service, we need to classify them into two groups:"
-msgstr "text"
+#. Tag: para
+#: basic_mapping.xml:2483
+#, no-c-format
+msgid ""
+"To understand the behaviour of various Java language-level objects with "
+"respect to the persistence service, we need to classify them into two groups:"
+msgstr ""
+"æ°¸ç¶ãµã¼ãã¹ã«é¢ããæ§ã
ãªJavaè¨èªã¬ãã«ã®ãªãã¸ã§ã¯ãã®æ¯ãèããçè§£ããã"
+"ãã«ã¯ã ãªãã¸ã§ã¯ãã2ã¤ã®ã°ã«ã¼ãã«åããå¿
è¦ãããã¾ãï¼"
-#: index.docbook:2488
-msgid "An <emphasis>entity</emphasis> exists independently of any other objects holding references to the entity. Contrast this with the usual Java model where an unreferenced object is garbage collected. Entities must be explicitly saved and deleted (except that saves and deletions may be <emphasis>cascaded</emphasis> from a parent entity to its children). This is different from the ODMG model of object persistence by reachablity - and corresponds more closely to how application objects are usually used in large systems. Entities support circular and shared references. They may also be versioned."
-msgstr "é·ãJavaæååã¯ãSQLã® <literal>CLOB</literal> ã¾ã㯠<literal>TEXT</literal> åã«ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2488
+#, no-c-format
+msgid ""
+"An <emphasis>entity</emphasis> exists independently of any other objects "
+"holding references to the entity. Contrast this with the usual Java model "
+"where an unreferenced object is garbage collected. Entities must be "
+"explicitly saved and deleted (except that saves and deletions may be "
+"<emphasis>cascaded</emphasis> from a parent entity to its children). This is "
+"different from the ODMG model of object persistence by reachablity - and "
+"corresponds more closely to how application objects are usually used in "
+"large systems. Entities support circular and shared references. They may "
+"also be versioned."
+msgstr ""
+"<emphasis> ã¨ã³ãã£ãã£</emphasis> ã¯ã¨ã³ãã£ãã£ã¸ã®åç
§ãä¿æããã ä»ã®ã"
+"ã¹ã¦ã®ãªãã¸ã§ã¯ãããç¬ç«ãã¦åå¨ãã¾ãã åç
§ãããªããªãã¸ã§ã¯ããã¬ãã¼ã¸"
+"ã³ã¬ã¯ãããã¦ãã¾ãæ§è³ªãæã¤é常ã®Javaã¢ãã«ã¨ã ãããæ¯ã¹ã¦ã¿ã¦ãã ã"
+"ãã ï¼è¦ªã¨ã³ãã£ãã£ããåã¸ãã»ã¼ãã¨åé¤ã <emphasis>ã«ã¹ã±ã¼ã</"
+"emphasis> ãããããã¨ãé¤ãã¦ï¼ ã¨ã³ãã£ãã£ã¯æç¤ºçã«ã»ã¼ãã¾ãã¯åé¤ãããª"
+"ããã°ãªãã¾ããã ããã¯å°éå¯è½æ§ã«ãããªãã¸ã§ã¯ãæ°¸ç¶åã®ODMGã¢ãã«ã¨ã¯ç°"
+"ãªã£ã¦ãã¾ãã å¤§è¦æ¨¡ãªã·ã¹ãã ã§ã¢ããªã±ã¼ã·ã§ã³ãªãã¸ã§ã¯ããæ®éã©ã®ããã«"
+"使ããããã«ãã坿¥ã«å¯¾å¿ãã¾ãã ã¨ã³ãã£ãã£ã¯å¾ªç°ã¨åç
§ã®å
±æããµãã¼ãã"
+"ã¾ãã ã¾ããããã¯ãã¼ã¸ã§ã³ä»ããããã¨ãã§ãã¾ãã"
-#: index.docbook:2499
-msgid "An entity's persistent state consists of references to other entities and instances of <emphasis>value</emphasis> types. Values are primitives, collections (not what's inside a collection), components and certain immutable objects. Unlike entities, values (in particular collections and components) <emphasis>are</emphasis> persisted and deleted by reachability. Since value objects (and primitives) are persisted and deleted along with their containing entity they may not be independently versioned. Values have no independent identity, so they cannot be shared by two entities or collections."
-msgstr "serializable"
+#. Tag: para
+#: basic_mapping.xml:2499
+#, no-c-format
+msgid ""
+"An entity's persistent state consists of references to other entities and "
+"instances of <emphasis>value</emphasis> types. Values are primitives, "
+"collections (not what's inside a collection), components and certain "
+"immutable objects. Unlike entities, values (in particular collections and "
+"components) <emphasis>are</emphasis> persisted and deleted by reachability. "
+"Since value objects (and primitives) are persisted and deleted along with "
+"their containing entity they may not be independently versioned. Values have "
+"no independent identity, so they cannot be shared by two entities or "
+"collections."
+msgstr ""
+"ã¨ã³ãã£ãã£ã®æ°¸ç¶ç¶æ
ã¯ä»ã®ã¨ã³ãã£ãã£ã <emphasis>å¤</emphasis> åã® ã¤ã³"
+"ã¹ã¿ã³ã¹ã¸ã®åç
§ããæ§æããã¾ãã å¤ã¯ããªããã£ããã³ã¬ã¯ã·ã§ã³(ã³ã¬ã¯ã·ã§"
+"ã³ã®å
é¨ã§ã¯ãªã)ã ã³ã³ãã¼ãã³ããä¸å¤ãªãã¸ã§ã¯ãã§ãã ã¨ã³ãã£ãã£ã¨ã¯é"
+"ããå¤ã¯ï¼ç¹ã«ã³ã¬ã¯ã·ã§ã³ã¨ã³ã³ãã¼ãã³ãã«ããã¦ï¼ã å°éå¯è½æ§ã«ããæ°¸ç¶å"
+"ãåé¤ã <emphasis>è¡ããã¾ã</emphasis> ã å¤ãªãã¸ã§ã¯ãï¼ã¨ããªããã£ãï¼"
+"ã¯ãå
å«ããã¨ã³ãã£ãã£ã¨ä¸ç·ã«æ°¸ç¶åãåé¤ãè¡ãããã®ã§ã ããããç¬ç«ã«"
+"ãã¼ã¸ã§ã³ä»ããããã¨ã¯ã§ãã¾ããã å¤ã«ã¯ç¬ç«ããã¢ã¤ãã³ãã£ãã£ããªãã®"
+"ã§ã è¤æ°ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ããããå
±æãããã¨ã¯ã§ãã¾ããã"
-#: index.docbook:2510
-msgid "Up until now, we've been using the term \"persistent class\" to refer to entities. We will continue to do that. Strictly speaking, however, not all user-defined classes with persistent state are entities. A <emphasis>component</emphasis> is a user defined class with value semantics. A Java property of type <literal>java.lang.String</literal> also has value semantics. Given this definition, we can say that all types (classes) provided by the JDK have value type semantics in Java, while user-defined types may be mapped with entity or value type semantics. This decision is up to the application developer. A good hint for an entity class in a domain model are shared references to a single instance of that class, while composition or aggregation usually translates to a value type."
-msgstr "ã·ãªã¢ã©ã¤ãºå¯è½ãªJavaåã¯ãé©åãªSQLã®ãã¤ããªåã«ãããã³ã°ããã¾ãã ããã©ã«ãã§åºæ¬åã§ã¯ãªãã·ãªã¢ã©ã¤ãºå¯è½ãªJavaã¯ã©ã¹ã ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ååãæå®ãããã¨ã§ã Hibernateã®åã <literal>serializable</literal> ã¨ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2510
+#, no-c-format
+msgid ""
+"Up until now, we've been using the term \"persistent class\" to refer to "
+"entities. We will continue to do that. Strictly speaking, however, not all "
+"user-defined classes with persistent state are entities. A "
+"<emphasis>component</emphasis> is a user defined class with value semantics. "
+"A Java property of type <literal>java.lang.String</literal> also has value "
+"semantics. Given this definition, we can say that all types (classes) "
+"provided by the JDK have value type semantics in Java, while user-defined "
+"types may be mapped with entity or value type semantics. This decision is up "
+"to the application developer. A good hint for an entity class in a domain "
+"model are shared references to a single instance of that class, while "
+"composition or aggregation usually translates to a value type."
+msgstr ""
+"ããã¾ã§ãæ°¸ç¶ã¯ã©ã¹ãã¨ããè¨èãã¨ã³ãã£ãã£ã®æå³ã§ä½¿ã£ã¦ãã¾ããã ããã"
+"ãããããã¦ããã¾ãã å³å¯ã«è¨ãã¨ãæ°¸ç¶ç¶æ
ãæã¤ã¦ã¼ã¶å®ç¾©ã®ã¯ã©ã¹ã®ãã¹ã¦"
+"ã ã¨ã³ãã£ãã£ã¨ããããã§ã¯ããã¾ããã <emphasis>ã³ã³ãã¼ãã³ã</"
+"emphasis> ã¯å¤ã®ã»ãã³ãã£ã¯ã¹ãæã¤ã¦ã¼ã¶å®ç¾©ã¯ã©ã¹ã§ãã <literal>java."
+"lang.String</literal> åã®ããããã£ãã¾ãå¤ã®ã»ãã³ãã£ã¯ã¹ãæã¡ã¾ãã å®ç¾©"
+"ãããªããJDKã§æä¾ããã¦ãããã¹ã¦ã®Javaã®å(ã¯ã©ã¹)ãå¤ã®ã»ãã³ãã£ã¯ã¹ãæ"
+"ã¤ã¨ããã¾ãã 䏿¹ã¦ã¼ã¶å®ç¾©åã¯ãã¨ã³ãã£ãã£ãå¤åã®ã»ãã³ãã£ã¯ã¹ã¨ã¨ãã«"
+"ãããã³ã°ã§ãã¾ãã ãã®æ±ºå®ã¯ã¢ããªã±ã¼ã·ã§ã³éçºè
次第ã§ãã ãã®ã¯ã©ã¹ã®"
+"ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã¸ã®å
񑆇
§ã¯ã ãã¡ã¤ã³ã¢ãã«å
ã®ã¨ã³ãã£ãã£ã¯ã©ã¹ã«å¯¾ã"
+"ãè¯ããã³ãã«ãªãã¾ãã 䏿¹åæéç´ãéç´ã¯ãé常å¤åã¸å¤æããã¾ãã"
-#: index.docbook:2524
+#. Tag: para
+#: basic_mapping.xml:2524
+#, no-c-format
msgid "We'll revisit both concepts throughout the documentation."
-msgstr "clob, blob"
+msgstr "æ¬ããã¥ã¡ã³ããéãã¦ãä½åº¦ããã®æ¦å¿µãåãä¸ãã¾ãã"
-#: index.docbook:2528
-msgid "The challenge is to map the Java type system (and the developers' definition of entities and value types) to the SQL/database type system. The bridge between both systems is provided by Hibernate: for entities we use <literal><class></literal>, <literal><subclass></literal> and so on. For value types we use <literal><property></literal>, <literal><component></literal>, etc, usually with a <literal>type</literal> attribute. The value of this attribute is the name of a Hibernate <emphasis>mapping type</emphasis>. Hibernate provides many mappings (for standard JDK value types) out of the box. You can write your own mapping types and implement your custom conversion strategies as well, as you'll see later."
-msgstr "JDBCã¯ã©ã¹ <literal>java.sql.Clob</literal> 㨠<literal>java.sql.Blob</literal> ã«å¯¾ããåãããã³ã°ã blobãclobãªãã¸ã§ã¯ãã¯ãã©ã³ã¶ã¯ã·ã§ã³ã®å¤ã§ã¯åå©ç¨ã§ããªãããã ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦ã¯ä¸ä¾¿ããããã¾ããã ï¼ããã«ã¯ãã©ã¤ããµãã¼ããä¸è²«ãã¦ãã¾ãããï¼"
+#. Tag: para
+#: basic_mapping.xml:2528
+#, no-c-format
+msgid ""
+"The challenge is to map the Java type system (and the developers' definition "
+"of entities and value types) to the SQL/database type system. The bridge "
+"between both systems is provided by Hibernate: for entities we use "
+"<literal><class></literal>, <literal><subclass></literal> and so "
+"on. For value types we use <literal><property></literal>, <literal><"
+"component></literal>, etc, usually with a <literal>type</literal> "
+"attribute. The value of this attribute is the name of a Hibernate "
+"<emphasis>mapping type</emphasis>. Hibernate provides many mappings (for "
+"standard JDK value types) out of the box. You can write your own mapping "
+"types and implement your custom conversion strategies as well, as you'll see "
+"later."
+msgstr ""
+"Javaåã®ã·ã¹ãã (ãããã¯éçºè
ãå®ç¾©ããã¨ã³ãã£ãã£ã¨å¤å)ã SQL/ãã¼ã¿ãã¼"
+"ã¹åã®ã·ã¹ãã ã«ãããã³ã°ãããã¨ã¯é£ããã§ãã Hibernateã¯ï¼ã¤ã®ã·ã¹ãã ã®"
+"æ¶ãæ©ãæä¾ãã¾ãã ã¨ã³ãã£ãã£ã«å¯¾ãã¦ã¯ <literal><class></literal> "
+"ã <literal><subclass></literal> ãªã©ã使ç¨ãã¾ãã å¤åã«å¯¾ãã¦ã¯ "
+"<literal><property></literal> ã <literal><component></literal> "
+"ãªã©ããé常 <literal>type</literal> ã¨ã¨ãã«ä½¿ãã¾ãã ãã®å±æ§ã®å¤ã¯"
+"Hibernateã® <emphasis>ãããã³ã°å</emphasis> ã®ååã§ãã Hibernateã¯(æ¨æº"
+"JDKã®å¤åã«å¯¾ãã¦)å¤ãã®èªç±ãªãããã³ã°ãæä¾ãã¾ãã å¾ã§è¦ãããã«ãèªèº«ã®"
+"ãããã³ã°åãè¨è¿°ããåæ§ã«ã«ã¹ã¿ã ã®å¤ææ¦ç¥ãå®è£
ãããã¨ãã§ãã¾ãã"
-#: index.docbook:2541
+#. Tag: para
+#: basic_mapping.xml:2541
+#, no-c-format
msgid "All built-in Hibernate types except collections support null semantics."
-msgstr "imm_date, imm_time, imm_timestamp, imm_calendar, imm_calendar_date, imm_serializable, imm_binary"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ãé¤ãçµã¿è¾¼ã¿ã®Hibernateã®åã¯ãã¹ã¦ãnullã»ãã³ãã£ã¯ã¹ããµãã¼"
+"ããã¾ãã"
-#: index.docbook:2548
+#. Tag: title
+#: basic_mapping.xml:2548
+#, no-c-format
msgid "Basic value types"
-msgstr "ã»ã¨ãã©ã®å ´åã«å¯å¤ã§ããJavaã®åã«å¯¾ããåãããã³ã°ã Hibernateã¯ä¸å¤ãªJavaã®åã«å¯¾ãã¦ã¯æé©åãè¡ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãããä¸å¤ãªãã¸ã§ã¯ãã¨ãã¦æ±ãã¾ãã ä¾ãã° <literal>imm_timestamp</literal> ã¨ãã¦ãããããã¤ã³ã¹ã¿ã³ã¹ã«å¯¾ãã¦ã <literal>Date.setTime()</literal> ãå¼ã³åºãã¦ã¯ãªãã¾ããã ããããã£ã®å¤ã夿´ããã®å¤æ´ãæ°¸ç¶åããããã«ã¯ã ã¢ããªã±ã¼ã·ã§ã³ã¯ããããã£ã«å¯¾ãã¦æ°ãã(åä¸ã§ãªã)ãªãã¸ã§ã¯ããå²ãå½ã¦ãªããã°ãªãã¾ããã"
+msgstr "åºæ¬çãªå"
-#: index.docbook:2550
-msgid "The built-in <emphasis>basic mapping types</emphasis> may be roughly categorized into"
-msgstr "ã¨ã³ãã£ãã£ã¨ã³ã¬ã¯ã·ã§ã³ã®ã¦ãã¼ã¯ãªèå¥åã¯ã<literal>binary</literal> , <literal>blob</literal> , <literal>clob</literal> ãé¤ããã©ããªåºæ¬åã§ãæ§ãã¾ããã ï¼è¤åèå¥åã§ãæ§ãã¾ããã以ä¸ãè¦ã¦ãã ãããï¼"
+#. Tag: para
+#: basic_mapping.xml:2550
+#, fuzzy, no-c-format
+msgid ""
+"The built-in <emphasis>basic mapping types</emphasis> may be roughly "
+"categorized into"
+msgstr ""
+"çµã¿è¾¼ã¿ã® <emphasis>åºæ¬çãªãããã³ã°å</emphasis> ã¯å¤§ã¾ãã«ä»¥ä¸ã®ããã«å"
+"ãããã¾ãã <placeholder-1/>"
-#: index.docbook:2555
-msgid "integer, long, short, float, double, character, byte, boolean, yes_no, true_false"
-msgstr "åºæ¬çãªå¤åã«ã¯ã<literal>org.hibernate.Hibernate</literal> ã§å®ç¾©ããã <literal>Type</literal> 宿°ãããããããã¾ãã ä¾ãã°ã<literal>Hibernate.STRING</literal> 㯠<literal>string</literal> åã表ç¾ãã¦ãã¾ãã"
+#. Tag: literal
+#: basic_mapping.xml:2555
+#, no-c-format
+msgid ""
+"integer, long, short, float, double, character, byte, boolean, yes_no, "
+"true_false"
+msgstr ""
+"integer, long, short, float, double, character, byte, boolean, yes_no, "
+"true_false"
-#: index.docbook:2558
-msgid "Type mappings from Java primitives or wrapper classes to appropriate (vendor-specific) SQL column types. <literal>boolean, yes_no</literal> and <literal>true_false</literal> are all alternative encodings for a Java <literal>boolean</literal> or <literal>java.lang.Boolean</literal>."
-msgstr "ã«ã¹ã¿ã å"
+#. Tag: para
+#: basic_mapping.xml:2558
+#, no-c-format
+msgid ""
+"Type mappings from Java primitives or wrapper classes to appropriate (vendor-"
+"specific) SQL column types. <literal>boolean, yes_no</literal> and "
+"<literal>true_false</literal> are all alternative encodings for a Java "
+"<literal>boolean</literal> or <literal>java.lang.Boolean</literal>."
+msgstr ""
+"Javaã®ããªããã£ããã©ããã¼ã¯ã©ã¹ããé©åãªï¼ãã³ãã¼åºæã®ï¼ SQLã«ã©ã åã¸"
+"ã®åãããã³ã°ã <literal>boolean, yes_no</literal> 㨠<literal>true_false</"
+"literal> ã¯ã ãã¹ã¦Javaã® <literal>boolean</literal> ã¾ã㯠<literal>java."
+"lang.Boolean</literal> ã®ä»£æ¿ã¨ã³ã³ã¼ãã§ãã"
-#: index.docbook:2567
+#. Tag: literal
+#: basic_mapping.xml:2567
+#, no-c-format
msgid "string"
-msgstr "éçºè
ãç¬èªã®å¤åã使ãããã¨ã¯ãæ¯è¼çç°¡åã§ãã ä¾ãã°ã<literal>java.lang.BigInteger</literal> åã®ããããã£ã <literal>VARCHAR</literal> ã«ã©ã ã«æ°¸ç¶åãããããããã¾ããã Hibernateã¯ãã®ããã®çµã¿è¾¼ã¿åãç¨æãã¦ãã¾ããã ãããã«ã¹ã¿ã åã¯ãããããã£ï¼ã¾ãã¯ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ï¼ã1ã¤ã®ãã¼ãã«ã«ã©ã ã« ãããã³ã°ããã®ã«å¶éã¯ããã¾ããã ãã®ããä¾ãã°ã<literal>java.lang.String</literal> åã® <literal>getName()</literal> / <literal>setName()</literal> Javaããããã£ã <literal>FIRST_NAME</literal> , <literal>INITIAL</literal>, <literal>SURNAME</literal> ã«ã©ã ã«æ°¸ç¶åã§ãã¾ãã"
+msgstr "string"
-#: index.docbook:2569
-msgid "A type mapping from <literal>java.lang.String</literal> to <literal>VARCHAR</literal> (or Oracle <literal>VARCHAR2</literal>)."
-msgstr "ã«ã¹ã¿ã åãå®è£
ããã«ã¯ã<literal>org.hibernate.UserType</literal> ã¾ã㯠<literal>org.hibernate.CompositeUserType</literal> ãå®è£
ãã åã®å®å
¨ä¿®é£¾ãããååã使ã£ã¦ããããã£ãå®ç¾©ãã¾ãã ã©ã®ãããªç¨®é¡ã®ãã®ãå¯è½ãã調ã¹ãã«ã¯ã <literal>org.hibernate.test.DoubleStringType</literal> ã確èªãã¦ãã ããã"
+#. Tag: para
+#: basic_mapping.xml:2569
+#, no-c-format
+msgid ""
+"A type mapping from <literal>java.lang.String</literal> to <literal>VARCHAR</"
+"literal> (or Oracle <literal>VARCHAR2</literal>)."
+msgstr ""
+"<literal>java.lang.String</literal> ãã <literal>VARCHAR</literal> ï¼ã¾ãã¯"
+"Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã"
-#: index.docbook:2576
+#. Tag: literal
+#: basic_mapping.xml:2576
+#, no-c-format
msgid "date, time, timestamp"
+msgstr "date, time, timestamp"
+
+#. Tag: para
+#: basic_mapping.xml:2578
+#, no-c-format
+msgid ""
+"Type mappings from <literal>java.util.Date</literal> and its subclasses to "
+"SQL types <literal>DATE</literal>, <literal>TIME</literal> and "
+"<literal>TIMESTAMP</literal> (or equivalent)."
msgstr ""
- "<![CDATA[<property name=\"twoStrings\" type=\"org.hibernate.test.DoubleStringType\">
-\n"
- " <column name=\"first_string\"/>
-\n"
- " <column name=\"second_string\"/>
-\n"
- "</property>]]>"
+"<literal>java.util.Date</literal> ã¨ãã®ãµãã¯ã©ã¹ããSQLåã® <literal>DATE</"
+"literal>, <literal>TIME</literal> , <literal>TIMESTAMP</literal> ï¼ã¾ãã¯ãã"
+"ãã¨ç価ãªãã®ï¼ ã¸ã®åãããã³ã°ã"
-#: index.docbook:2578
-msgid "Type mappings from <literal>java.util.Date</literal> and its subclasses to SQL types <literal>DATE</literal>, <literal>TIME</literal> and <literal>TIMESTAMP</literal> (or equivalent)."
-msgstr "<literal><column></literal> ã¿ã°ã§ã ããããã£ãè¤æ°ã®ã«ã©ã ã¸ãããã³ã°ã§ãããã¨ã«æ³¨ç®ãã¦ãã ããã"
-
-#: index.docbook:2586
+#. Tag: literal
+#: basic_mapping.xml:2586
+#, no-c-format
msgid "calendar, calendar_date"
-msgstr "<literal>CompositeUserType</literal> , <literal>EnhancedUserType</literal> , <literal>UserCollectionType</literal> , <literal>UserVersionType</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ãããç¹æ®ãªä½¿ç¨æ³ã«å¯¾ãã¦ã®ãµãã¼ããæä¾ãã¾ãã"
+msgstr "calendar, calendar_date"
-#: index.docbook:2588
-msgid "Type mappings from <literal>java.util.Calendar</literal> to SQL types <literal>TIMESTAMP</literal> and <literal>DATE</literal> (or equivalent)."
-msgstr "ãããã³ã°ãã¡ã¤ã«å
ã§ <literal>UserType</literal> ã¸ãã©ã¡ã¼ã¿ãæä¾ã§ãã¾ãã ãã®ããã«ã¯ã<literal>UserType</literal> 㯠<literal>org.hibernate.usertype.ParameterizedType</literal> ãå®è£
ããªãã¦ã¯ãªãã¾ããã ã«ã¹ã¿ã åãã©ã¡ã¼ã¿ãæä¾ããããã«ã ãããã³ã°ãã¡ã¤ã«å
ã§ <literal><type></literal> è¦ç´ ã使ç¨ã§ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2588
+#, no-c-format
+msgid ""
+"Type mappings from <literal>java.util.Calendar</literal> to SQL types "
+"<literal>TIMESTAMP</literal> and <literal>DATE</literal> (or equivalent)."
+msgstr ""
+"<literal>java.util.Calendar</literal> ããSQLå ã®ã <literal>TIMESTAMP</"
+"literal> , <literal>DATE</literal> (ã¾ãã¯ãããã¨ç価ãªãã®ï¼ã¸ã®åãããã³"
+"ã°ã"
-#: index.docbook:2596
+#. Tag: literal
+#: basic_mapping.xml:2596
+#, no-c-format
msgid "big_decimal, big_integer"
+msgstr "big_decimal, big_integer"
+
+#. Tag: para
+#: basic_mapping.xml:2598
+#, no-c-format
+msgid ""
+"Type mappings from <literal>java.math.BigDecimal</literal> and <literal>java."
+"math.BigInteger</literal> to <literal>NUMERIC</literal> (or Oracle "
+"<literal>NUMBER</literal>)."
msgstr ""
- "<![CDATA[<property name=\"priority\">
-\n"
- " <type name=\"com.mycompany.usertypes.DefaultValueIntegerType\">
-\n"
- " <param name=\"default\">0</param>
-\n"
- " </type>
-\n"
- "</property>]]>"
+"<literal>java.math.BigDecimal</literal> 㨠<literal>java.math.BigInteger</"
+"literal> ãã <literal>NUMERIC</literal>ï¼ã¾ãã¯Oracleã® <literal>NUMBER</"
+"literal> ï¼ã¸ã®åãããã³ã°ã"
-#: index.docbook:2598
-msgid "Type mappings from <literal>java.math.BigDecimal</literal> and <literal>java.math.BigInteger</literal> to <literal>NUMERIC</literal> (or Oracle <literal>NUMBER</literal>)."
-msgstr "<literal>UserType</literal> ã¯ã 弿°ã¨ãã¦æ¸¡ããã <literal>Properties</literal> ãªãã¸ã§ã¯ãããã <literal>default</literal> ã§æå®ãããã©ã¡ã¼ã¿ã«å¯¾ããå¤ãæ¤ç´¢ãããã¨ãã§ãã¾ãã"
-
-#: index.docbook:2606
+#. Tag: literal
+#: basic_mapping.xml:2606
+#, no-c-format
msgid "locale, timezone, currency"
-msgstr "ç¹å®ã® <literal>UserType</literal> ãé »ç¹ã«ä½¿ç¨ãããªãã°ãçãååãå®ç¾©ããã¨ä¾¿å©ã«ãªãã§ãããã <literal><typedef></literal> è¦ç´ ã使ã£ã¦ãã®ãããªãã¨ãè¡ãã¾ãã Typedefsã¯ã«ã¹ã¿ã åã«ååãå²ãå½ã¦ã¾ãã ãã®åããã©ã¡ã¼ã¿ãæã¤ãªãã°ã ãã©ã¡ã¼ã¿ã®ããã©ã«ãå¤ã®ãªã¹ããå«ããã¨ãã§ãã¾ãã"
+msgstr "locale, timezone, currency"
-#: index.docbook:2608
-msgid "Type mappings from <literal>java.util.Locale</literal>, <literal>java.util.TimeZone</literal> and <literal>java.util.Currency</literal> to <literal>VARCHAR</literal> (or Oracle <literal>VARCHAR2</literal>). Instances of <literal>Locale</literal> and <literal>Currency</literal> are mapped to their ISO codes. Instances of <literal>TimeZone</literal> are mapped to their <literal>ID</literal>."
+#. Tag: para
+#: basic_mapping.xml:2608
+#, no-c-format
+msgid ""
+"Type mappings from <literal>java.util.Locale</literal>, <literal>java.util."
+"TimeZone</literal> and <literal>java.util.Currency</literal> to "
+"<literal>VARCHAR</literal> (or Oracle <literal>VARCHAR2</literal>). "
+"Instances of <literal>Locale</literal> and <literal>Currency</literal> are "
+"mapped to their ISO codes. Instances of <literal>TimeZone</literal> are "
+"mapped to their <literal>ID</literal>."
msgstr ""
- "<![CDATA[<typedef class=\"com.mycompany.usertypes.DefaultValueIntegerType\" name=\"default_zero\">
-\n"
- " <param name=\"default\">0</param>
-\n"
- "</typedef>]]>"
+"<literal>java.util.Locale</literal> , <literal>java.util.TimeZone</"
+"literal> , <literal>java.util.Currency</literal> ãã <literal>VARCHAR</"
+"literal> ï¼ã¾ãã¯Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã "
+"<literal>Locale</literal> 㨠<literal>Currency</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã "
+"ãããã®ISOã³ã¼ãã«ãããã³ã°ããã¾ãã <literal>TimeZone</literal> ã®ã¤ã³ã¹"
+"ã¿ã³ã¹ã¯ã ãããã® <literal>ID</literal> ã«ãããã³ã°ããã¾ãã"
-#: index.docbook:2620
+#. Tag: literal
+#: basic_mapping.xml:2620
+#, fuzzy, no-c-format
msgid "<literal>class</literal>"
-msgstr "<![CDATA[<property name=\"priority\" type=\"default_zero\"/>]]>"
+msgstr "<literal>all</literal> ãã¹ã¦ã®ã«ã©ã ããã§ãã¯ãã¾ãã"
-#: index.docbook:2622
-msgid "A type mapping from <literal>java.lang.Class</literal> to <literal>VARCHAR</literal> (or Oracle <literal>VARCHAR2</literal>). A <literal>Class</literal> is mapped to its fully qualified name."
-msgstr "ããããã£ã®ãããã³ã°ã§åãã©ã¡ã¼ã¿ã使ããã¨ã§ã typedefã§æä¾ããããã©ã¡ã¼ã¿ããã®é½åº¦ãªã¼ãã¼ã©ã¤ããããã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:2622
+#, no-c-format
+msgid ""
+"A type mapping from <literal>java.lang.Class</literal> to <literal>VARCHAR</"
+"literal> (or Oracle <literal>VARCHAR2</literal>). A <literal>Class</literal> "
+"is mapped to its fully qualified name."
+msgstr ""
+"<literal>java.lang.Class</literal> ãã <literal>VARCHAR</literal> ï¼ã¾ãã¯"
+"Oracleã® <literal>VARCHAR2</literal> ï¼ã¸ã®åãããã³ã°ã <literal>Class</"
+"literal> ã¯ãã®å®å
¨ä¿®é£¾ãããååã«ãããã³ã°ããã¾ãã"
-#: index.docbook:2630
+#. Tag: literal
+#: basic_mapping.xml:2630
+#, no-c-format
msgid "binary"
-msgstr "Hibernateã®å¹
åºãçµã¿è¾¼ã¿åã¨ã³ã³ãã¼ãã³ãã«å¯¾ãããµãã¼ãã¯ã ã«ã¹ã¿ã åããã£ãã« <emphasis>使ããªã</emphasis> ã¨ãããã¨ãæå³ãã¾ãã ããã§ããªããã¢ããªã±ã¼ã·ã§ã³ã§é »åºãã(ã¨ã³ãã£ãã£ã§ã¯ãªã)ã¯ã©ã¹ã«å¯¾ããã«ã¹ã¿ã åã®ä½¿ç¨ã¯ã ããããæ¹ã§ããã¨ã¿ãªããã¾ãã ä¾ãã° <literal>MonetaryAmount</literal> ã¯ã©ã¹ã¯ã³ã³ãã¼ãã³ãã¨ãã¦ç°¡åã«ãããã³ã°ã§ãã¾ããã <literal>CompositeUserType</literal> ã®è¯ãåè£ã§ãã ã«ã¹ã¿ã åã使ç¨ããåæ©ã®1ã¤ã¯æ½è±¡åã§ãã ã«ã¹ã¿ã åã使ããã¨ã§ãé貨ãã©ã®ããã«è¡¨ç¾ãããã¨ã ãããã³ã°ããã¥ã¡ã³ãã¯èµ·ããããå¤åã«å¯¾å¿ã§ãã¾ãã"
+msgstr "binary"
-#: index.docbook:2632
+#. Tag: para
+#: basic_mapping.xml:2632
+#, no-c-format
msgid "Maps byte arrays to an appropriate SQL binary type."
-msgstr "ï¼ã¤ã®ã¯ã©ã¹ã«ï¼ã¤ä»¥ä¸ã®ãããã³ã°"
+msgstr "ãã¤ãé
åã¯ãé©åãªSQLã®ãã¤ããªåã«ãããã³ã°ããã¾ãã"
-#: index.docbook:2638
+#. Tag: literal
+#: basic_mapping.xml:2638
+#, no-c-format
msgid "text"
-msgstr "ããæ°¸ç¶ã¯ã©ã¹ã«ãä¸ã¤ä»¥ä¸ã®ãããã³ã°ãæä¾ãããã¨ãåºæ¥ã¾ãã ãã®å ´åããããã³ã°ããï¼ã¤ã®ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãæç¢ºã«ããããã«ã <emphasis>ã¨ã³ãã£ãã£å</emphasis> ãæå®ããªããã°ãªãã¾ãã (ããã©ã«ãã§ã¯ã¨ã³ãã£ãã£åã¯ã¯ã©ã¹åã¨åãã§ãã)ã æ°¸ç¶ãªãã¸ã§ã¯ããæ±ãã¨ããã¯ã¨ãªãæ¸ãè¾¼ãã¨ãã æå®ãããã¨ã³ãã£ãã£ã¸ã®é¢é£ããããã³ã°ããã¨ãã«ã¯ã Hibernateã§ã¯ã¨ã³ãã£ãã£åãæå®ããªããã°ãªãã¾ããã"
+msgstr "text"
-#: index.docbook:2640
-msgid "Maps long Java strings to a SQL <literal>CLOB</literal> or <literal>TEXT</literal> type."
+#. Tag: para
+#: basic_mapping.xml:2640
+#, no-c-format
+msgid ""
+"Maps long Java strings to a SQL <literal>CLOB</literal> or <literal>TEXT</"
+"literal> type."
msgstr ""
- "<![CDATA[<class name=\"Contract\" table=\"Contracts\"
-\n"
- " entity-name=\"CurrentContract\">
-\n"
- " ...
-\n"
- " <set name=\"history\" inverse=\"true\"
-\n"
- " order-by=\"effectiveEndDate desc\">
-\n"
- " <key column=\"currentContractId\"/>
-\n"
- " <one-to-many entity-name=\"HistoricalContract\"/>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Contract\" table=\"ContractHistory\"
-\n"
- " entity-name=\"HistoricalContract\">
-\n"
- " ...
-\n"
- " <many-to-one name=\"currentContract\"
-\n"
- " column=\"currentContractId\"
-\n"
- " entity-name=\"CurrentContract\"/>
-\n"
- "</class>]]>"
+"é·ãJavaæååã¯ãSQLã® <literal>CLOB</literal> ã¾ã㯠<literal>TEXT</"
+"literal> åã«ãããã³ã°ããã¾ãã"
-#: index.docbook:2647
+#. Tag: literal
+#: basic_mapping.xml:2647
+#, no-c-format
msgid "serializable"
-msgstr "é¢é£ã<literal>class</literal> ã®ä»£ããã« <literal>entity-name</literal> ã使ã£ã¦ã ã©ã®ããã«æå®ãããã®ãã«æ³¨ç®ãã¦ãã ããã"
+msgstr "serializable"
-#: index.docbook:2649
-msgid "Maps serializable Java types to an appropriate SQL binary type. You may also indicate the Hibernate type <literal>serializable</literal> with the name of a serializable Java class or interface that does not default to a basic type."
-msgstr "ããã¯ã¯ã©ã¼ãã§å²ãã SQL èå¥å"
+#. Tag: para
+#: basic_mapping.xml:2649
+#, no-c-format
+msgid ""
+"Maps serializable Java types to an appropriate SQL binary type. You may also "
+"indicate the Hibernate type <literal>serializable</literal> with the name of "
+"a serializable Java class or interface that does not default to a basic type."
+msgstr ""
+"ã·ãªã¢ã©ã¤ãºå¯è½ãªJavaåã¯ãé©åãªSQLã®ãã¤ããªåã«ãããã³ã°ããã¾ãã ã"
+"ãã©ã«ãã§åºæ¬åã§ã¯ãªãã·ãªã¢ã©ã¤ãºå¯è½ãªJavaã¯ã©ã¹ã ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®åå"
+"ãæå®ãããã¨ã§ã Hibernateã®åã <literal>serializable</literal> ã¨ãããã¨"
+"ãã§ãã¾ãã"
-#: index.docbook:2658
+#. Tag: literal
+#: basic_mapping.xml:2658
+#, no-c-format
msgid "clob, blob"
-msgstr "ãããã³ã°ããã¥ã¡ã³ãã§ãã¼ãã«ãã«ã©ã ã®ååãããã¯ã¯ã©ã¼ãã§å²ããã¨ã§ã Hibernateã§çæãããSQLä¸ã®èå¥åãå¼ç¨ããããã¨ãã§ãã¾ãã Hibernateã¯SQLã® <literal>Dialect</literal> ã«å¯¾å¿ãããæ£ããå¼ç¨ã¹ã¿ã¤ã«ã使ãã¾ã ï¼æ®éã¯ããã«ã¯ã©ã¼ãã§ãããSQL Serverã§ã¯ããæ¬å¼§ãMySQLã§ã¯ããã¯ã¯ã©ã¼ãã§ãï¼ã"
+msgstr "clob, blob"
-#: index.docbook:2660
-msgid "Type mappings for the JDBC classes <literal>java.sql.Clob</literal> and <literal>java.sql.Blob</literal>. These types may be inconvenient for some applications, since the blob or clob object may not be reused outside of a transaction. (Furthermore, driver support is patchy and inconsistent.)"
+#. Tag: para
+#: basic_mapping.xml:2660
+#, no-c-format
+msgid ""
+"Type mappings for the JDBC classes <literal>java.sql.Clob</literal> and "
+"<literal>java.sql.Blob</literal>. These types may be inconvenient for some "
+"applications, since the blob or clob object may not be reused outside of a "
+"transaction. (Furthermore, driver support is patchy and inconsistent.)"
msgstr ""
- "<![CDATA[<class name=\"LineItem\" table=\"`Line Item`\">
-\n"
- " <id name=\"id\" column=\"`Item Id`\"/><generator class=\"assigned\"/></id>
-\n"
- " <property name=\"itemNumber\" column=\"`Item #`\"/>
-\n"
- " ...
-\n"
- "</class>]]>"
+"JDBCã¯ã©ã¹ <literal>java.sql.Clob</literal> 㨠<literal>java.sql.Blob</"
+"literal> ã«å¯¾ããåãããã³ã°ã blobãclobãªãã¸ã§ã¯ãã¯ãã©ã³ã¶ã¯ã·ã§ã³ã®å¤"
+"ã§ã¯åå©ç¨ã§ããªãããã ã¢ããªã±ã¼ã·ã§ã³ã«ãã£ã¦ã¯ä¸ä¾¿ããããã¾ããã ï¼ã"
+"ãã«ã¯ãã©ã¤ããµãã¼ããä¸è²«ãã¦ãã¾ãããï¼"
-#: index.docbook:2670
-msgid "imm_date, imm_time, imm_timestamp, imm_calendar, imm_calendar_date, imm_serializable, imm_binary"
-msgstr "ã¡ã¿ãã¼ã¿ã®ä»£æ¿ææ®µ"
+#. Tag: literal
+#: basic_mapping.xml:2670
+#, no-c-format
+msgid ""
+"imm_date, imm_time, imm_timestamp, imm_calendar, imm_calendar_date, "
+"imm_serializable, imm_binary"
+msgstr ""
+"imm_date, imm_time, imm_timestamp, imm_calendar, imm_calendar_date, "
+"imm_serializable, imm_binary"
-#: index.docbook:2674
-msgid "Type mappings for what are usually considered mutable Java types, where Hibernate makes certain optimizations appropriate only for immutable Java types, and the application treats the object as immutable. For example, you should not call <literal>Date.setTime()</literal> for an instance mapped as <literal>imm_timestamp</literal>. To change the value of the property, and have that change made persistent, the application must assign a new (nonidentical) object to the property."
-msgstr "XMLã®è¨è¿°ä»¥å¤ã«ã Hibernateã§ã¯O/Rãããã³ã°ã®ã¡ã¿ãã¼ã¿ãå®ç¾©ããä»£æ¿æ¹æ³ãããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2674
+#, no-c-format
+msgid ""
+"Type mappings for what are usually considered mutable Java types, where "
+"Hibernate makes certain optimizations appropriate only for immutable Java "
+"types, and the application treats the object as immutable. For example, you "
+"should not call <literal>Date.setTime()</literal> for an instance mapped as "
+"<literal>imm_timestamp</literal>. To change the value of the property, and "
+"have that change made persistent, the application must assign a new "
+"(nonidentical) object to the property."
+msgstr ""
+"ã»ã¨ãã©ã®å ´åã«å¯å¤ã§ããJavaã®åã«å¯¾ããåãããã³ã°ã Hibernateã¯ä¸å¤ãª"
+"Javaã®åã«å¯¾ãã¦ã¯æé©åãè¡ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãããä¸å¤ãªãã¸ã§ã¯ãã¨ã"
+"ã¦æ±ãã¾ãã ä¾ãã° <literal>imm_timestamp</literal> ã¨ãã¦ãããããã¤ã³ã¹ã¿"
+"ã³ã¹ã«å¯¾ãã¦ã <literal>Date.setTime()</literal> ãå¼ã³åºãã¦ã¯ãªãã¾ããã "
+"ããããã£ã®å¤ã夿´ããã®å¤æ´ãæ°¸ç¶åããããã«ã¯ã ã¢ããªã±ã¼ã·ã§ã³ã¯ããã"
+"ãã£ã«å¯¾ãã¦æ°ãã(åä¸ã§ãªã)ãªãã¸ã§ã¯ããå²ãå½ã¦ãªããã°ãªãã¾ããã"
-#: index.docbook:2689
-msgid "Unique identifiers of entities and collections may be of any basic type except <literal>binary</literal>, <literal>blob</literal> and <literal>clob</literal>. (Composite identifiers are also allowed, see below.)"
-msgstr "XDoclet ãã¼ã¯ã¢ããã®ä½¿ç¨"
+#. Tag: para
+#: basic_mapping.xml:2689
+#, no-c-format
+msgid ""
+"Unique identifiers of entities and collections may be of any basic type "
+"except <literal>binary</literal>, <literal>blob</literal> and <literal>clob</"
+"literal>. (Composite identifiers are also allowed, see below.)"
+msgstr ""
+"ã¨ã³ãã£ãã£ã¨ã³ã¬ã¯ã·ã§ã³ã®ã¦ãã¼ã¯ãªèå¥åã¯ã<literal>binary</literal> , "
+"<literal>blob</literal> , <literal>clob</literal> ãé¤ããã©ããªåºæ¬åã§ãæ§"
+"ãã¾ããã ï¼è¤åèå¥åã§ãæ§ãã¾ããã以ä¸ãè¦ã¦ãã ãããï¼"
-#: index.docbook:2695
-msgid "The basic value types have corresponding <literal>Type</literal> constants defined on <literal>org.hibernate.Hibernate</literal>. For example, <literal>Hibernate.STRING</literal> represents the <literal>string</literal> type."
-msgstr "å¤ãã®Hibernateã¦ã¼ã¶ã¯XDocletã® <literal>@hibernate.tags</literal> ã使ã£ã¦ã ã½ã¼ã¹ã³ã¼ãå
ã«ç´æ¥ãããã³ã°æ
å ±ãåãè¾¼ããã¨ã好ã¿ã¾ãã ããã¯å³å¯ã«è¨ãã°XDocletã®åéãªã®ã§ãæ¬ããã¥ã¡ã³ãã§ã¯ãã®æ¹æ³ã対象ã¨ã¯ãã¾ããã ãããXDocletã使ã£ã以ä¸ã® <literal>Cat</literal> ãããã³ã°ã®ä¾ã示ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2695
+#, no-c-format
+msgid ""
+"The basic value types have corresponding <literal>Type</literal> constants "
+"defined on <literal>org.hibernate.Hibernate</literal>. For example, "
+"<literal>Hibernate.STRING</literal> represents the <literal>string</literal> "
+"type."
+msgstr ""
+"åºæ¬çãªå¤åã«ã¯ã<literal>org.hibernate.Hibernate</literal> ã§å®ç¾©ããã "
+"<literal>Type</literal> 宿°ãããããããã¾ãã ä¾ãã°ã<literal>Hibernate."
+"STRING</literal> 㯠<literal>string</literal> åã表ç¾ãã¦ãã¾ãã"
-#: index.docbook:2704
+#. Tag: title
+#: basic_mapping.xml:2704
+#, no-c-format
msgid "Custom value types"
+msgstr "ã«ã¹ã¿ã å"
+
+#. Tag: para
+#: basic_mapping.xml:2706
+#, no-c-format
+msgid ""
+"It is relatively easy for developers to create their own value types. For "
+"example, you might want to persist properties of type <literal>java.lang."
+"BigInteger</literal> to <literal>VARCHAR</literal> columns. Hibernate does "
+"not provide a built-in type for this. But custom types are not limited to "
+"mapping a property (or collection element) to a single table column. So, for "
+"example, you might have a Java property <literal>getName()</literal>/"
+"<literal>setName()</literal> of type <literal>java.lang.String</literal> "
+"that is persisted to the columns <literal>FIRST_NAME</literal>, "
+"<literal>INITIAL</literal>, <literal>SURNAME</literal>."
msgstr ""
- "<![CDATA[package eg;
-\n"
- "import java.util.Set;
-\n"
- "import java.util.Date;
-\n"
- "
-\n"
- "/**
-\n"
- " * @hibernate.class
-\n"
- " * table=\"CATS\"
-\n"
- " */
-\n"
- "public class Cat {
-\n"
- " private Long id; // identifier
-\n"
- " private Date birthdate;
-\n"
- " private Cat mother;
-\n"
- " private Set kittens
-\n"
- " private Color color;
-\n"
- " private char sex;
-\n"
- " private float weight;
-\n"
- "
-\n"
- " /*
-\n"
- " * @hibernate.id
-\n"
- " * generator-class=\"native\"
-\n"
- " * column=\"CAT_ID\"
-\n"
- " */
-\n"
- " public Long getId() {
-\n"
- " return id;
-\n"
- " }
-\n"
- " private void setId(Long id) {
-\n"
- " this.id=id;
-\n"
- " }
-\n"
- "
-\n"
- " /**
-\n"
- " * @hibernate.many-to-one
-\n"
- " * column=\"PARENT_ID\"
-\n"
- " */
-\n"
- " public Cat getMother() {
-\n"
- " return mother;
-\n"
- " }
-\n"
- " void setMother(Cat mother) {
-\n"
- " this.mother = mother;
-\n"
- " }
-\n"
- "
-\n"
- " /**
-\n"
- " * @hibernate.property
-\n"
- " * column=\"BIRTH_DATE\"
-\n"
- " */
-\n"
- " public Date getBirthdate() {
-\n"
- " return birthdate;
-\n"
- " }
-\n"
- " void setBirthdate(Date date) {
-\n"
- " birthdate = date;
-\n"
- " }
-\n"
- " /**
-\n"
- " * @hibernate.property
-\n"
- " * column=\"WEIGHT\"
-\n"
- " */
-\n"
- " public float getWeight() {
-\n"
- " return weight;
-\n"
- " }
-\n"
- " void setWeight(float weight) {
-\n"
- " this.weight = weight;
-\n"
- " }
-\n"
- "
-\n"
- " /**
-\n"
- " * @hibernate.property
-\n"
- " * column=\"COLOR\"
-\n"
- " * not-null=\"true\"
-\n"
- " */
-\n"
- " public Color getColor() {
-\n"
- " return color;
-\n"
- " }
-\n"
- " void setColor(Color color) {
-\n"
- " this.color = color;
-\n"
- " }
-\n"
- " /**
-\n"
- " * @hibernate.set
-\n"
- " * inverse=\"true\"
-\n"
- " * order-by=\"BIRTH_DATE\"
-\n"
- " * @hibernate.collection-key
-\n"
- " * column=\"PARENT_ID\"
-\n"
- " * @hibernate.collection-one-to-many
-\n"
- " */
-\n"
- " public Set getKittens() {
-\n"
- " return kittens;
-\n"
- " }
-\n"
- " void setKittens(Set kittens) {
-\n"
- " this.kittens = kittens;
-\n"
- " }
-\n"
- " // addKitten not needed by Hibernate
-\n"
- " public void addKitten(Cat kitten) {
-\n"
- " kittens.add(kitten);
-\n"
- " }
-\n"
- "
-\n"
- " /**
-\n"
- " * @hibernate.property
-\n"
- " * column=\"SEX\"
-\n"
- " * not-null=\"true\"
-\n"
- " * update=\"false\"
-\n"
- " */
-\n"
- " public char getSex() {
-\n"
- " return sex;
-\n"
- " }
-\n"
- " void setSex(char sex) {
-\n"
- " this.sex=sex;
-\n"
- " }
-\n"
- "}]]>"
+"éçºè
ãç¬èªã®å¤åã使ãããã¨ã¯ãæ¯è¼çç°¡åã§ãã ä¾ãã°ã<literal>java."
+"lang.BigInteger</literal> åã®ããããã£ã <literal>VARCHAR</literal> ã«ã©ã "
+"ã«æ°¸ç¶åãããããããã¾ããã Hibernateã¯ãã®ããã®çµã¿è¾¼ã¿åãç¨æãã¦ãã¾"
+"ããã ãããã«ã¹ã¿ã åã¯ãããããã£ï¼ã¾ãã¯ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ï¼ã1ã¤ã®ãã¼"
+"ãã«ã«ã©ã ã« ãããã³ã°ããã®ã«å¶éã¯ããã¾ããã ãã®ããä¾ãã°ã"
+"<literal>java.lang.String</literal> åã® <literal>getName()</literal> / "
+"<literal>setName()</literal> Javaããããã£ã <literal>FIRST_NAME</"
+"literal> , <literal>INITIAL</literal>, <literal>SURNAME</literal> ã«ã©ã ã«æ°¸"
+"ç¶åã§ãã¾ãã"
-#: index.docbook:2706
-msgid "It is relatively easy for developers to create their own value types. For example, you might want to persist properties of type <literal>java.lang.BigInteger</literal> to <literal>VARCHAR</literal> columns. Hibernate does not provide a built-in type for this. But custom types are not limited to mapping a property (or collection element) to a single table column. So, for example, you might have a Java property <literal>getName()</literal>/<literal>setName()</literal> of type <literal>java.lang.String</literal> that is persisted to the columns <literal>FIRST_NAME</literal>, <literal>INITIAL</literal>, <literal>SURNAME</literal>."
-msgstr "Hibernateã®ã¦ã§ããµã¤ãã«ã¯ãXDocletã¨Hibernateã«é¢ãããµã³ãã«ã夿°ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2717
+#, no-c-format
+msgid ""
+"To implement a custom type, implement either <literal>org.hibernate."
+"UserType</literal> or <literal>org.hibernate.CompositeUserType</literal> and "
+"declare properties using the fully qualified classname of the type. Check "
+"out <literal>org.hibernate.test.DoubleStringType</literal> to see the kind "
+"of things that are possible."
+msgstr ""
+"ã«ã¹ã¿ã åãå®è£
ããã«ã¯ã<literal>org.hibernate.UserType</literal> ã¾ã㯠"
+"<literal>org.hibernate.CompositeUserType</literal> ãå®è£
ãã åã®å®å
¨ä¿®é£¾ã"
+"ããååã使ã£ã¦ããããã£ãå®ç¾©ãã¾ãã ã©ã®ãããªç¨®é¡ã®ãã®ãå¯è½ãã調ã¹ã"
+"ã«ã¯ã <literal>org.hibernate.test.DoubleStringType</literal> ã確èªãã¦ãã "
+"ããã"
-#: index.docbook:2717
-msgid "To implement a custom type, implement either <literal>org.hibernate.UserType</literal> or <literal>org.hibernate.CompositeUserType</literal> and declare properties using the fully qualified classname of the type. Check out <literal>org.hibernate.test.DoubleStringType</literal> to see the kind of things that are possible."
-msgstr "JDK 5.0 ã¢ããã¼ã·ã§ã³ã®ä½¿ç¨"
+#. Tag: programlisting
+#: basic_mapping.xml:2725
+#, no-c-format
+msgid ""
+"<![CDATA[<property name=\"twoStrings\" type=\"org.hibernate.test."
+"DoubleStringType\">\n"
+" <column name=\"first_string\"/>\n"
+" <column name=\"second_string\"/>\n"
+"</property>]]>"
+msgstr ""
-#: index.docbook:2725
+#. Tag: para
+#: basic_mapping.xml:2727
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"twoStrings\" type=\"org.hibernate.test.DoubleStringType\">\n"
- " <column name=\"first_string\"/>\n"
- " <column name=\"second_string\"/>\n"
- "</property>]]>"
-msgstr "JDK5.0ã§ã¯ã¿ã¤ãã»ã¼ããã¤ã³ã³ãã¤ã«æã«ãã§ãã¯ã§ããã è¨èªã¬ãã«ã®XDocletã¹ã¿ã¤ã«ã®ã¢ããã¼ã·ã§ã³ãå°å
¥ãã¾ããã ãã®ã¡ã«ããºã ã¯XDocletã®ã¢ããã¼ã·ã§ã³ãããå¼·åã§ããã¼ã«ãIDEãå¤ãããµãã¼ããã¦ãã¾ãã ä¾ãã°IntelliJ IDEAã¯ãJDK5.0ã«ã¢ããã¼ã·ã§ã³ã®èªåè£å®ã¨æ§æã®å¼·èª¿è¡¨ç¤ºããµãã¼ããã¦ãã¾ãã EJB仿§ (JSR-220)ã®æ°ãããã¼ã¸ã§ã³ã§ã¯ãã¨ã³ãã£ãã£ãã¼ã³ã«å¯¾ãã主è¦ãªã¡ã¿ãã¼ã¿ã¡ã«ããºã ã¨ã㦠JDK5.0ã®ã¢ããã¼ã·ã§ã³ã使ç¨ãã¦ãã¾ãã Hibernate3ã§ã¯JSR-220 (æ°¸ç¶åAPI)ã® <literal>EntityManager</literal> ãå®è£
ãã ã¡ã¿ãã¼ã¿ãããã³ã°ã«å¯¾ãããµãã¼ãã¯ã å¥ãã¦ã³ãã¼ãã® <emphasis>Hibernate Annotations</emphasis> ããã±ã¼ã¸ã«ããå©ç¨å¯è½ã§ãã ããã¯EJB3(JSR-220)ã¨Hibernate3ã®ã¡ã¿ãã¼ã¿ãã©ã¡ãããµãã¼ã!
ãã¦ãã¾ãã"
+"Notice the use of <literal><column></literal> tags to map a property "
+"to multiple columns."
+msgstr ""
+"<literal><column></literal> ã¿ã°ã§ã ããããã£ãè¤æ°ã®ã«ã©ã ã¸ãããã³"
+"ã°ã§ãããã¨ã«æ³¨ç®ãã¦ãã ããã"
-#: index.docbook:2727
-msgid "Notice the use of <literal><column></literal> tags to map a property to multiple columns."
-msgstr "以ä¸ã¯EJBã®ã¨ã³ãã£ãã£ãã¼ã³ã¨ãã¦æ³¨éãããPOJOã¯ã©ã¹ã®ä¾ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:2732
+#, no-c-format
+msgid ""
+"The <literal>CompositeUserType</literal>, <literal>EnhancedUserType</"
+"literal>, <literal>UserCollectionType</literal>, and "
+"<literal>UserVersionType</literal> interfaces provide support for more "
+"specialized uses."
+msgstr ""
+"<literal>CompositeUserType</literal> , <literal>EnhancedUserType</literal> , "
+"<literal>UserCollectionType</literal> , <literal>UserVersionType</literal> ã¤"
+"ã³ã¿ã¼ãã§ã¤ã¹ã¯ãããç¹æ®ãªä½¿ç¨æ³ã«å¯¾ãã¦ã®ãµãã¼ããæä¾ãã¾ãã"
-#: index.docbook:2732
-msgid "The <literal>CompositeUserType</literal>, <literal>EnhancedUserType</literal>, <literal>UserCollectionType</literal>, and <literal>UserVersionType</literal> interfaces provide support for more specialized uses."
+#. Tag: para
+#: basic_mapping.xml:2738
+#, no-c-format
+msgid ""
+"You may even supply parameters to a <literal>UserType</literal> in the "
+"mapping file. To do this, your <literal>UserType</literal> must implement "
+"the <literal>org.hibernate.usertype.ParameterizedType</literal> interface. "
+"To supply parameters to your custom type, you can use the <literal><"
+"type></literal> element in your mapping files."
msgstr ""
- "<![CDATA[@Entity(access = AccessType.FIELD)
-\n"
- "public class Customer implements Serializable {
-\n"
- "
-\n"
- " @Id;
-\n"
- " Long id;
-\n"
- "
-\n"
- " String firstName;
-\n"
- " String lastName;
-\n"
- " Date birthday;
-\n"
- "
-\n"
- " @Transient
-\n"
- " Integer age;
-\n"
- "
-\n"
- " @Embedded
-\n"
- " private Address homeAddress;
-\n"
- "
-\n"
- " @OneToMany(cascade=CascadeType.ALL)
-\n"
- " @JoinColumn(name=\"CUSTOMER_ID\")
-\n"
- " Set<Order> orders;
-\n"
- "
-\n"
- " // Getter/setter and business methods
-\n"
- "}]]>"
+"ãããã³ã°ãã¡ã¤ã«å
ã§ <literal>UserType</literal> ã¸ãã©ã¡ã¼ã¿ãæä¾ã§ãã¾"
+"ãã ãã®ããã«ã¯ã<literal>UserType</literal> 㯠<literal>org.hibernate."
+"usertype.ParameterizedType</literal> ãå®è£
ããªãã¦ã¯ãªãã¾ããã ã«ã¹ã¿ã å"
+"ãã©ã¡ã¼ã¿ãæä¾ããããã«ã ãããã³ã°ãã¡ã¤ã«å
ã§ <literal><type></"
+"literal> è¦ç´ ã使ç¨ã§ãã¾ãã"
-#: index.docbook:2738
-msgid "You may even supply parameters to a <literal>UserType</literal> in the mapping file. To do this, your <literal>UserType</literal> must implement the <literal>org.hibernate.usertype.ParameterizedType</literal> interface. To supply parameters to your custom type, you can use the <literal><type></literal> element in your mapping files."
-msgstr "JDK5.0ã®ã¢ããã¼ã·ã§ã³(ã¨JSR-220)ã®ãµãã¼ãã¯é²è¡ä¸ã®ä½æ¥ã§ãããå®å
¨ã§ã¯ãªããã¨ã«æ³¨æãã¦ãã ããã ããã«è©³ããæ
å ±ã¯Hibernateã®ã¢ããã¼ã·ã§ã³ã»ã¢ã¸ã¥ã¼ã«ãåç
§ãã¦ãã ããã"
+#. Tag: programlisting
+#: basic_mapping.xml:2746
+#, no-c-format
+msgid ""
+"<![CDATA[<property name=\"priority\">\n"
+" <type name=\"com.mycompany.usertypes.DefaultValueIntegerType\">\n"
+" <param name=\"default\">0</param>\n"
+" </type>\n"
+"</property>]]>"
+msgstr ""
-#: index.docbook:2746
+#. Tag: para
+#: basic_mapping.xml:2748
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"priority\">\n"
- " <type name=\"com.mycompany.usertypes.DefaultValueIntegerType\">\n"
- " <param name=\"default\">0</param>\n"
- " </type>\n"
- "</property>]]>"
-msgstr "çæããããã£"
+"The <literal>UserType</literal> can now retrieve the value for the parameter "
+"named <literal>default</literal> from the <literal>Properties</literal> "
+"object passed to it."
+msgstr ""
+"<literal>UserType</literal> ã¯ã 弿°ã¨ãã¦æ¸¡ããã <literal>Properties</"
+"literal> ãªãã¸ã§ã¯ãããã <literal>default</literal> ã§æå®ãããã©ã¡ã¼ã¿ã«"
+"対ããå¤ãæ¤ç´¢ãããã¨ãã§ãã¾ãã"
-#: index.docbook:2748
-msgid "The <literal>UserType</literal> can now retrieve the value for the parameter named <literal>default</literal> from the <literal>Properties</literal> object passed to it."
-msgstr "çæããããã£ã¨ã¯ããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæãããå¤ãæã¤ããããã£ã§ãã é常ãHibernateã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼ã¿ãã¼ã¹ãå¤ãçæããããããã£ãå«ããªãã¸ã§ã¯ãã <literal>ãªãã¬ãã·ã¥</literal> ããå¿
è¦ãããã¾ããã ããããããããã£ãçæãããã¨ãããã¨ããã¼ã¯ãããã¨ã§ã ã¢ããªã±ã¼ã·ã§ã³ã¯ãªãã¬ãã·ã¥ã®è²¬ä»»ãHibernateã«å§è²ãã¾ãã åºæ¬çã«ãçæããããã£ãæã¤ã¨å®ç¾©ããã¨ã³ãã£ãã£ã«å¯¾ã㦠HibernateãINSERTãUPDATEã®SQLãçºè¡ããå¾ããã«ã çæãããå¤ãèªã¿è¾¼ãããã® SELECT SQL ãçºè¡ããã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2753
+#, no-c-format
+msgid ""
+"If you use a certain <literal>UserType</literal> very often, it may be "
+"useful to define a shorter name for it. You can do this using the "
+"<literal><typedef></literal> element. Typedefs assign a name to a "
+"custom type, and may also contain a list of default parameter values if the "
+"type is parameterized."
+msgstr ""
+"ç¹å®ã® <literal>UserType</literal> ãé »ç¹ã«ä½¿ç¨ãããªãã°ãçãååãå®ç¾©ãã"
+"ã¨ä¾¿å©ã«ãªãã§ãããã <literal><typedef></literal> è¦ç´ ã使ã£ã¦ãã®ã"
+"ããªãã¨ãè¡ãã¾ãã Typedefsã¯ã«ã¹ã¿ã åã«ååãå²ãå½ã¦ã¾ãã ãã®åããã©"
+"ã¡ã¼ã¿ãæã¤ãªãã°ã ãã©ã¡ã¼ã¿ã®ããã©ã«ãå¤ã®ãªã¹ããå«ããã¨ãã§ãã¾ãã"
-#: index.docbook:2753
-msgid "If you use a certain <literal>UserType</literal> very often, it may be useful to define a shorter name for it. You can do this using the <literal><typedef></literal> element. Typedefs assign a name to a custom type, and may also contain a list of default parameter values if the type is parameterized."
-msgstr "çæããããã£ã¯ãæ¿å
¥ä¸å¯è½ãã¤æ´æ°ä¸å¯è½ã§ãªããã°ãªãã¾ããã <xref linkend=\"mapping-declaration-version\"/>versions ã <xref linkend=\"mapping-declaration-timestamp\"/>timestamps ã <xref linkend=\"mapping-declaration-property\"/>simple properties ã ããçæãããã¨ãã¼ã¯ã§ãã¾ãã"
-
-#: index.docbook:2760
+#. Tag: programlisting
+#: basic_mapping.xml:2760
+#, no-c-format
msgid ""
- "<![CDATA[<typedef class=\"com.mycompany.usertypes.DefaultValueIntegerType\" name=\"default_zero\">\n"
- " <param name=\"default\">0</param>\n"
- "</typedef>]]>"
-msgstr "<literal>never</literal> (ããã©ã«ã) - ä¸ããããããããã£ã®å¤ã¯ã ãã¼ã¿ãã¼ã¹ããçæãããªããã¨ãæå³ãã¾ãã"
+"<![CDATA[<typedef class=\"com.mycompany.usertypes.DefaultValueIntegerType\" "
+"name=\"default_zero\">\n"
+" <param name=\"default\">0</param>\n"
+"</typedef>]]>"
+msgstr ""
-#: index.docbook:2762
+#. Tag: programlisting
+#: basic_mapping.xml:2762
+#, no-c-format
msgid "<![CDATA[<property name=\"priority\" type=\"default_zero\"/>]]>"
-msgstr "<literal>insert</literal> - ä¸ããããããããã£ã®å¤ã¯æ¿å
¥æã«çæããããã ç¶ãã¦èµ·ããæ´æ°æã«ã¯çæãããªããã¨ç¤ºãã¾ãã 使ãããæ¥ä»ãªã©ã¯ããã®ã«ãã´ãªã«åé¡ããã¾ãã <xref linkend=\"mapping-declaration-version\"/>version ã <xref linkend=\"mapping-declaration-timestamp\"/>timestamp ã® ããããã£ã¯çæãããã¨ãã¼ã¯ã§ãã¾ããããã®ãªãã·ã§ã³ã¯å©ç¨ã§ããªããã¨ã«æ³¨æãã¦ãã ããã"
+msgstr ""
-#: index.docbook:2764
-msgid "It is also possible to override the parameters supplied in a typedef on a case-by-case basis by using type parameters on the property mapping."
-msgstr "<literal>always</literal> - æ¿å
¥æãæ´æ°æãããããã£ã®å¤ãçæããããã¨ã示ãã¾ãã"
+#. Tag: para
+#: basic_mapping.xml:2764
+#, no-c-format
+msgid ""
+"It is also possible to override the parameters supplied in a typedef on a "
+"case-by-case basis by using type parameters on the property mapping."
+msgstr ""
+"ããããã£ã®ãããã³ã°ã§åãã©ã¡ã¼ã¿ã使ããã¨ã§ã typedefã§æä¾ããããã©"
+"ã¡ã¼ã¿ããã®é½åº¦ãªã¼ãã¼ã©ã¤ããããã¨ãå¯è½ã§ãã"
-#: index.docbook:2769
-msgid "Even though Hibernate's rich range of built-in types and support for components means you will very rarely <emphasis>need</emphasis> to use a custom type, it is nevertheless considered good form to use custom types for (non-entity) classes that occur frequently in your application. For example, a <literal>MonetaryAmount</literal> class is a good candidate for a <literal>CompositeUserType</literal>, even though it could easily be mapped as a component. One motivation for this is abstraction. With a custom type, your mapping documents would be future-proofed against possible changes in your way of representing monetary values."
-msgstr "è£å©çãªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ã"
+#. Tag: para
+#: basic_mapping.xml:2769
+#, no-c-format
+msgid ""
+"Even though Hibernate's rich range of built-in types and support for "
+"components means you will very rarely <emphasis>need</emphasis> to use a "
+"custom type, it is nevertheless considered good form to use custom types for "
+"(non-entity) classes that occur frequently in your application. For example, "
+"a <literal>MonetaryAmount</literal> class is a good candidate for a "
+"<literal>CompositeUserType</literal>, even though it could easily be mapped "
+"as a component. One motivation for this is abstraction. With a custom type, "
+"your mapping documents would be future-proofed against possible changes in "
+"your way of representing monetary values."
+msgstr ""
+"Hibernateã®å¹
åºãçµã¿è¾¼ã¿åã¨ã³ã³ãã¼ãã³ãã«å¯¾ãããµãã¼ãã¯ã ã«ã¹ã¿ã åã"
+"ãã£ãã« <emphasis>使ããªã</emphasis> ã¨ãããã¨ãæå³ãã¾ãã ããã§ããª"
+"ããã¢ããªã±ã¼ã·ã§ã³ã§é »åºãã(ã¨ã³ãã£ãã£ã§ã¯ãªã)ã¯ã©ã¹ã«å¯¾ããã«ã¹ã¿ã å"
+"ã®ä½¿ç¨ã¯ã ããããæ¹ã§ããã¨ã¿ãªããã¾ãã ä¾ãã° <literal>MonetaryAmount</"
+"literal> ã¯ã©ã¹ã¯ã³ã³ãã¼ãã³ãã¨ãã¦ç°¡åã«ãããã³ã°ã§ãã¾ããã "
+"<literal>CompositeUserType</literal> ã®è¯ãåè£ã§ãã ã«ã¹ã¿ã åã使ç¨ããå"
+"æ©ã®1ã¤ã¯æ½è±¡åã§ãã ã«ã¹ã¿ã åã使ããã¨ã§ãé貨ãã©ã®ããã«è¡¨ç¾ãããã¨ã "
+"ãããã³ã°ããã¥ã¡ã³ãã¯èµ·ããããå¤åã«å¯¾å¿ã§ãã¾ãã"
-#: index.docbook:2785
+#. Tag: title
+#: basic_mapping.xml:2785
+#, no-c-format
msgid "Mapping a class more than once"
-msgstr "Hibernateã®ã¹ãã¼ãã»ã¨ããªã¥ã¼ã·ã§ã³ãã¼ã«ã¨é£åãããã¨ã§ã ä»»æã®ãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ãï¼ããªã¬ã¼ãã¹ãã¢ãããã·ã¼ã¸ã£ãªã©ï¼ã®CREATEã¨DROPã«ããã Hibernateã®ãããã³ã°ãã¡ã¤ã«å
ã®ã¦ã¼ã¶ã»ã¹ãã¼ãããã¹ã¦å®ç¾©ãããã¨ãåºæ¥ã¾ãã 主ã«ããªã¬ãã¹ãã¢ãããã·ã¼ã¸ã£ã®ãããªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ããçæãåé¤ãããã¨ãæå³ãã¦ãã¾ããã å®éã«ã¯ <literal>java.sql.Statement.execute()</literal> ã¡ã½ããã«ãã£ã¦å®è¡ã§ãã ä»»æã®SQLã³ãã³ãï¼ALTERãINSERTãªã©ï¼ãå®è¡ã§ãã¾ãã è£å©çãªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ããå®ç¾©ããããã®ã2ã¤ã®åºæ¬çãªæ¹æ³ãããã¾ãã"
+msgstr "ï¼ã¤ã®ã¯ã©ã¹ã«ï¼ã¤ä»¥ä¸ã®ãããã³ã°"
-#: index.docbook:2786
-msgid "It is possible to provide more than one mapping for a particular persistent class. In this case you must specify an <emphasis>entity name</emphasis> do disambiguate between instances of the two mapped entities. (By default, the entity name is the same as the class name.) Hibernate lets you specify the entity name when working with persistent objects, when writing queries, or when mapping associations to the named entity."
-msgstr "1ã¤ç®ã®æ¹æ³ã¯ãCREATEã¨DROPã³ãã³ãããããã³ã°ãã¡ã¤ã«ã®å¤ã«ãæç¤ºçã«è¨è¼ãããã¨ã§ãã"
+#. Tag: para
+#: basic_mapping.xml:2786
+#, no-c-format
+msgid ""
+"It is possible to provide more than one mapping for a particular persistent "
+"class. In this case you must specify an <emphasis>entity name</emphasis> do "
+"disambiguate between instances of the two mapped entities. (By default, the "
+"entity name is the same as the class name.) Hibernate lets you specify the "
+"entity name when working with persistent objects, when writing queries, or "
+"when mapping associations to the named entity."
+msgstr ""
+"ããæ°¸ç¶ã¯ã©ã¹ã«ãä¸ã¤ä»¥ä¸ã®ãããã³ã°ãæä¾ãããã¨ãåºæ¥ã¾ãã ãã®å ´åã"
+"ãããã³ã°ããï¼ã¤ã®ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãæç¢ºã«ããããã«ã <emphasis>"
+"ã¨ã³ãã£ãã£å</emphasis> ãæå®ããªããã°ãªãã¾ãã (ããã©ã«ãã§ã¯ã¨ã³ãã£"
+"ãã£åã¯ã¯ã©ã¹åã¨åãã§ãã)ã æ°¸ç¶ãªãã¸ã§ã¯ããæ±ãã¨ããã¯ã¨ãªãæ¸ãè¾¼ã"
+"ã¨ãã æå®ãããã¨ã³ãã£ãã£ã¸ã®é¢é£ããããã³ã°ããã¨ãã«ã¯ã Hibernateã§ã¯"
+"ã¨ã³ãã£ãã£åãæå®ããªããã°ãªãã¾ããã"
-#: index.docbook:2794
+#. Tag: programlisting
+#: basic_mapping.xml:2794
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Contract\" table=\"Contracts\"\n"
- " entity-name=\"CurrentContract\">\n"
- " ...\n"
- " <set name=\"history\" inverse=\"true\"\n"
- " order-by=\"effectiveEndDate desc\">\n"
- " <key column=\"currentContractId\"/>\n"
- " <one-to-many entity-name=\"HistoricalContract\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Contract\" table=\"ContractHistory\"\n"
- " entity-name=\"HistoricalContract\">\n"
- " ...\n"
- " <many-to-one name=\"currentContract\"\n"
- " column=\"currentContractId\"\n"
- " entity-name=\"CurrentContract\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Contract\" table=\"Contracts\"\n"
+" entity-name=\"CurrentContract\">\n"
+" ...\n"
+" <set name=\"history\" inverse=\"true\"\n"
+" order-by=\"effectiveEndDate desc\">\n"
+" <key column=\"currentContractId\"/>\n"
+" <one-to-many entity-name=\"HistoricalContract\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Contract\" table=\"ContractHistory\"\n"
+" entity-name=\"HistoricalContract\">\n"
+" ...\n"
+" <many-to-one name=\"currentContract\"\n"
+" column=\"currentContractId\"\n"
+" entity-name=\"CurrentContract\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- " ...
-\n"
- " <database-object>
-\n"
- " <create>CREATE TRIGGER my_trigger ...</create>
-\n"
- " <drop>DROP TRIGGER my_trigger</drop>
-\n"
- " </database-object>
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:2796
-msgid "Notice how associations are now specified using <literal>entity-name</literal> instead of <literal>class</literal>."
-msgstr "2ã¤ç®ã®æ¹æ³ã¯ãCREATEã¨DROPã³ãã³ãã®çµã¿ç«ã¦æ¹ãç¥ã£ã¦ããã«ã¹ã¿ã ã¯ã©ã¹ãæä¾ãããã¨ã§ãã ãã®ã«ã¹ã¿ã ã¯ã©ã¹ã¯ <literal>org.hibernate.mapping.AuxiliaryDatabaseObject</literal> ã¤ã³ã¿ãã§ã¼ã¹ã å®è£
ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: basic_mapping.xml:2796
+#, no-c-format
+msgid ""
+"Notice how associations are now specified using <literal>entity-name</"
+"literal> instead of <literal>class</literal>."
+msgstr ""
+"é¢é£ã<literal>class</literal> ã®ä»£ããã« <literal>entity-name</literal> ã"
+"使ã£ã¦ã ã©ã®ããã«æå®ãããã®ãã«æ³¨ç®ãã¦ãã ããã"
-#: index.docbook:2804
+#. Tag: title
+#: basic_mapping.xml:2804
+#, no-c-format
msgid "SQL quoted identifiers"
+msgstr "ããã¯ã¯ã©ã¼ãã§å²ãã SQL èå¥å"
+
+#. Tag: para
+#: basic_mapping.xml:2805
+#, no-c-format
+msgid ""
+"You may force Hibernate to quote an identifier in the generated SQL by "
+"enclosing the table or column name in backticks in the mapping document. "
+"Hibernate will use the correct quotation style for the SQL <literal>Dialect</"
+"literal> (usually double quotes, but brackets for SQL Server and backticks "
+"for MySQL)."
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- " ...
-\n"
- " <database-object>
-\n"
- " <definition class=\"MyTriggerDefinition\"/>
-\n"
- " </database-object>
-\n"
- "</hibernate-mapping>]]>"
+"ãããã³ã°ããã¥ã¡ã³ãã§ãã¼ãã«ãã«ã©ã ã®ååãããã¯ã¯ã©ã¼ãã§å²ããã¨ã§ã "
+"Hibernateã§çæãããSQLä¸ã®èå¥åãå¼ç¨ããããã¨ãã§ãã¾ãã Hibernateã¯SQL"
+"ã® <literal>Dialect</literal> ã«å¯¾å¿ãããæ£ããå¼ç¨ã¹ã¿ã¤ã«ã使ãã¾ã ï¼æ®é"
+"ã¯ããã«ã¯ã©ã¼ãã§ãããSQL Serverã§ã¯ããæ¬å¼§ãMySQLã§ã¯ããã¯ã¯ã©ã¼ãã§"
+"ãï¼ã"
-#: index.docbook:2805
-msgid "You may force Hibernate to quote an identifier in the generated SQL by enclosing the table or column name in backticks in the mapping document. Hibernate will use the correct quotation style for the SQL <literal>Dialect</literal> (usually double quotes, but brackets for SQL Server and backticks for MySQL)."
-msgstr "ããã«ããããã¼ã¿ãã¼ã¹æ¹è¨ã使ç¨ãããæã«ã ãé©ç¨ããã¨ãã£ãããã«ã ãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ãã使ãããã±ã¼ã¹ãéå®ã§ãã¾ãã"
-
-#: index.docbook:2812
+#. Tag: programlisting
+#: basic_mapping.xml:2812
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"LineItem\" table=\"`Line Item`\">\n"
- " <id name=\"id\" column=\"`Item Id`\"/><generator class=\"assigned\"/></id>\n"
- " <property name=\"itemNumber\" column=\"`Item #`\"/>\n"
- " ...\n"
- "</class>]]>"
+"<![CDATA[<class name=\"LineItem\" table=\"`Line Item`\">\n"
+" <id name=\"id\" column=\"`Item Id`\"/><generator class=\"assigned\"/></"
+"id>\n"
+" <property name=\"itemNumber\" column=\"`Item #`\"/>\n"
+" ...\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- " ...
-\n"
- " <database-object>
-\n"
- " <definition class=\"MyTriggerDefinition\"/>
-\n"
- " <dialect-scope name=\"org.hibernate.dialect.Oracle9Dialect\"/>
-\n"
- " <dialect-scope name=\"org.hibernate.dialect.OracleDialect\"/>
-\n"
- " </database-object>
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:2818
+#. Tag: title
+#: basic_mapping.xml:2818
+#, no-c-format
msgid "Metadata alternatives"
-msgstr ""
+msgstr "ã¡ã¿ãã¼ã¿ã®ä»£æ¿ææ®µ"
-#: index.docbook:2820
-msgid "XML isn't for everyone, and so there are some alternative ways to define O/R mapping metadata in Hibernate."
+#. Tag: para
+#: basic_mapping.xml:2820
+#, no-c-format
+msgid ""
+"XML isn't for everyone, and so there are some alternative ways to define O/R "
+"mapping metadata in Hibernate."
msgstr ""
+"XMLã®è¨è¿°ä»¥å¤ã«ã Hibernateã§ã¯O/Rãããã³ã°ã®ã¡ã¿ãã¼ã¿ãå®ç¾©ããä»£æ¿æ¹æ³ã"
+"ããã¾ãã"
-#: index.docbook:2825
+#. Tag: title
+#: basic_mapping.xml:2825
+#, no-c-format
msgid "Using XDoclet markup"
-msgstr ""
+msgstr "XDoclet ãã¼ã¯ã¢ããã®ä½¿ç¨"
-#: index.docbook:2827
-msgid "Many Hibernate users prefer to embed mapping information directly in sourcecode using XDoclet <literal>@hibernate.tags</literal>. We will not cover this approach in this document, since strictly it is considered part of XDoclet. However, we include the following example of the <literal>Cat</literal> class with XDoclet mappings."
+#. Tag: para
+#: basic_mapping.xml:2827
+#, no-c-format
+msgid ""
+"Many Hibernate users prefer to embed mapping information directly in "
+"sourcecode using XDoclet <literal>@hibernate.tags</literal>. We will not "
+"cover this approach in this document, since strictly it is considered part "
+"of XDoclet. However, we include the following example of the <literal>Cat</"
+"literal> class with XDoclet mappings."
msgstr ""
+"å¤ãã®Hibernateã¦ã¼ã¶ã¯XDocletã® <literal>@hibernate.tags</literal> ã使ã£"
+"ã¦ã ã½ã¼ã¹ã³ã¼ãå
ã«ç´æ¥ãããã³ã°æ
å ±ãåãè¾¼ããã¨ã好ã¿ã¾ãã ããã¯å³å¯"
+"ã«è¨ãã°XDocletã®åéãªã®ã§ãæ¬ããã¥ã¡ã³ãã§ã¯ãã®æ¹æ³ã対象ã¨ã¯ãã¾ããã "
+"ãããXDocletã使ã£ã以ä¸ã® <literal>Cat</literal> ãããã³ã°ã®ä¾ã示ãã¾ãã"
-#: index.docbook:2834
+#. Tag: programlisting
+#: basic_mapping.xml:2834
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "import java.util.Set;\n"
- "import java.util.Date;\n"
- "\n"
- "/**\n"
- " * @hibernate.class\n"
- " * table=\"CATS\"\n"
- " */\n"
- "public class Cat {\n"
- " private Long id; // identifier\n"
- " private Date birthdate;\n"
- " private Cat mother;\n"
- " private Set kittens\n"
- " private Color color;\n"
- " private char sex;\n"
- " private float weight;\n"
- "\n"
- " /*\n"
- " * @hibernate.id\n"
- " * generator-class=\"native\"\n"
- " * column=\"CAT_ID\"\n"
- " */\n"
- " public Long getId() {\n"
- " return id;\n"
- " }\n"
- " private void setId(Long id) {\n"
- " this.id=id;\n"
- " }\n"
- "\n"
- " /**\n"
- " * @hibernate.many-to-one\n"
- " * column=\"PARENT_ID\"\n"
- " */\n"
- " public Cat getMother() {\n"
- " return mother;\n"
- " }\n"
- " void setMother(Cat mother) {\n"
- " this.mother = mother;\n"
- " }\n"
- "\n"
- " /**\n"
- " * @hibernate.property\n"
- " * column=\"BIRTH_DATE\"\n"
- " */\n"
- " public Date getBirthdate() {\n"
- " return birthdate;\n"
- " }\n"
- " void setBirthdate(Date date) {\n"
- " birthdate = date;\n"
- " }\n"
- " /**\n"
- " * @hibernate.property\n"
- " * column=\"WEIGHT\"\n"
- " */\n"
- " public float getWeight() {\n"
- " return weight;\n"
- " }\n"
- " void setWeight(float weight) {\n"
- " this.weight = weight;\n"
- " }\n"
- "\n"
- " /**\n"
- " * @hibernate.property\n"
- " * column=\"COLOR\"\n"
- " * not-null=\"true\"\n"
- " */\n"
- " public Color getColor() {\n"
- " return color;\n"
- " }\n"
- " void setColor(Color color) {\n"
- " this.color = color;\n"
- " }\n"
- " /**\n"
- " * @hibernate.set\n"
- " * inverse=\"true\"\n"
- " * order-by=\"BIRTH_DATE\"\n"
- " * @hibernate.collection-key\n"
- " * column=\"PARENT_ID\"\n"
- " * @hibernate.collection-one-to-many\n"
- " */\n"
- " public Set getKittens() {\n"
- " return kittens;\n"
- " }\n"
- " void setKittens(Set kittens) {\n"
- " this.kittens = kittens;\n"
- " }\n"
- " // addKitten not needed by Hibernate\n"
- " public void addKitten(Cat kitten) {\n"
- " kittens.add(kitten);\n"
- " }\n"
- "\n"
- " /**\n"
- " * @hibernate.property\n"
- " * column=\"SEX\"\n"
- " * not-null=\"true\"\n"
- " * update=\"false\"\n"
- " */\n"
- " public char getSex() {\n"
- " return sex;\n"
- " }\n"
- " void setSex(char sex) {\n"
- " this.sex=sex;\n"
- " }\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"import java.util.Set;\n"
+"import java.util.Date;\n"
+"\n"
+"/**\n"
+" * @hibernate.class\n"
+" * table=\"CATS\"\n"
+" */\n"
+"public class Cat {\n"
+" private Long id; // identifier\n"
+" private Date birthdate;\n"
+" private Cat mother;\n"
+" private Set kittens\n"
+" private Color color;\n"
+" private char sex;\n"
+" private float weight;\n"
+"\n"
+" /*\n"
+" * @hibernate.id\n"
+" * generator-class=\"native\"\n"
+" * column=\"CAT_ID\"\n"
+" */\n"
+" public Long getId() {\n"
+" return id;\n"
+" }\n"
+" private void setId(Long id) {\n"
+" this.id=id;\n"
+" }\n"
+"\n"
+" /**\n"
+" * @hibernate.many-to-one\n"
+" * column=\"PARENT_ID\"\n"
+" */\n"
+" public Cat getMother() {\n"
+" return mother;\n"
+" }\n"
+" void setMother(Cat mother) {\n"
+" this.mother = mother;\n"
+" }\n"
+"\n"
+" /**\n"
+" * @hibernate.property\n"
+" * column=\"BIRTH_DATE\"\n"
+" */\n"
+" public Date getBirthdate() {\n"
+" return birthdate;\n"
+" }\n"
+" void setBirthdate(Date date) {\n"
+" birthdate = date;\n"
+" }\n"
+" /**\n"
+" * @hibernate.property\n"
+" * column=\"WEIGHT\"\n"
+" */\n"
+" public float getWeight() {\n"
+" return weight;\n"
+" }\n"
+" void setWeight(float weight) {\n"
+" this.weight = weight;\n"
+" }\n"
+"\n"
+" /**\n"
+" * @hibernate.property\n"
+" * column=\"COLOR\"\n"
+" * not-null=\"true\"\n"
+" */\n"
+" public Color getColor() {\n"
+" return color;\n"
+" }\n"
+" void setColor(Color color) {\n"
+" this.color = color;\n"
+" }\n"
+" /**\n"
+" * @hibernate.set\n"
+" * inverse=\"true\"\n"
+" * order-by=\"BIRTH_DATE\"\n"
+" * @hibernate.collection-key\n"
+" * column=\"PARENT_ID\"\n"
+" * @hibernate.collection-one-to-many\n"
+" */\n"
+" public Set getKittens() {\n"
+" return kittens;\n"
+" }\n"
+" void setKittens(Set kittens) {\n"
+" this.kittens = kittens;\n"
+" }\n"
+" // addKitten not needed by Hibernate\n"
+" public void addKitten(Cat kitten) {\n"
+" kittens.add(kitten);\n"
+" }\n"
+"\n"
+" /**\n"
+" * @hibernate.property\n"
+" * column=\"SEX\"\n"
+" * not-null=\"true\"\n"
+" * update=\"false\"\n"
+" */\n"
+" public char getSex() {\n"
+" return sex;\n"
+" }\n"
+" void setSex(char sex) {\n"
+" this.sex=sex;\n"
+" }\n"
+"}]]>"
msgstr ""
-#: index.docbook:2836
+#. Tag: para
+#: basic_mapping.xml:2836
+#, no-c-format
msgid "See the Hibernate web site for more examples of XDoclet and Hibernate."
msgstr ""
+"Hibernateã®ã¦ã§ããµã¤ãã«ã¯ãXDocletã¨Hibernateã«é¢ãããµã³ãã«ã夿°ããã¾"
+"ãã"
-#: index.docbook:2843
+#. Tag: title
+#: basic_mapping.xml:2843
+#, no-c-format
msgid "Using JDK 5.0 Annotations"
-msgstr ""
+msgstr "JDK 5.0 ã¢ããã¼ã·ã§ã³ã®ä½¿ç¨"
-#: index.docbook:2845
-msgid "JDK 5.0 introduced XDoclet-style annotations at the language level, type-safe and checked at compile time. This mechnism is more powerful than XDoclet annotations and better supported by tools and IDEs. IntelliJ IDEA, for example, supports auto-completion and syntax highlighting of JDK 5.0 annotations. The new revision of the EJB specification (JSR-220) uses JDK 5.0 annotations as the primary metadata mechanism for entity beans. Hibernate3 implements the <literal>EntityManager</literal> of JSR-220 (the persistence API), support for mapping metadata is available via the <emphasis>Hibernate Annotations</emphasis> package, as a separate download. Both EJB3 (JSR-220) and Hibernate3 metadata is supported."
+#. Tag: para
+#: basic_mapping.xml:2845
+#, no-c-format
+msgid ""
+"JDK 5.0 introduced XDoclet-style annotations at the language level, type-"
+"safe and checked at compile time. This mechnism is more powerful than "
+"XDoclet annotations and better supported by tools and IDEs. IntelliJ IDEA, "
+"for example, supports auto-completion and syntax highlighting of JDK 5.0 "
+"annotations. The new revision of the EJB specification (JSR-220) uses JDK "
+"5.0 annotations as the primary metadata mechanism for entity beans. "
+"Hibernate3 implements the <literal>EntityManager</literal> of JSR-220 (the "
+"persistence API), support for mapping metadata is available via the "
+"<emphasis>Hibernate Annotations</emphasis> package, as a separate download. "
+"Both EJB3 (JSR-220) and Hibernate3 metadata is supported."
msgstr ""
+"JDK5.0ã§ã¯ã¿ã¤ãã»ã¼ããã¤ã³ã³ãã¤ã«æã«ãã§ãã¯ã§ããã è¨èªã¬ãã«ã®XDoclet"
+"ã¹ã¿ã¤ã«ã®ã¢ããã¼ã·ã§ã³ãå°å
¥ãã¾ããã ãã®ã¡ã«ããºã ã¯XDocletã®ã¢ããã¼"
+"ã·ã§ã³ãããå¼·åã§ããã¼ã«ãIDEãå¤ãããµãã¼ããã¦ãã¾ãã ä¾ãã°IntelliJ "
+"IDEAã¯ãJDK5.0ã«ã¢ããã¼ã·ã§ã³ã®èªåè£å®ã¨æ§æã®å¼·èª¿è¡¨ç¤ºããµãã¼ããã¦ãã¾"
+"ãã EJB仿§ (JSR-220)ã®æ°ãããã¼ã¸ã§ã³ã§ã¯ãã¨ã³ãã£ãã£ãã¼ã³ã«å¯¾ãã主è¦"
+"ãªã¡ã¿ãã¼ã¿ã¡ã«ããºã ã¨ã㦠JDK5.0ã®ã¢ããã¼ã·ã§ã³ã使ç¨ãã¦ãã¾ãã "
+"Hibernate3ã§ã¯JSR-220 (æ°¸ç¶åAPI)ã® <literal>EntityManager</literal> ãå®è£
"
+"ãã ã¡ã¿ãã¼ã¿ãããã³ã°ã«å¯¾ãããµãã¼ãã¯ã å¥ãã¦ã³ãã¼ãã® "
+"<emphasis>Hibernate Annotations</emphasis> ããã±ã¼ã¸ã«ããå©ç¨å¯è½ã§ãã ã"
+"ãã¯EJB3(JSR-220)ã¨Hibernate3ã®ã¡ã¿ãã¼ã¿ãã©ã¡ãããµãã¼ããã¦ãã¾ãã"
-#: index.docbook:2856
+#. Tag: para
+#: basic_mapping.xml:2856
+#, no-c-format
msgid "This is an example of a POJO class annotated as an EJB entity bean:"
-msgstr ""
+msgstr "以ä¸ã¯EJBã®ã¨ã³ãã£ãã£ãã¼ã³ã¨ãã¦æ³¨éãããPOJOã¯ã©ã¹ã®ä¾ã§ãã"
-#: index.docbook:2860
+#. Tag: programlisting
+#: basic_mapping.xml:2860
+#, no-c-format
msgid ""
- "<![CDATA[@Entity(access = AccessType.FIELD)\n"
- "public class Customer implements Serializable {\n"
- "\n"
- " @Id;\n"
- " Long id;\n"
- "\n"
- " String firstName;\n"
- " String lastName;\n"
- " Date birthday;\n"
- "\n"
- " @Transient\n"
- " Integer age;\n"
- "\n"
- " @Embedded\n"
- " private Address homeAddress;\n"
- "\n"
- " @OneToMany(cascade=CascadeType.ALL)\n"
- " @JoinColumn(name=\"CUSTOMER_ID\")\n"
- " Set<Order> orders;\n"
- "\n"
- " // Getter/setter and business methods\n"
- "}]]>"
+"<![CDATA[@Entity(access = AccessType.FIELD)\n"
+"public class Customer implements Serializable {\n"
+"\n"
+" @Id;\n"
+" Long id;\n"
+"\n"
+" String firstName;\n"
+" String lastName;\n"
+" Date birthday;\n"
+"\n"
+" @Transient\n"
+" Integer age;\n"
+"\n"
+" @Embedded\n"
+" private Address homeAddress;\n"
+"\n"
+" @OneToMany(cascade=CascadeType.ALL)\n"
+" @JoinColumn(name=\"CUSTOMER_ID\")\n"
+" Set<Order> orders;\n"
+"\n"
+" // Getter/setter and business methods\n"
+"}]]>"
msgstr ""
-#: index.docbook:2862
-msgid "Note that support for JDK 5.0 Annotations (and JSR-220) is still work in progress and not completed. Please refer to the Hibernate Annotations module for more details."
+#. Tag: para
+#: basic_mapping.xml:2862
+#, no-c-format
+msgid ""
+"Note that support for JDK 5.0 Annotations (and JSR-220) is still work in "
+"progress and not completed. Please refer to the Hibernate Annotations module "
+"for more details."
msgstr ""
+"JDK5.0ã®ã¢ããã¼ã·ã§ã³(ã¨JSR-220)ã®ãµãã¼ãã¯é²è¡ä¸ã®ä½æ¥ã§ãããå®å
¨ã§ã¯ãªã"
+"ãã¨ã«æ³¨æãã¦ãã ããã ããã«è©³ããæ
å ±ã¯Hibernateã®ã¢ããã¼ã·ã§ã³ã»ã¢"
+"ã¸ã¥ã¼ã«ãåç
§ãã¦ãã ããã"
-#: index.docbook:2871
+#. Tag: title
+#: basic_mapping.xml:2871
+#, no-c-format
msgid "Generated Properties"
-msgstr ""
+msgstr "çæããããã£"
-#: index.docbook:2872
-msgid "Generated properties are properties which have their values generated by the database. Typically, Hibernate applications needed to <literal>refresh</literal> objects which contain any properties for which the database was generating values. Marking properties as generated, however, lets the application delegate this responsibility to Hibernate. Essentially, whenever Hibernate issues an SQL INSERT or UPDATE for an entity which has defined generated properties, it immediately issues a select afterwards to retrieve the generated values."
+#. Tag: para
+#: basic_mapping.xml:2872
+#, no-c-format
+msgid ""
+"Generated properties are properties which have their values generated by the "
+"database. Typically, Hibernate applications needed to <literal>refresh</"
+"literal> objects which contain any properties for which the database was "
+"generating values. Marking properties as generated, however, lets the "
+"application delegate this responsibility to Hibernate. Essentially, whenever "
+"Hibernate issues an SQL INSERT or UPDATE for an entity which has defined "
+"generated properties, it immediately issues a select afterwards to retrieve "
+"the generated values."
msgstr ""
+"çæããããã£ã¨ã¯ããã¼ã¿ãã¼ã¹ã«ãã£ã¦çæãããå¤ãæã¤ããããã£ã§ãã é"
+"常ãHibernateã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼ã¿ãã¼ã¹ãå¤ãçæããããããã£ãå«ããª"
+"ãã¸ã§ã¯ãã <literal>ãªãã¬ãã·ã¥</literal> ããå¿
è¦ãããã¾ããã ãããã"
+"ããããã£ãçæãããã¨ãããã¨ããã¼ã¯ãããã¨ã§ã ã¢ããªã±ã¼ã·ã§ã³ã¯ãªã"
+"ã¬ãã·ã¥ã®è²¬ä»»ãHibernateã«å§è²ãã¾ãã åºæ¬çã«ãçæããããã£ãæã¤ã¨å®ç¾©"
+"ããã¨ã³ãã£ãã£ã«å¯¾ã㦠HibernateãINSERTãUPDATEã®SQLãçºè¡ããå¾ããã«ã "
+"çæãããå¤ãèªã¿è¾¼ãããã® SELECT SQL ãçºè¡ããã¾ãã"
-#: index.docbook:2881
-msgid "Properties marked as generated must additionally be non-insertable and non-updateable. Only <xref linkend=\"mapping-declaration-version\"/>versions, <xref linkend=\"mapping-declaration-timestamp\"/>timestamps, and <xref linkend=\"mapping-declaration-property\"/>simple properties can be marked as generated."
+#. Tag: para
+#: basic_mapping.xml:2881
+#, no-c-format
+msgid ""
+"Properties marked as generated must additionally be non-insertable and non-"
+"updateable. Only <link linkend=\"mapping-declaration-version\">versions</"
+"link>, <link linkend=\"mapping-declaration-timestamp\">timestamps</link>, "
+"and <link linkend=\"mapping-declaration-property\">simple properties</link> "
+"can be marked as generated."
msgstr ""
+"çæããããã£ã¯ãæ¿å
¥ä¸å¯è½ãã¤æ´æ°ä¸å¯è½ã§ãªããã°ãªãã¾ããã <xref "
+"linkend=\"mapping-declaration-version\">versions</xref> ã <xref linkend="
+"\"mapping-declaration-timestamp\">timestamps</xref> ã <xref linkend="
+"\"mapping-declaration-property\">simple properties</xref> ã ããçæãããã¨"
+"ãã¼ã¯ã§ãã¾ãã"
-#: index.docbook:2888
-msgid "<literal>never</literal> (the default) - means that the given property value is not generated within the database."
+#. Tag: para
+#: basic_mapping.xml:2888
+#, no-c-format
+msgid ""
+"<literal>never</literal> (the default) - means that the given property value "
+"is not generated within the database."
msgstr ""
+"<literal>never</literal> (ããã©ã«ã) - ä¸ããããããããã£ã®å¤ã¯ã ãã¼ã¿"
+"ãã¼ã¹ããçæãããªããã¨ãæå³ãã¾ãã"
-#: index.docbook:2892
-msgid "<literal>insert</literal> - states that the given property value is generated on insert, but is not regenerated on subsequent updates. Things like created-date would fall into this category. Note that even thought <xref linkend=\"mapping-declaration-version\"/>version and <xref linkend=\"mapping-declaration-timestamp\"/>timestamp properties can be marked as generated, this option is not available there..."
+#. Tag: para
+#: basic_mapping.xml:2892
+#, no-c-format
+msgid ""
+"<literal>insert</literal> - states that the given property value is "
+"generated on insert, but is not regenerated on subsequent updates. Things "
+"like created-date would fall into this category. Note that even thought "
+"<link linkend=\"mapping-declaration-version\">version</link> and <link "
+"linkend=\"mapping-declaration-timestamp\">timestamp</link> properties can be "
+"marked as generated, this option is not available there..."
msgstr ""
+"<literal>insert</literal> - ä¸ããããããããã£ã®å¤ã¯æ¿å
¥æã«çæããããã "
+"ç¶ãã¦èµ·ããæ´æ°æã«ã¯çæãããªããã¨ç¤ºãã¾ãã 使ãããæ¥ä»ãªã©ã¯ããã®ã«"
+"ãã´ãªã«åé¡ããã¾ãã <xref linkend=\"mapping-declaration-version"
+"\">version</xref> ã <xref linkend=\"mapping-declaration-timestamp"
+"\">timestamp</xref> ã® ããããã£ã¯çæãããã¨ãã¼ã¯ã§ãã¾ããããã®ãªãã·ã§"
+"ã³ã¯å©ç¨ã§ããªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:2900
-msgid "<literal>always</literal> - states that the property value is generated both on insert and on update."
+#. Tag: para
+#: basic_mapping.xml:2900
+#, no-c-format
+msgid ""
+"<literal>always</literal> - states that the property value is generated both "
+"on insert and on update."
msgstr ""
+"<literal>always</literal> - æ¿å
¥æãæ´æ°æãããããã£ã®å¤ãçæããããã¨ã"
+"示ãã¾ãã"
-#: index.docbook:2907
+#. Tag: title
+#: basic_mapping.xml:2907
+#, no-c-format
msgid "Auxiliary Database Objects"
-msgstr ""
+msgstr "è£å©çãªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ã"
-#: index.docbook:2908
-msgid "Allows CREATE and DROP of arbitrary database objects, in conjunction with Hibernate's schema evolution tools, to provide the ability to fully define a user schema within the Hibernate mapping files. Although designed specifically for creating and dropping things like triggers or stored procedures, really any SQL command that can be run via a <literal>java.sql.Statement.execute()</literal> method is valid here (ALTERs, INSERTS, etc). There are essentially two modes for defining auxiliary database objects..."
+#. Tag: para
+#: basic_mapping.xml:2908
+#, no-c-format
+msgid ""
+"Allows CREATE and DROP of arbitrary database objects, in conjunction with "
+"Hibernate's schema evolution tools, to provide the ability to fully define a "
+"user schema within the Hibernate mapping files. Although designed "
+"specifically for creating and dropping things like triggers or stored "
+"procedures, really any SQL command that can be run via a <literal>java.sql."
+"Statement.execute()</literal> method is valid here (ALTERs, INSERTS, etc). "
+"There are essentially two modes for defining auxiliary database objects..."
msgstr ""
+"Hibernateã®ã¹ãã¼ãã»ã¨ããªã¥ã¼ã·ã§ã³ãã¼ã«ã¨é£åãããã¨ã§ã ä»»æã®ãã¼ã¿"
+"ãã¼ã¹ã»ãªãã¸ã§ã¯ãï¼ããªã¬ã¼ãã¹ãã¢ãããã·ã¼ã¸ã£ãªã©ï¼ã®CREATEã¨DROPã«ã"
+"ãã Hibernateã®ãããã³ã°ãã¡ã¤ã«å
ã®ã¦ã¼ã¶ã»ã¹ãã¼ãããã¹ã¦å®ç¾©ãããã¨ã"
+"åºæ¥ã¾ãã 主ã«ããªã¬ãã¹ãã¢ãããã·ã¼ã¸ã£ã®ãããªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ã"
+"ãçæãåé¤ãããã¨ãæå³ãã¦ãã¾ããã å®éã«ã¯ <literal>java.sql."
+"Statement.execute()</literal> ã¡ã½ããã«ãã£ã¦å®è¡ã§ãã ä»»æã®SQLã³ãã³ã"
+"ï¼ALTERãINSERTãªã©ï¼ãå®è¡ã§ãã¾ãã è£å©çãªãã¼ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ããå®"
+"義ããããã®ã2ã¤ã®åºæ¬çãªæ¹æ³ãããã¾ãã"
-#: index.docbook:2917
-msgid "The first mode is to explicitly list the CREATE and DROP commands out in the mapping file:"
+#. Tag: para
+#: basic_mapping.xml:2917
+#, no-c-format
+msgid ""
+"The first mode is to explicitly list the CREATE and DROP commands out in the "
+"mapping file:"
msgstr ""
+"1ã¤ç®ã®æ¹æ³ã¯ãCREATEã¨DROPã³ãã³ãããããã³ã°ãã¡ã¤ã«ã®å¤ã«ãæç¤ºçã«è¨è¼ã"
+"ããã¨ã§ãã"
-#: index.docbook:2921
+#. Tag: programlisting
+#: basic_mapping.xml:2921
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- " ...\n"
- " <database-object>\n"
- " <create>CREATE TRIGGER my_trigger ...</create>\n"
- " <drop>DROP TRIGGER my_trigger</drop>\n"
- " </database-object>\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+" ...\n"
+" <database-object>\n"
+" <create>CREATE TRIGGER my_trigger ...</create>\n"
+" <drop>DROP TRIGGER my_trigger</drop>\n"
+" </database-object>\n"
+"</hibernate-mapping>]]>"
msgstr ""
-#: index.docbook:2922
-msgid "The second mode is to supply a custom class which knows how to construct the CREATE and DROP commands. This custom class must implement the <literal>org.hibernate.mapping.AuxiliaryDatabaseObject</literal> interface."
+#. Tag: para
+#: basic_mapping.xml:2922
+#, no-c-format
+msgid ""
+"The second mode is to supply a custom class which knows how to construct the "
+"CREATE and DROP commands. This custom class must implement the <literal>org."
+"hibernate.mapping.AuxiliaryDatabaseObject</literal> interface."
msgstr ""
+"2ã¤ç®ã®æ¹æ³ã¯ãCREATEã¨DROPã³ãã³ãã®çµã¿ç«ã¦æ¹ãç¥ã£ã¦ããã«ã¹ã¿ã ã¯ã©ã¹ãæ"
+"ä¾ãããã¨ã§ãã ãã®ã«ã¹ã¿ã ã¯ã©ã¹ã¯ <literal>org.hibernate.mapping."
+"AuxiliaryDatabaseObject</literal> ã¤ã³ã¿ãã§ã¼ã¹ã å®è£
ããªããã°ãªãã¾ããã"
-#: index.docbook:2927
+#. Tag: programlisting
+#: basic_mapping.xml:2927
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- " ...\n"
- " <database-object>\n"
- " <definition class=\"MyTriggerDefinition\"/>\n"
- " </database-object>\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+" ...\n"
+" <database-object>\n"
+" <definition class=\"MyTriggerDefinition\"/>\n"
+" </database-object>\n"
+"</hibernate-mapping>]]>"
msgstr ""
-#: index.docbook:2928
-msgid "Additionally, these database objects can be optionally scoped such that they only apply when certain dialects are used."
+#. Tag: para
+#: basic_mapping.xml:2928
+#, no-c-format
+msgid ""
+"Additionally, these database objects can be optionally scoped such that they "
+"only apply when certain dialects are used."
msgstr ""
+"ããã«ããããã¼ã¿ãã¼ã¹æ¹è¨ã使ç¨ãããæã«ã ãé©ç¨ããã¨ãã£ãããã«ã ãã¼"
+"ã¿ãã¼ã¹ã»ãªãã¸ã§ã¯ãã使ãããã±ã¼ã¹ãéå®ã§ãã¾ãã"
-#: index.docbook:2932
+#. Tag: programlisting
+#: basic_mapping.xml:2932
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- " ...\n"
- " <database-object>\n"
- " <definition class=\"MyTriggerDefinition\"/>\n"
- " <dialect-scope name=\"org.hibernate.dialect.Oracle9Dialect\"/>\n"
- " <dialect-scope name=\"org.hibernate.dialect.OracleDialect\"/>\n"
- " </database-object>\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+" ...\n"
+" <database-object>\n"
+" <definition class=\"MyTriggerDefinition\"/>\n"
+" <dialect-scope name=\"org.hibernate.dialect.Oracle9Dialect\"/>\n"
+" <dialect-scope name=\"org.hibernate.dialect.OracleDialect\"/>\n"
+" </database-object>\n"
+"</hibernate-mapping>]]>"
msgstr ""
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid "class"
+#~ msgstr "class"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid "id"
+#~ msgstr "id"
+#~ msgid ""
+#~ "<literal>optimizer</literal> (optional, defaults to <literal>none</"
+#~ "literal>): See <xref linkend=\"mapping-declaration-id-enhanced-optimizers"
+#~ "\"/>"
+#~ msgstr ""
+#~ "<literal>optimizer</literal> (optional, defaults to <literal>none</"
+#~ "literal>): See <xref linkend=\"mapping-declaration-id-enhanced-optimizers"
+#~ "\"/>"
+
+#~ msgid ""
+#~ "<literal>optimizer</literal> (optional, defaults to <literal/>): See "
+#~ "<xref linkend=\"mapping-declaration-id-enhanced-optimizers\"/>"
+#~ msgstr ""
+#~ "<literal>optimizer</literal> (optional, defaults to <literal/>): See "
+#~ "<xref linkend=\"mapping-declaration-id-enhanced-optimizers\"/>"
+
+#~ msgid "key"
+#~ msgstr "key"
+
+#~ msgid "any"
+#~ msgstr "any"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/batch.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/batch.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/batch.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,459 +1,630 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: batch.xml:5
+#, no-c-format
msgid "Batch processing"
msgstr "ãããå¦ç"
-#: index.docbook:7
-msgid "A naive approach to inserting 100 000 rows in the database using Hibernate might look like this:"
-msgstr "Hibernateã使ã£ã¦ãã¼ã¿ãã¼ã¹ã«100,000è¡ãæ¿å
¥ããæç´ãªæ¹æ³ã¯ããã®ãããªãã®ã§ãï¼"
+#. Tag: para
+#: batch.xml:7
+#, no-c-format
+msgid ""
+"A naive approach to inserting 100 000 rows in the database using Hibernate "
+"might look like this:"
+msgstr ""
+"Hibernateã使ã£ã¦ãã¼ã¿ãã¼ã¹ã«100,000è¡ãæ¿å
¥ããæç´ãªæ¹æ³ã¯ããã®ãããªã"
+"ã®ã§ãï¼"
-#: index.docbook:12
+#. Tag: programlisting
+#: batch.xml:12
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- "for ( int i=0; i<100000; i++ ) {\n"
- " Customer customer = new Customer(.....);\n"
- " session.save(customer);\n"
- "}\n"
- "tx.commit();\n"
- "session.close();]]>"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+"for ( int i=0; i<100000; i++ ) {\n"
+" Customer customer = new Customer(.....);\n"
+" session.save(customer);\n"
+"}\n"
+"tx.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "for ( int i=0; i<100000; i++ ) {
-\n"
- " Customer customer = new Customer(.....);
-\n"
- " session.save(customer);
-\n"
- "}
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
-#: index.docbook:14
-msgid "This would fall over with an <literal>OutOfMemoryException</literal> somewhere around the 50 000th row. That's because Hibernate caches all the newly inserted <literal>Customer</literal> instances in the session-level cache."
-msgstr "ããã¯50,000çªç®ã®è¡ã®ãããã§ <literal>OutOfMemoryException</literal> ã§å¤±æããã§ãããã Hibernateãã»ãã·ã§ã³ã¬ãã«ãã£ãã·ã¥ã§ã æ°ããæ¿å
¥ããããã¹ã¦ã® <literal>Customer</literal> ã¤ã³ã¹ã¿ã³ã¹ããã£ãã·ã¥ããããã§ãã"
+#. Tag: para
+#: batch.xml:14
+#, no-c-format
+msgid ""
+"This would fall over with an <literal>OutOfMemoryException</literal> "
+"somewhere around the 50 000th row. That's because Hibernate caches all the "
+"newly inserted <literal>Customer</literal> instances in the session-level "
+"cache."
+msgstr ""
+"ããã¯50,000çªç®ã®è¡ã®ãããã§ <literal>OutOfMemoryException</literal> ã§å¤±æ"
+"ããã§ãããã Hibernateãã»ãã·ã§ã³ã¬ãã«ãã£ãã·ã¥ã§ã æ°ããæ¿å
¥ããããã¹"
+"ã¦ã® <literal>Customer</literal> ã¤ã³ã¹ã¿ã³ã¹ããã£ãã·ã¥ããããã§ãã"
-#: index.docbook:20
-msgid "In this chapter we'll show you how to avoid this problem. First, however, if you are doing batch processing, it is absolutely critical that you enable the use of JDBC batching, if you intend to achieve reasonable performance. Set the JDBC batch size to a reasonable number (say, 10-50):"
-msgstr "ãã®ç« ã§ã¯ããã®åé¡ãåé¿ããæ¹æ³ãç´¹ä»ãã¾ãã ããããããå¦çããããªããJDBCãããã使ç¨å¯è½ã§ãããã¨ãé常ã«éè¦ã§ãã ããã§ãªããã°æé ãªããã©ã¼ãã³ã¹ãå¾ããã¾ããã JDBCããããµã¤ãºãæé ãªæ°å¤ï¼ä¾ãã°ã10ãã50ï¼ã«è¨å®ãã¦ãã ããï¼"
+#. Tag: para
+#: batch.xml:20
+#, no-c-format
+msgid ""
+"In this chapter we'll show you how to avoid this problem. First, however, if "
+"you are doing batch processing, it is absolutely critical that you enable "
+"the use of JDBC batching, if you intend to achieve reasonable performance. "
+"Set the JDBC batch size to a reasonable number (say, 10-50):"
+msgstr ""
+"ãã®ç« ã§ã¯ããã®åé¡ãåé¿ããæ¹æ³ãç´¹ä»ãã¾ãã ããããããå¦çããããªãã"
+"JDBCãããã使ç¨å¯è½ã§ãããã¨ãé常ã«éè¦ã§ãã ããã§ãªããã°æé ãªããã©ã¼"
+"ãã³ã¹ãå¾ããã¾ããã JDBCããããµã¤ãºãæé ãªæ°å¤ï¼ä¾ãã°ã10ãã50ï¼ã«è¨å®"
+"ãã¦ãã ããï¼"
-#: index.docbook:27
+#. Tag: programlisting
+#: batch.xml:27
+#, no-c-format
msgid "<![CDATA[hibernate.jdbc.batch_size 20]]>"
-msgstr "<![CDATA[hibernate.jdbc.batch_size 20]]>"
+msgstr ""
-#: index.docbook:29
-msgid "Note that Hibernate disables insert batching at the JDBC level transparently if you use an <literal>identiy</literal> identifier generator."
-msgstr "ã¾ãäºæ¬¡ãã£ãã·ã¥ãå
¨ãå¹ããªãããã»ã¹ã§ã ãã®ãããªä½æ¥ããããã¨æãããããã¾ããï¼"
+#. Tag: para
+#: batch.xml:29
+#, no-c-format
+msgid ""
+"Note that Hibernate disables insert batching at the JDBC level transparently "
+"if you use an <literal>identiy</literal> identifier generator."
+msgstr ""
+"Note that Hibernate disables insert batching at the JDBC level transparently "
+"if you use an <literal>identiy</literal> identifier generator."
-#: index.docbook:34
-msgid "You also might like to do this kind of work in a process where interaction with the second-level cache is completely disabled:"
-msgstr "<![CDATA[hibernate.cache.use_second_level_cache false]]>"
+#. Tag: para
+#: batch.xml:34
+#, no-c-format
+msgid ""
+"You also might like to do this kind of work in a process where interaction "
+"with the second-level cache is completely disabled:"
+msgstr ""
+"ã¾ãäºæ¬¡ãã£ãã·ã¥ãå
¨ãå¹ããªãããã»ã¹ã§ã ãã®ãããªä½æ¥ããããã¨æããã"
+"ããã¾ããï¼"
-#: index.docbook:39
+#. Tag: programlisting
+#: batch.xml:39
+#, no-c-format
msgid "<![CDATA[hibernate.cache.use_second_level_cache false]]>"
-msgstr "ããããããã¯çµ¶å¯¾ã«å¿
è¦ã¨ããããã§ã¯ããã¾ããã ãªããªãæç¤ºçã« <literal>CacheMode</literal> ãè¨å®ãã¦ã äºæ¬¡ãã£ãã·ã¥ã¨ã®ç¸äºä½ç¨ãç¡å¹ã«ãããã¨ãã§ããããã§ãã"
+msgstr ""
-#: index.docbook:41
-msgid "However, this is not absolutely necessary, since we can explicitly set the <literal>CacheMode</literal> to disable interaction with the second-level cache."
-msgstr "ãããæ¿å
¥"
+#. Tag: para
+#: batch.xml:41
+#, no-c-format
+msgid ""
+"However, this is not absolutely necessary, since we can explicitly set the "
+"<literal>CacheMode</literal> to disable interaction with the second-level "
+"cache."
+msgstr ""
+"ããããããã¯çµ¶å¯¾ã«å¿
è¦ã¨ããããã§ã¯ããã¾ããã ãªããªãæç¤ºçã« "
+"<literal>CacheMode</literal> ãè¨å®ãã¦ã äºæ¬¡ãã£ãã·ã¥ã¨ã®ç¸äºä½ç¨ãç¡å¹ã«"
+"ãããã¨ãã§ããããã§ãã"
-#: index.docbook:47
+#. Tag: title
+#: batch.xml:47
+#, no-c-format
msgid "Batch inserts"
-msgstr "æ°ãããªãã¸ã§ã¯ããæ°¸ç¶åããã¨ãã䏿¬¡ãã£ãã·ã¥ã®ãµã¤ãºãå¶éããããã ã»ãã·ã§ã³ã <literal>flush()</literal> ã㦠<literal>clear()</literal> ããªããã°ãªãã¾ããã"
+msgstr "ãããæ¿å
¥"
-#: index.docbook:49
-msgid "When making new objects persistent, you must <literal>flush()</literal> and then <literal>clear()</literal> the session regularly, to control the size of the first-level cache."
+#. Tag: para
+#: batch.xml:49
+#, no-c-format
+msgid ""
+"When making new objects persistent, you must <literal>flush()</literal> and "
+"then <literal>clear()</literal> the session regularly, to control the size "
+"of the first-level cache."
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "for ( int i=0; i<100000; i++ ) {
-\n"
- " Customer customer = new Customer(.....);
-\n"
- " session.save(customer);
-\n"
- " if ( i % 20 == 0 ) { //20, same as the JDBC batch size
-\n"
- " //flush a batch of inserts and release memory:
-\n"
- " session.flush();
-\n"
- " session.clear();
-\n"
- " }
-\n"
- "}
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"æ°ãããªãã¸ã§ã¯ããæ°¸ç¶åããã¨ãã䏿¬¡ãã£ãã·ã¥ã®ãµã¤ãºãå¶éããããã "
+"ã»ãã·ã§ã³ã <literal>flush()</literal> ã㦠<literal>clear()</literal> ããª"
+"ããã°ãªãã¾ããã"
-#: index.docbook:55
+#. Tag: programlisting
+#: batch.xml:55
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- " \n"
- "for ( int i=0; i<100000; i++ ) {\n"
- " Customer customer = new Customer(.....);\n"
- " session.save(customer);\n"
- " if ( i % 20 == 0 ) { //20, same as the JDBC batch size\n"
- " //flush a batch of inserts and release memory:\n"
- " session.flush();\n"
- " session.clear();\n"
- " }\n"
- "}\n"
- " \n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "ãããæ´æ°"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+" \n"
+"for ( int i=0; i<100000; i++ ) {\n"
+" Customer customer = new Customer(.....);\n"
+" session.save(customer);\n"
+" if ( i % 20 == 0 ) { //20, same as the JDBC batch size\n"
+" //flush a batch of inserts and release memory:\n"
+" session.flush();\n"
+" session.clear();\n"
+" }\n"
+"}\n"
+" \n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:60
+#. Tag: title
+#: batch.xml:60
+#, no-c-format
msgid "Batch updates"
-msgstr "ãã¼ã¿ã復å
ãããæ´æ°ãããããã«ã¯åãã¢ã¤ãã£ã¢ãé©ç¨ãã¾ãã ããã«å ãã¦ããã¼ã¿ã®è¡ãå¤ãè¿ãã¯ã¨ãªã«å¯¾ãã¦æå¹ãª ãµã¼ãã¼ãµã¤ãã®ã«ã¼ã½ã«ã®å©ç¹ãçãããããã° <literal>scroll()</literal> ã使ãå¿
è¦ãããã¾ãã"
+msgstr "ãããæ´æ°"
-#: index.docbook:62
-msgid "For retrieving and updating data the same ideas apply. In addition, you need to use <literal>scroll()</literal> to take advantage of server-side cursors for queries that return many rows of data."
+#. Tag: para
+#: batch.xml:62
+#, no-c-format
+msgid ""
+"For retrieving and updating data the same ideas apply. In addition, you need "
+"to use <literal>scroll()</literal> to take advantage of server-side cursors "
+"for queries that return many rows of data."
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")
-\n"
- " .setCacheMode(CacheMode.IGNORE)
-\n"
- " .scroll(ScrollMode.FORWARD_ONLY);
-\n"
- "int count=0;
-\n"
- "while ( customers.next() ) {
-\n"
- " Customer customer = (Customer) customers.get(0);
-\n"
- " customer.updateStuff(...);
-\n"
- " if ( ++count % 20 == 0 ) {
-\n"
- " //flush a batch of updates and release memory:
-\n"
- " session.flush();
-\n"
- " session.clear();
-\n"
- " }
-\n"
- "}
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"ãã¼ã¿ã復å
ãããæ´æ°ãããããã«ã¯åãã¢ã¤ãã£ã¢ãé©ç¨ãã¾ãã ããã«å ã"
+"ã¦ããã¼ã¿ã®è¡ãå¤ãè¿ãã¯ã¨ãªã«å¯¾ãã¦æå¹ãª ãµã¼ãã¼ãµã¤ãã®ã«ã¼ã½ã«ã®å©ç¹ã"
+"çãããããã° <literal>scroll()</literal> ã使ãå¿
è¦ãããã¾ãã"
-#: index.docbook:68
+#. Tag: programlisting
+#: batch.xml:68
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- " \n"
- "ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")\n"
- " .setCacheMode(CacheMode.IGNORE)\n"
- " .scroll(ScrollMode.FORWARD_ONLY);\n"
- "int count=0;\n"
- "while ( customers.next() ) {\n"
- " Customer customer = (Customer) customers.get(0);\n"
- " customer.updateStuff(...);\n"
- " if ( ++count % 20 == 0 ) {\n"
- " //flush a batch of updates and release memory:\n"
- " session.flush();\n"
- " session.clear();\n"
- " }\n"
- "}\n"
- " \n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "StatelessSessionã¤ã³ã¿ã¼ãã§ã¤ã¹"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+" \n"
+"ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")\n"
+" .setCacheMode(CacheMode.IGNORE)\n"
+" .scroll(ScrollMode.FORWARD_ONLY);\n"
+"int count=0;\n"
+"while ( customers.next() ) {\n"
+" Customer customer = (Customer) customers.get(0);\n"
+" customer.updateStuff(...);\n"
+" if ( ++count % 20 == 0 ) {\n"
+" //flush a batch of updates and release memory:\n"
+" session.flush();\n"
+" session.clear();\n"
+" }\n"
+"}\n"
+" \n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:73
+#. Tag: title
+#: batch.xml:73
+#, no-c-format
msgid "The StatelessSession interface"
-msgstr "ã¾ãå¥ã®æ¹æ³ã¨ãã¦ãHibernateã¯ã³ãã³ãæåã®APIãç¨æãã¦ãã¾ãã ããã¯åé¢ãªãã¸ã§ã¯ãã®å½¢ã§ã ãã¼ã¿ãã¼ã¹ã¨ã®ãã¼ã¿ã¹ããªã¼ã ã®ããåãã«ä½¿ããã¨ãã§ãã¾ãã <literal>StatelessSession</literal> ã¯é¢é£ããæ°¸ç¶ã³ã³ããã¹ããæããã é«ã¬ãã«ã®ã©ã¤ããµã¤ã¯ã«ã»ãã³ãã£ã¯ã¹ã®å¤ããæä¾ãã¾ããã ç¹ã«ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã¯ã䏿ãã£ãã·ã¥ãå®è£
ããã ã¾ãã©ã®ãããªäºæ¬¡ãã£ãã·ã¥ãã¯ã¨ãªãã£ãã·ã¥ã¨ãç¸äºä½ç¨ãã¾ããã ãã©ã³ã¶ã¯ã·ã§ãã«ãªwrite-behindãèªåãã¼ãã£ãã§ãã¯ãå®è£
ãã¾ããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã使ã£ã¦è¡ãããæä½ãã é¢é£ããã¤ã³ã¹ã¿ã³ã¹ã¸ã«ã¹ã±ã¼ãããããã¨ã¯æ±ºãã¦ããã¾ããã ã³ã¬ã¯ã·ã§ã³ã¯ãã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ããã¯ç¡è¦ããã¾ãã ã¹ãã¼ãã¬ã¹ã»!
ãã·ã§ã³ãéãã¦è¡ãããæä½ã¯ã Hibernateã®ã¤ãã³ãã¢ãã«ãã¤ã³ã¿ã¼ã»ãã¿ã®å½±é¿ãåãã¾ããã 䏿ãã£ãã·ã¥ãæããªãããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã¯å¥åãæã¤ãã¼ã¿ã«ä¸æã対å¦ã§ãã¾ããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã¯ä½ã¬ãã«ã®æ½è±¡åã§ãããJDBCã«é常ã«ããä¼¼ã¦ãã¾ãã"
+msgstr "StatelessSessionã¤ã³ã¿ã¼ãã§ã¤ã¹"
-#: index.docbook:74
-msgid "Alternatively, Hibernate provides a command-oriented API that may be used for streaming data to and from the database in the form of detached objects. A <literal>StatelessSession</literal> has no persistence context associated with it and does not provide many of the higher-level life cycle semantics. In particular, a stateless session does not implement a first-level cache nor interact with any second-level or query cache. It does not implement transactional write-behind or automatic dirty checking. Operations performed using a stateless session do not ever cascade to associated instances. Collections are ignored by a stateless session. Operations performed via a stateless session bypass Hibernate's event model and interceptors. Stateless sessions are vulnerable to data aliasing effects, due to the lack of a first-level cache. A stateless session is a lower-level abstraction, much closer to the underlying JDBC."
+#. Tag: para
+#: batch.xml:74
+#, no-c-format
+msgid ""
+"Alternatively, Hibernate provides a command-oriented API that may be used "
+"for streaming data to and from the database in the form of detached objects. "
+"A <literal>StatelessSession</literal> has no persistence context associated "
+"with it and does not provide many of the higher-level life cycle semantics. "
+"In particular, a stateless session does not implement a first-level cache "
+"nor interact with any second-level or query cache. It does not implement "
+"transactional write-behind or automatic dirty checking. Operations performed "
+"using a stateless session do not ever cascade to associated instances. "
+"Collections are ignored by a stateless session. Operations performed via a "
+"stateless session bypass Hibernate's event model and interceptors. Stateless "
+"sessions are vulnerable to data aliasing effects, due to the lack of a first-"
+"level cache. A stateless session is a lower-level abstraction, much closer "
+"to the underlying JDBC."
msgstr ""
- "<![CDATA[StatelessSession session = sessionFactory.openStatelessSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")
-\n"
- " .scroll(ScrollMode.FORWARD_ONLY);
-\n"
- "while ( customers.next() ) {
-\n"
- " Customer customer = (Customer) customers.get(0);
-\n"
- " customer.updateStuff(...);
-\n"
- " session.update(customer);
-\n"
- "}
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"ã¾ãå¥ã®æ¹æ³ã¨ãã¦ãHibernateã¯ã³ãã³ãæåã®APIãç¨æãã¦ãã¾ãã ããã¯åé¢"
+"ãªãã¸ã§ã¯ãã®å½¢ã§ã ãã¼ã¿ãã¼ã¹ã¨ã®ãã¼ã¿ã¹ããªã¼ã ã®ããåãã«ä½¿ããã¨ãã§"
+"ãã¾ãã <literal>StatelessSession</literal> ã¯é¢é£ããæ°¸ç¶ã³ã³ããã¹ããæã"
+"ãã é«ã¬ãã«ã®ã©ã¤ããµã¤ã¯ã«ã»ãã³ãã£ã¯ã¹ã®å¤ããæä¾ãã¾ããã ç¹ã«ã¹ãã¼"
+"ãã¬ã¹ã»ãã·ã§ã³ã¯ã䏿ãã£ãã·ã¥ãå®è£
ããã ã¾ãã©ã®ãããªäºæ¬¡ãã£ãã·ã¥ã"
+"ã¯ã¨ãªãã£ãã·ã¥ã¨ãç¸äºä½ç¨ãã¾ããã ãã©ã³ã¶ã¯ã·ã§ãã«ãªwrite-behindãèªå"
+"ãã¼ãã£ãã§ãã¯ãå®è£
ãã¾ããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã使ã£ã¦è¡ãããæä½"
+"ãã é¢é£ããã¤ã³ã¹ã¿ã³ã¹ã¸ã«ã¹ã±ã¼ãããããã¨ã¯æ±ºãã¦ããã¾ããã ã³ã¬ã¯"
+"ã·ã§ã³ã¯ãã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ããã¯ç¡è¦ããã¾ãã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã"
+"éãã¦è¡ãããæä½ã¯ã Hibernateã®ã¤ãã³ãã¢ãã«ãã¤ã³ã¿ã¼ã»ãã¿ã®å½±é¿ãåã"
+"ã¾ããã 䏿ãã£ãã·ã¥ãæããªãããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã¯å¥åãæã¤"
+"ãã¼ã¿ã«ä¸æã対å¦ã§ãã¾ããã ã¹ãã¼ãã¬ã¹ã»ãã·ã§ã³ã¯ä½ã¬ãã«ã®æ½è±¡åã§ã"
+"ããJDBCã«é常ã«ããä¼¼ã¦ãã¾ãã"
-#: index.docbook:89
+#. Tag: programlisting
+#: batch.xml:89
+#, no-c-format
msgid ""
- "<![CDATA[StatelessSession session = sessionFactory.openStatelessSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- " \n"
- "ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")\n"
- " .scroll(ScrollMode.FORWARD_ONLY);\n"
- "while ( customers.next() ) {\n"
- " Customer customer = (Customer) customers.get(0);\n"
- " customer.updateStuff(...);\n"
- " session.update(customer);\n"
- "}\n"
- " \n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "ãã®ã³ã¼ãä¾ã§ã¯ãã¯ã¨ãªãè¿ã <literal>Customer</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯å³åº§ã«ï¼ã»ãã·ã§ã³ããï¼åé¢ããããã¨ã«æ³¨æãã¦ãã ããã ããã¯ãã©ã®ãããªæ°¸ç¶ã³ã³ããã¹ãã¨ã決ãã¦é¢é£ãã¾ããã"
+"<![CDATA[StatelessSession session = sessionFactory.openStatelessSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+" \n"
+"ScrollableResults customers = session.getNamedQuery(\"GetCustomers\")\n"
+" .scroll(ScrollMode.FORWARD_ONLY);\n"
+"while ( customers.next() ) {\n"
+" Customer customer = (Customer) customers.get(0);\n"
+" customer.updateStuff(...);\n"
+" session.update(customer);\n"
+"}\n"
+" \n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:91
-msgid "Note that in this code example, the <literal>Customer</literal> instances returned by the query are immediately detached. They are never associated with any persistence context."
-msgstr "<literal>StatelessSession</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§å®ç¾©ããã¦ãã <literal>insert(), update(), delete()</literal> ã¯ã ä½ã¬ãã«ã®ç´æ¥çãªãã¼ã¿ãã¼ã¹æä½ã¨èãããã¾ãã çµæã¨ãã¦ãSQLã® <literal>INSERT, UPDATE, DELETE</literal> ãããããå³åº§ã«å®è¡ããã¾ãã ãã®ããã«ãããã㯠<literal>Session</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§å®ç¾©ããã¦ãã <literal>save(), saveOrUpdate(), delete()</literal> ã¨ã¯é常ã«ç°ãªãæå³ãæã¡ã¾ãã"
+#. Tag: para
+#: batch.xml:91
+#, no-c-format
+msgid ""
+"Note that in this code example, the <literal>Customer</literal> instances "
+"returned by the query are immediately detached. They are never associated "
+"with any persistence context."
+msgstr ""
+"ãã®ã³ã¼ãä¾ã§ã¯ãã¯ã¨ãªãè¿ã <literal>Customer</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯å³åº§"
+"ã«ï¼ã»ãã·ã§ã³ããï¼åé¢ããããã¨ã«æ³¨æãã¦ãã ããã ããã¯ãã©ã®ãããªæ°¸ç¶"
+"ã³ã³ããã¹ãã¨ã決ãã¦é¢é£ãã¾ããã"
-#: index.docbook:97
-msgid "The <literal>insert(), update()</literal> and <literal>delete()</literal> operations defined by the <literal>StatelessSession</literal> interface are considered to be direct database row-level operations, which result in immediate execution of a SQL <literal>INSERT, UPDATE</literal> or <literal>DELETE</literal> respectively. Thus, they have very different semantics to the <literal>save(), saveOrUpdate()</literal> and <literal>delete()</literal> operations defined by the <literal>Session</literal> interface."
-msgstr "DMLã¹ã¿ã¤ã«ã®æä½"
+#. Tag: para
+#: batch.xml:97
+#, no-c-format
+msgid ""
+"The <literal>insert(), update()</literal> and <literal>delete()</literal> "
+"operations defined by the <literal>StatelessSession</literal> interface are "
+"considered to be direct database row-level operations, which result in "
+"immediate execution of a SQL <literal>INSERT, UPDATE</literal> or "
+"<literal>DELETE</literal> respectively. Thus, they have very different "
+"semantics to the <literal>save(), saveOrUpdate()</literal> and "
+"<literal>delete()</literal> operations defined by the <literal>Session</"
+"literal> interface."
+msgstr ""
+"<literal>StatelessSession</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§å®ç¾©ããã¦ãã "
+"<literal>insert(), update(), delete()</literal> ã¯ã ä½ã¬ãã«ã®ç´æ¥çãªãã¼ã¿"
+"ãã¼ã¹æä½ã¨èãããã¾ãã çµæã¨ãã¦ãSQLã® <literal>INSERT, UPDATE, "
+"DELETE</literal> ãããããå³åº§ã«å®è¡ããã¾ãã ãã®ããã«ãããã㯠"
+"<literal>Session</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§å®ç¾©ããã¦ãã <literal>save(), "
+"saveOrUpdate(), delete()</literal> ã¨ã¯é常ã«ç°ãªãæå³ãæã¡ã¾ãã"
-#: index.docbook:110
+#. Tag: title
+#: batch.xml:110
+#, no-c-format
msgid "DML-style operations"
-msgstr "ãã§ã«è°è«ããããã«ãèªåçãã¤ééçãªãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã¯ã ãªãã¸ã§ã¯ãã®ç¶æ
ã®ç®¡çã§ããã¨èãããã¾ãã ããã¯ã¡ã¢ãªå
ã®ãªãã¸ã§ã¯ãã®ç¶æ
ãå©ç¨ã§ããã¨ãããã¨ã§ãã ãã®ããï¼SQLã® <literal>ãã¼ã¿æä½è¨èª</literal> (DML) æï¼ <literal>INSERT</literal>, <literal>UPDATE</literal>, <literal>DELETE</literal> ã使ã£ã¦ï¼ãã¼ã¿ãã¼ã¹å
ã®ãã¼ã¿ãç´æ¥æä½ãã¦ãã ã¡ã¢ãªå
ã®ç¶æ
ã«ã¯å½±é¿ãä¸ãã¾ããã ãããHibernateã¯ããã«ã¯SQLã¹ã¿ã¤ã«ã®DMLæå®è¡ã«å¯¾å¿ããã¡ã½ãããç¨æãã¦ãã¾ãã ããã¯Hibernateã¯ã¨ãªè¨èªï¼<xref linkend=\"queryhql\"/>HQLï¼ ãéãã¦å®è¡ããã¾ãã"
+msgstr "DMLã¹ã¿ã¤ã«ã®æä½"
-#: index.docbook:112
-msgid "As already discussed, automatic and transparent object/relational mapping is concerned with the management of object state. This implies that the object state is available in memory, hence manipulating (using the SQL <literal>Data Manipulation Language</literal> (DML) statements: <literal>INSERT</literal>, <literal>UPDATE</literal>, <literal>DELETE</literal>) data directly in the database will not affect in-memory state. However, Hibernate provides methods for bulk SQL-style DML statement execution which are performed through the Hibernate Query Language (<xref linkend=\"queryhql\"/>HQL)."
-msgstr "<literal>UPDATE</literal> 㨠<literal>DELETE</literal> æã®çä¼¼æ§æã¯ï¼ <literal>( UPDATE | DELETE ) FROM? ã¨ã³ãã£ãã£å (WHERE æ¡ä»¶ç¯)?</literal> ã§ãã æ³¨æãã¹ãç¹ãããã¤ãããã¾ãï¼"
+#. Tag: para
+#: batch.xml:112
+#, no-c-format
+msgid ""
+"As already discussed, automatic and transparent object/relational mapping is "
+"concerned with the management of object state. This implies that the object "
+"state is available in memory, hence manipulating (using the SQL "
+"<literal>Data Manipulation Language</literal> (DML) statements: "
+"<literal>INSERT</literal>, <literal>UPDATE</literal>, <literal>DELETE</"
+"literal>) data directly in the database will not affect in-memory state. "
+"However, Hibernate provides methods for bulk SQL-style DML statement "
+"execution which are performed through the Hibernate Query Language (<link "
+"linkend=\"queryhql\">HQL</link>)."
+msgstr ""
+"ãã§ã«è°è«ããããã«ãèªåçãã¤ééçãªãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°"
+"ã¯ã ãªãã¸ã§ã¯ãã®ç¶æ
ã®ç®¡çã§ããã¨èãããã¾ãã ããã¯ã¡ã¢ãªå
ã®ãªãã¸ã§"
+"ã¯ãã®ç¶æ
ãå©ç¨ã§ããã¨ãããã¨ã§ãã ãã®ããï¼SQLã® <literal>ãã¼ã¿æä½è¨"
+"èª</literal> (DML) æï¼ <literal>INSERT</literal>, <literal>UPDATE</"
+"literal>, <literal>DELETE</literal> ã使ã£ã¦ï¼ãã¼ã¿ãã¼ã¹å
ã®ãã¼ã¿ãç´æ¥æ"
+"ä½ãã¦ãã ã¡ã¢ãªå
ã®ç¶æ
ã«ã¯å½±é¿ãä¸ãã¾ããã ãããHibernateã¯ããã«ã¯SQL"
+"ã¹ã¿ã¤ã«ã®DMLæå®è¡ã«å¯¾å¿ããã¡ã½ãããç¨æãã¦ãã¾ãã ããã¯Hibernateã¯ã¨ãª"
+"è¨èªï¼<xref linkend=\"queryhql\">HQL</xref>ï¼ ãéãã¦å®è¡ããã¾ãã"
-#: index.docbook:122
-msgid "The pseudo-syntax for <literal>UPDATE</literal> and <literal>DELETE</literal> statements is: <literal>( UPDATE | DELETE ) FROM? EntityName (WHERE where_conditions)?</literal>. Some points to note:"
-msgstr "fromç¯ã«ããã¦ãFROMãã¼ã¯ã¼ãã¯ãªãã·ã§ã³ã§ãã"
+#. Tag: para
+#: batch.xml:122
+#, no-c-format
+msgid ""
+"The pseudo-syntax for <literal>UPDATE</literal> and <literal>DELETE</"
+"literal> statements is: <literal>( UPDATE | DELETE ) FROM? EntityName (WHERE "
+"where_conditions)?</literal>. Some points to note:"
+msgstr ""
+"<literal>UPDATE</literal> 㨠<literal>DELETE</literal> æã®çä¼¼æ§æã¯ï¼ "
+"<literal>( UPDATE | DELETE ) FROM? ã¨ã³ãã£ãã£å (WHERE æ¡ä»¶ç¯)?</literal> "
+"ã§ãã æ³¨æãã¹ãç¹ãããã¤ãããã¾ãï¼"
-#: index.docbook:130
+#. Tag: para
+#: batch.xml:130
+#, no-c-format
msgid "In the from-clause, the FROM keyword is optional"
-msgstr "fromç¯ã§ã¯åä¸ã®ã¨ã³ãã£ãã£åã ããå¯è½ã§ã ä»»æã§å¥åãä»ãããã¨ãã§ãã¾ãã ã¨ã³ãã£ãã£åã«å¥åãä¸ããããã¨ãã©ã®ãããªããããã£åç
§ãã ãã®å¥åã使ã£ã¦ä¿®é£¾ããªããã°ãªãã¾ããã ããã¨ã³ãã£ãã£åã«å¥åãä¸ããããªããã°ã ã©ã®ãããªããããã£åç
§ã修飾ãã¦ã¯ãªãã¾ããã"
+msgstr "fromç¯ã«ããã¦ãFROMãã¼ã¯ã¼ãã¯ãªãã·ã§ã³ã§ãã"
-#: index.docbook:135
-msgid "There can only be a single entity named in the from-clause; it can optionally be aliased. If the entity name is aliased, then any property references must be qualified using that alias; if the entity name is not aliased, then it is illegal for any property references to be qualified."
-msgstr "ï¼æé»çã§ããæç¤ºçã§ããï¼<xref linkend=\"queryhql-joins-forms\"/>çµå ããã«ã¯HQLã¯ã¨ãªå
ã§æå®ãããã¨ã¯ã§ãã¾ããã ãµãã¯ã¨ãªã¯whereç¯ã§ä½¿ããã¨ãã§ãã¾ã ãµãã¯ã¨ãªãã®ãã®ã¯ãçµåãå«ãããã¾ãã"
+#. Tag: para
+#: batch.xml:135
+#, no-c-format
+msgid ""
+"There can only be a single entity named in the from-clause; it can "
+"optionally be aliased. If the entity name is aliased, then any property "
+"references must be qualified using that alias; if the entity name is not "
+"aliased, then it is illegal for any property references to be qualified."
+msgstr ""
+"fromç¯ã§ã¯åä¸ã®ã¨ã³ãã£ãã£åã ããå¯è½ã§ã ä»»æã§å¥åãä»ãããã¨ãã§ãã¾"
+"ãã ã¨ã³ãã£ãã£åã«å¥åãä¸ããããã¨ãã©ã®ãããªããããã£åç
§ãã ãã®å¥"
+"åã使ã£ã¦ä¿®é£¾ããªããã°ãªãã¾ããã ããã¨ã³ãã£ãã£åã«å¥åãä¸ããããªãã"
+"ã°ã ã©ã®ãããªããããã£åç
§ã修飾ãã¦ã¯ãªãã¾ããã"
-#: index.docbook:143
-msgid "No <xref linkend=\"queryhql-joins-forms\"/>joins (either implicit or explicit) can be specified in a bulk HQL query. Sub-queries may be used in the where-clause; the subqueries, themselves, may contain joins."
-msgstr "whereç¯ã¯ãªãã·ã§ã³ã§ãã"
+#. Tag: para
+#: batch.xml:143
+#, no-c-format
+msgid ""
+"No <link linkend=\"queryhql-joins-forms\">joins</link> (either implicit or "
+"explicit) can be specified in a bulk HQL query. Sub-queries may be used in "
+"the where-clause; the subqueries, themselves, may contain joins."
+msgstr ""
+"ï¼æé»çã§ããæç¤ºçã§ããï¼<xref linkend=\"queryhql-joins-forms\">çµå</"
+"xref> ããã«ã¯HQLã¯ã¨ãªå
ã§æå®ãããã¨ã¯ã§ãã¾ããã ãµãã¯ã¨ãªã¯whereç¯ã§ä½¿"
+"ããã¨ãã§ãã¾ã ãµãã¯ã¨ãªãã®ãã®ã¯ãçµåãå«ãããã¾ãã"
-#: index.docbook:150
+#. Tag: para
+#: batch.xml:150
+#, no-c-format
msgid "The where-clause is also optional."
-msgstr "ä¾ã¨ãã¦ãHQLã® <literal>UPDATE</literal> ãå®è¡ããã«ã¯ã <literal>Query.executeUpdate()</literal> ã¡ã½ããã使ã£ã¦ãã ããã ï¼ãã®ã¡ã½ããã¯ããªãã¿ã®JDBC <literal>PreparedStatement.executeUpdate()</literal> ããåä»ãããã¾ããï¼ï¼ d"
+msgstr "whereç¯ã¯ãªãã·ã§ã³ã§ãã"
-#: index.docbook:156
-msgid "As an example, to execute an HQL <literal>UPDATE</literal>, use the <literal>Query.executeUpdate()</literal> method (the method is named for those familiar with JDBC's <literal>PreparedStatement.executeUpdate()</literal>):"
+#. Tag: para
+#: batch.xml:156
+#, no-c-format
+msgid ""
+"As an example, to execute an HQL <literal>UPDATE</literal>, use the "
+"<literal>Query.executeUpdate()</literal> method (the method is named for "
+"those familiar with JDBC's <literal>PreparedStatement.executeUpdate()</"
+"literal>):"
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "String hqlUpdate = \"update Customer c set c.name = :newName where c.name = :oldName\";
-\n"
- "// or String hqlUpdate = \"update Customer set name = :newName where name = :oldName\";
-\n"
- "int updatedEntities = s.createQuery( hqlUpdate )
-\n"
- " .setString( \"newName\", newName )
-\n"
- " .setString( \"oldName\", oldName )
-\n"
- " .executeUpdate();
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"ä¾ã¨ãã¦ãHQLã® <literal>UPDATE</literal> ãå®è¡ããã«ã¯ã <literal>Query."
+"executeUpdate()</literal> ã¡ã½ããã使ã£ã¦ãã ããã ï¼ãã®ã¡ã½ããã¯ããªãã¿"
+"ã®JDBC <literal>PreparedStatement.executeUpdate()</literal> ããåä»ãããã¾"
+"ããï¼ï¼ d"
-#: index.docbook:162
+#. Tag: programlisting
+#: batch.xml:162
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- "\n"
- "String hqlUpdate = \"update Customer c set c.name = :newName where c.name = :oldName\";\n"
- "// or String hqlUpdate = \"update Customer set name = :newName where name = :oldName\";\n"
- "int updatedEntities = s.createQuery( hqlUpdate )\n"
- " .setString( \"newName\", newName )\n"
- " .setString( \"oldName\", oldName )\n"
- " .executeUpdate();\n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "HQLã® <literal>UPDATE</literal> æã¯ãããã©ã«ãã§ã¯ãä½ç¨ããã¨ã³ãã£ãã£ã® <xref linkend=\"mapping-declaration-version\"/>version ã <xref linkend=\"mapping-declaration-timestamp\"/>timestamp ããããã£ã®å¤ã«ã¯å½±é¿ãã¾ããã ããã¯EJB3ã®ä»æ§ã«ãåãç¶ããã¦ãã¾ãã ããã <literal>versioned update</literal> ã使ã£ã¦ã <literal>version</literal> ã <literal>timestamp</literal> ããããã£ã®å¤ãå¼·å¶çã«ãªã»ããããããã¨ãã§ãã¾ãã ãã㯠<literal>UPDATE</literal> ãã¼ã¯ã¼ãã®å¾ã« <literal>VERSIONED</literal> ãã¼ã¯ã¼ãã追å ãããã¨ã§è¡ãã¾ãã"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+"\n"
+"String hqlUpdate = \"update Customer c set c.name = :newName where c.name = :"
+"oldName\";\n"
+"// or String hqlUpdate = \"update Customer set name = :newName where name = :"
+"oldName\";\n"
+"int updatedEntities = s.createQuery( hqlUpdate )\n"
+" .setString( \"newName\", newName )\n"
+" .setString( \"oldName\", oldName )\n"
+" .executeUpdate();\n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:164
-msgid "HQL <literal>UPDATE</literal> statements, by default do not effect the <xref linkend=\"mapping-declaration-version\"/>version or the <xref linkend=\"mapping-declaration-timestamp\"/>timestamp property values for the affected entities; this is in keeping with the EJB3 specification. However, you can force Hibernate to properly reset the <literal>version</literal> or <literal>timestamp</literal> property values through the use of a <literal>versioned update</literal>. This is achieved by adding the <literal>VERSIONED</literal> keyword after the <literal>UPDATE</literal> keyword."
+#. Tag: para
+#: batch.xml:164
+#, no-c-format
+msgid ""
+"HQL <literal>UPDATE</literal> statements, by default do not effect the <link "
+"linkend=\"mapping-declaration-version\">version</link> or the <link linkend="
+"\"mapping-declaration-timestamp\">timestamp</link> property values for the "
+"affected entities; this is in keeping with the EJB3 specification. However, "
+"you can force Hibernate to properly reset the <literal>version</literal> or "
+"<literal>timestamp</literal> property values through the use of a "
+"<literal>versioned update</literal>. This is achieved by adding the "
+"<literal>VERSIONED</literal> keyword after the <literal>UPDATE</literal> "
+"keyword."
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "String hqlVersionedUpdate = \"update versioned Customer set name = :newName where name = :oldName\";
-\n"
- "int updatedEntities = s.createQuery( hqlUpdate )
-\n"
- " .setString( \"newName\", newName )
-\n"
- " .setString( \"oldName\", oldName )
-\n"
- " .executeUpdate();
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"HQLã® <literal>UPDATE</literal> æã¯ãããã©ã«ãã§ã¯ãä½ç¨ããã¨ã³ãã£ãã£ã® "
+"<xref linkend=\"mapping-declaration-version\">version</xref> ã <xref "
+"linkend=\"mapping-declaration-timestamp\">timestamp</xref> ããããã£ã®å¤ã«ã¯"
+"å½±é¿ãã¾ããã ããã¯EJB3ã®ä»æ§ã«ãåãç¶ããã¦ãã¾ãã ããã "
+"<literal>versioned update</literal> ã使ã£ã¦ã <literal>version</literal> ã "
+"<literal>timestamp</literal> ããããã£ã®å¤ãå¼·å¶çã«ãªã»ããããããã¨ãã§ã"
+"ã¾ãã ãã㯠<literal>UPDATE</literal> ãã¼ã¯ã¼ãã®å¾ã« <literal>VERSIONED</"
+"literal> ãã¼ã¯ã¼ãã追å ãããã¨ã§è¡ãã¾ãã"
-#: index.docbook:174
+#. Tag: programlisting
+#: batch.xml:174
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- "String hqlVersionedUpdate = \"update versioned Customer set name = :newName where name = :oldName\";\n"
- "int updatedEntities = s.createQuery( hqlUpdate )\n"
- " .setString( \"newName\", newName )\n"
- " .setString( \"oldName\", oldName )\n"
- " .executeUpdate();\n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "ã«ã¹ã¿ã ãã¼ã¸ã§ã³åï¼<literal>org.hibernate.usertype.UserVersionType</literal>ï¼ ã¯ <literal>update versioned</literal> æã¨ä¸ç·ã«ä½¿ããªããã¨ã«æ³¨æãã¦ãã ããã"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+"String hqlVersionedUpdate = \"update versioned Customer set name = :newName "
+"where name = :oldName\";\n"
+"int updatedEntities = s.createQuery( hqlUpdate )\n"
+" .setString( \"newName\", newName )\n"
+" .setString( \"oldName\", oldName )\n"
+" .executeUpdate();\n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:176
-msgid "Note that custom version types (<literal>org.hibernate.usertype.UserVersionType</literal>) are not allowed in conjunction with a <literal>update versioned</literal> statement."
-msgstr "HQLã® <literal>DELETE</literal> ãå®è¡ããã«ã¯ã åã <literal>Query.executeUpdate()</literal> ã¡ã½ããã使ã£ã¦ãã ããï¼"
+#. Tag: para
+#: batch.xml:176
+#, no-c-format
+msgid ""
+"Note that custom version types (<literal>org.hibernate.usertype."
+"UserVersionType</literal>) are not allowed in conjunction with a "
+"<literal>update versioned</literal> statement."
+msgstr ""
+"ã«ã¹ã¿ã ãã¼ã¸ã§ã³åï¼<literal>org.hibernate.usertype.UserVersionType</"
+"literal>ï¼ ã¯ <literal>update versioned</literal> æã¨ä¸ç·ã«ä½¿ããªããã¨ã«æ³¨"
+"æãã¦ãã ããã"
-#: index.docbook:181
-msgid "To execute an HQL <literal>DELETE</literal>, use the same <literal>Query.executeUpdate()</literal> method:"
+#. Tag: para
+#: batch.xml:181
+#, no-c-format
+msgid ""
+"To execute an HQL <literal>DELETE</literal>, use the same <literal>Query."
+"executeUpdate()</literal> method:"
msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "String hqlDelete = \"delete Customer c where c.name = :oldName\";
-\n"
- "// or String hqlDelete = \"delete Customer where name = :oldName\";
-\n"
- "int deletedEntities = s.createQuery( hqlDelete )
-\n"
- " .setString( \"oldName\", oldName )
-\n"
- " .executeUpdate();
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+"HQLã® <literal>DELETE</literal> ãå®è¡ããã«ã¯ã åã <literal>Query."
+"executeUpdate()</literal> ã¡ã½ããã使ã£ã¦ãã ããï¼"
-#: index.docbook:186
+#. Tag: programlisting
+#: batch.xml:186
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- "\n"
- "String hqlDelete = \"delete Customer c where c.name = :oldName\";\n"
- "// or String hqlDelete = \"delete Customer where name = :oldName\";\n"
- "int deletedEntities = s.createQuery( hqlDelete )\n"
- " .setString( \"oldName\", oldName )\n"
- " .executeUpdate();\n"
- "tx.commit();\n"
- "session.close();]]>"
-msgstr "<literal>Query.executeUpdate()</literal> ã¡ã½ãããè¿ã <literal>int</literal> ã®å¤ã¯ããã®æä½ãå½±é¿ãåã¼ããã¨ã³ãã£ãã£ã®æ°ã§ãã ãããå½±é¿ãããã¼ã¿ãã¼ã¹å
ã®è¡æ°ã¨ãç¸äºã«é¢ä¿ãããã©ãããèãã¦ã¿ã¦ãã ããã HQLãã«ã¯æä½ã¯ãçµæã¨ãã¦ãå®éã®SQLæãè¤æ°å®è¡ããããã¨ã«ãªãã¾ãã ä¾ãã°joined-subclassã§ãã è¿ãããæ°ã¯ããã®æã«ãã£ã¦å½±é¿ãããå®éã®ã¨ã³ãã£ãã£ã®æ°ã示ãã¾ãã joined-subclassã®ä¾ã«æ»ãã¨ããµãã¯ã©ã¹ã®ä¸ã¤ã«å¯¾ããåé¤ã¯ã ãã®ãµãã¯ã©ã¹ããããã³ã°ããããã¼ãã«ã ãã§ã¯ãªãã ãã«ã¼ãããã¼ãã«ã¨ç¶æ¿é層ãããã«ä¸ã£ãjoined-subclassã®ãã¼ãã«ã®åé¤ã«ãªãã¾ãã"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+"\n"
+"String hqlDelete = \"delete Customer c where c.name = :oldName\";\n"
+"// or String hqlDelete = \"delete Customer where name = :oldName\";\n"
+"int deletedEntities = s.createQuery( hqlDelete )\n"
+" .setString( \"oldName\", oldName )\n"
+" .executeUpdate();\n"
+"tx.commit();\n"
+"session.close();]]>"
+msgstr ""
-#: index.docbook:188
-msgid "The <literal>int</literal> value returned by the <literal>Query.executeUpdate()</literal> method indicate the number of entities effected by the operation. Consider this may or may not correlate to the number of rows effected in the database. An HQL bulk operation might result in multiple actual SQL statements being executed, for joined-subclass, for example. The returned number indicates the number of actual entities affected by the statement. Going back to the example of joined-subclass, a delete against one of the subclasses may actually result in deletes against not just the table to which that subclass is mapped, but also the \"root\" table and potentially joined-subclass tables further down the inheritence hierarchy."
-msgstr "<literal>INSERT</literal> æã®çä¼¼æ§æã¯ï¼ <literal>INSERT INTO ã¨ã³ãã£ãã£å ããããã£ãªã¹ã selectæ</literal> ã§ãã æ³¨æãã¹ãç¹ãããã¤ãããã¾ãï¼"
+#. Tag: para
+#: batch.xml:188
+#, no-c-format
+msgid ""
+"The <literal>int</literal> value returned by the <literal>Query.executeUpdate"
+"()</literal> method indicate the number of entities effected by the "
+"operation. Consider this may or may not correlate to the number of rows "
+"effected in the database. An HQL bulk operation might result in multiple "
+"actual SQL statements being executed, for joined-subclass, for example. The "
+"returned number indicates the number of actual entities affected by the "
+"statement. Going back to the example of joined-subclass, a delete against "
+"one of the subclasses may actually result in deletes against not just the "
+"table to which that subclass is mapped, but also the \"root\" table and "
+"potentially joined-subclass tables further down the inheritence hierarchy."
+msgstr ""
+"<literal>Query.executeUpdate()</literal> ã¡ã½ãããè¿ã <literal>int</"
+"literal> ã®å¤ã¯ããã®æä½ãå½±é¿ãåã¼ããã¨ã³ãã£ãã£ã®æ°ã§ãã ãããå½±é¿ã"
+"ããã¼ã¿ãã¼ã¹å
ã®è¡æ°ã¨ãç¸äºã«é¢ä¿ãããã©ãããèãã¦ã¿ã¦ãã ããã HQLã"
+"ã«ã¯æä½ã¯ãçµæã¨ãã¦ãå®éã®SQLæãè¤æ°å®è¡ããããã¨ã«ãªãã¾ãã ä¾ãã°"
+"joined-subclassã§ãã è¿ãããæ°ã¯ããã®æã«ãã£ã¦å½±é¿ãããå®éã®ã¨ã³ãã£"
+"ãã£ã®æ°ã示ãã¾ãã joined-subclassã®ä¾ã«æ»ãã¨ããµãã¯ã©ã¹ã®ä¸ã¤ã«å¯¾ããå"
+"é¤ã¯ã ãã®ãµãã¯ã©ã¹ããããã³ã°ããããã¼ãã«ã ãã§ã¯ãªãã ãã«ã¼ãããã¼"
+"ãã«ã¨ç¶æ¿é層ãããã«ä¸ã£ãjoined-subclassã®ãã¼ãã«ã®åé¤ã«ãªãã¾ãã"
-#: index.docbook:199
-msgid "The pseudo-syntax for <literal>INSERT</literal> statements is: <literal>INSERT INTO EntityName properties_list select_statement</literal>. Some points to note:"
-msgstr "INSERT INTO ... SELECT ... ã®å½¢å¼ã ãããµãã¼ãããã¦ãã¾ãã INSERT INTO ... VALUES ... ã®å½¢å¼ã¯ãµãã¼ãããã¦ãã¾ããã"
+#. Tag: para
+#: batch.xml:199
+#, no-c-format
+msgid ""
+"The pseudo-syntax for <literal>INSERT</literal> statements is: "
+"<literal>INSERT INTO EntityName properties_list select_statement</literal>. "
+"Some points to note:"
+msgstr ""
+"<literal>INSERT</literal> æã®çä¼¼æ§æã¯ï¼ <literal>INSERT INTO ã¨ã³ãã£ãã£"
+"å ããããã£ãªã¹ã selectæ</literal> ã§ãã æ³¨æãã¹ãç¹ãããã¤ãããã¾"
+"ãï¼"
-#: index.docbook:207
-msgid "Only the INSERT INTO ... SELECT ... form is supported; not the INSERT INTO ... VALUES ... form."
-msgstr "ããããã£ãªã¹ãã¯ãSQLã® <literal>INSERT</literal> æã«ããã <literal>ã«ã©ã ã®ä»æ§</literal> ã«é¡ä¼¼ãã¦ãã¾ãã ç¶æ¿ã®ãããã³ã°ã«å«ã¾ããã¨ã³ãã£ãã£ã«å¯¾ãã¦ã ã¯ã©ã¹ã¬ãã«ã§ç´æ¥å®ç¾©ãããããããã£ã ãããããããã£ãªã¹ãã«ä½¿ãã¾ãã ã¹ã¼ãã¼ã¯ã©ã¹ã®ããããã£ã¯èªããããããµãã¯ã©ã¹ã®ããããã£ã¯å¹æãããã¾ããã è¨ãæãã㨠<literal>INSERT</literal> æã¯ãæ¬è³ªçã«ããªã¢ã¼ãã£ãã¯ã§ã¯ããã¾ããã"
+#. Tag: para
+#: batch.xml:207
+#, no-c-format
+msgid ""
+"Only the INSERT INTO ... SELECT ... form is supported; not the INSERT "
+"INTO ... VALUES ... form."
+msgstr ""
+"INSERT INTO ... SELECT ... ã®å½¢å¼ã ãããµãã¼ãããã¦ãã¾ãã INSERT "
+"INTO ... VALUES ... ã®å½¢å¼ã¯ãµãã¼ãããã¦ãã¾ããã"
-#: index.docbook:210
-msgid "The properties_list is analogous to the <literal>column speficiation</literal> in the SQL <literal>INSERT</literal> statement. For entities involved in mapped inheritence, only properties directly defined on that given class-level can be used in the properties_list. Superclass properties are not allowed; and subclass properties do not make sense. In other words, <literal>INSERT</literal> statements are inherently non-polymorphic."
-msgstr "selectæã®è¿ãå¤ã®åãinsertæãæå¾
ããåã¨ããããã¦ããã°ã ãã®selectæã¯å¦¥å½ãªHQL selectã¯ã¨ãªã¨ãªããã¾ãã ç¾å¨ãã®ãã§ãã¯ããã¼ã¿ãã¼ã¹ã¸ä»»ããã®ã§ã¯ãªããã¯ã¨ãªã®ã³ã³ãã¤ã«æã«ãã§ãã¯ãã¾ãã ãã®ãã¨ã¯ã<emphasis>equal</emphasis>ã¨ã¯éãã Hibernateã® <literal>Type</literal> éã® <emphasis>equivalent</emphasis> ã«é¢ãã åé¡ãå¼ãèµ·ãããã¨ã«æ³¨æãã¦ãã ããã ãã㯠<literal>org.hibernate.type.DataType</literal> ã¨ãã¦å®ç¾©ãããããããã£ã¨ã <literal>org.hibernate.type.TimestampType</literal> ã¨ãã¦å®ç¾©ãããããããã£ã®éã®ãã¹ãããã®åé¡ãå¼ãèµ·ããã¾ãã ãã¼ã¿ãã¼ã¹ãããããåºå¥ã§ããªãã¦ãã夿ãããã¨ãã§ãã¦ãããã®åé¡ã¯çºçãã¾ãã"
+#. Tag: para
+#: batch.xml:210
+#, no-c-format
+msgid ""
+"The properties_list is analogous to the <literal>column speficiation</"
+"literal> in the SQL <literal>INSERT</literal> statement. For entities "
+"involved in mapped inheritence, only properties directly defined on that "
+"given class-level can be used in the properties_list. Superclass properties "
+"are not allowed; and subclass properties do not make sense. In other words, "
+"<literal>INSERT</literal> statements are inherently non-polymorphic."
+msgstr ""
+"ããããã£ãªã¹ãã¯ãSQLã® <literal>INSERT</literal> æã«ããã <literal>ã«ã©"
+"ã ã®ä»æ§</literal> ã«é¡ä¼¼ãã¦ãã¾ãã ç¶æ¿ã®ãããã³ã°ã«å«ã¾ããã¨ã³ãã£ãã£"
+"ã«å¯¾ãã¦ã ã¯ã©ã¹ã¬ãã«ã§ç´æ¥å®ç¾©ãããããããã£ã ãããããããã£ãªã¹ãã«ä½¿"
+"ãã¾ãã ã¹ã¼ãã¼ã¯ã©ã¹ã®ããããã£ã¯èªããããããµãã¯ã©ã¹ã®ããããã£ã¯å¹æ"
+"ãããã¾ããã è¨ãæãã㨠<literal>INSERT</literal> æã¯ãæ¬è³ªçã«ããªã¢ã¼"
+"ãã£ãã¯ã§ã¯ããã¾ããã"
-#: index.docbook:220
-msgid "select_statement can be any valid HQL select query, with the caveat that the return types must match the types expected by the insert. Currently, this is checked during query compilation rather than allowing the check to relegate to the database. Note however that this might cause problems between Hibernate <literal>Type</literal>s which are <emphasis>equivalent</emphasis> as opposed to <emphasis>equal</emphasis>. This might cause issues with mismatches between a property defined as a <literal>org.hibernate.type.DateType</literal> and a property defined as a <literal>org.hibernate.type.TimestampType</literal>, even though the database might not make a distinction or might be able to handle the conversion."
-msgstr "idããããã£ã«å¯¾ãã¦ãinsertæã«ã¯äºã¤ã®é¸æè¢ãããã¾ãã ããããã£ãªã¹ãã§æç¤ºçã«idããããã£ãæå®ããã ï¼ãã®å ´åã対å¿ããselectå¼ããå¤ãåããã¾ãï¼ã ããããã£ãªã¹ãããé¤å¤ããã ï¼ãã®å ´åãçæãããå¤ã使ããã¾ãï¼ã®ããããã§ãã å¾è
ã®é¸æè¢ã¯ããã¼ã¿ãã¼ã¹å
ãæä½ããidã¸ã§ãã¬ã¼ã¿ã使ãã¨ãã®ã¿ãå©ç¨å¯è½ã§ãã ãã®é¸æè¢ãæ¡ãå ´åããã¤ã³ã¡ã¢ãªãåã®ã¸ã§ãã¬ã¼ã¿ã使ãã¨ãæ§æè§£ææã«ä¾å¤ãçºçãã¾ãã ãã®è°è«ã§ã¯ãã¤ã³ãã¼ã¿ãã¼ã¹åã¸ã§ãã¬ã¼ã¿ã¯ <literal>org.hibernate.id.SequenceGenerator</literal> ï¼ã¨ãã®ãµãã¯ã©ã¹ï¼ã¨ã<literal>org.hibernate.id.PostInsertIdentifierGenerator</literal> ã®å®è£
ã§ããã¨èãã¦ãã¾ãã ããã§æãæ³¨æãã¹ãä¾å¤ã¯ã<literal>org.hibernate.id.TableHiLoGenerator!
</literal> ã§ãã å¤ãåå¾ãã鏿å¯è½ãªæ¹æ³ããªãããããã®ã¸ã§ãã¬ã¼ã¿ã使ããã¨ã¯ã§ãã¾ããã"
+#. Tag: para
+#: batch.xml:220
+#, no-c-format
+msgid ""
+"select_statement can be any valid HQL select query, with the caveat that the "
+"return types must match the types expected by the insert. Currently, this is "
+"checked during query compilation rather than allowing the check to relegate "
+"to the database. Note however that this might cause problems between "
+"Hibernate <literal>Type</literal>s which are <emphasis>equivalent</emphasis> "
+"as opposed to <emphasis>equal</emphasis>. This might cause issues with "
+"mismatches between a property defined as a <literal>org.hibernate.type."
+"DateType</literal> and a property defined as a <literal>org.hibernate.type."
+"TimestampType</literal>, even though the database might not make a "
+"distinction or might be able to handle the conversion."
+msgstr ""
+"selectæã®è¿ãå¤ã®åãinsertæãæå¾
ããåã¨ããããã¦ããã°ã ãã®selectæã¯"
+"妥å½ãªHQL selectã¯ã¨ãªã¨ãªããã¾ãã ç¾å¨ãã®ãã§ãã¯ããã¼ã¿ãã¼ã¹ã¸ä»»ããã®"
+"ã§ã¯ãªããã¯ã¨ãªã®ã³ã³ãã¤ã«æã«ãã§ãã¯ãã¾ãã ãã®ãã¨ã¯ã"
+"<emphasis>equal</emphasis>ã¨ã¯éãã Hibernateã® <literal>Type</literal> é"
+"ã® <emphasis>equivalent</emphasis> ã«é¢ãã åé¡ãå¼ãèµ·ãããã¨ã«æ³¨æãã¦ã"
+"ã ããã ãã㯠<literal>org.hibernate.type.DataType</literal> ã¨ãã¦å®ç¾©ãã"
+"ãããããã£ã¨ã <literal>org.hibernate.type.TimestampType</literal> ã¨ãã¦å®"
+"義ãããããããã£ã®éã®ãã¹ãããã®åé¡ãå¼ãèµ·ããã¾ãã ãã¼ã¿ãã¼ã¹ããã"
+"ããåºå¥ã§ããªãã¦ãã夿ãããã¨ãã§ãã¦ãããã®åé¡ã¯çºçãã¾ãã"
-#: index.docbook:232
-msgid "For the id property, the insert statement gives you two options. You can either explicitly specify the id property in the properties_list (in which case its value is taken from the corresponding select expression) or omit it from the properties_list (in which case a generated value is used). This later option is only available when using id generators that operate in the database; attempting to use this option with any \"in memory\" type generators will cause an exception during parsing. Note that for the purposes of this discussion, in-database generators are considered to be <literal>org.hibernate.id.SequenceGenerator</literal> (and its subclasses) and any implementors of <literal>org.hibernate.id.PostInsertIdentifierGenerator</literal>. The most notable exception here is <literal>org.hibernate.id.TableHiLoGenerator</literal>, which cannot be used because it does not expose a selectable way to get its values."
-msgstr "<literal>version</literal> ã <literal>timestamp</literal> ã¨ãã¦ãããã³ã°ãããããããã£ã«å¯¾ãã¦ã insertæã«ã¯äºã¤ã®é¸æè¢ãããã¾ãã ããããã£ãªã¹ãã§æç¤ºçã«ããããã£ãæå®ããã ï¼ãã®å ´åã対å¿ããselectå¼ããå¤ãåããã¾ãï¼ã ããããã£ãªã¹ãããé¤å¤ããã ï¼ãã®å ´åã<literal>org.hibernate.type.VersionType</literal> ã§å®ç¾©ããã <literal>ã·ã¼ãå¤</literal> ã使ããã¾ãï¼ã®ããããã§ãã"
+#. Tag: para
+#: batch.xml:232
+#, no-c-format
+msgid ""
+"For the id property, the insert statement gives you two options. You can "
+"either explicitly specify the id property in the properties_list (in which "
+"case its value is taken from the corresponding select expression) or omit it "
+"from the properties_list (in which case a generated value is used). This "
+"later option is only available when using id generators that operate in the "
+"database; attempting to use this option with any \"in memory\" type "
+"generators will cause an exception during parsing. Note that for the "
+"purposes of this discussion, in-database generators are considered to be "
+"<literal>org.hibernate.id.SequenceGenerator</literal> (and its subclasses) "
+"and any implementors of <literal>org.hibernate.id."
+"PostInsertIdentifierGenerator</literal>. The most notable exception here is "
+"<literal>org.hibernate.id.TableHiLoGenerator</literal>, which cannot be used "
+"because it does not expose a selectable way to get its values."
+msgstr ""
+"idããããã£ã«å¯¾ãã¦ãinsertæã«ã¯äºã¤ã®é¸æè¢ãããã¾ãã ããããã£ãªã¹ãã§"
+"æç¤ºçã«idããããã£ãæå®ããã ï¼ãã®å ´åã対å¿ããselectå¼ããå¤ãåããã¾"
+"ãï¼ã ããããã£ãªã¹ãããé¤å¤ããã ï¼ãã®å ´åãçæãããå¤ã使ããã¾ãï¼"
+"ã®ããããã§ãã å¾è
ã®é¸æè¢ã¯ããã¼ã¿ãã¼ã¹å
ãæä½ããidã¸ã§ãã¬ã¼ã¿ã使ã"
+"ã¨ãã®ã¿ãå©ç¨å¯è½ã§ãã ãã®é¸æè¢ãæ¡ãå ´åããã¤ã³ã¡ã¢ãªãåã®ã¸ã§ãã¬ã¼ã¿"
+"ã使ãã¨ãæ§æè§£ææã«ä¾å¤ãçºçãã¾ãã ãã®è°è«ã§ã¯ãã¤ã³ãã¼ã¿ãã¼ã¹åã¸ã§"
+"ãã¬ã¼ã¿ã¯ <literal>org.hibernate.id.SequenceGenerator</literal> ï¼ã¨ãã®ãµã"
+"ã¯ã©ã¹ï¼ã¨ã<literal>org.hibernate.id.PostInsertIdentifierGenerator</"
+"literal> ã®å®è£
ã§ããã¨èãã¦ãã¾ãã ããã§æãæ³¨æãã¹ãä¾å¤ã¯ã"
+"<literal>org.hibernate.id.TableHiLoGenerator</literal> ã§ãã å¤ãåå¾ããé¸"
+"æå¯è½ãªæ¹æ³ããªãããããã®ã¸ã§ãã¬ã¼ã¿ã使ããã¨ã¯ã§ãã¾ããã"
-#: index.docbook:247
-msgid "For properties mapped as either <literal>version</literal> or <literal>timestamp</literal>, the insert statement gives you two options. You can either specify the property in the properties_list (in which case its value is taken from the corresponding select expressions) or omit it from the properties_list (in which case the <literal>seed value</literal> defined by the <literal>org.hibernate.type.VersionType</literal> is used)."
-msgstr "HQLã® <literal>INSERT</literal> æã®å®è¡ä¾ã§ãï¼"
+#. Tag: para
+#: batch.xml:247
+#, no-c-format
+msgid ""
+"For properties mapped as either <literal>version</literal> or "
+"<literal>timestamp</literal>, the insert statement gives you two options. "
+"You can either specify the property in the properties_list (in which case "
+"its value is taken from the corresponding select expressions) or omit it "
+"from the properties_list (in which case the <literal>seed value</literal> "
+"defined by the <literal>org.hibernate.type.VersionType</literal> is used)."
+msgstr ""
+"<literal>version</literal> ã <literal>timestamp</literal> ã¨ãã¦ãããã³ã°ã"
+"ããããããã£ã«å¯¾ãã¦ã insertæã«ã¯äºã¤ã®é¸æè¢ãããã¾ãã ããããã£ãªã¹"
+"ãã§æç¤ºçã«ããããã£ãæå®ããã ï¼ãã®å ´åã対å¿ããselectå¼ããå¤ãåãã"
+"ã¾ãï¼ã ããããã£ãªã¹ãããé¤å¤ããã ï¼ãã®å ´åã<literal>org.hibernate."
+"type.VersionType</literal> ã§å®ç¾©ããã <literal>ã·ã¼ãå¤</literal> ã使ãã"
+"ã¾ãï¼ã®ããããã§ãã"
-#: index.docbook:257
+#. Tag: para
+#: batch.xml:257
+#, no-c-format
msgid "An example HQL <literal>INSERT</literal> statement execution:"
-msgstr ""
- "<![CDATA[Session session = sessionFactory.openSession();
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "String hqlInsert = \"insert into DelinquentAccount (id, name) select c.id, c.name from Customer c where ...\";
-\n"
- "int createdEntities = s.createQuery( hqlInsert )
-\n"
- " .executeUpdate();
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
+msgstr "HQLã® <literal>INSERT</literal> æã®å®è¡ä¾ã§ãï¼"
-#: index.docbook:261
+#. Tag: programlisting
+#: batch.xml:261
+#, no-c-format
msgid ""
- "<![CDATA[Session session = sessionFactory.openSession();\n"
- "Transaction tx = session.beginTransaction();\n"
- "\n"
- "String hqlInsert = \"insert into DelinquentAccount (id, name) select c.id, c.name from Customer c where ...\";\n"
- "int createdEntities = s.createQuery( hqlInsert )\n"
- " .executeUpdate();\n"
- "tx.commit();\n"
- "session.close();]]>"
+"<![CDATA[Session session = sessionFactory.openSession();\n"
+"Transaction tx = session.beginTransaction();\n"
+"\n"
+"String hqlInsert = \"insert into DelinquentAccount (id, name) select c.id, c."
+"name from Customer c where ...\";\n"
+"int createdEntities = s.createQuery( hqlInsert )\n"
+" .executeUpdate();\n"
+"tx.commit();\n"
+"session.close();]]>"
msgstr ""
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/best_practices.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/best_practices.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/best_practices.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,168 +1,447 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: best_practices.xml:5
+#, no-c-format
msgid "Best Practices"
msgstr "ãã¹ããã©ã¯ãã£ã¹"
-#: index.docbook:9
-msgid "Write fine-grained classes and map them using <literal><component></literal>."
-msgstr "ã¯ã©ã¹ã¯ç´°ããç²åº¦ã§æ¸ã <literal><component></literal> ã§ãããã³ã°ãã¾ãããã"
+#. Tag: term
+#: best_practices.xml:9
+#, no-c-format
+msgid ""
+"Write fine-grained classes and map them using <literal><component></"
+"literal>."
+msgstr ""
+"ã¯ã©ã¹ã¯ç´°ããç²åº¦ã§æ¸ã <literal><component></literal> ã§ãããã³ã°ã"
+"ã¾ãããã"
-#: index.docbook:11
-msgid "Use an <literal>Address</literal> class to encapsulate <literal>street</literal>, <literal>suburb</literal>, <literal>state</literal>, <literal>postcode</literal>. This encourages code reuse and simplifies refactoring."
-msgstr "<literal>street</literal>ï¼éãï¼, <literal>suburb</literal> ï¼é½å¸ï¼, <literal>state</literal>ï¼å·ï¼, <literal>postcode</literal> ï¼éµä¾¿çªå·ï¼ãã«ãã»ã«åãã <literal>Address</literal>ï¼ä½æï¼ã¯ã©ã¹ã使ãã¾ãããã ããããã°ã³ã¼ããåå©ç¨ãããããªãããªãã¡ã¯ã¿ãªã³ã°ãç°¡åã«ãªãã¾ãã"
+#. Tag: para
+#: best_practices.xml:11
+#, no-c-format
+msgid ""
+"Use an <literal>Address</literal> class to encapsulate <literal>street</"
+"literal>, <literal>suburb</literal>, <literal>state</literal>, "
+"<literal>postcode</literal>. This encourages code reuse and simplifies "
+"refactoring."
+msgstr ""
+"<literal>street</literal>ï¼éãï¼, <literal>suburb</literal> ï¼é½å¸ï¼, "
+"<literal>state</literal>ï¼å·ï¼, <literal>postcode</literal> ï¼éµä¾¿çªå·ï¼ãã«"
+"ãã»ã«åãã <literal>Address</literal>ï¼ä½æï¼ã¯ã©ã¹ã使ãã¾ãããã ããã"
+"ãã°ã³ã¼ããåå©ç¨ãããããªãããªãã¡ã¯ã¿ãªã³ã°ãç°¡åã«ãªãã¾ãã"
-#: index.docbook:19
+#. Tag: term
+#: best_practices.xml:19
+#, no-c-format
msgid "Declare identifier properties on persistent classes."
msgstr "æ°¸ç¶ã¯ã©ã¹ã«ã¯èå¥åããããã£ãå®ç¾©ãã¾ãããã"
-#: index.docbook:21
-msgid "Hibernate makes identifier properties optional. There are all sorts of reasons why you should use them. We recommend that identifiers be 'synthetic' (generated, with no business meaning)."
-msgstr "Hibernateã§ã¯èå¥åããããã£ã¯ãªãã·ã§ã³ã§ããã 使ç¨ãã¹ãçç±ãããããããã¾ãã èå¥åã¯ã人工çãï¼çæããããæ¥åçãªæå³ãæããªãï¼ ãªãã®ã«ãããã¨ããããããã¾ãã"
+#. Tag: para
+#: best_practices.xml:21
+#, no-c-format
+msgid ""
+"Hibernate makes identifier properties optional. There are all sorts of "
+"reasons why you should use them. We recommend that identifiers be "
+"'synthetic' (generated, with no business meaning)."
+msgstr ""
+"Hibernateã§ã¯èå¥åããããã£ã¯ãªãã·ã§ã³ã§ããã 使ç¨ãã¹ãçç±ãããããã"
+"ãã¾ãã èå¥åã¯ã人工çãï¼çæããããæ¥åçãªæå³ãæããªãï¼ ãªãã®ã«ã"
+"ããã¨ããããããã¾ãã"
-#: index.docbook:29
+#. Tag: term
+#: best_practices.xml:29
+#, no-c-format
msgid "Identify natural keys."
msgstr "èªç¶ãã¼ãè¦ã¤ãã¾ãããã"
-#: index.docbook:31
-msgid "Identify natural keys for all entities, and map them using <literal><natural-id></literal>. Implement <literal>equals()</literal> and <literal>hashCode()</literal> to compare the properties that make up the natural key."
-msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ã«å¯¾ãã¦èªç¶ãã¼ãè¦ã¤ãã¦ã <literal><natural-id></literal> ã§ãããã³ã°ãã¾ãããã èªç¶ãã¼ãæ§æããããããã£ãæ¯è¼ããããã«ã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ãå®è£
ãã¾ãããã"
+#. Tag: para
+#: best_practices.xml:31
+#, no-c-format
+msgid ""
+"Identify natural keys for all entities, and map them using <literal><"
+"natural-id></literal>. Implement <literal>equals()</literal> and "
+"<literal>hashCode()</literal> to compare the properties that make up the "
+"natural key."
+msgstr ""
+"ãã¹ã¦ã®ã¨ã³ãã£ãã£ã«å¯¾ãã¦èªç¶ãã¼ãè¦ã¤ãã¦ã <literal><natural-id>"
+"</literal> ã§ãããã³ã°ãã¾ãããã èªç¶ãã¼ãæ§æããããããã£ãæ¯è¼ããã"
+"ãã«ã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ãå®è£
ã"
+"ã¾ãããã"
-#: index.docbook:39
+#. Tag: term
+#: best_practices.xml:39
+#, no-c-format
msgid "Place each class mapping in its own file."
msgstr "ã¯ã©ã¹ã®ãããã³ã°ã¯ããããã®ã¯ã©ã¹å°ç¨ã®ãã¡ã¤ã«ã«æ¸ãã¾ãããã"
-#: index.docbook:41
-msgid "Don't use a single monolithic mapping document. Map <literal>com.eg.Foo</literal> in the file <literal>com/eg/Foo.hbm.xml</literal>. This makes particularly good sense in a team environment."
-msgstr "åä¸ã®å·¨å¤§ãªãããã³ã°ããã¥ã¡ã³ãã使ç¨ããªãã§ãã ããã <literal>com.eg.Foo</literal> ã¯ã©ã¹ãªã <literal>com/eg/Foo.hbm.xml</literal> ãã¡ã¤ã«ã«ãããã³ã°ãã¾ãããã ãã®ãã¨ã¯ãç¹ã«ãã¼ã ã§ã®éçºã«æå³ãããã¾ãã"
+#. Tag: para
+#: best_practices.xml:41
+#, no-c-format
+msgid ""
+"Don't use a single monolithic mapping document. Map <literal>com.eg.Foo</"
+"literal> in the file <literal>com/eg/Foo.hbm.xml</literal>. This makes "
+"particularly good sense in a team environment."
+msgstr ""
+"åä¸ã®å·¨å¤§ãªãããã³ã°ããã¥ã¡ã³ãã使ç¨ããªãã§ãã ããã <literal>com.eg."
+"Foo</literal> ã¯ã©ã¹ãªã <literal>com/eg/Foo.hbm.xml</literal> ãã¡ã¤ã«ã«ãã"
+"ãã³ã°ãã¾ãããã ãã®ãã¨ã¯ãç¹ã«ãã¼ã ã§ã®éçºã«æå³ãããã¾ãã"
-#: index.docbook:49
+#. Tag: term
+#: best_practices.xml:49
+#, no-c-format
msgid "Load mappings as resources."
msgstr "ãªã½ã¼ã¹ã¨ãã¦ãããã³ã°ããã¼ããã¾ãããã"
-#: index.docbook:51
+#. Tag: para
+#: best_practices.xml:51
+#, no-c-format
msgid "Deploy the mappings along with the classes they map."
msgstr "ãããã³ã°ãããããããããã³ã°ããããã¯ã©ã¹ã¨ä¸ç·ã«é
ç½®ãã¾ãããã"
-#: index.docbook:57
+#. Tag: term
+#: best_practices.xml:57
+#, no-c-format
msgid "Consider externalising query strings."
msgstr "ã¯ã¨ãªæååãå¤é¨ã«ç½®ããã¨ãèãã¾ããã"
-#: index.docbook:59
-msgid "This is a good practice if your queries call non-ANSI-standard SQL functions. Externalising the query strings to mapping files will make the application more portable."
-msgstr "ã¯ã¨ãªãANSIæ¨æºã§ãªãSQL颿°ãå¼ãã§ãããªããããã¯ãããã©ã¯ãã£ã¹ã§ãã ã¯ã¨ãªæååããããã³ã°ãã¡ã¤ã«ã¸å¤åºãããã°ã¢ããªã±ã¼ã·ã§ã³ããã¼ã¿ãã«ã«ãªãã¾ãã"
+#. Tag: para
+#: best_practices.xml:59
+#, no-c-format
+msgid ""
+"This is a good practice if your queries call non-ANSI-standard SQL "
+"functions. Externalising the query strings to mapping files will make the "
+"application more portable."
+msgstr ""
+"ã¯ã¨ãªãANSIæ¨æºã§ãªãSQL颿°ãå¼ãã§ãããªããããã¯ãããã©ã¯ãã£ã¹ã§ãã "
+"ã¯ã¨ãªæååããããã³ã°ãã¡ã¤ã«ã¸å¤åºãããã°ã¢ããªã±ã¼ã·ã§ã³ããã¼ã¿ãã«ã«"
+"ãªãã¾ãã"
-#: index.docbook:67
+#. Tag: term
+#: best_practices.xml:67
+#, no-c-format
msgid "Use bind variables."
msgstr "ãã¤ã³ã夿°ã使ãã¾ãããã"
-#: index.docbook:69
-msgid "As in JDBC, always replace non-constant values by \"?\". Never use string manipulation to bind a non-constant value in a query! Even better, consider using named parameters in queries."
-msgstr "JDBCã®å ´åã¨åãããã«ã宿°ã§ãªãå¤ã¯å¿
ã\"?\"ã§ç½®ãæãã¾ãããã 宿°ã§ãªãå¤ããã¤ã³ãããããã«ãã¯ã¨ãªã§æååæä½ã使ã£ã¦ã¯ããã¾ããã ååä»ãã®ãã©ã¡ã¼ã¿ã使ãããã«ããã¨ããã«è¯ãã§ãã"
+#. Tag: para
+#: best_practices.xml:69
+#, no-c-format
+msgid ""
+"As in JDBC, always replace non-constant values by \"?\". Never use string "
+"manipulation to bind a non-constant value in a query! Even better, consider "
+"using named parameters in queries."
+msgstr ""
+"JDBCã®å ´åã¨åãããã«ã宿°ã§ãªãå¤ã¯å¿
ã\"?\"ã§ç½®ãæãã¾ãããã 宿°ã§ãª"
+"ãå¤ããã¤ã³ãããããã«ãã¯ã¨ãªã§æååæä½ã使ã£ã¦ã¯ããã¾ããã ååä»ãã®"
+"ãã©ã¡ã¼ã¿ã使ãããã«ããã¨ããã«è¯ãã§ãã"
-#: index.docbook:77
+#. Tag: term
+#: best_practices.xml:77
+#, no-c-format
msgid "Don't manage your own JDBC connections."
msgstr "JDBCã³ãã¯ã·ã§ã³ã管çãã¦ã¯ããã¾ããã"
-#: index.docbook:79
-msgid "Hibernate lets the application manage JDBC connections. This approach should be considered a last-resort. If you can't use the built-in connections providers, consider providing your own implementation of <literal>org.hibernate.connection.ConnectionProvider</literal>."
-msgstr "Hibernateã§ã¯ã¢ããªã±ã¼ã·ã§ã³ãJDBCã³ãã¯ã·ã§ã³ã管çãããã¨ã許ããã¦ãã¾ãã ãããããã¯æçµææ®µã ã¨æã£ã¦ãã ããã çµã¿è¾¼ã¿ã®ã³ãã¯ã·ã§ã³ãããã¤ãã使ããã¨ãã§ããªããã°ã <literal>org.hibernate.connection.ConnectionProvider</literal> ãå®è£
ãããã¨ãèãã¦ãã ããã"
+#. Tag: para
+#: best_practices.xml:79
+#, no-c-format
+msgid ""
+"Hibernate lets the application manage JDBC connections. This approach should "
+"be considered a last-resort. If you can't use the built-in connections "
+"providers, consider providing your own implementation of <literal>org."
+"hibernate.connection.ConnectionProvider</literal>."
+msgstr ""
+"Hibernateã§ã¯ã¢ããªã±ã¼ã·ã§ã³ãJDBCã³ãã¯ã·ã§ã³ã管çãããã¨ã許ããã¦ãã¾"
+"ãã ãããããã¯æçµææ®µã ã¨æã£ã¦ãã ããã çµã¿è¾¼ã¿ã®ã³ãã¯ã·ã§ã³ãããã¤"
+"ãã使ããã¨ãã§ããªããã°ã <literal>org.hibernate.connection."
+"ConnectionProvider</literal> ãå®è£
ãããã¨ãèãã¦ãã ããã"
-#: index.docbook:87
+#. Tag: term
+#: best_practices.xml:87
+#, no-c-format
msgid "Consider using a custom type."
msgstr "ã«ã¹ã¿ã åã®ä½¿ç¨ãèãã¾ãããã"
-#: index.docbook:89
-msgid "Suppose you have a Java type, say from some library, that needs to be persisted but doesn't provide the accessors needed to map it as a component. You should consider implementing <literal>org.hibernate.UserType</literal>. This approach frees the application code from implementing transformations to / from a Hibernate type."
-msgstr "ããã©ã¤ãã©ãªããæã£ã¦ããJavaåãæ°¸ç¶åããå¿
è¦ãããã¨ãã¾ãããã ããããã®åã«ã¯ãã³ã³ãã¼ãã³ãã¨ãã¦ãããã³ã°ããããã«å¿
è¦ãªã¢ã¯ã»ãµããªãã¨ãã¾ãã ãã®ãããªå ´å㯠<literal>org.hibernate.UserType</literal> ã®å®è£
ãèããã¹ãã§ãã ããããã°Hibernateåã¨ã®å®è£
夿ãå¿é
ããã«ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ããæ±ãã¾ãã"
+#. Tag: para
+#: best_practices.xml:89
+#, no-c-format
+msgid ""
+"Suppose you have a Java type, say from some library, that needs to be "
+"persisted but doesn't provide the accessors needed to map it as a component. "
+"You should consider implementing <literal>org.hibernate.UserType</literal>. "
+"This approach frees the application code from implementing transformations "
+"to / from a Hibernate type."
+msgstr ""
+"ããã©ã¤ãã©ãªããæã£ã¦ããJavaåãæ°¸ç¶åããå¿
è¦ãããã¨ãã¾ãããã ããã"
+"ãã®åã«ã¯ãã³ã³ãã¼ãã³ãã¨ãã¦ãããã³ã°ããããã«å¿
è¦ãªã¢ã¯ã»ãµããªãã¨ã"
+"ã¾ãã ãã®ãããªå ´å㯠<literal>org.hibernate.UserType</literal> ã®å®è£
ãè"
+"ããã¹ãã§ãã ããããã°Hibernateåã¨ã®å®è£
夿ãå¿é
ããã«ã¢ããªã±ã¼ã·ã§ã³"
+"ã®ã³ã¼ããæ±ãã¾ãã"
-#: index.docbook:98
+#. Tag: term
+#: best_practices.xml:98
+#, no-c-format
msgid "Use hand-coded JDBC in bottlenecks."
msgstr "ããã«ããã¯ãè§£æ¶ããã«ã¯JDBCããã³ãã³ã¼ããã¾ãããã"
-#: index.docbook:100
-msgid "In performance-critical areas of the system, some kinds of operations might benefit from direct JDBC. But please, wait until you <emphasis>know</emphasis> something is a bottleneck. And don't assume that direct JDBC is necessarily faster. If you need to use direct JDBC, it might be worth opening a Hibernate <literal>Session</literal> and using that JDBC connection. That way you can still use the same transaction strategy and underlying connection provider."
-msgstr "ã·ã¹ãã ã®ããã©ã¼ãã³ã¹ã¯ãªãã£ã«ã«ãªé åã§ã¯ã ããç¨®ã®æä½ã«JDBCãç´æ¥ä½¿ãã¨è¯ãããããã¾ããã ãããä½ãããã«ããã¯ã«ãªã£ã¦ããã <emphasis>ã¯ã£ãããã</emphasis> ã¾ã§ã¯å¾
ã£ã¦ãã ããã ã¾ãJDBCãç´æ¥ä½¿ãããã¨ãã£ã¦ãå¿
ãããéããªãã¨ã¯éããªããã¨ãçè§£ãã¦ãã ããã JDBCãç´æ¥ä½¿ãå¿
è¦ãããã°ãHibernateã® <literal>Session</literal> ããªã¼ãã³ãã¦ã JDBCã³ãã¯ã·ã§ã³ã使ãã¨è¯ãããããã¾ããã ä¾ç¶ã¨ãã¦åããã©ã³ã¶ã¯ã·ã§ã³æ¦ç¥ã¨ã³ãã¯ã·ã§ã³ãããã¤ãã使ããããã§ãã"
+#. Tag: para
+#: best_practices.xml:100
+#, no-c-format
+msgid ""
+"In performance-critical areas of the system, some kinds of operations might "
+"benefit from direct JDBC. But please, wait until you <emphasis>know</"
+"emphasis> something is a bottleneck. And don't assume that direct JDBC is "
+"necessarily faster. If you need to use direct JDBC, it might be worth "
+"opening a Hibernate <literal>Session</literal> and using that JDBC "
+"connection. That way you can still use the same transaction strategy and "
+"underlying connection provider."
+msgstr ""
+"ã·ã¹ãã ã®ããã©ã¼ãã³ã¹ã¯ãªãã£ã«ã«ãªé åã§ã¯ã ããç¨®ã®æä½ã«JDBCãç´æ¥ä½¿ã"
+"ã¨è¯ãããããã¾ããã ãããä½ãããã«ããã¯ã«ãªã£ã¦ããã <emphasis>ã¯ã£ã"
+"ããã</emphasis> ã¾ã§ã¯å¾
ã£ã¦ãã ããã ã¾ãJDBCãç´æ¥ä½¿ãããã¨ãã£ã¦ãå¿
ã"
+"ããéããªãã¨ã¯éããªããã¨ãçè§£ãã¦ãã ããã JDBCãç´æ¥ä½¿ãå¿
è¦ãããã°ã"
+"Hibernateã® <literal>Session</literal> ããªã¼ãã³ãã¦ã JDBCã³ãã¯ã·ã§ã³ã使"
+"ãã¨è¯ãããããã¾ããã ä¾ç¶ã¨ãã¦åããã©ã³ã¶ã¯ã·ã§ã³æ¦ç¥ã¨ã³ãã¯ã·ã§ã³ãã"
+"ãã¤ãã使ããããã§ãã"
-#: index.docbook:110
+#. Tag: term
+#: best_practices.xml:110
+#, no-c-format
msgid "Understand <literal>Session</literal> flushing."
msgstr "<literal>Session</literal> ã®ãã©ãã·ã¥ãçè§£ãã¾ãããã"
-#: index.docbook:112
-msgid "From time to time the Session synchronizes its persistent state with the database. Performance will be affected if this process occurs too often. You may sometimes minimize unnecessary flushing by disabling automatic flushing or even by changing the order of queries and other operations within a particular transaction."
-msgstr "Sessionãæ°¸ç¶ç¶æ
ããã¼ã¿ãã¼ã¹ã¨åæããããã¨ãã¨ãã©ãããã¾ãã ãããããããã¾ãã«é »ç¹ã«èµ·ããããã ã¨ãããã©ã¼ãã³ã¹ã«å½±é¿ãåºã¦ãã¾ãã èªåãã©ãã·ã¥ãç¡å¹ã«ããããç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¯ã¨ãªãæä½ã®é çªã夿´ãããã¨ã§ã ä¸å¿
è¦ãªãã©ãã·ã¥ãæå°éã«ã§ãã¾ãã"
+#. Tag: para
+#: best_practices.xml:112
+#, no-c-format
+msgid ""
+"From time to time the Session synchronizes its persistent state with the "
+"database. Performance will be affected if this process occurs too often. You "
+"may sometimes minimize unnecessary flushing by disabling automatic flushing "
+"or even by changing the order of queries and other operations within a "
+"particular transaction."
+msgstr ""
+"Sessionãæ°¸ç¶ç¶æ
ããã¼ã¿ãã¼ã¹ã¨åæããããã¨ãã¨ãã©ãããã¾ãã ãããã"
+"ãããã¾ãã«é »ç¹ã«èµ·ããããã ã¨ãããã©ã¼ãã³ã¹ã«å½±é¿ãåºã¦ãã¾ãã èªåã"
+"ã©ãã·ã¥ãç¡å¹ã«ããããç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¯ã¨ãªãæä½ã®é çªã夿´ãã"
+"ãã¨ã§ã ä¸å¿
è¦ãªãã©ãã·ã¥ãæå°éã«ã§ãã¾ãã"
-#: index.docbook:121
+#. Tag: term
+#: best_practices.xml:121
+#, no-c-format
msgid "In a three tiered architecture, consider using detached objects."
msgstr "3層ã¢ã¼ããã¯ãã£ã§ã¯åé¢ãªãã¸ã§ã¯ãã®ä½¿ç¨ãèãã¾ãããã"
-#: index.docbook:123
-msgid "When using a servlet / session bean architecture, you could pass persistent objects loaded in the session bean to and from the servlet / JSP layer. Use a new session to service each request. Use <literal>Session.merge()</literal> or <literal>Session.saveOrUpdate()</literal> to synchronize objects with the database."
-msgstr "ãµã¼ãã¬ãã / ã»ãã·ã§ã³ãã¼ã³ã¢ã¼ããã¯ãã£ã使ãã¨ãã ãµã¼ãã¬ãã層 / JSP層éã§ã»ãã·ã§ã³ãã¼ã³ã§ãã¼ãããæ°¸ç¶ãªãã¸ã§ã¯ããããåãã§ãã¾ãã ãã®éãªã¯ã¨ã¹ããã¨ã«æ°ããSessionã使ã£ã¦ãã ããã ã¾ã <literal>Session.merge()</literal> ã <literal>Session.saveOrUpdate()</literal> ã使ã£ã¦ããªãã¸ã§ã¯ãã¨ãã¼ã¿ãã¼ã¹ãåæããã¦ãã ããã"
+#. Tag: para
+#: best_practices.xml:123
+#, no-c-format
+msgid ""
+"When using a servlet / session bean architecture, you could pass persistent "
+"objects loaded in the session bean to and from the servlet / JSP layer. Use "
+"a new session to service each request. Use <literal>Session.merge()</"
+"literal> or <literal>Session.saveOrUpdate()</literal> to synchronize objects "
+"with the database."
+msgstr ""
+"ãµã¼ãã¬ãã / ã»ãã·ã§ã³ãã¼ã³ã¢ã¼ããã¯ãã£ã使ãã¨ãã ãµã¼ãã¬ãã層 / "
+"JSP層éã§ã»ãã·ã§ã³ãã¼ã³ã§ãã¼ãããæ°¸ç¶ãªãã¸ã§ã¯ããããåãã§ãã¾ãã ã"
+"ã®éãªã¯ã¨ã¹ããã¨ã«æ°ããSessionã使ã£ã¦ãã ããã ã¾ã <literal>Session."
+"merge()</literal> ã <literal>Session.saveOrUpdate()</literal> ã使ã£ã¦ããªã"
+"ã¸ã§ã¯ãã¨ãã¼ã¿ãã¼ã¹ãåæããã¦ãã ããã"
-#: index.docbook:132
+#. Tag: term
+#: best_practices.xml:132
+#, no-c-format
msgid "In a two tiered architecture, consider using long persistence contexts."
msgstr "2層ã¢ã¼ããã¯ãã£ã§ã¯é·ãæ°¸ç¶ã³ã³ããã¹ãã®ä½¿ç¨ãèãã¾ãããã"
-#: index.docbook:134
-msgid "Database Transactions have to be as short as possible for best scalability. However, it is often neccessary to implement long running <emphasis>application transactions</emphasis>, a single unit-of-work from the point of view of a user. An application transaction might span several client request/response cycles. It is common to use detached objects to implement application transactions. An alternative, extremely appropriate in two tiered architecture, is to maintain a single open persistence contact (session) for the whole life cycle of the application transaction and simply disconnect from the JDBC connection at the end of each request and reconnect at the beginning of the subsequent request. Never share a single session across more than one application transaction, or you will be working with stale data."
-msgstr "æé«ã®ã¹ã±ã¼ã©ããªãã£ãå¾ãã«ã¯ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã§ããã ãçãããªããã°ãªãã¾ããã ãããé·ãéå®è¡ãã <emphasis>ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³</emphasis> ã®å®è£
ãå¿
è¦ãªãã¨ã¯ãã°ãã°ã§ãã ããã¯ã¦ã¼ã¶ã®è¦ç¹ããã¯1åã®ä½æ¥åä½ï¼unit of workï¼ã«ãªãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã¯ããã¤ãã®ã¯ã©ã¤ã¢ã³ãã®ãªã¯ã¨ã¹ã/ã¬ã¹ãã³ã¹ãµã¤ã¯ã«ã«ã¾ãããã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã®å®è£
ã«åé¢ãªãã¸ã§ã¯ãã使ãã®ã¯ä¸è¬çã§ãã ããã§ãªããã°ã2層ã¢ã¼ããã¯ãã£ã®å ´åã¯ç¹ã«é©åãªãã¨ã§ããã ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã®ã©ã¤ããµã¤ã¯ã«å
¨ä½ã«å¯¾ã㦠åä¸ã®ãªã¼ãã³ãªæ°¸ç¶åã³ã³ããã¹ãï¼ã»ãã·ã§ã³ï¼ãç¶æãã¦ãã ããã ããã¦åç´ã«ãª!
ã¯ã¨ã¹ãã®æå¾ã«JDBCã³ãã¯ã·ã§ã³ããåæãã æ¬¡ã®ãªã¯ã¨ã¹ãã®æåã«åæ¥ç¶ãã¾ãã æ±ºãã¦è¤æ°ã®ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã¦ã¼ã¹ã±ã¼ã¹ã«æ¸¡ã£ã¦ 1åã®Sessionã使ãåããªãã§ãã ããã ããã§ãªããã°ãå¤ããã¼ã¿ã§ä½æ¥ãããã¨ã«ãªãã¾ãã"
+#. Tag: para
+#: best_practices.xml:134
+#, no-c-format
+msgid ""
+"Database Transactions have to be as short as possible for best scalability. "
+"However, it is often neccessary to implement long running "
+"<emphasis>application transactions</emphasis>, a single unit-of-work from "
+"the point of view of a user. An application transaction might span several "
+"client request/response cycles. It is common to use detached objects to "
+"implement application transactions. An alternative, extremely appropriate in "
+"two tiered architecture, is to maintain a single open persistence contact "
+"(session) for the whole life cycle of the application transaction and simply "
+"disconnect from the JDBC connection at the end of each request and reconnect "
+"at the beginning of the subsequent request. Never share a single session "
+"across more than one application transaction, or you will be working with "
+"stale data."
+msgstr ""
+"æé«ã®ã¹ã±ã¼ã©ããªãã£ãå¾ãã«ã¯ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã§ããã ãç"
+"ãããªããã°ãªãã¾ããã ãããé·ãéå®è¡ãã <emphasis>ã¢ããªã±ã¼ã·ã§ã³ãã©"
+"ã³ã¶ã¯ã·ã§ã³</emphasis> ã®å®è£
ãå¿
è¦ãªãã¨ã¯ãã°ãã°ã§ãã ããã¯ã¦ã¼ã¶ã®è¦ç¹"
+"ããã¯1åã®ä½æ¥åä½ï¼unit of workï¼ã«ãªãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯"
+"ã·ã§ã³ã¯ããã¤ãã®ã¯ã©ã¤ã¢ã³ãã®ãªã¯ã¨ã¹ã/ã¬ã¹ãã³ã¹ãµã¤ã¯ã«ã«ã¾ãããã¾"
+"ãã ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã®å®è£
ã«åé¢ãªãã¸ã§ã¯ãã使ãã®ã¯ä¸è¬ç"
+"ã§ãã ããã§ãªããã°ã2層ã¢ã¼ããã¯ãã£ã®å ´åã¯ç¹ã«é©åãªãã¨ã§ããã ã¢ããª"
+"ã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã®ã©ã¤ããµã¤ã¯ã«å
¨ä½ã«å¯¾ã㦠åä¸ã®ãªã¼ãã³ãªæ°¸ç¶å"
+"ã³ã³ããã¹ãï¼ã»ãã·ã§ã³ï¼ãç¶æãã¦ãã ããã ããã¦åç´ã«ãªã¯ã¨ã¹ãã®æå¾ã«"
+"JDBCã³ãã¯ã·ã§ã³ããåæãã æ¬¡ã®ãªã¯ã¨ã¹ãã®æåã«åæ¥ç¶ãã¾ãã æ±ºãã¦è¤æ°"
+"ã®ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã¦ã¼ã¹ã±ã¼ã¹ã«æ¸¡ã£ã¦ 1åã®Sessionã使ãåã"
+"ãªãã§ãã ããã ããã§ãªããã°ãå¤ããã¼ã¿ã§ä½æ¥ãããã¨ã«ãªãã¾ãã"
-#: index.docbook:148
+#. Tag: term
+#: best_practices.xml:148
+#, no-c-format
msgid "Don't treat exceptions as recoverable."
msgstr "ä¾å¤ã復帰å¯è½ãªãã®ã¨ãã¦æ±ã£ã¦ã¯ããã¾ããã"
-#: index.docbook:150
-msgid "This is more of a necessary practice than a \"best\" practice. When an exception occurs, roll back the <literal>Transaction</literal> and close the <literal>Session</literal>. If you don't, Hibernate can't guarantee that in-memory state accurately represents persistent state. As a special case of this, do not use <literal>Session.load()</literal> to determine if an instance with the given identifier exists on the database; use <literal>Session.get()</literal> or a query instead."
-msgstr "ããã¯ããã¹ãããã©ã¯ãã£ã¹ä»¥ä¸ã®ãå¿
é ã®ãã©ã¯ãã£ã¹ã§ãã ä¾å¤ãçºçããã¨ã㯠<literal>Transaction</literal> ããã¼ã«ããã¯ãã¦ã <literal>Session</literal> ãã¯ãã¼ãºãã¦ãã ããã ããããªãã¨Hibernateã¯ã¡ã¢ãªã®ç¶æ
ãæ°¸ç¶ç¶æ
ãæ£ç¢ºã«è¡¨ç¾ãã¦ãããã¨ãä¿è¨¼ã§ãã¾ããã ãã®ç¹å¥ãªå ´åã¨ãã¦ãä¸ããããèå¥åãæã¤ã¤ã³ã¹ã¿ã³ã¹ããã¼ã¿ãã¼ã¹ã«åå¨ãããã©ãããå¤å®ããããã«ã <literal>Session.load()</literal> ã使ããã¨ã¯ããã¦ãã ããã ãã®ä»£ããã« <literal>Session.get()</literal> ãã¯ã¨ãªã使ã£ã¦ãã ããã"
+#. Tag: para
+#: best_practices.xml:150
+#, no-c-format
+msgid ""
+"This is more of a necessary practice than a \"best\" practice. When an "
+"exception occurs, roll back the <literal>Transaction</literal> and close the "
+"<literal>Session</literal>. If you don't, Hibernate can't guarantee that in-"
+"memory state accurately represents persistent state. As a special case of "
+"this, do not use <literal>Session.load()</literal> to determine if an "
+"instance with the given identifier exists on the database; use "
+"<literal>Session.get()</literal> or a query instead."
+msgstr ""
+"ããã¯ããã¹ãããã©ã¯ãã£ã¹ä»¥ä¸ã®ãå¿
é ã®ãã©ã¯ãã£ã¹ã§ãã ä¾å¤ãçºçããã¨"
+"ã㯠<literal>Transaction</literal> ããã¼ã«ããã¯ãã¦ã <literal>Session</"
+"literal> ãã¯ãã¼ãºãã¦ãã ããã ããããªãã¨Hibernateã¯ã¡ã¢ãªã®ç¶æ
ãæ°¸ç¶ç¶"
+"æ
ãæ£ç¢ºã«è¡¨ç¾ãã¦ãããã¨ãä¿è¨¼ã§ãã¾ããã ãã®ç¹å¥ãªå ´åã¨ãã¦ãä¸ãããã"
+"èå¥åãæã¤ã¤ã³ã¹ã¿ã³ã¹ããã¼ã¿ãã¼ã¹ã«åå¨ãããã©ãããå¤å®ããããã«ã "
+"<literal>Session.load()</literal> ã使ããã¨ã¯ããã¦ãã ããã ãã®ä»£ããã« "
+"<literal>Session.get()</literal> ãã¯ã¨ãªã使ã£ã¦ãã ããã"
-#: index.docbook:160
+#. Tag: term
+#: best_practices.xml:160
+#, no-c-format
msgid "Prefer lazy fetching for associations."
msgstr "é¢é£ã«ã¯ãªãã¹ãé
å»¶ãã§ããã使ãã¾ãããã"
-#: index.docbook:162
-msgid "Use eager fetching sparingly. Use proxies and lazy collections for most associations to classes that are not likely to be completely held in the second-level cache. For associations to cached classes, where there is an a extremely high probability of a cache hit, explicitly disable eager fetching using <literal>lazy=\"false\"</literal>. When an join fetching is appropriate to a particular use case, use a query with a <literal>left join fetch</literal>."
-msgstr "峿ãã§ããã¯æ§ããã«ãã¾ãããã äºæ¬¡ãã£ãã·ã¥ã«ã¯å®å
¨ã«ä¿æãããªããããªã¯ã©ã¹ã®é¢é£ã«ã¯ã ãããã·ã¨é
å»¶ã³ã¬ã¯ã·ã§ã³ã使ã£ã¦ãã ããã ãã£ãã·ã¥ãããã¯ã©ã¹ã®é¢é£ãã¤ã¾ããã£ãã·ã¥ããããããå¯è½æ§ãé常ã«é«ãé¢é£ã¯ã <literal>lazy=\"false\"</literal> ã§ç©æ¥µçãªãã§ãããæç¤ºçã«ç¡å¹ã«ãã¦ãã ããã çµåãã§ãããé©åãªç¹å®ã®ã¦ã¼ã¹ã±ã¼ã¹ã«ã¯ã ã¯ã¨ãªã§ <literal>left join fetch</literal> ã使ã£ã¦ãã ããã"
+#. Tag: para
+#: best_practices.xml:162
+#, no-c-format
+msgid ""
+"Use eager fetching sparingly. Use proxies and lazy collections for most "
+"associations to classes that are not likely to be completely held in the "
+"second-level cache. For associations to cached classes, where there is an a "
+"extremely high probability of a cache hit, explicitly disable eager fetching "
+"using <literal>lazy=\"false\"</literal>. When an join fetching is "
+"appropriate to a particular use case, use a query with a <literal>left join "
+"fetch</literal>."
+msgstr ""
+"峿ãã§ããã¯æ§ããã«ãã¾ãããã äºæ¬¡ãã£ãã·ã¥ã«ã¯å®å
¨ã«ä¿æãããªããããª"
+"ã¯ã©ã¹ã®é¢é£ã«ã¯ã ãããã·ã¨é
å»¶ã³ã¬ã¯ã·ã§ã³ã使ã£ã¦ãã ããã ãã£ãã·ã¥ã"
+"ããã¯ã©ã¹ã®é¢é£ãã¤ã¾ããã£ãã·ã¥ããããããå¯è½æ§ãé常ã«é«ãé¢é£ã¯ã "
+"<literal>lazy=\"false\"</literal> ã§ç©æ¥µçãªãã§ãããæç¤ºçã«ç¡å¹ã«ãã¦ãã "
+"ããã çµåãã§ãããé©åãªç¹å®ã®ã¦ã¼ã¹ã±ã¼ã¹ã«ã¯ã ã¯ã¨ãªã§ <literal>left "
+"join fetch</literal> ã使ã£ã¦ãã ããã"
-#: index.docbook:172
-msgid "Use the <emphasis>open session in view</emphasis> pattern, or a disciplined <emphasis>assembly phase</emphasis> to avoid problems with unfetched data."
-msgstr "ãã§ããããã¦ããªããã¼ã¿ã«é¢ããåé¡ãé¿ããããã«ã <emphasis>ãã¥ã¼ã®ä¸ã§ãªã¼ãã³ã»ãã·ã§ã³ã使ã(open session in view)</emphasis> ãã¿ã¼ã³ããçµ±å¶ããã <emphasis>çµã¿ç«ã¦ãã§ã¼ãº(assembly phase)</emphasis> ã使ãã¾ãããã"
+#. Tag: term
+#: best_practices.xml:172
+#, no-c-format
+msgid ""
+"Use the <emphasis>open session in view</emphasis> pattern, or a disciplined "
+"<emphasis>assembly phase</emphasis> to avoid problems with unfetched data."
+msgstr ""
+"ãã§ããããã¦ããªããã¼ã¿ã«é¢ããåé¡ãé¿ããããã«ã <emphasis>ãã¥ã¼ã®ä¸ã§"
+"ãªã¼ãã³ã»ãã·ã§ã³ã使ã(open session in view)</emphasis> ãã¿ã¼ã³ããçµ±å¶ã"
+"ãã <emphasis>çµã¿ç«ã¦ãã§ã¼ãº(assembly phase)</emphasis> ã使ãã¾ãããã"
-#: index.docbook:177
-msgid "Hibernate frees the developer from writing tedious <emphasis>Data Transfer Objects</emphasis> (DTO). In a traditional EJB architecture, DTOs serve dual purposes: first, they work around the problem that entity beans are not serializable; second, they implicitly define an assembly phase where all data to be used by the view is fetched and marshalled into the DTOs before returning control to the presentation tier. Hibernate eliminates the first purpose. However, you will still need an assembly phase (think of your business methods as having a strict contract with the presentation tier about what data is available in the detached objects) unless you are prepared to hold the persistence context (the session) open across the view rendering process. This is not a limitation of Hibernate! It is a fundamental requirement of safe transactional data access."
-msgstr "Hibernate㯠<emphasis>Data Transfer Objects</emphasis> (DTO)ãæ¸ãéå±ãªä½æ¥ããéçºè
ãè§£æ¾ãã¾ãã ä¼çµ±çãªEJBã¢ã¼ããã¯ãã£ã§ã¯DTOã¯äºã¤ç®çãããã¾ãï¼ 1ã¤ç®ã¯ãã¨ã³ãã£ãã£ãã¼ã³ãã·ãªã¢ã©ã¤ãºãããªãåé¡ã¸ã®å¯¾çã§ãã 2ã¤ç®ã¯ããã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã«å¶å¾¡ãæ»ãåã«ã ãã¥ã¼ã«ä½¿ããããã¹ã¦ã®ãã¼ã¿ããã§ããããã¦ãDTOã«å¾©å
ããããããªçµã¿ç«ã¦ãã§ã¼ãºãæé»çã«å®ç¾©ãã¾ãã Hibernateã§ã¯1ã¤ç®ã®ç®çãä¸è¦ã«ãªãã¾ãã ããããã¥ã¼ã®ã¬ã³ããªã³ã°å¦çã®éãæ°¸ç¶ã³ã³ããã¹ãï¼ã»ãã·ã§ã³ï¼ããªã¼ãã³ã«ããã¾ã¾ã«ããªããã°ã çµã¿ç«ã¦ãã§ã¼ãºã¯ã¾ã å¿
è¦ã§ãï¼åé¢ãªãã¸ã§ã¯ãã®ä¸ã®ã©ã®ãã¼ã¿ãå©ç¨å¯è½ãã«ã¤ãã¦ã ãã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã¨å³å¯ãªåãæ±ºãããã¦ãããã¸ãã¹ã¡ã½ãããèãã¦ã!
¿ã¦ãã ããï¼ã ããã¯Hibernateå´ã®åé¡ã§ã¯ããã¾ããã ãã©ã³ã¶ã¯ã·ã§ã³å
ã§å®å
¨ã«ãã¼ã¿ã¢ã¯ã»ã¹ããããã®åºæ¬çãªè¦ä»¶ã§ãã"
+#. Tag: para
+#: best_practices.xml:177
+#, no-c-format
+msgid ""
+"Hibernate frees the developer from writing tedious <emphasis>Data Transfer "
+"Objects</emphasis> (DTO). In a traditional EJB architecture, DTOs serve dual "
+"purposes: first, they work around the problem that entity beans are not "
+"serializable; second, they implicitly define an assembly phase where all "
+"data to be used by the view is fetched and marshalled into the DTOs before "
+"returning control to the presentation tier. Hibernate eliminates the first "
+"purpose. However, you will still need an assembly phase (think of your "
+"business methods as having a strict contract with the presentation tier "
+"about what data is available in the detached objects) unless you are "
+"prepared to hold the persistence context (the session) open across the view "
+"rendering process. This is not a limitation of Hibernate! It is a "
+"fundamental requirement of safe transactional data access."
+msgstr ""
+"Hibernate㯠<emphasis>Data Transfer Objects</emphasis> (DTO)ãæ¸ãéå±ãªä½æ¥"
+"ããéçºè
ãè§£æ¾ãã¾ãã ä¼çµ±çãªEJBã¢ã¼ããã¯ãã£ã§ã¯DTOã¯äºã¤ç®çãããã¾"
+"ãï¼ 1ã¤ç®ã¯ãã¨ã³ãã£ãã£ãã¼ã³ãã·ãªã¢ã©ã¤ãºãããªãåé¡ã¸ã®å¯¾çã§ãã 2ã¤"
+"ç®ã¯ããã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã«å¶å¾¡ãæ»ãåã«ã ãã¥ã¼ã«ä½¿ããããã¹ã¦ã®ãã¼ã¿ã"
+"ãã§ããããã¦ãDTOã«å¾©å
ããããããªçµã¿ç«ã¦ãã§ã¼ãºãæé»çã«å®ç¾©ãã¾ãã "
+"Hibernateã§ã¯1ã¤ç®ã®ç®çãä¸è¦ã«ãªãã¾ãã ããããã¥ã¼ã®ã¬ã³ããªã³ã°å¦çã®"
+"éãæ°¸ç¶ã³ã³ããã¹ãï¼ã»ãã·ã§ã³ï¼ããªã¼ãã³ã«ããã¾ã¾ã«ããªããã°ã çµã¿ç«ã¦"
+"ãã§ã¼ãºã¯ã¾ã å¿
è¦ã§ãï¼åé¢ãªãã¸ã§ã¯ãã®ä¸ã®ã©ã®ãã¼ã¿ãå©ç¨å¯è½ãã«ã¤ã"
+"ã¦ã ãã¬ã¼ã³ãã¼ã·ã§ã³å±¤ã¨å³å¯ãªåãæ±ºãããã¦ãããã¸ãã¹ã¡ã½ãããèãã¦ã¿"
+"ã¦ãã ããï¼ã ããã¯Hibernateå´ã®åé¡ã§ã¯ããã¾ããã ãã©ã³ã¶ã¯ã·ã§ã³å
ã§å®"
+"å
¨ã«ãã¼ã¿ã¢ã¯ã»ã¹ããããã®åºæ¬çãªè¦ä»¶ã§ãã"
-#: index.docbook:191
+#. Tag: term
+#: best_practices.xml:191
+#, no-c-format
msgid "Consider abstracting your business logic from Hibernate."
msgstr "Hibernateãããã¸ãã¹ãã¸ãã¯ãæ½è±¡åãããã¨ãèãã¾ãããã"
-#: index.docbook:193
-msgid "Hide (Hibernate) data-access code behind an interface. Combine the <emphasis>DAO</emphasis> and <emphasis>Thread Local Session</emphasis> patterns. You can even have some classes persisted by handcoded JDBC, associated to Hibernate via a <literal>UserType</literal>. (This advice is intended for \"sufficiently large\" applications; it is not appropriate for an application with five tables!)"
-msgstr "ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ï¼Hibernateã®ï¼ãã¼ã¿ã¢ã¯ã»ã¹ã³ã¼ããé è½ãã¾ãããã <emphasis>DAO</emphasis> 㨠<emphasis>Thread Local Session</emphasis> ãã¿ã¼ã³ãçµã¿åããã¾ãããã <literal>UserType</literal> ã§Hibernateã«é¢é£ä»ããã¨ã ãã³ãã³ã¼ãããJDBCã§æ°¸ç¶åããã¯ã©ã¹ãæã¤ãã¨ãã§ãã¾ãã ï¼ãã®ã¢ããã¤ã¹ã¯ãåå大ããªãã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦ã®ãã®ã§ãã ãã¼ãã«ã5åãããªããããªã¢ããªã±ã¼ã·ã§ã³ã«ã¯å½ã¦ã¯ã¾ãã¾ãããï¼"
+#. Tag: para
+#: best_practices.xml:193
+#, no-c-format
+msgid ""
+"Hide (Hibernate) data-access code behind an interface. Combine the "
+"<emphasis>DAO</emphasis> and <emphasis>Thread Local Session</emphasis> "
+"patterns. You can even have some classes persisted by handcoded JDBC, "
+"associated to Hibernate via a <literal>UserType</literal>. (This advice is "
+"intended for \"sufficiently large\" applications; it is not appropriate for "
+"an application with five tables!)"
+msgstr ""
+"ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ï¼Hibernateã®ï¼ãã¼ã¿ã¢ã¯ã»ã¹ã³ã¼ããé è½ãã¾ãããã "
+"<emphasis>DAO</emphasis> 㨠<emphasis>Thread Local Session</emphasis> ãã¿ã¼"
+"ã³ãçµã¿åããã¾ãããã <literal>UserType</literal> ã§Hibernateã«é¢é£ä»ãã"
+"ã¨ã ãã³ãã³ã¼ãããJDBCã§æ°¸ç¶åããã¯ã©ã¹ãæã¤ãã¨ãã§ãã¾ãã ï¼ãã®ã¢ã"
+"ãã¤ã¹ã¯ãåå大ããªãã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦ã®ãã®ã§ãã ãã¼ãã«ã5åãã"
+"ãªããããªã¢ããªã±ã¼ã·ã§ã³ã«ã¯å½ã¦ã¯ã¾ãã¾ãããï¼"
-#: index.docbook:203
+#. Tag: term
+#: best_practices.xml:203
+#, no-c-format
msgid "Don't use exotic association mappings."
msgstr "çããé¢é£ãããã³ã°ã¯ä½¿ããªãããã«ãã¾ãããã"
-#: index.docbook:205
-msgid "Good usecases for a real many-to-many associations are rare. Most of the time you need additional information stored in the \"link table\". In this case, it is much better to use two one-to-many associations to an intermediate link class. In fact, we think that most associations are one-to-many and many-to-one, you should be careful when using any other association style and ask yourself if it is really neccessary."
-msgstr "ããã¦ã¼ã¹ã±ã¼ã¹ã«æ¬å½ã®å¤å¯¾å¤é¢é£ããããã¨ã¯ç¨ï¼ã¾ãï¼ã§ãã ã»ã¨ãã©ã®å ´åããªã³ã¯ãã¼ãã«ãã®ä»å çãªæ
å ±ãå¿
è¦ã«ãªãã¾ãã ãã®å ´åããªã³ã¯ã¯ã©ã¹ã«2ã¤ã®1対å¤é¢é£ãä½¿ãæ¹ããã£ã¨è¯ãã§ãã å®éã»ã¨ãã©ã®å ´åé¢é£ã¯1対å¤ã¨å¤å¯¾1ãªã®ã§ã ä»ã®ã¹ã¿ã¤ã«ã®é¢é£ã使ãã¨ãã¯æ¬å½ã«å¿
è¦ãã©ãããèãã¦ã¿ã¦ãã ããã"
+#. Tag: para
+#: best_practices.xml:205
+#, no-c-format
+msgid ""
+"Good usecases for a real many-to-many associations are rare. Most of the "
+"time you need additional information stored in the \"link table\". In this "
+"case, it is much better to use two one-to-many associations to an "
+"intermediate link class. In fact, we think that most associations are one-to-"
+"many and many-to-one, you should be careful when using any other association "
+"style and ask yourself if it is really neccessary."
+msgstr ""
+"ããã¦ã¼ã¹ã±ã¼ã¹ã«æ¬å½ã®å¤å¯¾å¤é¢é£ããããã¨ã¯ç¨ï¼ã¾ãï¼ã§ãã ã»ã¨ãã©ã®å ´å"
+"ããªã³ã¯ãã¼ãã«ãã®ä»å çãªæ
å ±ãå¿
è¦ã«ãªãã¾ãã ãã®å ´åããªã³ã¯ã¯ã©ã¹ã«2"
+"ã¤ã®1対å¤é¢é£ãä½¿ãæ¹ããã£ã¨è¯ãã§ãã å®éã»ã¨ãã©ã®å ´åé¢é£ã¯1対å¤ã¨å¤å¯¾1"
+"ãªã®ã§ã ä»ã®ã¹ã¿ã¤ã«ã®é¢é£ã使ãã¨ãã¯æ¬å½ã«å¿
è¦ãã©ãããèãã¦ã¿ã¦ãã ã"
+"ãã"
-#: index.docbook:215
+#. Tag: term
+#: best_practices.xml:215
+#, no-c-format
msgid "Prefer bidirectional associations."
msgstr "ãªãã¹ãåæ¹åé¢é£ã«ãã¾ãããã"
-#: index.docbook:217
-msgid "Unidirectional associations are more difficult to query. In a large application, almost all associations must be navigable in both directions in queries."
-msgstr "åæ¹åé¢é£ã¯åæ¹åã«æ¯ã¹ã¦æ¤ç´¢ãé£ãããªãã¾ãã 大ããªã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã ã»ã¨ãã©ãã¹ã¦ã®é¢é£ãåæ¹åã«ããã²ã¼ã·ã§ã³ã§ããªããã°ãªãã¾ããã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: best_practices.xml:217
+#, no-c-format
+msgid ""
+"Unidirectional associations are more difficult to query. In a large "
+"application, almost all associations must be navigable in both directions in "
+"queries."
+msgstr ""
+"åæ¹åé¢é£ã¯åæ¹åã«æ¯ã¹ã¦æ¤ç´¢ãé£ãããªãã¾ãã 大ããªã¢ããªã±ã¼ã·ã§ã³ã§"
+"ã¯ã ã»ã¨ãã©ãã¹ã¦ã®é¢é£ãåæ¹åã«ããã²ã¼ã·ã§ã³ã§ããªããã°ãªãã¾ããã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/collection_mapping.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/collection_mapping.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/collection_mapping.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1287 +1,1899 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: collection_mapping.xml:5
+#, no-c-format
msgid "Collection Mapping"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°"
-#: index.docbook:8
+#. Tag: title
+#: collection_mapping.xml:8
+#, no-c-format
msgid "Persistent collections"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®æ°¸ç¶å"
-#: index.docbook:10
-msgid "Hibernate requires that persistent collection-valued fields be declared as an interface type, for example:"
-msgstr "ã³ã¬ã¯ã·ã§ã³åã®ãã£ã¼ã«ããæ°¸ç¶åããã«ã¯ã ãã®ã³ã¬ã¯ã·ã§ã³åãã¤ã³ã¿ã¼ãã§ã¤ã¹åã§ããå¿
è¦ãããã¾ãã ä¾ãã°ã"
+#. Tag: para
+#: collection_mapping.xml:10
+#, no-c-format
+msgid ""
+"Hibernate requires that persistent collection-valued fields be declared as "
+"an interface type, for example:"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³åã®ãã£ã¼ã«ããæ°¸ç¶åããã«ã¯ã ãã®ã³ã¬ã¯ã·ã§ã³åãã¤ã³ã¿ã¼ãã§"
+"ã¤ã¹åã§ããå¿
è¦ãããã¾ãã ä¾ãã°ã"
-#: index.docbook:15
+#. Tag: programlisting
+#: collection_mapping.xml:15
+#, no-c-format
msgid ""
- "<![CDATA[public class Product {\n"
- " private String serialNumber;\n"
- " private Set parts = new HashSet();\n"
- " \n"
- " public Set getParts() { return parts; }\n"
- " void setParts(Set parts) { this.parts = parts; }\n"
- " public String getSerialNumber() { return serialNumber; }\n"
- " void setSerialNumber(String sn) { serialNumber = sn; }\n"
- "}]]>"
+"<![CDATA[public class Product {\n"
+" private String serialNumber;\n"
+" private Set parts = new HashSet();\n"
+" \n"
+" public Set getParts() { return parts; }\n"
+" void setParts(Set parts) { this.parts = parts; }\n"
+" public String getSerialNumber() { return serialNumber; }\n"
+" void setSerialNumber(String sn) { serialNumber = sn; }\n"
+"}]]>"
msgstr ""
- "<![CDATA[public class Product {\n"
- " private String serialNumber;\n"
- " private Set parts = new HashSet();\n"
- " \n"
- " public Set getParts() { return parts; }\n"
- " void setParts(Set parts) { this.parts = parts; }\n"
- " public String getSerialNumber() { return serialNumber; }\n"
- " void setSerialNumber(String sn) { serialNumber = sn; }\n"
- "}]]>"
-#: index.docbook:17
-msgid "The actual interface might be <literal>java.util.Set</literal>, <literal>java.util.Collection</literal>, <literal>java.util.List</literal>, <literal>java.util.Map</literal>, <literal>java.util.SortedSet</literal>, <literal>java.util.SortedMap</literal> or ... anything you like! (Where \"anything you like\" means you will have to write an implementation of <literal>org.hibernate.usertype.UserCollectionType</literal>.)"
-msgstr "å®å¨ããã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¯ <literal>java.util.Set</literal>ã <literal>java.util.Collection</literal>ã<literal>java.util.List</literal>ã <literal>java.util.Map</literal>ã<literal>java.util.SortedSet</literal>ã <literal>java.util.SortedMap</literal> ãªã©ãããã¾ãã ã¾ãã¯ãä»»æã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ãã¾ãï¼ ï¼ãã ããä»»æã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ç¨ããå ´åã¯ã <literal>org.hibernate.usertype.UserCollectionType</literal> ã®å®è£
ã¯ã©ã¹ã使ããå¿
è¦ãããã¾ããï¼"
+#. Tag: para
+#: collection_mapping.xml:17
+#, no-c-format
+msgid ""
+"The actual interface might be <literal>java.util.Set</literal>, "
+"<literal>java.util.Collection</literal>, <literal>java.util.List</literal>, "
+"<literal>java.util.Map</literal>, <literal>java.util.SortedSet</literal>, "
+"<literal>java.util.SortedMap</literal> or ... anything you like! (Where "
+"\"anything you like\" means you will have to write an implementation of "
+"<literal>org.hibernate.usertype.UserCollectionType</literal>.)"
+msgstr ""
+"å®å¨ããã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¯ <literal>java.util.Set</literal>ã "
+"<literal>java.util.Collection</literal>ã<literal>java.util.List</literal>ã "
+"<literal>java.util.Map</literal>ã<literal>java.util.SortedSet</literal>ã "
+"<literal>java.util.SortedMap</literal> ãªã©ãããã¾ãã ã¾ãã¯ãä»»æã®ã¤ã³"
+"ã¿ã¼ãã§ã¤ã¹ã使ãã¾ãï¼ ï¼ãã ããä»»æã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ç¨ããå ´åã¯ã "
+"<literal>org.hibernate.usertype.UserCollectionType</literal> ã®å®è£
ã¯ã©ã¹ãä½"
+"æããå¿
è¦ãããã¾ããï¼"
-#: index.docbook:26
-msgid "Notice how we initialized the instance variable with an instance of <literal>HashSet</literal>. This is the best way to initialize collection valued properties of newly instantiated (non-persistent) instances. When you make the instance persistent - by calling <literal>persist()</literal>, for example - Hibernate will actually replace the <literal>HashSet</literal> with an instance of Hibernate's own implementation of <literal>Set</literal>. Watch out for errors like this:"
-msgstr "<literal>HashSet</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãæã¤ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã ã©ã®ããã«åæåããããã«æ³¨ç®ãã¦ã¿ã¾ãããã ããã¯æ°ãã«çæãããï¼æ°¸ç¶åããã¦ããªãï¼ã³ã¬ã¯ã·ã§ã³åã®ããããã£ã åæåããæé©ãªæ¹æ³ã§ãã ï¼ä¾ãã° <literal>persist()</literal> ã«ããï¼ã¤ã³ã¹ã¿ã³ã¹ãæ°¸ç¶åãããã¨ããã¨ãã Hibernate㯠<literal>HashSet</literal> ãHibernateç¬èªã® <literal>Set</literal> ã®å®è£
ã¯ã©ã¹ã«ç½®ãæãã¾ãã ãã®ãããæ¬¡ã®ãããªã¨ã©ã¼ã«ã¯æ³¨æãå¿
è¦ã§ãã"
+#. Tag: para
+#: collection_mapping.xml:26
+#, no-c-format
+msgid ""
+"Notice how we initialized the instance variable with an instance of "
+"<literal>HashSet</literal>. This is the best way to initialize collection "
+"valued properties of newly instantiated (non-persistent) instances. When you "
+"make the instance persistent - by calling <literal>persist()</literal>, for "
+"example - Hibernate will actually replace the <literal>HashSet</literal> "
+"with an instance of Hibernate's own implementation of <literal>Set</"
+"literal>. Watch out for errors like this:"
+msgstr ""
+"<literal>HashSet</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãæã¤ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã ã©ã®ããã«"
+"åæåããããã«æ³¨ç®ãã¦ã¿ã¾ãããã ããã¯æ°ãã«çæãããï¼æ°¸ç¶åããã¦ããª"
+"ãï¼ã³ã¬ã¯ã·ã§ã³åã®ããããã£ã åæåããæé©ãªæ¹æ³ã§ãã ï¼ä¾ãã° "
+"<literal>persist()</literal> ã«ããï¼ã¤ã³ã¹ã¿ã³ã¹ãæ°¸ç¶åãããã¨ããã¨ãã "
+"Hibernate㯠<literal>HashSet</literal> ãHibernateç¬èªã® <literal>Set</"
+"literal> ã®å®è£
ã¯ã©ã¹ã«ç½®ãæãã¾ãã ãã®ãããæ¬¡ã®ãããªã¨ã©ã¼ã«ã¯æ³¨æãå¿
"
+"è¦ã§ãã"
-#: index.docbook:36
+#. Tag: programlisting
+#: collection_mapping.xml:36
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = new DomesticCat();\n"
- "Cat kitten = new DomesticCat();\n"
- "....\n"
- "Set kittens = new HashSet();\n"
- "kittens.add(kitten);\n"
- "cat.setKittens(kittens);\n"
- "session.persist(cat);\n"
- "kittens = cat.getKittens(); // Okay, kittens collection is a Set\n"
- "(HashSet) cat.getKittens(); // Error!]]>"
+"<![CDATA[Cat cat = new DomesticCat();\n"
+"Cat kitten = new DomesticCat();\n"
+"....\n"
+"Set kittens = new HashSet();\n"
+"kittens.add(kitten);\n"
+"cat.setKittens(kittens);\n"
+"session.persist(cat);\n"
+"kittens = cat.getKittens(); // Okay, kittens collection is a Set\n"
+"(HashSet) cat.getKittens(); // Error!]]>"
msgstr ""
- "<![CDATA[Cat cat = new DomesticCat();\n"
- "Cat kitten = new DomesticCat();\n"
- "....\n"
- "Set kittens = new HashSet();\n"
- "kittens.add(kitten);\n"
- "cat.setKittens(kittens);\n"
- "session.persist(cat);\n"
- "kittens = cat.getKittens(); // Okay, kittens collection is a Set\n"
- "(HashSet) cat.getKittens(); // Error!]]>"
-#: index.docbook:38
-msgid "The persistent collections injected by Hibernate behave like <literal>HashMap</literal>, <literal>HashSet</literal>, <literal>TreeMap</literal>, <literal>TreeSet</literal> or <literal>ArrayList</literal>, depending upon the interface type."
-msgstr "Hibernateã«ããæ³¨å
¥ãããæ°¸ç¶æ§ã³ã¬ã¯ã·ã§ã³ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹åã«å¿ãã¦ã <literal>HashMap</literal> ã <literal>HashSet</literal>ã <literal>TreeMap</literal>ã <literal>TreeSet</literal>ã <literal>ArrayList</literal> ã®ããã«æ¯èãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:38
+#, no-c-format
+msgid ""
+"The persistent collections injected by Hibernate behave like "
+"<literal>HashMap</literal>, <literal>HashSet</literal>, <literal>TreeMap</"
+"literal>, <literal>TreeSet</literal> or <literal>ArrayList</literal>, "
+"depending upon the interface type."
+msgstr ""
+"Hibernateã«ããæ³¨å
¥ãããæ°¸ç¶æ§ã³ã¬ã¯ã·ã§ã³ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹åã«å¿ãã¦ã "
+"<literal>HashMap</literal> ã <literal>HashSet</literal>ã <literal>TreeMap</"
+"literal>ã <literal>TreeSet</literal>ã <literal>ArrayList</literal> ã®ããã«"
+"æ¯èãã¾ãã"
-#: index.docbook:45
-msgid "Collections instances have the usual behavior of value types. They are automatically persisted when referenced by a persistent object and automatically deleted when unreferenced. If a collection is passed from one persistent object to another, its elements might be moved from one table to another. Two entities may not share a reference to the same collection instance. Due to the underlying relational model, collection-valued properties do not support null value semantics; Hibernate does not distinguish between a null collection reference and an empty collection."
-msgstr "ã³ã¬ã¯ã·ã§ã³ã¤ã³ã¹ã¿ã³ã¹ã¯ãå¤åã¨ãã¦æ®éã«æ¯èãã¾ãã æ°¸ç¶åãªãã¸ã§ã¯ãã«åç
§ãããã¨ãã«èªåçã«æ°¸ç¶åããã åç
§ããªããªã£ãã¨ãã«èªåçã«åé¤ããã¾ãã ããããæ°¸ç¶åãªãã¸ã§ã¯ãããå¥ã®æ°¸ç¶åãªãã¸ã§ã¯ãã«æ¸¡ããããã ãã®è¦ç´ ã¯ç¾å¨ã®ãã¼ãã«ããå¥ã®ãã¼ãã«ã«ç§»åããããããã¾ããã ï¼ã¤ã®ã¨ã³ãã£ãã£ãåãã³ã¬ã¯ã·ã§ã³ã¤ã³ã¹ã¿ã³ã¹ãå
±æãã¦ã¯ããã¾ããã ãªã¬ã¼ã·ã§ãã«ã¢ãã«ããã¼ã¹ã«ãã¦ãããããã³ã¬ã¯ã·ã§ã³åã®ããããã£ã« nullå¤ã代å
¥ãã¦ãæå³ãããã¾ããã ã¤ã¾ãHibernateã¯åç
§å
ã®ãªãã³ã¬ã¯ã·ã§ã³ã¨ç©ºã®ã³ã¬ã¯ã·ã§ã³ãåºå¥ãã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:45
+#, no-c-format
+msgid ""
+"Collections instances have the usual behavior of value types. They are "
+"automatically persisted when referenced by a persistent object and "
+"automatically deleted when unreferenced. If a collection is passed from one "
+"persistent object to another, its elements might be moved from one table to "
+"another. Two entities may not share a reference to the same collection "
+"instance. Due to the underlying relational model, collection-valued "
+"properties do not support null value semantics; Hibernate does not "
+"distinguish between a null collection reference and an empty collection."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã¤ã³ã¹ã¿ã³ã¹ã¯ãå¤åã¨ãã¦æ®éã«æ¯èãã¾ãã æ°¸ç¶åãªãã¸ã§ã¯ãã«"
+"åç
§ãããã¨ãã«èªåçã«æ°¸ç¶åããã åç
§ããªããªã£ãã¨ãã«èªåçã«åé¤ããã¾"
+"ãã ããããæ°¸ç¶åãªãã¸ã§ã¯ãããå¥ã®æ°¸ç¶åãªãã¸ã§ã¯ãã«æ¸¡ããããã ãã®"
+"è¦ç´ ã¯ç¾å¨ã®ãã¼ãã«ããå¥ã®ãã¼ãã«ã«ç§»åããããããã¾ããã ï¼ã¤ã®ã¨ã³ãã£"
+"ãã£ãåãã³ã¬ã¯ã·ã§ã³ã¤ã³ã¹ã¿ã³ã¹ãå
±æãã¦ã¯ããã¾ããã ãªã¬ã¼ã·ã§ãã«ã¢ã"
+"ã«ããã¼ã¹ã«ãã¦ãããããã³ã¬ã¯ã·ã§ã³åã®ããããã£ã« nullå¤ã代å
¥ãã¦ãæå³"
+"ãããã¾ããã ã¤ã¾ãHibernateã¯åç
§å
ã®ãªãã³ã¬ã¯ã·ã§ã³ã¨ç©ºã®ã³ã¬ã¯ã·ã§ã³ã"
+"åºå¥ãã¾ããã"
-#: index.docbook:56
-msgid "You shouldn't have to worry much about any of this. Use persistent collections the same way you use ordinary Java collections. Just make sure you understand the semantics of bidirectional associations (discussed later)."
-msgstr "ãããããã»ã©å¿é
ããªãã¦ãæ§ãã¾ããã æ®æ®µä½¿ã£ã¦ããJavaã®ã³ã¬ã¯ã·ã§ã³ã¨åãããã«ãæ°¸ç¶åã³ã¬ã¯ã·ã§ã³ã使ã£ã¦ãã ããã åæ¹åé¢é£ã®æå³ãçè§£ããã°ããã®ã§ãï¼ããã¯å¾ã»ã©èª¬æãã¾ãï¼ã"
+#. Tag: para
+#: collection_mapping.xml:56
+#, no-c-format
+msgid ""
+"You shouldn't have to worry much about any of this. Use persistent "
+"collections the same way you use ordinary Java collections. Just make sure "
+"you understand the semantics of bidirectional associations (discussed later)."
+msgstr ""
+"ãããããã»ã©å¿é
ããªãã¦ãæ§ãã¾ããã æ®æ®µä½¿ã£ã¦ããJavaã®ã³ã¬ã¯ã·ã§ã³ã¨å"
+"ãããã«ãæ°¸ç¶åã³ã¬ã¯ã·ã§ã³ã使ã£ã¦ãã ããã åæ¹åé¢é£ã®æå³ãçè§£ããã°ã"
+"ãã®ã§ãï¼ããã¯å¾ã»ã©èª¬æãã¾ãï¼ã"
-#: index.docbook:65
+#. Tag: title
+#: collection_mapping.xml:65
+#, no-c-format
msgid "Collection mappings"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°"
-#: index.docbook:67
-msgid "The Hibernate mapping element used for mapping a collection depends upon the type of the interface. For example, a <literal><set></literal> element is used for mapping properties of type <literal>Set</literal>."
-msgstr "ã³ã¬ã¯ã·ã§ã³ããããã³ã°ããããã®ãããã³ã°è¦ç´ ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã®åã«ä¾åãã¾ãã ä¾ãã°ã<literal><set></literal> è¦ç´ 㯠<literal>Set</literal> åã ãããã³ã°ããããã«ä½¿ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:67
+#, no-c-format
+msgid ""
+"The Hibernate mapping element used for mapping a collection depends upon the "
+"type of the interface. For example, a <literal><set></literal> element "
+"is used for mapping properties of type <literal>Set</literal>."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ããããã³ã°ããããã®ãããã³ã°è¦ç´ ã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã®åã«ä¾"
+"åãã¾ãã ä¾ãã°ã<literal><set></literal> è¦ç´ 㯠<literal>Set</"
+"literal> åã ãããã³ã°ããããã«ä½¿ãã¾ãã"
-#: index.docbook:73
+#. Tag: programlisting
+#: collection_mapping.xml:73
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Product\">\n"
- " <id name=\"serialNumber\" column=\"productSerialNumber\"/>\n"
- " <set name=\"parts\">\n"
- " <key column=\"productSerialNumber\" not-null=\"true\"/>\n"
- " <one-to-many class=\"Part\"/>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Product\">\n"
+" <id name=\"serialNumber\" column=\"productSerialNumber\"/>\n"
+" <set name=\"parts\">\n"
+" <key column=\"productSerialNumber\" not-null=\"true\"/>\n"
+" <one-to-many class=\"Part\"/>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Product\">\n"
- " <id name=\"serialNumber\" column=\"productSerialNumber\"/>\n"
- " <set name=\"parts\">\n"
- " <key column=\"productSerialNumber\" not-null=\"true\"/>\n"
- " <one-to-many class=\"Part\"/>\n"
- " </set>\n"
- "</class>]]>"
-#: index.docbook:75
-msgid "Apart from <literal><set></literal>, there is also <literal><list></literal>, <literal><map></literal>, <literal><bag></literal>, <literal><array></literal> and <literal><primitive-array></literal> mapping elements. The <literal><map></literal> element is representative:"
-msgstr "ãããã³ã°è¦ç´ ã«ã¯ <literal><set></literal> ã®ä»ã« <literal><list></literal>ã <literal><map></literal>ã<literal><bag></literal>ã <literal><array></literal>ã<literal><primitive-array></literal> ãããã¾ãã 代表ã¨ãã¦ã<literal><map></literal> è¦ç´ ãä¸è¨ã«ç¤ºãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:75
+#, no-c-format
+msgid ""
+"Apart from <literal><set></literal>, there is also <literal><"
+"list></literal>, <literal><map></literal>, <literal><bag></"
+"literal>, <literal><array></literal> and <literal><primitive-"
+"array></literal> mapping elements. The <literal><map></literal> "
+"element is representative:"
+msgstr ""
+"ãããã³ã°è¦ç´ ã«ã¯ <literal><set></literal> ã®ä»ã« <literal><"
+"list></literal>ã <literal><map></literal>ã<literal><bag></"
+"literal>ã <literal><array></literal>ã<literal><primitive-array>"
+"</literal> ãããã¾ãã 代表ã¨ãã¦ã<literal><map></literal> è¦ç´ ãä¸è¨"
+"ã«ç¤ºãã¾ãã"
-#: index.docbook:100
+#. Tag: programlisting
+#: collection_mapping.xml:100
+#, no-c-format
msgid ""
- "<![CDATA[<map\n"
- " name=\"propertyName\"\n"
- " table=\"table_name\"\n"
- " schema=\"schema_name\"\n"
- " lazy=\"true|extra|false\"\n"
- " inverse=\"true|false\"\n"
- " cascade=\"all|none|save-update|delete|all-delete-orphan|delete-orphan\"\n"
- " sort=\"unsorted|natural|comparatorClass\"\n"
- " order-by=\"column_name asc|desc\"\n"
- " where=\"arbitrary sql where condition\"\n"
- " fetch=\"join|select|subselect\"\n"
- " batch-size=\"N\"\n"
- " access=\"field|property|ClassName\"\n"
- " optimistic-lock=\"true|false\"\n"
- " mutable=\"true|false\"\n"
- " node=\"element-name|.\"\n"
- " embed-xml=\"true|false\"\n"
- ">\n"
- "\n"
- " <key .... />\n"
- " <map-key .... />\n"
- " <element .... />\n"
- "</map>]]>"
+"<![CDATA[<map\n"
+" name=\"propertyName\"\n"
+" table=\"table_name\"\n"
+" schema=\"schema_name\"\n"
+" lazy=\"true|extra|false\"\n"
+" inverse=\"true|false\"\n"
+" cascade=\"all|none|save-update|delete|all-delete-orphan|delete-orphan\"\n"
+" sort=\"unsorted|natural|comparatorClass\"\n"
+" order-by=\"column_name asc|desc\"\n"
+" where=\"arbitrary sql where condition\"\n"
+" fetch=\"join|select|subselect\"\n"
+" batch-size=\"N\"\n"
+" access=\"field|property|ClassName\"\n"
+" optimistic-lock=\"true|false\"\n"
+" mutable=\"true|false\"\n"
+" node=\"element-name|.\"\n"
+" embed-xml=\"true|false\"\n"
+">\n"
+"\n"
+" <key .... />\n"
+" <map-key .... />\n"
+" <element .... />\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<map\n"
- " name=\"propertyName\"\n"
- " table=\"table_name\"\n"
- " schema=\"schema_name\"\n"
- " lazy=\"true|extra|false\"\n"
- " inverse=\"true|false\"\n"
- " cascade=\"all|none|save-update|delete|all-delete-orphan|delete-orphan\"\n"
- " sort=\"unsorted|natural|comparatorClass\"\n"
- " order-by=\"column_name asc|desc\"\n"
- " where=\"arbitrary sql where condition\"\n"
- " fetch=\"join|select|subselect\"\n"
- " batch-size=\"N\"\n"
- " access=\"field|property|ClassName\"\n"
- " optimistic-lock=\"true|false\"\n"
- " mutable=\"true|false\"\n"
- " node=\"element-name|.\"\n"
- " embed-xml=\"true|false\"\n"
- ">\n"
- "\n"
- " <key .... />\n"
- " <map-key .... />\n"
- " <element .... />\n"
- "</map>]]>"
-#: index.docbook:103
+#. Tag: para
+#: collection_mapping.xml:103
+#, no-c-format
msgid "<literal>name</literal> the collection property name"
msgstr "<literal>name</literal> ã³ã¬ã¯ã·ã§ã³åã§ããããããã£ã®åå"
-#: index.docbook:108
-msgid "<literal>table</literal> (optional - defaults to property name) the name of the collection table (not used for one-to-many associations)"
-msgstr "<literal>table</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®åå ï¼ä¸å¯¾å¤é¢é£ã§ã¯ä½¿ç¨ãã¾ããï¼ã"
+#. Tag: para
+#: collection_mapping.xml:108
+#, no-c-format
+msgid ""
+"<literal>table</literal> (optional - defaults to property name) the name of "
+"the collection table (not used for one-to-many associations)"
+msgstr ""
+"<literal>table</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ãã¯ããããã£åï¼ã³ã¬ã¯ã·ã§"
+"ã³ãã¼ãã«ã®åå ï¼ä¸å¯¾å¤é¢é£ã§ã¯ä½¿ç¨ãã¾ããï¼ã"
-#: index.docbook:114
-msgid "<literal>schema</literal> (optional) the name of a table schema to override the schema declared on the root element"
-msgstr "<literal>schema</literal> ï¼ãªãã·ã§ã³ï¼ãã¼ãã«ã¹ãã¼ãã®ååã ã«ã¼ãè¦ç´ ã§å®£è¨ããã¦ããã¹ãã¼ãããåªå
ããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:114
+#, no-c-format
+msgid ""
+"<literal>schema</literal> (optional) the name of a table schema to override "
+"the schema declared on the root element"
+msgstr ""
+"<literal>schema</literal> ï¼ãªãã·ã§ã³ï¼ãã¼ãã«ã¹ãã¼ãã®ååã ã«ã¼ãè¦ç´ ã§"
+"宣è¨ããã¦ããã¹ãã¼ãããåªå
ããã¾ãã"
-#: index.docbook:120
-msgid "<literal>lazy</literal> (optional - defaults to <literal>true</literal>) may be used to disable lazy fetching and specify that the association is always eagerly fetched, or to enable \"extra-lazy\" fetching where most operations do not initialize the collection (suitable for very large collections)"
-msgstr "<literal>lazy</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal>ï¼ é
å»¶ãã§ãããç¡å¹ã«ããé¢é£ã常ã«å³æã«ãã§ããã«ããããã«ä½¿ç¨ãã¾ãã ã¾ãã¯ããextra-lazyããã§ãããæå¹ã«ããããã«ä½¿ç¨ãã¾ãã ãextra-lazyããã§ããã¯ãã»ã¨ãã©ã®æä½ã§ã¯ã³ã¬ã¯ã·ã§ã³ãåæåãã¾ãã ï¼é常ã«å¤§ããªã³ã¬ã¯ã·ã§ã³ã«é©ãã¦ãã¾ãï¼ã"
+#. Tag: para
+#: collection_mapping.xml:120
+#, no-c-format
+msgid ""
+"<literal>lazy</literal> (optional - defaults to <literal>true</literal>) may "
+"be used to disable lazy fetching and specify that the association is always "
+"eagerly fetched, or to enable \"extra-lazy\" fetching where most operations "
+"do not initialize the collection (suitable for very large collections)"
+msgstr ""
+"<literal>lazy</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal>ï¼ é
å»¶ãã§ãããç¡å¹ã«ããé¢é£ã常ã«å³æã«ãã§ããã«ããããã«ä½¿ç¨ã"
+"ã¾ãã ã¾ãã¯ããextra-lazyããã§ãããæå¹ã«ããããã«ä½¿ç¨ãã¾ãã ãextra-"
+"lazyããã§ããã¯ãã»ã¨ãã©ã®æä½ã§ã¯ã³ã¬ã¯ã·ã§ã³ãåæåãã¾ãã ï¼é常ã«å¤§ã"
+"ãªã³ã¬ã¯ã·ã§ã³ã«é©ãã¦ãã¾ãï¼ã"
-#: index.docbook:129
-msgid "<literal>inverse</literal> (optional - defaults to <literal>false</literal>) mark this collection as the \"inverse\" end of a bidirectional association"
-msgstr "<literal>inverse</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</literal>ï¼ ãã®ã³ã¬ã¯ã·ã§ã³ãåæ¹åé¢é£ã®ãéãå´ã§ããã¨ãã¼ã¯ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:129
+#, no-c-format
+msgid ""
+"<literal>inverse</literal> (optional - defaults to <literal>false</literal>) "
+"mark this collection as the \"inverse\" end of a bidirectional association"
+msgstr ""
+"<literal>inverse</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>false</"
+"literal>ï¼ ãã®ã³ã¬ã¯ã·ã§ã³ãåæ¹åé¢é£ã®ãéãå´ã§ããã¨ãã¼ã¯ãã¾ãã"
-#: index.docbook:135
-msgid "<literal>cascade</literal> (optional - defaults to <literal>none</literal>) enable operations to cascade to child entities"
-msgstr "<literal>cascade</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</literal>ï¼ åã¨ã³ãã£ãã£ã¸ã®ã«ã¹ã±ã¼ãæä½ãæå¹ã«ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:135
+#, no-c-format
+msgid ""
+"<literal>cascade</literal> (optional - defaults to <literal>none</literal>) "
+"enable operations to cascade to child entities"
+msgstr ""
+"<literal>cascade</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>none</"
+"literal>ï¼ åã¨ã³ãã£ãã£ã¸ã®ã«ã¹ã±ã¼ãæä½ãæå¹ã«ãã¾ãã"
-#: index.docbook:141
-msgid "<literal>sort</literal> (optional) specify a sorted collection with <literal>natural</literal> sort order, or a given comparator class"
-msgstr "<literal>sort</literal> ï¼ãªãã·ã§ã³ï¼ã³ã¬ã¯ã·ã§ã³ãèªç¶ãªé åºã§ã½ã¼ãããå ´å㯠<literal>natural</literal> ãæå®ãã¾ãã ãããã¯Comparatorã¯ã©ã¹ãæå®ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:141
+#, no-c-format
+msgid ""
+"<literal>sort</literal> (optional) specify a sorted collection with "
+"<literal>natural</literal> sort order, or a given comparator class"
+msgstr ""
+"<literal>sort</literal> ï¼ãªãã·ã§ã³ï¼ã³ã¬ã¯ã·ã§ã³ãèªç¶ãªé åºã§ã½ã¼ãããå ´"
+"å㯠<literal>natural</literal> ãæå®ãã¾ãã ãããã¯Comparatorã¯ã©ã¹ãæå®"
+"ãã¾ãã"
-#: index.docbook:147
-msgid "<literal>order-by</literal> (optional, JDK1.4 only) specify a table column (or columns) that define the iteration order of the <literal>Map</literal>, <literal>Set</literal> or bag, together with an optional <literal>asc</literal> or <literal>desc</literal>"
-msgstr "<literal>order-by</literal> ï¼ãªãã·ã§ã³ãJDK1.4ã®ã¿ï¼ <literal>Map</literal>ã<literal>Set</literal>ãbagã®ã¤ãã¬ã¼ã·ã§ã³é åºãå®ç¾©ãã ãã¼ãã«ã«ã©ã ãæå®ããã¨å
±ã«ã ãªãã·ã§ã³ã¨ã㦠<literal>asc</literal>ã<literal>desc</literal> ãæå®ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:147
+#, no-c-format
+msgid ""
+"<literal>order-by</literal> (optional, JDK1.4 only) specify a table column "
+"(or columns) that define the iteration order of the <literal>Map</literal>, "
+"<literal>Set</literal> or bag, together with an optional <literal>asc</"
+"literal> or <literal>desc</literal>"
+msgstr ""
+"<literal>order-by</literal> ï¼ãªãã·ã§ã³ãJDK1.4ã®ã¿ï¼ <literal>Map</"
+"literal>ã<literal>Set</literal>ãbagã®ã¤ãã¬ã¼ã·ã§ã³é åºãå®ç¾©ãã ãã¼ãã«"
+"ã«ã©ã ãæå®ããã¨å
±ã«ã ãªãã·ã§ã³ã¨ã㦠<literal>asc</literal>ã"
+"<literal>desc</literal> ãæå®ãã¾ãã"
-#: index.docbook:154
-msgid "<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</literal> condition to be used when retrieving or removing the collection (useful if the collection should contain only a subset of the available data)"
-msgstr "<literal>where</literal> ï¼ãªãã·ã§ã³ï¼ã³ã¬ã¯ã·ã§ã³ã®æ¤ç´¢ãåé¤ã®éã«ä½¿ã ä»»æã®SQLã®<literal>WHERE</literal> æ¡ä»¶ãæå®ãã¾ã ï¼å©ç¨å¯è½ãªãã¼ã¿ã®ä¸é¨åã ããã³ã¬ã¯ã·ã§ã³ãå«ãã¹ãã¨ãã«ãããã¯æç¨ã§ãï¼ã"
+#. Tag: para
+#: collection_mapping.xml:154
+#, no-c-format
+msgid ""
+"<literal>where</literal> (optional) specify an arbitrary SQL <literal>WHERE</"
+"literal> condition to be used when retrieving or removing the collection "
+"(useful if the collection should contain only a subset of the available data)"
+msgstr ""
+"<literal>where</literal> ï¼ãªãã·ã§ã³ï¼ã³ã¬ã¯ã·ã§ã³ã®æ¤ç´¢ãåé¤ã®éã«ä½¿ã ä»»"
+"æã®SQLã®<literal>WHERE</literal> æ¡ä»¶ãæå®ãã¾ã ï¼å©ç¨å¯è½ãªãã¼ã¿ã®ä¸é¨å"
+"ã ããã³ã¬ã¯ã·ã§ã³ãå«ãã¹ãã¨ãã«ãããã¯æç¨ã§ãï¼ã"
-#: index.docbook:161
-msgid "<literal>fetch</literal> (optional, defaults to <literal>select</literal>) Choose between outer-join fetching, fetching by sequential select, and fetching by sequential subselect."
-msgstr "<literal>fetch</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</literal>ï¼ å¤é¨çµåã«ãããã§ãããé æ¬¡é¸æãã§ããï¼sequential select fetchï¼ã é æ¬¡ãµãã»ã¬ã¯ããã§ããï¼sequential subselect fetchï¼ã®ã©ããã鏿ãã¦ãã ããã"
+#. Tag: para
+#: collection_mapping.xml:161
+#, no-c-format
+msgid ""
+"<literal>fetch</literal> (optional, defaults to <literal>select</literal>) "
+"Choose between outer-join fetching, fetching by sequential select, and "
+"fetching by sequential subselect."
+msgstr ""
+"<literal>fetch</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>select</"
+"literal>ï¼ å¤é¨çµåã«ãããã§ãããé æ¬¡é¸æãã§ããï¼sequential select "
+"fetchï¼ã é æ¬¡ãµãã»ã¬ã¯ããã§ããï¼sequential subselect fetchï¼ã®ã©ãããé¸"
+"æãã¦ãã ããã"
-#: index.docbook:168
-msgid "<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) specify a \"batch size\" for lazily fetching instances of this collection."
-msgstr "<literal>batch-size</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>1</literal>ï¼ ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã®é
å»¶ãã§ããã®ããã®ãããããµã¤ãºããæå®ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:168
+#, no-c-format
+msgid ""
+"<literal>batch-size</literal> (optional, defaults to <literal>1</literal>) "
+"specify a \"batch size\" for lazily fetching instances of this collection."
+msgstr ""
+"<literal>batch-size</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>1</"
+"literal>ï¼ ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã®é
å»¶ãã§ããã®ããã®ãããããµã¤ãºãã"
+"æå®ãã¾ãã"
-#: index.docbook:174
-msgid "<literal>access</literal> (optional - defaults to <literal>property</literal>): The strategy Hibernate should use for accessing the collection property value."
-msgstr "<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</literal>ï¼ ã³ã¬ã¯ã·ã§ã³åããããã£ã®å¤ã«ã¢ã¯ã»ã¹ããããã«ä½¿ç¨ããæ¦ç¥ã§ãã"
+#. Tag: para
+#: collection_mapping.xml:174
+#, no-c-format
+msgid ""
+"<literal>access</literal> (optional - defaults to <literal>property</"
+"literal>): The strategy Hibernate should use for accessing the collection "
+"property value."
+msgstr ""
+"<literal>access</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>property</"
+"literal>ï¼ ã³ã¬ã¯ã·ã§ã³åããããã£ã®å¤ã«ã¢ã¯ã»ã¹ããããã«ä½¿ç¨ããæ¦ç¥ã§ãã"
-#: index.docbook:180
-msgid "<literal>optimistic-lock</literal> (optional - defaults to <literal>true</literal>): Species that changes to the state of the collection results in increment of the owning entity's version. (For one to many associations, it is often reasonable to disable this setting.)"
-msgstr "<literal>optimistic-lock</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal>ï¼ ã³ã¬ã¯ã·ã§ã³ã®ç¶æ
ãå¤ãããã¨ã«ãã£ã¦ã ãã®ãªã¼ãã¼ã§ããã¨ã³ãã£ãã£ã®ãã¼ã¸ã§ã³ãã¤ã³ã¯ãªã¡ã³ããããããæå®ãã¾ãã ï¼ä¸å¯¾å¤é¢é£ã§ã¯ãã»ã¨ãã©ã®å ´åã«ããã¦ç¡å¹ã«è¨å®ããã®ã妥å½ã§ããï¼"
+#. Tag: para
+#: collection_mapping.xml:180
+#, no-c-format
+msgid ""
+"<literal>optimistic-lock</literal> (optional - defaults to <literal>true</"
+"literal>): Species that changes to the state of the collection results in "
+"increment of the owning entity's version. (For one to many associations, it "
+"is often reasonable to disable this setting.)"
+msgstr ""
+"<literal>optimistic-lock</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal>ï¼ ã³ã¬ã¯ã·ã§ã³ã®ç¶æ
ãå¤ãããã¨ã«ãã£ã¦ã ãã®ãªã¼ãã¼ã§ããã¨ã³"
+"ãã£ãã£ã®ãã¼ã¸ã§ã³ãã¤ã³ã¯ãªã¡ã³ããããããæå®ãã¾ãã ï¼ä¸å¯¾å¤é¢é£ã§ã¯ã"
+"ã»ã¨ãã©ã®å ´åã«ããã¦ç¡å¹ã«è¨å®ããã®ã妥å½ã§ããï¼"
-#: index.docbook:188
-msgid "<literal>mutable</literal> (optional - defaults to <literal>true</literal>): A value of <literal>false</literal> specifies that the elements of the collection never change (a minor performance optimization in some cases)."
-msgstr "<literal>mutable</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</literal>ï¼ <literal>false</literal> å¤ã¯ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã夿´ãããªããã¨ã表ãã¾ã ï¼ããå ´åã«ã¯ãå°ãããã©ã¼ãã³ã¹ãé«ãã¾ãï¼ã"
+#. Tag: para
+#: collection_mapping.xml:188
+#, no-c-format
+msgid ""
+"<literal>mutable</literal> (optional - defaults to <literal>true</literal>): "
+"A value of <literal>false</literal> specifies that the elements of the "
+"collection never change (a minor performance optimization in some cases)."
+msgstr ""
+"<literal>mutable</literal>ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>true</"
+"literal>ï¼ <literal>false</literal> å¤ã¯ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã夿´ãããªãã"
+"ã¨ã表ãã¾ã ï¼ããå ´åã«ã¯ãå°ãããã©ã¼ãã³ã¹ãé«ãã¾ãï¼ã"
-#: index.docbook:198
+#. Tag: title
+#: collection_mapping.xml:198
+#, no-c-format
msgid "Collection foreign keys"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®å¤é¨ãã¼"
-#: index.docbook:200
-msgid "Collection instances are distinguished in the database by the foreign key of the entity that owns the collection. This foreign key is referred to as the <emphasis>collection key column</emphasis> (or columns) of the collection table. The collection key column is mapped by the <literal><key></literal> element."
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ããã¼ã¿ãã¼ã¹å
ã§ã¯ã ãã®ã³ã¬ã¯ã·ã§ã³ãææããã¨ã³ãã£ãã£ã®å¤é¨ãã¼ã«ãã£ã¦èå¥ããã¾ãã ãã®å¤é¨ãã¼ã¯ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã® <emphasis>ã³ã¬ã¯ã·ã§ã³ãã¼ã«ã©ã </emphasis> ã¨å¼ã°ãã¾ãã ã³ã¬ã¯ã·ã§ã³ãã¼ã«ã©ã 㯠<literal><key></literal> è¦ç´ ã«ãããããã³ã°ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:200
+#, no-c-format
+msgid ""
+"Collection instances are distinguished in the database by the foreign key of "
+"the entity that owns the collection. This foreign key is referred to as the "
+"<emphasis>collection key column</emphasis> (or columns) of the collection "
+"table. The collection key column is mapped by the <literal><key></"
+"literal> element."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ããã¼ã¿ãã¼ã¹å
ã§ã¯ã ãã®ã³ã¬ã¯ã·ã§ã³ãææãã"
+"ã¨ã³ãã£ãã£ã®å¤é¨ãã¼ã«ãã£ã¦èå¥ããã¾ãã ãã®å¤é¨ãã¼ã¯ã³ã¬ã¯ã·ã§ã³ãã¼ã"
+"ã«ã® <emphasis>ã³ã¬ã¯ã·ã§ã³ãã¼ã«ã©ã </emphasis> ã¨å¼ã°ãã¾ãã ã³ã¬ã¯ã·ã§ã³"
+"ãã¼ã«ã©ã 㯠<literal><key></literal> è¦ç´ ã«ãããããã³ã°ãã¾ãã"
-#: index.docbook:208
-msgid "There may be a nullability constraint on the foreign key column. For most collections, this is implied. For unidirectional one to many associations, the foreign key column is nullable by default, so you might need to specify <literal>not-null=\"true\"</literal>."
-msgstr "å¤é¨ãã¼ã«ã©ã ã«ã¯nullè¨å®å¶ç´ãããããããã¾ããã ã»ã¨ãã©ã®ã³ã¬ã¯ã·ã§ã³ã«å½ã¦ã¯ã¾ãã§ãããã åæ¹åã®ä¸å¯¾å¤é¢é£ã«ããã¦ãå¤é¨ãã¼ã«ã©ã ã¯ããã©ã«ãã§nullã許ãè¨å®ã«ãªã£ã¦ãã¾ãã ãã£ã¦ã<literal>not-null=\"true\"</literal> ãæå®ããå¿
è¦ãããããããã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:208
+#, no-c-format
+msgid ""
+"There may be a nullability constraint on the foreign key column. For most "
+"collections, this is implied. For unidirectional one to many associations, "
+"the foreign key column is nullable by default, so you might need to specify "
+"<literal>not-null=\"true\"</literal>."
+msgstr ""
+"å¤é¨ãã¼ã«ã©ã ã«ã¯nullè¨å®å¶ç´ãããããããã¾ããã ã»ã¨ãã©ã®ã³ã¬ã¯ã·ã§ã³ã«"
+"å½ã¦ã¯ã¾ãã§ãããã åæ¹åã®ä¸å¯¾å¤é¢é£ã«ããã¦ãå¤é¨ãã¼ã«ã©ã ã¯ããã©ã«ãã§"
+"nullã許ãè¨å®ã«ãªã£ã¦ãã¾ãã ãã£ã¦ã<literal>not-null=\"true\"</literal> "
+"ãæå®ããå¿
è¦ãããããããã¾ããã"
-#: index.docbook:215
+#. Tag: programlisting
+#: collection_mapping.xml:215
+#, no-c-format
msgid "<![CDATA[<key column=\"productSerialNumber\" not-null=\"true\"/>]]>"
-msgstr "<![CDATA[<key column=\"productSerialNumber\" not-null=\"true\"/>]]>"
+msgstr ""
-#: index.docbook:217
-msgid "The foreign key constraint may use <literal>ON DELETE CASCADE</literal>."
-msgstr "å¤é¨ãã¼ã®å¶ç´ã <literal>ON DELETE CASCADE</literal> ã使ãããããã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:217
+#, no-c-format
+msgid ""
+"The foreign key constraint may use <literal>ON DELETE CASCADE</literal>."
+msgstr ""
+"å¤é¨ãã¼ã®å¶ç´ã <literal>ON DELETE CASCADE</literal> ã使ãããããã¾ããã"
-#: index.docbook:221
+#. Tag: programlisting
+#: collection_mapping.xml:221
+#, no-c-format
msgid "<![CDATA[<key column=\"productSerialNumber\" on-delete=\"cascade\"/>]]>"
-msgstr "<![CDATA[<key column=\"productSerialNumber\" on-delete=\"cascade\"/>]]>"
+msgstr ""
-#: index.docbook:223
-msgid "See the previous chapter for a full definition of the <literal><key></literal> element."
-msgstr "<literal><key></literal> è¦ç´ ã®ãã¹ã¦ã®å®ç¾©ã«ã¤ãã¦ã¯åã®ç« ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: collection_mapping.xml:223
+#, no-c-format
+msgid ""
+"See the previous chapter for a full definition of the <literal><key></"
+"literal> element."
+msgstr ""
+"<literal><key></literal> è¦ç´ ã®ãã¹ã¦ã®å®ç¾©ã«ã¤ãã¦ã¯åã®ç« ãåç
§ãã¦ã"
+"ã ããã"
-#: index.docbook:231
+#. Tag: title
+#: collection_mapping.xml:231
+#, no-c-format
msgid "Collection elements"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ "
-#: index.docbook:233
-msgid "Collections may contain almost any other Hibernate type, including all basic types, custom types, components, and of course, references to other entities. This is an important distinction: an object in a collection might be handled with \"value\" semantics (its life cycle fully depends on the collection owner) or it might be a reference to another entity, with its own life cycle. In the latter case, only the \"link\" between the two objects is considered to be state held by the collection."
-msgstr "ã³ã¬ã¯ã·ã§ã³ã¯ä»ã®Hibernateã®åã®ã»ã¨ãã©ï¼ãã¹ã¦ã®åºæ¬åãã«ã¹ã¿ã åãã³ã³ãã¼ãã³ãã ä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ï¼ãæ ¼ç´ãããã¨ãã§ãã¾ãã æ¬¡ã®ç¹ã¯éè¦ãªéãã«ãªãã¾ãã ã³ã¬ã¯ã·ã§ã³ã«æ ¼ç´ããããªãã¸ã§ã¯ãããå¤ãã»ãã³ãã£ã¯ã¹ã¨ãã¦æ±ãããã®ã ï¼ã©ã¤ããµã¤ã¯ã«ã¯ã³ã¬ã¯ã·ã§ã³ã®ãªã¼ãã¼ã«å®å
¨ã«ä¾åãã¾ãï¼ã ãããã¯ããèªèº«ã®ã©ã¤ããµã¤ã¯ã«ãæã£ãå¥ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ã§ãããã®ãã¨ããéãã§ãã å¾è
ã¯ã2ã¤ã®ãªãã¸ã§ã¯ãéã®ããªã³ã¯ããã³ã¬ã¯ã·ã§ã³ã«ä¿æãã¦ããã¨è¦ãªãã¦ããã ãã§ãã"
+#. Tag: para
+#: collection_mapping.xml:233
+#, no-c-format
+msgid ""
+"Collections may contain almost any other Hibernate type, including all basic "
+"types, custom types, components, and of course, references to other "
+"entities. This is an important distinction: an object in a collection might "
+"be handled with \"value\" semantics (its life cycle fully depends on the "
+"collection owner) or it might be a reference to another entity, with its own "
+"life cycle. In the latter case, only the \"link\" between the two objects is "
+"considered to be state held by the collection."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã¯ä»ã®Hibernateã®åã®ã»ã¨ãã©ï¼ãã¹ã¦ã®åºæ¬åãã«ã¹ã¿ã åãã³ã³"
+"ãã¼ãã³ãã ä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ï¼ãæ ¼ç´ãããã¨ãã§ãã¾ãã æ¬¡ã®ç¹ã¯é"
+"è¦ãªéãã«ãªãã¾ãã ã³ã¬ã¯ã·ã§ã³ã«æ ¼ç´ããããªãã¸ã§ã¯ãããå¤ãã»ãã³ãã£ã¯"
+"ã¹ã¨ãã¦æ±ãããã®ã ï¼ã©ã¤ããµã¤ã¯ã«ã¯ã³ã¬ã¯ã·ã§ã³ã®ãªã¼ãã¼ã«å®å
¨ã«ä¾åãã¾"
+"ãï¼ã ãããã¯ããèªèº«ã®ã©ã¤ããµã¤ã¯ã«ãæã£ãå¥ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ã§ãã"
+"ãã®ãã¨ããéãã§ãã å¾è
ã¯ã2ã¤ã®ãªãã¸ã§ã¯ãéã®ããªã³ã¯ããã³ã¬ã¯ã·ã§ã³"
+"ã«ä¿æãã¦ããã¨è¦ãªãã¦ããã ãã§ãã"
-#: index.docbook:242
-msgid "The contained type is referred to as the <emphasis>collection element type</emphasis>. Collection elements are mapped by <literal><element></literal> or <literal><composite-element></literal>, or in the case of entity references, with <literal><one-to-many></literal> or <literal><many-to-many></literal>. The first two map elements with value semantics, the next two are used to map entity associations."
-msgstr "æ ¼ç´ãããå㯠<emphasis>ã³ã¬ã¯ã·ã§ã³è¦ç´ å</emphasis> ã¨å¼ã°ãã¾ãã ã³ã¬ã¯ã·ã§ã³è¦ç´ ã¯ã<literal><element></literal> ã¾ã㯠<literal><composite-element></literal> ã«ãããããã³ã°ãããã¨ã³ãã£ãã£ã¸ã®åç
§ã®å ´åã«ã¯ <literal><one-to-many></literal> ã¾ã㯠<literal><many-to-many></literal> ã«ãããããã³ã°ããã¾ãã æåã®äºã¤ã¯å¤ã¨ãã¦è¦ç´ ããããã³ã°ããæ¬¡ã®äºã¤ã¯ã¨ã³ãã£ãã£ã®é¢é£ããããã³ã°ããã®ã«ä½¿ããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:242
+#, no-c-format
+msgid ""
+"The contained type is referred to as the <emphasis>collection element type</"
+"emphasis>. Collection elements are mapped by <literal><element></"
+"literal> or <literal><composite-element></literal>, or in the case of "
+"entity references, with <literal><one-to-many></literal> or "
+"<literal><many-to-many></literal>. The first two map elements with "
+"value semantics, the next two are used to map entity associations."
+msgstr ""
+"æ ¼ç´ãããå㯠<emphasis>ã³ã¬ã¯ã·ã§ã³è¦ç´ å</emphasis> ã¨å¼ã°ãã¾ãã ã³ã¬ã¯"
+"ã·ã§ã³è¦ç´ ã¯ã<literal><element></literal> ã¾ã㯠<literal><"
+"composite-element></literal> ã«ãããããã³ã°ãããã¨ã³ãã£ãã£ã¸ã®åç
§ã®"
+"å ´åã«ã¯ <literal><one-to-many></literal> ã¾ã㯠<literal><many-to-"
+"many></literal> ã«ãããããã³ã°ããã¾ãã æåã®äºã¤ã¯å¤ã¨ãã¦è¦ç´ ããã"
+"ãã³ã°ããæ¬¡ã®äºã¤ã¯ã¨ã³ãã£ãã£ã®é¢é£ããããã³ã°ããã®ã«ä½¿ããã¾ãã"
-#: index.docbook:254
+#. Tag: title
+#: collection_mapping.xml:254
+#, no-c-format
msgid "Indexed collections"
msgstr "ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:256
-msgid "All collection mappings, except those with set and bag semantics, need an <emphasis>index column</emphasis> in the collection table - a column that maps to an array index, or <literal>List</literal> index, or <literal>Map</literal> key. The index of a <literal>Map</literal> may be of any basic type, mapped with <literal><map-key></literal>, it may be an entity reference mapped with <literal><map-key-many-to-many></literal>, or it may be a composite type, mapped with <literal><composite-map-key></literal>. The index of an array or list is always of type <literal>integer</literal> and is mapped using the <literal><list-index></literal> element. The mapped column contains sequential integers (numbered from zero, by default)."
-msgstr "setã¨bagãé¤ãå
¨ã¦ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã«ã¯ã ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®ä¸ã« <emphasis>ã¤ã³ããã¯ã¹ç¨ã®ã«ã©ã </emphasis> ãå¿
è¦ã§ãã ãã®ã«ã©ã ã«ãé
åã <literal>List</literal> ã®ã¤ã³ããã¯ã¹ã ããã㯠<literal>Map</literal> ã®ãã¼ããããã³ã°ãã¾ãã <literal>Map</literal> ã®ã¤ã³ããã¯ã¹ã¯ã <literal><map-key></literal> ã«ãããããã³ã°ãããåºæ¬åãã <literal><map-key-many-to-many></literal> ã«ãããããã³ã°ãããã¨ã³ãã£ãã£ã®é¢é£ãã ããã㯠<literal><composite-map-key></literal> ã«ãããããã³ã°ãããã³ã³ãã¸ããåã«ãªãã¾ãã é
åããªã¹ãã®ã¤ã³ããã¯ã¹ã¯ã常㫠<literal>integer</literal> åã§ã <literal><list-index></literal> è¦ç´ ã«ãããããã³ã°ãã¾ãã ãããã³ã°ãããã«ã©ã ã«ã¯ã·ã¼ã±ã³ã·ã£ã«ãªæ´æ°ãæ ¼ç´ãã¾ãï¼!
ããã©ã«ãã§ã¯0ããçªå·ãä»ãããã¾ãï¼ã"
+#. Tag: para
+#: collection_mapping.xml:256
+#, no-c-format
+msgid ""
+"All collection mappings, except those with set and bag semantics, need an "
+"<emphasis>index column</emphasis> in the collection table - a column that "
+"maps to an array index, or <literal>List</literal> index, or <literal>Map</"
+"literal> key. The index of a <literal>Map</literal> may be of any basic "
+"type, mapped with <literal><map-key></literal>, it may be an entity "
+"reference mapped with <literal><map-key-many-to-many></literal>, or it "
+"may be a composite type, mapped with <literal><composite-map-key></"
+"literal>. The index of an array or list is always of type <literal>integer</"
+"literal> and is mapped using the <literal><list-index></literal> "
+"element. The mapped column contains sequential integers (numbered from zero, "
+"by default)."
+msgstr ""
+"setã¨bagãé¤ãå
¨ã¦ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã«ã¯ã ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®ä¸ã« "
+"<emphasis>ã¤ã³ããã¯ã¹ç¨ã®ã«ã©ã </emphasis> ãå¿
è¦ã§ãã ãã®ã«ã©ã ã«ãé
å"
+"ã <literal>List</literal> ã®ã¤ã³ããã¯ã¹ã ããã㯠<literal>Map</literal> "
+"ã®ãã¼ããããã³ã°ãã¾ãã <literal>Map</literal> ã®ã¤ã³ããã¯ã¹ã¯ã "
+"<literal><map-key></literal> ã«ãããããã³ã°ãããåºæ¬åãã "
+"<literal><map-key-many-to-many></literal> ã«ãããããã³ã°ãããã¨ã³"
+"ãã£ãã£ã®é¢é£ãã ããã㯠<literal><composite-map-key></literal> ã«ã"
+"ããããã³ã°ãããã³ã³ãã¸ããåã«ãªãã¾ãã é
åããªã¹ãã®ã¤ã³ããã¯ã¹ã¯ã常"
+"ã« <literal>integer</literal> åã§ã <literal><list-index></literal> è¦"
+"ç´ ã«ãããããã³ã°ãã¾ãã ãããã³ã°ãããã«ã©ã ã«ã¯ã·ã¼ã±ã³ã·ã£ã«ãªæ´æ°ãæ ¼"
+"ç´ãã¾ãï¼ããã©ã«ãã§ã¯0ããçªå·ãä»ãããã¾ãï¼ã"
-#: index.docbook:267
+#. Tag: sect2
+#: collection_mapping.xml:267
+#, no-c-format
msgid ""
- "<programlistingco> <areaspec> <area id=\"index1\" coords=\"2 45\"/> <area id=\"index2\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<list-index \n"
- " column=\"column_name\"\n"
- " base=\"0|1|...\"/>]]></programlisting> <calloutlist> <callout arearefs=\"index1\"> <para> <literal>column_name</literal> (required): The name of the column holding the collection index values. </para> </callout> <callout arearefs=\"index1\"> <para> <literal>base</literal> (optional, defaults to <literal>0</literal>): The value of the index column that corresponds to the first element of the list or array. </para> </callout> </calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=\"mapkey1\" coords=\"2 45\"/> <area id=\"mapkey2\" coords=\"3 45\"/> <area id=\"mapkey3\" coords=\"4 45\"/> </areaspec> <programlisting><![CDATA[<map-key \n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " type=\"type_name\"\n"
- " node=\"@attribute-name\"\n"
- " length=\"N\"/>]]></programlisting> <calloutlist> <callout arearefs=\"mapkey1\"> <para> <literal>column</literal> (optional): The name of the column holding the collection index values. </para> </callout> <callout arearefs=\"mapkey2\"> <para> <literal>formula</literal> (optional): A SQL formula used to evaluate the key of the map. </para> </callout> <callout arearefs=\"mapkey3\"> <para> <literal>type</literal> (reguired): The type of the map keys. </para> </callout> </calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=\"indexmanytomany1\" coords=\"2 45\"/> <area id=\"indexmanytomany2\" coords=\"3 45\"/> <area id=\"indexmanytomany3\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<map-key-many-to-many\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " class=\"ClassName\"\n"
- "/>]]></programlisting> <calloutlist> <callout arearefs=\"indexmanytomany1\"> <para> <literal>column</literal> (optional): The name of the foreign key column for the collection index values. </para> </callout> <callout arearefs=\"indexmanytomany2\"> <para> <literal>formula</literal> (optional): A SQL formula used to evaluate the foreign key of the map key. </para> </callout> <callout arearefs=\"indexmanytomany3\"> <para> <literal>class</literal> (required): The entity class used as the map key. </para> </callout> </calloutlist> </programlistingco>"
+"<programlistingco> <areaspec> <area id=\"index1\" coords=\"2 45\"/> <area id="
+"\"index2\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<list-"
+"index \n"
+" column=\"column_name\"\n"
+" base=\"0|1|...\"/>]]></programlisting> <calloutlist> <callout "
+"arearefs=\"index1\"> <para> <literal>column_name</literal> (required): The "
+"name of the column holding the collection index values. </para> </callout> "
+"<callout arearefs=\"index1\"> <para> <literal>base</literal> (optional, "
+"defaults to <literal>0</literal>): The value of the index column that "
+"corresponds to the first element of the list or array. </para> </callout> </"
+"calloutlist> </programlistingco> <programlistingco> <areaspec> <area id="
+"\"mapkey1\" coords=\"2 45\"/> <area id=\"mapkey2\" coords=\"3 45\"/> <area "
+"id=\"mapkey3\" coords=\"4 45\"/> </areaspec> <programlisting><![CDATA[<map-"
+"key \n"
+" column=\"column_name\"\n"
+" formula=\"any SQL expression\"\n"
+" type=\"type_name\"\n"
+" node=\"@attribute-name\"\n"
+" length=\"N\"/>]]></programlisting> <calloutlist> <callout arearefs="
+"\"mapkey1\"> <para> <literal>column</literal> (optional): The name of the "
+"column holding the collection index values. </para> </callout> <callout "
+"arearefs=\"mapkey2\"> <para> <literal>formula</literal> (optional): A SQL "
+"formula used to evaluate the key of the map. </para> </callout> <callout "
+"arearefs=\"mapkey3\"> <para> <literal>type</literal> (reguired): The type of "
+"the map keys. </para> </callout> </calloutlist> </programlistingco> "
+"<programlistingco> <areaspec> <area id=\"indexmanytomany1\" coords=\"2 45\"/"
+"> <area id=\"indexmanytomany2\" coords=\"3 45\"/> <area id=\"indexmanytomany3"
+"\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<map-key-many-to-"
+"many\n"
+" column=\"column_name\"\n"
+" formula=\"any SQL expression\"\n"
+" class=\"ClassName\"\n"
+"/>]]></programlisting> <calloutlist> <callout arearefs=\"indexmanytomany1\"> "
+"<para> <literal>column</literal> (optional): The name of the foreign key "
+"column for the collection index values. </para> </callout> <callout arearefs="
+"\"indexmanytomany2\"> <para> <literal>formula</literal> (optional): A SQL "
+"formula used to evaluate the foreign key of the map key. </para> </callout> "
+"<callout arearefs=\"indexmanytomany3\"> <para> <literal>class</literal> "
+"(required): The entity class used as the map key. </para> </callout> </"
+"calloutlist> </programlistingco>"
msgstr ""
- "<programlistingco> <areaspec> <area id=\"index1\" coords=\"2 45\"/> <area id=\"index2\" coords=\"3 45\"/> </areaspec> <programlisting><![CDATA[<list-index \n"
- " column=\"column_name\"\n"
- " base=\"0|1|...\"/>]]></programlisting> <calloutlist> <callout arearefs=\"index1\"> <para> <literal>column_name</literal>ï¼å¿
é ï¼:ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ãä¿æããã«ã©ã ã®ååã </para> </callout> <callout arearefs=\"index2\"> <para> <literal>base</literal>ï¼ãªãã·ã§ã³ãããã©ã«ã㯠<literal>0</literal>ï¼: ãªã¹ããããã¯é
åã®æåã®è¦ç´ ã«è©²å½ããã¤ã³ããã¯ã¹ã«ã©ã ã®å¤ã </para> </callout> </calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=\"mapkey1\" coords=\"2 45\"/> <area id=\"mapkey2\" coords=\"3 45\"/> <area id=\"mapkey3\" coords=\"4 45\"/> </areaspec> <programlisting><![CDATA[<map-key \n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " type=\"type_name\"\n"
- " node=\"@attribute-name\"\n"
- " length=\"N\"/>]]></programlisting> <calloutlist> <callout arearefs=\"mapkey1\"> <para> <literal>column</literal>ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ãä¿æããã«ã©ã ã®ååã </para> </callout> <callout arearefs=\"mapkey2\"> <para> <literal>formula</literal>ï¼ãªãã·ã§ã³ï¼: Mapã®ãã¼ãè©ä¾¡ããã®ã«ä½¿ãããSQLå¼ã </para> </callout> <callout arearefs=\"mapkey3\"> <para> <literal>type</literal>ï¼å¿
é ï¼: Mapã®ãã¼ã®åã </para> </callout> </calloutlist> </programlistingco> <programlistingco> <areaspec> <area id=\"indexmanytomany1\" coords=\"2 45\"/> <area id=\"indexmanytomany2\" coords=\"3 45\"/> <area id=\"indexmanytomany3\" coords=\"4 45\"/> </areaspec> <programlisting><![CDATA[<map-key-many-to-many\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " class=\"ClassName\"\n"
- "/>]]></programlisting> <calloutlist> <callout arearefs=\"indexmanytomany1\"> <para> <literal>column</literal> ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ã®ããã®å¤é¨ãã¼ã«ã©ã ã®ååã </para> </callout> <callout arearefs=\"indexmanytomany2\"> <para> <literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: Mapã®ãã¼ã®ããã®å¤é¨ãã¼ãè©ä¾¡ããããã«ä½¿ãSQLå¼ã </para> </callout> <callout arearefs=\"indexmanytomany3\"> <para> <literal>class</literal> ï¼å¿
é ï¼: Mapã®ãã¼ã¨ãã¦ä½¿ãããã¨ã³ãã£ãã£ã¯ã©ã¹ã </para> </callout> </calloutlist> </programlistingco>"
-#: index.docbook:348
-msgid "If your table doesn't have an index column, and you still wish to use <literal>List</literal> as the property type, you should map the property as a Hibernate <emphasis><bag></emphasis>. A bag does not retain its order when it is retrieved from the database, but it may be optionally sorted or ordered."
-msgstr "ãããã¼ãã«ã«ã¤ã³ããã¯ã¹ã«ã©ã ããªãã¦ããããããã£åã¨ã㦠<literal>List</literal> ã使ããããã°ã Hibernateã® <emphasis><bag></emphasis> ã¨ãã¦ããããã£ããããã³ã°ãã¾ãã bagã¯ãã¼ã¿ãã¼ã¹ãã復å
ãããæãé åºãä¿æãã¾ããã ããããï¼ã¡ã¢ãªä¸ã§ï¼ã½ã¼ãããããï¼SQLã§ï¼é åºä»ããããï¼order byï¼ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:348
+#, no-c-format
+msgid ""
+"If your table doesn't have an index column, and you still wish to use "
+"<literal>List</literal> as the property type, you should map the property as "
+"a Hibernate <emphasis><bag></emphasis>. A bag does not retain its "
+"order when it is retrieved from the database, but it may be optionally "
+"sorted or ordered."
+msgstr ""
+"ãããã¼ãã«ã«ã¤ã³ããã¯ã¹ã«ã©ã ããªãã¦ããããããã£åã¨ã㦠"
+"<literal>List</literal> ã使ããããã°ã Hibernateã® <emphasis><bag></"
+"emphasis> ã¨ãã¦ããããã£ããããã³ã°ãã¾ãã bagã¯ãã¼ã¿ãã¼ã¹ãã復å
ãã"
+"ãæãé åºãä¿æãã¾ããã ããããï¼ã¡ã¢ãªä¸ã§ï¼ã½ã¼ãããããï¼SQLã§ï¼é åº"
+"ä»ããããï¼order byï¼ãããã¨ãã§ãã¾ãã"
-#: index.docbook:357
-msgid "There are quite a range of mappings that can be generated for collections, covering many common relational models. We suggest you experiment with the schema generation tool to get a feeling for how various mapping declarations translate to database tables."
-msgstr "å¤ãã®ä¸è¬çãªãªã¬ã¼ã·ã§ãã«ã¢ãã«ãã«ãã¼ããããã«ã ã³ã¬ã¯ã·ã§ã³ã®ããã«å©ç¨ã§ãããããã³ã°ã«ã¯ããªãã®å¹
ãããã¾ãã æ§ã
ãªãããã³ã°å®£è¨ãã©ã®ããã«ãã¼ã¿ãã¼ã¹ãã¼ãã«ã«å¤æãããããç¥ãããã«ã ã¹ãã¼ãçæãã¼ã«ã使ã£ã¦ã¿ãã¨è¯ãã§ãããã"
+#. Tag: para
+#: collection_mapping.xml:357
+#, no-c-format
+msgid ""
+"There are quite a range of mappings that can be generated for collections, "
+"covering many common relational models. We suggest you experiment with the "
+"schema generation tool to get a feeling for how various mapping declarations "
+"translate to database tables."
+msgstr ""
+"å¤ãã®ä¸è¬çãªãªã¬ã¼ã·ã§ãã«ã¢ãã«ãã«ãã¼ããããã«ã ã³ã¬ã¯ã·ã§ã³ã®ããã«å©"
+"ç¨ã§ãããããã³ã°ã«ã¯ããªãã®å¹
ãããã¾ãã æ§ã
ãªãããã³ã°å®£è¨ãã©ã®ããã«"
+"ãã¼ã¿ãã¼ã¹ãã¼ãã«ã«å¤æãããããç¥ãããã«ã ã¹ãã¼ãçæãã¼ã«ã使ã£ã¦ã¿"
+"ãã¨è¯ãã§ãããã"
-#: index.docbook:364
+#. Tag: title
+#: collection_mapping.xml:364
+#, no-c-format
msgid "Collections of values and many-to-many associations"
msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³ã¨å¤å¯¾å¤é¢é£"
-#: index.docbook:366
-msgid "Any collection of values or many-to-many association requires a dedicated <emphasis>collection table</emphasis> with a foreign key column or columns, <emphasis>collection element column</emphasis> or columns and possibly an index column or columns."
-msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³ãå¤å¯¾å¤é¢é£ã¯ãå°ç¨ã® <emphasis>ã³ã¬ã¯ã·ã§ã³ãã¼ãã«</emphasis> ãå¿
è¦ã§ãã ãã®ãã¼ãã«ã¯ãå¤é¨ãã¼ã«ã©ã ã¨ã <emphasis>ã³ã¬ã¯ã·ã§ã³è¦ç´ ã®ã«ã©ã </emphasis> ã¨ã å ´åã«ãã£ã¦ã¯ã¤ã³ããã¯ã¹ã«ã©ã ãæã¡ã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:366
+#, no-c-format
+msgid ""
+"Any collection of values or many-to-many association requires a dedicated "
+"<emphasis>collection table</emphasis> with a foreign key column or columns, "
+"<emphasis>collection element column</emphasis> or columns and possibly an "
+"index column or columns."
+msgstr ""
+"å¤ã®ã³ã¬ã¯ã·ã§ã³ãå¤å¯¾å¤é¢é£ã¯ãå°ç¨ã® <emphasis>ã³ã¬ã¯ã·ã§ã³ãã¼ãã«</"
+"emphasis> ãå¿
è¦ã§ãã ãã®ãã¼ãã«ã¯ãå¤é¨ãã¼ã«ã©ã ã¨ã <emphasis>ã³ã¬ã¯"
+"ã·ã§ã³è¦ç´ ã®ã«ã©ã </emphasis> ã¨ã å ´åã«ãã£ã¦ã¯ã¤ã³ããã¯ã¹ã«ã©ã ãæã¡ã¾"
+"ãã"
-#: index.docbook:373
-msgid "For a collection of values, we use the <literal><element></literal> tag."
-msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³ã®ããã«ã<literal><element></literal>ã¿ã°ã使ç¨ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:373
+#, no-c-format
+msgid ""
+"For a collection of values, we use the <literal><element></literal> "
+"tag."
+msgstr ""
+"å¤ã®ã³ã¬ã¯ã·ã§ã³ã®ããã«ã<literal><element></literal>ã¿ã°ã使ç¨ãã¾"
+"ãã"
-#: index.docbook:375
+#. Tag: sect2
+#: collection_mapping.xml:375
+#, no-c-format
msgid ""
- "<programlistingco> <areaspec> <area id=\"element1b\" coords=\"2 50\"/> <area id=\"element2b\" coords=\"3 50\"/> <area id=\"element3b\" coords=\"4 50\"/> </areaspec> <programlisting><![CDATA[<element\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " type=\"typename\"\n"
- " length=\"L\"\n"
- " precision=\"P\"\n"
- " scale=\"S\"\n"
- " not-null=\"true|false\"\n"
- " unique=\"true|false\"\n"
- " node=\"element-name\"\n"
- "/>]]></programlisting> <calloutlist> <callout arearefs=\"element1b\"> <para> <literal>column</literal> (optional): The name of the column holding the collection element values. </para> </callout> <callout arearefs=\"element2b\"> <para> <literal>formula</literal> (optional): An SQL formula used to evaluate the element. </para> </callout> <callout arearefs=\"element3b\"> <para> <literal>type</literal> (required): The type of the collection element. </para> </callout> </calloutlist> </programlistingco> <para> A <emphasis>many-to-many association</emphasis> is specified using the <literal><many-to-many></literal> element. </para> <programlistingco> <areaspec> <area id=\"manytomany1\" coords=\"2 60\"/> <area id=\"manytomany2\" coords=\"3 60\"/> <area id=\"manytomany3\" coords=\"4 60\"/> <area id=\"manytomany4\" coords=\"5 60\"/> <area id=\"manytomany5\" coords=\"6 60\"/> <area id=\"manytomany6\" coords=\"7 60\"/> <area id=\"manytomany7\" coords=\"8 60\"/> <area id=\!
"manytomany8\" coords=\"9 60\"/> </areaspec> <programlisting><![CDATA[<many-to-many\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " class=\"ClassName\"\n"
- " fetch=\"select|join\"\n"
- " unique=\"true|false\"\n"
- " not-found=\"ignore|exception\"\n"
- " entity-name=\"EntityName\"\n"
- " property-ref=\"propertyNameFromAssociatedClass\"\n"
- " node=\"element-name\"\n"
- " embed-xml=\"true|false\"\n"
- " />]]></programlisting> <calloutlist> <callout arearefs=\"manytomany1\"> <para> <literal>column</literal> (optional): The name of the element foreign key column. </para> </callout> <callout arearefs=\"manytomany2\"> <para> <literal>formula</literal> (optional): An SQL formula used to evaluate the element foreign key value. </para> </callout> <callout arearefs=\"manytomany3\"> <para> <literal>class</literal> (required): The name of the associated class. </para> </callout> <callout arearefs=\"manytomany4\"> <para> <literal>fetch</literal> (optional - defaults to <literal>join</literal>): enables outer-join or sequential select fetching for this association. This is a special case; for full eager fetching (in a single <literal>SELECT</literal>) of an entity and its many-to-many relationships to other entities, you would enable <literal>join</literal> fetching not only of the collection itself, but also with this attribute on the <literal><many-to-many></literal!
> nested element. </para> </callout> <callout arearefs=\"manytomany5\"> <para> <literal>unique</literal> (optional): Enable the DDL generation of a unique constraint for the foreign-key column. This makes the association multiplicity effectively one to many. </para> </callout> <callout arearefs=\"manytomany6\"> <para> <literal>not-found</literal> (optional - defaults to <literal>exception</literal>): Specifies how foreign keys that reference missing rows will be handled: <literal>ignore</literal> will treat a missing row as a null association. </para> </callout> <callout arearefs=\"manytomany7\"> <para> <literal>entity-name</literal> (optional): The entity name of the associated class, as an alternative to <literal>class</literal>. </para> </callout> <callout arearefs=\"manytomany8\"> <para> <literal>property-ref</literal>: (optional) The name of a property of the associated class that is joined to this foreign key. If not specified, the primary key of the associated class !
is used. </para> </callout> </calloutlist> </programlistingco>"
+"<programlistingco> <areaspec> <area id=\"element1b\" coords=\"2 50\"/> <area "
+"id=\"element2b\" coords=\"3 50\"/> <area id=\"element3b\" coords=\"4 50\"/> "
+"</areaspec> <programlisting><![CDATA[<element\n"
+" column=\"column_name\"\n"
+" formula=\"any SQL expression\"\n"
+" type=\"typename\"\n"
+" length=\"L\"\n"
+" precision=\"P\"\n"
+" scale=\"S\"\n"
+" not-null=\"true|false\"\n"
+" unique=\"true|false\"\n"
+" node=\"element-name\"\n"
+"/>]]></programlisting> <calloutlist> <callout arearefs=\"element1b\"> <para> "
+"<literal>column</literal> (optional): The name of the column holding the "
+"collection element values. </para> </callout> <callout arearefs=\"element2b"
+"\"> <para> <literal>formula</literal> (optional): An SQL formula used to "
+"evaluate the element. </para> </callout> <callout arearefs=\"element3b\"> "
+"<para> <literal>type</literal> (required): The type of the collection "
+"element. </para> </callout> </calloutlist> </programlistingco> <para> A "
+"<emphasis>many-to-many association</emphasis> is specified using the "
+"<literal><many-to-many></literal> element. </para> <programlistingco> "
+"<areaspec> <area id=\"manytomany1\" coords=\"2 60\"/> <area id=\"manytomany2"
+"\" coords=\"3 60\"/> <area id=\"manytomany3\" coords=\"4 60\"/> <area id="
+"\"manytomany4\" coords=\"5 60\"/> <area id=\"manytomany5\" coords=\"6 60\"/> "
+"<area id=\"manytomany6\" coords=\"7 60\"/> <area id=\"manytomany7\" coords="
+"\"8 60\"/> <area id=\"manytomany8\" coords=\"9 60\"/> </areaspec> "
+"<programlisting><![CDATA[<many-to-many\n"
+" column=\"column_name\"\n"
+" formula=\"any SQL expression\"\n"
+" class=\"ClassName\"\n"
+" fetch=\"select|join\"\n"
+" unique=\"true|false\"\n"
+" not-found=\"ignore|exception\"\n"
+" entity-name=\"EntityName\"\n"
+" property-ref=\"propertyNameFromAssociatedClass\"\n"
+" node=\"element-name\"\n"
+" embed-xml=\"true|false\"\n"
+" />]]></programlisting> <calloutlist> <callout arearefs=\"manytomany1\"> "
+"<para> <literal>column</literal> (optional): The name of the element foreign "
+"key column. </para> </callout> <callout arearefs=\"manytomany2\"> <para> "
+"<literal>formula</literal> (optional): An SQL formula used to evaluate the "
+"element foreign key value. </para> </callout> <callout arearefs=\"manytomany3"
+"\"> <para> <literal>class</literal> (required): The name of the associated "
+"class. </para> </callout> <callout arearefs=\"manytomany4\"> <para> "
+"<literal>fetch</literal> (optional - defaults to <literal>join</literal>): "
+"enables outer-join or sequential select fetching for this association. This "
+"is a special case; for full eager fetching (in a single <literal>SELECT</"
+"literal>) of an entity and its many-to-many relationships to other entities, "
+"you would enable <literal>join</literal> fetching not only of the collection "
+"itself, but also with this attribute on the <literal><many-to-many></"
+"literal> nested element. </para> </callout> <callout arearefs=\"manytomany5"
+"\"> <para> <literal>unique</literal> (optional): Enable the DDL generation "
+"of a unique constraint for the foreign-key column. This makes the "
+"association multiplicity effectively one to many. </para> </callout> "
+"<callout arearefs=\"manytomany6\"> <para> <literal>not-found</literal> "
+"(optional - defaults to <literal>exception</literal>): Specifies how foreign "
+"keys that reference missing rows will be handled: <literal>ignore</literal> "
+"will treat a missing row as a null association. </para> </callout> <callout "
+"arearefs=\"manytomany7\"> <para> <literal>entity-name</literal> (optional): "
+"The entity name of the associated class, as an alternative to "
+"<literal>class</literal>. </para> </callout> <callout arearefs=\"manytomany8"
+"\"> <para> <literal>property-ref</literal>: (optional) The name of a "
+"property of the associated class that is joined to this foreign key. If not "
+"specified, the primary key of the associated class is used. </para> </"
+"callout> </calloutlist> </programlistingco>"
msgstr ""
- "<programlistingco> <areaspec> <area id=\"element1b\" coords=\"2 50\"/> <area id=\"element2b\" coords=\"3 50\"/> <area id=\"element3b\" coords=\"4 50\"/> </areaspec> <programlisting><![CDATA[<element\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " type=\"typename\"\n"
- " length=\"L\"\n"
- " precision=\"P\"\n"
- " scale=\"S\"\n"
- " not-null=\"true|false\"\n"
- " unique=\"true|false\"\n"
- " node=\"element-name\"\n"
- "/>]]></programlisting> <calloutlist> <callout arearefs=\"element1b\"> <para> <literal>column</literal> ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®å¤ãä¿æããã«ã©ã ã®ååã </para> </callout> <callout arearefs=\"element2b\"> <para> <literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: è¦ç´ ãè©ä¾¡ããããã«ä½¿ãSQLå¼ã </para> </callout> <callout arearefs=\"element3b\"> <para> <literal>type</literal> ï¼å¿
é ï¼ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®åã </para> </callout> </calloutlist> </programlistingco> <para> <emphasis>å¤å¯¾å¤é¢é£</emphasis> 㯠<literal><many-to-many></literal> è¦ç´ ã§æå®ãã¾ãã </para> <programlistingco> <areaspec> <area id=\"manytomany1\" coords=\"2 60\"/> <area id=\"manytomany2\" coords=\"3 60\"/> <area id=\"manytomany3\" coords=\"4 60\"/> <area id=\"manytomany4\" coords=\"5 60\"/> <area id=\"manytomany5\" coords=\"6 60\"/> <area id=\"manytomany6\" coords=\"7 60\"/> <area id=\"manytomany7\" coords=!
\"8 60\"/> <area id=\"manytomany8\" coords=\"9 60\"/> </areaspec> <programlisting><![CDATA[<many-to-many\n"
- " column=\"column_name\"\n"
- " formula=\"any SQL expression\"\n"
- " class=\"ClassName\"\n"
- " fetch=\"select|join\"\n"
- " unique=\"true|false\"\n"
- " not-found=\"ignore|exception\"\n"
- " entity-name=\"EntityName\"\n"
- " property-ref=\"propertyNameFromAssociatedClass\"\n"
- " node=\"element-name\"\n"
- " embed-xml=\"true|false\"\n"
- " />]]></programlisting> <calloutlist> <callout arearefs=\"manytomany1\"> <para> <literal>column</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼ã«ã©ã ã®è¦ç´ ã®ååã </para> </callout> <callout arearefs=\"manytomany2\"> <para> <literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼å¤ã®è¦ç´ ãè©ä¾¡ããããã«ä½¿ãSQLå¼ã </para> </callout> <callout arearefs=\"manytomany3\"> <para> <literal>class</literal> ï¼å¿
é ï¼: é¢é£ã¯ã©ã¹ã®ååã </para> </callout> <callout arearefs=\"manytomany4\"> <para> <literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>join</literal>): é¢é£ã®ããã«ãå¤é¨çµåãé æ¬¡é¸æãã§ãããæå¹ã«ãã¾ãã ããã¯ç¹æ®ãªã±ã¼ã¹ã§ãããã¨ã³ãã£ãã£ã¨ä»ã®ã¨ã³ãã£ãã£ã¨ã®å¤å¯¾å¤é¢ä¿ã ï¼ï¼ã¤ã® <literal>SELECT</literal> ã«ããï¼å®å
¨ã«å³æã«ãã§ããããããã«ã¯ã ãã®ã³ã¬ã¯ã·ã§ã³èªä½ã ãã§ãªãã ãã¹ã!
ããè¦ç´ ã§ãã <literal><many-to-many></literal> ã®ãã®å±æ§ã«ã¤ãã¦ã <literal>join</literal> ãã§ãããæå¹ããå¿
è¦ãããã¾ãã </para> </callout> <callout arearefs=\"manytomany5\"> <para> <literal>unique</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ã®DDLçæãæå¹ã«ãã¾ãã ããã¯ãé¢é£ã®å¤é度ãäºå®ä¸ä¸å¯¾å¤ã«ãã¾ãã </para> </callout> <callout arearefs=\"manytomany6\"> <para> <literal>not-found</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>exception</literal>ï¼ åç
§å
ã®è¡ããªãå¤é¨ãã¼ãã©ã®ããã«æ±ãããæå®ãã¾ãã <literal>ignore</literal> ã«ããã¨ãè¡ããªããã¨ãé¢é£ãç¡ããã®ã¨ãã¦æ±ãã¾ãã </para> </callout> <callout arearefs=\"manytomany7\"> <para> <literal>entity-name</literal> ï¼ãªãã·ã§ã³ï¼: <literal>class</literal> ã®ä»£æ¿ã§ããé¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã <lite!
ral>class</literal> ã®ä»£ããã«æå®ãããé¢é£ã¯ã©ã¹ã®ã
¨ã³ãã£ãã£åã </para> </callout> <callout arearefs=\"manytomany8\"> <para> <literal>property-ref</literal>: ï¼ãªãã·ã§ã³ï¼ ãã®å¤é¨ãã¼ã«çµåããé¢é£ã¯ã©ã¹ã®ããããã£åã æå®ããªãã£ãå ´åã¯ãé¢é£ã¯ã©ã¹ã®ä¸»ãã¼ã使ãã¾ãã </para> </callout> </calloutlist> </programlistingco>"
-#: index.docbook:480
+#. Tag: para
+#: collection_mapping.xml:480
+#, no-c-format
msgid "Some examples, first, a set of strings:"
msgstr "以ä¸ã«ããã¤ãä¾ã示ãã¾ãã ã¾ãã¯Stringã®setã«é¢ãã¦ã®ä¾ã§ãã"
-#: index.docbook:484
+#. Tag: programlisting
+#: collection_mapping.xml:484
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"names\" table=\"person_names\">\n"
- " <key column=\"person_id\"/>\n"
- " <element column=\"person_name\" type=\"string\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"names\" table=\"person_names\">\n"
+" <key column=\"person_id\"/>\n"
+" <element column=\"person_name\" type=\"string\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"names\" table=\"person_names\">\n"
- " <key column=\"person_id\"/>\n"
- " <element column=\"person_name\" type=\"string\"/>\n"
- "</set>]]>"
-#: index.docbook:486
-msgid "A bag containing integers (with an iteration order determined by the <literal>order-by</literal> attribute):"
-msgstr "æ´æ°å¤ãå«ãbagï¼bag㯠<literal>order-by</literal> 屿§ã«ãã£ã¦å復é åºãå®ç¾©ããã¦ãã¾ãï¼"
+#. Tag: para
+#: collection_mapping.xml:486
+#, no-c-format
+msgid ""
+"A bag containing integers (with an iteration order determined by the "
+"<literal>order-by</literal> attribute):"
+msgstr ""
+"æ´æ°å¤ãå«ãbagï¼bag㯠<literal>order-by</literal> 屿§ã«ãã£ã¦å復é åºãå®ç¾©"
+"ããã¦ãã¾ãï¼"
-#: index.docbook:491
+#. Tag: programlisting
+#: collection_mapping.xml:491
+#, no-c-format
msgid ""
- "<![CDATA[<bag name=\"sizes\" \n"
- " table=\"item_sizes\" \n"
- " order-by=\"size asc\">\n"
- " <key column=\"item_id\"/>\n"
- " <element column=\"size\" type=\"integer\"/>\n"
- "</bag>]]>"
+"<![CDATA[<bag name=\"sizes\" \n"
+" table=\"item_sizes\" \n"
+" order-by=\"size asc\">\n"
+" <key column=\"item_id\"/>\n"
+" <element column=\"size\" type=\"integer\"/>\n"
+"</bag>]]>"
msgstr ""
- "<![CDATA[<bag name=\"sizes\" \n"
- " table=\"item_sizes\" \n"
- " order-by=\"size asc\">\n"
- " <key column=\"item_id\"/>\n"
- " <element column=\"size\" type=\"integer\"/>\n"
- "</bag>]]>"
-#: index.docbook:493
+#. Tag: para
+#: collection_mapping.xml:493
+#, no-c-format
msgid "An array of entities - in this case, a many to many association:"
msgstr "ã¨ã³ãã£ãã£ã®é
å - ãã®å ´åãå¤å¯¾å¤ã®é¢é£ã§ãã"
-#: index.docbook:497
+#. Tag: programlisting
+#: collection_mapping.xml:497
+#, no-c-format
msgid ""
- "<![CDATA[<array name=\"addresses\" \n"
- " table=\"PersonAddress\" \n"
- " cascade=\"persist\">\n"
- " <key column=\"personId\"/>\n"
- " <list-index column=\"sortOrder\"/>\n"
- " <many-to-many column=\"addressId\" class=\"Address\"/>\n"
- "</array>]]>"
+"<![CDATA[<array name=\"addresses\" \n"
+" table=\"PersonAddress\" \n"
+" cascade=\"persist\">\n"
+" <key column=\"personId\"/>\n"
+" <list-index column=\"sortOrder\"/>\n"
+" <many-to-many column=\"addressId\" class=\"Address\"/>\n"
+"</array>]]>"
msgstr ""
- "<![CDATA[<array name=\"addresses\" \n"
- " table=\"PersonAddress\" \n"
- " cascade=\"persist\">\n"
- " <key column=\"personId\"/>\n"
- " <list-index column=\"sortOrder\"/>\n"
- " <many-to-many column=\"addressId\" class=\"Address\"/>\n"
- "</array>]]>"
-#: index.docbook:499
+#. Tag: para
+#: collection_mapping.xml:499
+#, no-c-format
msgid "A map from string indices to dates:"
msgstr "æååã¨æ¥ä»ã®map"
-#: index.docbook:503
+#. Tag: programlisting
+#: collection_mapping.xml:503
+#, no-c-format
msgid ""
- "<![CDATA[<map name=\"holidays\" \n"
- " table=\"holidays\" \n"
- " schema=\"dbo\" \n"
- " order-by=\"hol_name asc\">\n"
- " <key column=\"id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date\" type=\"date\"/>\n"
- "</map>]]>"
+"<![CDATA[<map name=\"holidays\" \n"
+" table=\"holidays\" \n"
+" schema=\"dbo\" \n"
+" order-by=\"hol_name asc\">\n"
+" <key column=\"id\"/>\n"
+" <map-key column=\"hol_name\" type=\"string\"/>\n"
+" <element column=\"hol_date\" type=\"date\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<map name=\"holidays\" \n"
- " table=\"holidays\" \n"
- " schema=\"dbo\" \n"
- " order-by=\"hol_name asc\">\n"
- " <key column=\"id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date\" type=\"date\"/>\n"
- "</map>]]>"
-#: index.docbook:505
+#. Tag: para
+#: collection_mapping.xml:505
+#, no-c-format
msgid "A list of components (discussed in the next chapter):"
msgstr "ã³ã³ãã¼ãã³ãã®listï¼æ¬¡ã®ç« ã§è©³ãã説æãã¾ãï¼"
-#: index.docbook:509
+#. Tag: programlisting
+#: collection_mapping.xml:509
+#, no-c-format
msgid ""
- "<![CDATA[<list name=\"carComponents\" \n"
- " table=\"CarComponents\">\n"
- " <key column=\"carId\"/>\n"
- " <list-index column=\"sortOrder\"/>\n"
- " <composite-element class=\"CarComponent\">\n"
- " <property name=\"price\"/>\n"
- " <property name=\"type\"/>\n"
- " <property name=\"serialNumber\" column=\"serialNum\"/>\n"
- " </composite-element>\n"
- "</list>]]>"
+"<![CDATA[<list name=\"carComponents\" \n"
+" table=\"CarComponents\">\n"
+" <key column=\"carId\"/>\n"
+" <list-index column=\"sortOrder\"/>\n"
+" <composite-element class=\"CarComponent\">\n"
+" <property name=\"price\"/>\n"
+" <property name=\"type\"/>\n"
+" <property name=\"serialNumber\" column=\"serialNum\"/>\n"
+" </composite-element>\n"
+"</list>]]>"
msgstr ""
- "<![CDATA[<list name=\"carComponents\" \n"
- " table=\"CarComponents\">\n"
- " <key column=\"carId\"/>\n"
- " <list-index column=\"sortOrder\"/>\n"
- " <composite-element class=\"CarComponent\">\n"
- " <property name=\"price\"/>\n"
- " <property name=\"type\"/>\n"
- " <property name=\"serialNumber\" column=\"serialNum\"/>\n"
- " </composite-element>\n"
- "</list>]]>"
-#: index.docbook:514
+#. Tag: title
+#: collection_mapping.xml:514
+#, no-c-format
msgid "One-to-many associations"
msgstr "ä¸å¯¾å¤é¢é£"
-#: index.docbook:516
-msgid "A <emphasis>one to many association</emphasis> links the tables of two classes via a foreign key, with no intervening collection table. This mapping loses certain semantics of normal Java collections:"
-msgstr "<emphasis>ä¸å¯¾å¤é¢é£</emphasis> ã¯ãã³ã¬ã¯ã·ã§ã³ï½¥ãã¼ãã«ãä»ããã å¤é¨ãã¼ã«ãã2ã¤ã®ã¯ã©ã¹ã®ãã¼ãã«ãé¢é£ä»ãã¾ãã ãã®ãããã³ã°ã¯æ¨æºçãªJavaã®ã³ã¬ã¯ã·ã§ã³ã®ã»ãã³ãã£ã¯ã¹ãããã¤ã失ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:516
+#, no-c-format
+msgid ""
+"A <emphasis>one to many association</emphasis> links the tables of two "
+"classes via a foreign key, with no intervening collection table. This "
+"mapping loses certain semantics of normal Java collections:"
+msgstr ""
+"<emphasis>ä¸å¯¾å¤é¢é£</emphasis> ã¯ãã³ã¬ã¯ã·ã§ã³ï½¥ãã¼ãã«ãä»ããã å¤é¨ãã¼"
+"ã«ãã2ã¤ã®ã¯ã©ã¹ã®ãã¼ãã«ãé¢é£ä»ãã¾ãã ãã®ãããã³ã°ã¯æ¨æºçãªJavaã®ã³"
+"ã¬ã¯ã·ã§ã³ã®ã»ãã³ãã£ã¯ã¹ãããã¤ã失ãã¾ãã"
-#: index.docbook:524
-msgid "An instance of the contained entity class may not belong to more than one instance of the collection"
-msgstr "ã¨ã³ãã£ãã£ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã 2ã¤ä»¥ä¸ã®ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã«å±ãã¦ã¯ããã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:524
+#, no-c-format
+msgid ""
+"An instance of the contained entity class may not belong to more than one "
+"instance of the collection"
+msgstr ""
+"ã¨ã³ãã£ãã£ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã 2ã¤ä»¥ä¸ã®ã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ã«å±"
+"ãã¦ã¯ããã¾ããã"
-#: index.docbook:530
-msgid "An instance of the contained entity class may not appear at more than one value of the collection index"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã«å«ã¾ããã¨ã³ãã£ãã£ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ã¨ãã¦2度以ä¸ç¾ãã¦ã¯ããã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:530
+#, no-c-format
+msgid ""
+"An instance of the contained entity class may not appear at more than one "
+"value of the collection index"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã«å«ã¾ããã¨ã³ãã£ãã£ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã ã³ã¬ã¯ã·ã§ã³ã¤ã³"
+"ããã¯ã¹ã®å¤ã¨ãã¦2度以ä¸ç¾ãã¦ã¯ããã¾ããã"
-#: index.docbook:537
-msgid "An association from <literal>Product</literal> to <literal>Part</literal> requires existence of a foreign key column and possibly an index column to the <literal>Part</literal> table. A <literal><one-to-many></literal> tag indicates that this is a one to many association."
-msgstr "<literal>Product</literal> ãã <literal>Part</literal> ã¸ã®é¢é£ã¯ã <literal>Part</literal> ãã¼ãã«ã¸ã®å¤é¨ãã¼ã«ã©ã ã¨ãå ´åã«ãã£ã¦ã¯ã¤ã³ããã¯ã¹ã«ã©ã ãå¿
è¦ã§ãã <literal><one-to-many></literal> ã¿ã°ã¯ããããä¸å¯¾å¤é¢é£ã§ãããã¨ã表ãã¦ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:537
+#, no-c-format
+msgid ""
+"An association from <literal>Product</literal> to <literal>Part</literal> "
+"requires existence of a foreign key column and possibly an index column to "
+"the <literal>Part</literal> table. A <literal><one-to-many></literal> "
+"tag indicates that this is a one to many association."
+msgstr ""
+"<literal>Product</literal> ãã <literal>Part</literal> ã¸ã®é¢é£ã¯ã "
+"<literal>Part</literal> ãã¼ãã«ã¸ã®å¤é¨ãã¼ã«ã©ã ã¨ãå ´åã«ãã£ã¦ã¯ã¤ã³ãã"
+"ã¯ã¹ã«ã©ã ãå¿
è¦ã§ãã <literal><one-to-many></literal> ã¿ã°ã¯ãããã"
+"ä¸å¯¾å¤é¢é£ã§ãããã¨ã表ãã¦ãã¾ãã"
-#: index.docbook:550
+#. Tag: programlisting
+#: collection_mapping.xml:550
+#, no-c-format
msgid ""
- "<![CDATA[<one-to-many \n"
- " class=\"ClassName\"\n"
- " not-found=\"ignore|exception\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name\"\n"
- " embed-xml=\"true|false\"\n"
- " />]]>"
+"<![CDATA[<one-to-many \n"
+" class=\"ClassName\"\n"
+" not-found=\"ignore|exception\"\n"
+" entity-name=\"EntityName\"\n"
+" node=\"element-name\"\n"
+" embed-xml=\"true|false\"\n"
+" />]]>"
msgstr ""
- "<![CDATA[<one-to-many \n"
- " class=\"ClassName\"\n"
- " not-found=\"ignore|exception\"\n"
- " entity-name=\"EntityName\"\n"
- " node=\"element-name\"\n"
- " embed-xml=\"true|false\"\n"
- " />]]>"
-#: index.docbook:553
+#. Tag: para
+#: collection_mapping.xml:553
+#, no-c-format
msgid "<literal>class</literal> (required): The name of the associated class."
msgstr "<literal>class</literal> ï¼å¿
é ï¼: é¢é£ã¯ã©ã¹ã®ååã"
-#: index.docbook:558
-msgid "<literal>not-found</literal> (optional - defaults to <literal>exception</literal>): Specifies how cached identifiers that reference missing rows will be handled: <literal>ignore</literal> will treat a missing row as a null association."
-msgstr "<literal>not-found</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>exception</literal>ï¼: åç
§å
ã®è¡ããªããã£ãã·ã¥ãããèå¥åãã©ã®ããã«æ±ãããæå®ãã¾ãã <literal>ignore</literal> ãæå®ããã¨ãè¡ããªããã¨ãé¢é£ããªããã®ã¨ãã¦æ±ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:558
+#, no-c-format
+msgid ""
+"<literal>not-found</literal> (optional - defaults to <literal>exception</"
+"literal>): Specifies how cached identifiers that reference missing rows will "
+"be handled: <literal>ignore</literal> will treat a missing row as a null "
+"association."
+msgstr ""
+"<literal>not-found</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>exception</"
+"literal>ï¼: åç
§å
ã®è¡ããªããã£ãã·ã¥ãããèå¥åãã©ã®ããã«æ±ãããæå®ã"
+"ã¾ãã <literal>ignore</literal> ãæå®ããã¨ãè¡ããªããã¨ãé¢é£ããªããã®ã¨"
+"ãã¦æ±ãã¾ãã"
-#: index.docbook:565
-msgid "<literal>entity-name</literal> (optional): The entity name of the associated class, as an alternative to <literal>class</literal>."
-msgstr "<literal>entity-name</literal> ï¼ãªãã·ã§ã³ï¼: <literal>class</literal> ã®ä»£æ¿ã§ããé¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã <literal>class</literal> ã®ä»£ããã«æå®ãããé¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã"
+#. Tag: para
+#: collection_mapping.xml:565
+#, no-c-format
+msgid ""
+"<literal>entity-name</literal> (optional): The entity name of the associated "
+"class, as an alternative to <literal>class</literal>."
+msgstr ""
+"<literal>entity-name</literal> ï¼ãªãã·ã§ã³ï¼: <literal>class</literal> ã®ä»£"
+"æ¿ã§ããé¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã <literal>class</literal> ã®ä»£ããã«æå®"
+"ãããé¢é£ã¯ã©ã¹ã®ã¨ã³ãã£ãã£åã"
-#: index.docbook:573
-msgid "Notice that the <literal><one-to-many></literal> element does not need to declare any columns. Nor is it necessary to specify the <literal>table</literal> name anywhere."
-msgstr "<literal><one-to-many></literal> è¦ç´ ã¯ã«ã©ã ã宣è¨ããå¿
è¦ããªããã¨ã«æ³¨æãã¦ãã ããã åæ§ã« <literal>ãã¼ãã«</literal> åãæå®ããå¿
è¦ãããã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:573
+#, no-c-format
+msgid ""
+"Notice that the <literal><one-to-many></literal> element does not need "
+"to declare any columns. Nor is it necessary to specify the <literal>table</"
+"literal> name anywhere."
+msgstr ""
+"<literal><one-to-many></literal> è¦ç´ ã¯ã«ã©ã ã宣è¨ããå¿
è¦ããªããã¨ã«"
+"注æãã¦ãã ããã åæ§ã« <literal>ãã¼ãã«</literal> åãæå®ããå¿
è¦ããã"
+"ã¾ããã"
-#: index.docbook:579
-msgid "<emphasis>Very important note:</emphasis> If the foreign key column of a <literal><one-to-many></literal> association is declared <literal>NOT NULL</literal>, you must declare the <literal><key></literal> mapping <literal>not-null=\"true\"</literal> or <emphasis>use a bidirectional association</emphasis> with the collection mapping marked <literal>inverse=\"true\"</literal>. See the discussion of bidirectional associations later in this chapter."
-msgstr "<emphasis>ã¨ã¦ãéè¦ãªæ³¨æ:</emphasis> ãã <literal><one-to-many></literal> é¢é£ã®å¤é¨ãã¼ã«ã©ã ã <literal>NOT NULL</literal>ã¨å®£è¨ãããå ´åã <literal><key></literal> ãããã³ã°ã« <literal>not-null=\"true\"</literal> ã宣è¨ãããã ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã« <literal>inverse=\"true\"</literal> ãä»ããä¸ã§ã <emphasis>åæ¹åé¢é£ã使ã</emphasis> å¿
è¦ãããã¾ãã åæ¹åé¢é£ã«ã¤ãã¦ã¯ãã®ç« ã®å¾ã®ã»ãã§èª¬æãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:579
+#, no-c-format
+msgid ""
+"<emphasis>Very important note:</emphasis> If the foreign key column of a "
+"<literal><one-to-many></literal> association is declared <literal>NOT "
+"NULL</literal>, you must declare the <literal><key></literal> mapping "
+"<literal>not-null=\"true\"</literal> or <emphasis>use a bidirectional "
+"association</emphasis> with the collection mapping marked <literal>inverse="
+"\"true\"</literal>. See the discussion of bidirectional associations later "
+"in this chapter."
+msgstr ""
+"<emphasis>ã¨ã¦ãéè¦ãªæ³¨æ:</emphasis> ãã <literal><one-to-many></"
+"literal> é¢é£ã®å¤é¨ãã¼ã«ã©ã ã <literal>NOT NULL</literal>ã¨å®£è¨ãããå ´"
+"åã <literal><key></literal> ãããã³ã°ã« <literal>not-null=\"true\"</"
+"literal> ã宣è¨ãããã ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã« <literal>inverse=\"true\"</"
+"literal> ãä»ããä¸ã§ã <emphasis>åæ¹åé¢é£ã使ã</emphasis> å¿
è¦ãããã¾"
+"ãã åæ¹åé¢é£ã«ã¤ãã¦ã¯ãã®ç« ã®å¾ã®ã»ãã§èª¬æãã¾ãã"
-#: index.docbook:588
-msgid "This example shows a map of <literal>Part</literal> entities by name (where <literal>partName</literal> is a persistent property of <literal>Part</literal>). Notice the use of a formula-based index."
-msgstr "次ã®ä¾ã¯ãåç§°ï¼<literal>Part</literal> ã®æ°¸ç¶çãªããããã£ã§ãã <literal>partName</literal>ï¼ ã«ãã <literal>Part</literal> ã¨ã³ãã£ãã£ã®mapã表ãã¦ãã¾ãã formulaã«ããã¤ã³ããã¯ã¹ã使ã£ã¦ãããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: collection_mapping.xml:588
+#, no-c-format
+msgid ""
+"This example shows a map of <literal>Part</literal> entities by name (where "
+"<literal>partName</literal> is a persistent property of <literal>Part</"
+"literal>). Notice the use of a formula-based index."
+msgstr ""
+"次ã®ä¾ã¯ãåç§°ï¼<literal>Part</literal> ã®æ°¸ç¶çãªããããã£ã§ãã "
+"<literal>partName</literal>ï¼ ã«ãã <literal>Part</literal> ã¨ã³ãã£ãã£ã®"
+"mapã表ãã¦ãã¾ãã formulaã«ããã¤ã³ããã¯ã¹ã使ã£ã¦ãããã¨ã«æ³¨æãã¦ãã ã"
+"ãã"
-#: index.docbook:594
+#. Tag: programlisting
+#: collection_mapping.xml:594
+#, no-c-format
msgid ""
- "<![CDATA[<map name=\"parts\"\n"
- " cascade=\"all\">\n"
- " <key column=\"productId\" not-null=\"true\"/>\n"
- " <map-key formula=\"partName\"/>\n"
- " <one-to-many class=\"Part\"/>\n"
- "</map>]]>"
+"<![CDATA[<map name=\"parts\"\n"
+" cascade=\"all\">\n"
+" <key column=\"productId\" not-null=\"true\"/>\n"
+" <map-key formula=\"partName\"/>\n"
+" <one-to-many class=\"Part\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<map name=\"parts\"\n"
- " cascade=\"all\">\n"
- " <key column=\"productId\" not-null=\"true\"/>\n"
- " <map-key formula=\"partName\"/>\n"
- " <one-to-many class=\"Part\"/>\n"
- "</map>]]>"
-#: index.docbook:600
+#. Tag: title
+#: collection_mapping.xml:600
+#, no-c-format
msgid "Advanced collection mappings"
msgstr "é«åº¦ãªã³ã¬ã¯ã·ã§ã³ï½¥ãããã³ã°"
-#: index.docbook:603
+#. Tag: title
+#: collection_mapping.xml:603
+#, no-c-format
msgid "Sorted collections"
msgstr "ã½ã¼ããããã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:605
-msgid "Hibernate supports collections implementing <literal>java.util.SortedMap</literal> and <literal>java.util.SortedSet</literal>. You must specify a comparator in the mapping file:"
-msgstr "Hibernate㯠<literal>java.util.SortedMap</literal> 㨠<literal>java.util.SortedSet</literal> ãå®è£
ããã³ã¬ã¯ã·ã§ã³ããµãã¼ããã¦ãã¾ãã éçºè
ã¯ãããã³ã°å®ç¾©ãã¡ã¤ã«ã«ã³ã³ãã¬ã¼ã¿ãæå®ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:605
+#, no-c-format
+msgid ""
+"Hibernate supports collections implementing <literal>java.util.SortedMap</"
+"literal> and <literal>java.util.SortedSet</literal>. You must specify a "
+"comparator in the mapping file:"
+msgstr ""
+"Hibernate㯠<literal>java.util.SortedMap</literal> 㨠<literal>java.util."
+"SortedSet</literal> ãå®è£
ããã³ã¬ã¯ã·ã§ã³ããµãã¼ããã¦ãã¾ãã éçºè
ã¯ãã"
+"ãã³ã°å®ç¾©ãã¡ã¤ã«ã«ã³ã³ãã¬ã¼ã¿ãæå®ããªããã°ãªãã¾ããã"
-#: index.docbook:610
+#. Tag: programlisting
+#: collection_mapping.xml:610
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"aliases\" \n"
- " table=\"person_aliases\" \n"
- " sort=\"natural\">\n"
- " <key column=\"person\"/>\n"
- " <element column=\"name\" type=\"string\"/>\n"
- "</set>\n"
- "\n"
- "<map name=\"holidays\" sort=\"my.custom.HolidayComparator\">\n"
- " <key column=\"year_id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date\" type=\"date\"/>\n"
- "</map>]]>"
+"<![CDATA[<set name=\"aliases\" \n"
+" table=\"person_aliases\" \n"
+" sort=\"natural\">\n"
+" <key column=\"person\"/>\n"
+" <element column=\"name\" type=\"string\"/>\n"
+"</set>\n"
+"\n"
+"<map name=\"holidays\" sort=\"my.custom.HolidayComparator\">\n"
+" <key column=\"year_id\"/>\n"
+" <map-key column=\"hol_name\" type=\"string\"/>\n"
+" <element column=\"hol_date\" type=\"date\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<set name=\"aliases\" \n"
- " table=\"person_aliases\" \n"
- " sort=\"natural\">\n"
- " <key column=\"person\"/>\n"
- " <element column=\"name\" type=\"string\"/>\n"
- "</set>\n"
- "\n"
- "<map name=\"holidays\" sort=\"my.custom.HolidayComparator\">\n"
- " <key column=\"year_id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date\" type=\"date\"/>\n"
- "</map>]]>"
-#: index.docbook:612
-msgid "Allowed values of the <literal>sort</literal> attribute are <literal>unsorted</literal>, <literal>natural</literal> and the name of a class implementing <literal>java.util.Comparator</literal>."
-msgstr "<literal>sort</literal> 屿§ã«è¨å®ã§ããå¤ã¯ <literal>unsorted</literal> 㨠<literal>natural</literal> ããã³ã<literal>java.util.Comparator</literal> ãå®è£
ããã¯ã©ã¹ã®ååã§ãã"
+#. Tag: para
+#: collection_mapping.xml:612
+#, no-c-format
+msgid ""
+"Allowed values of the <literal>sort</literal> attribute are "
+"<literal>unsorted</literal>, <literal>natural</literal> and the name of a "
+"class implementing <literal>java.util.Comparator</literal>."
+msgstr ""
+"<literal>sort</literal> 屿§ã«è¨å®ã§ããå¤ã¯ <literal>unsorted</literal> 㨠"
+"<literal>natural</literal> ããã³ã<literal>java.util.Comparator</literal> ã"
+"å®è£
ããã¯ã©ã¹ã®ååã§ãã"
-#: index.docbook:618
-msgid "Sorted collections actually behave like <literal>java.util.TreeSet</literal> or <literal>java.util.TreeMap</literal>."
-msgstr "ã½ã¼ããããã³ã¬ã¯ã·ã§ã³ã¯å®è³ªçã«ã¯ <literal>java.util.TreeSet</literal> ã <literal>java.util.TreeMap</literal> ã®ããã«æ¯èãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:618
+#, no-c-format
+msgid ""
+"Sorted collections actually behave like <literal>java.util.TreeSet</literal> "
+"or <literal>java.util.TreeMap</literal>."
+msgstr ""
+"ã½ã¼ããããã³ã¬ã¯ã·ã§ã³ã¯å®è³ªçã«ã¯ <literal>java.util.TreeSet</literal> ã "
+"<literal>java.util.TreeMap</literal> ã®ããã«æ¯èãã¾ãã"
-#: index.docbook:623
-msgid "If you want the database itself to order the collection elements use the <literal>order-by</literal> attribute of <literal>set</literal>, <literal>bag</literal> or <literal>map</literal> mappings. This solution is only available under JDK 1.4 or higher (it is implemented using <literal>LinkedHashSet</literal> or <literal>LinkedHashMap</literal>). This performs the ordering in the SQL query, not in memory."
-msgstr "ãããã¼ã¿ãã¼ã¹èªèº«ã«ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã並ã¹ãããããªãã <literal>set</literal> ã <literal>bag</literal>ã<literal>map</literal> ã® <literal>order-by</literal> 屿§ã使ãã¾ãã ãã®è§£æ±ºæ³ã¯JDK1.4ããããã¯ãã以ä¸ã®ãã¼ã¸ã§ã³ã§å©ç¨å¯è½ã§ã ï¼<literal>LinkedHashSet</literal> ã¾ã㯠<literal>LinkedHashMap</literal>ã使ã£ã¦å®è£
ããã¦ãã¾ãï¼ã æ´åã¯ã¡ã¢ãªä¸ã§ã¯ãªããSQLã¯ã¨ãªå
ã§å®è¡ããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:623
+#, no-c-format
+msgid ""
+"If you want the database itself to order the collection elements use the "
+"<literal>order-by</literal> attribute of <literal>set</literal>, "
+"<literal>bag</literal> or <literal>map</literal> mappings. This solution is "
+"only available under JDK 1.4 or higher (it is implemented using "
+"<literal>LinkedHashSet</literal> or <literal>LinkedHashMap</literal>). This "
+"performs the ordering in the SQL query, not in memory."
+msgstr ""
+"ãããã¼ã¿ãã¼ã¹èªèº«ã«ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã並ã¹ãããããªãã <literal>set</"
+"literal> ã <literal>bag</literal>ã<literal>map</literal> ã® <literal>order-"
+"by</literal> 屿§ã使ãã¾ãã ãã®è§£æ±ºæ³ã¯JDK1.4ããããã¯ãã以ä¸ã®ãã¼ã¸ã§"
+"ã³ã§å©ç¨å¯è½ã§ã ï¼<literal>LinkedHashSet</literal> ã¾ã㯠"
+"<literal>LinkedHashMap</literal>ã使ã£ã¦å®è£
ããã¦ãã¾ãï¼ã æ´åã¯ã¡ã¢ãªä¸ã§"
+"ã¯ãªããSQLã¯ã¨ãªå
ã§å®è¡ããã¾ãã"
-#: index.docbook:632
+#. Tag: programlisting
+#: collection_mapping.xml:632
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"aliases\" table=\"person_aliases\" order-by=\"lower(name) asc\">\n"
- " <key column=\"person\"/>\n"
- " <element column=\"name\" type=\"string\"/>\n"
- "</set>\n"
- "\n"
- "<map name=\"holidays\" order-by=\"hol_date, hol_name\">\n"
- " <key column=\"year_id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date type=\"date\"/>\n"
- "</map>]]>"
+"<![CDATA[<set name=\"aliases\" table=\"person_aliases\" order-by=\"lower"
+"(name) asc\">\n"
+" <key column=\"person\"/>\n"
+" <element column=\"name\" type=\"string\"/>\n"
+"</set>\n"
+"\n"
+"<map name=\"holidays\" order-by=\"hol_date, hol_name\">\n"
+" <key column=\"year_id\"/>\n"
+" <map-key column=\"hol_name\" type=\"string\"/>\n"
+" <element column=\"hol_date type=\"date\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<set name=\"aliases\" table=\"person_aliases\" order-by=\"lower(name) asc\">\n"
- " <key column=\"person\"/>\n"
- " <element column=\"name\" type=\"string\"/>\n"
- "</set>\n"
- "\n"
- "<map name=\"holidays\" order-by=\"hol_date, hol_name\">\n"
- " <key column=\"year_id\"/>\n"
- " <map-key column=\"hol_name\" type=\"string\"/>\n"
- " <element column=\"hol_date\" type=\"date\"/>\n"
- "</map>]]>"
-#: index.docbook:634
-msgid "Note that the value of the <literal>order-by</literal> attribute is an SQL ordering, not a HQL ordering!"
-msgstr "<literal>order-by</literal> 屿§ã®å¤ãSQLå½ä»¤ã§ãã£ã¦ãHQLå½ä»¤ã§ã¯ãªããã¨ã«æ³¨æãã¦ãã ããï¼"
+#. Tag: para
+#: collection_mapping.xml:634
+#, no-c-format
+msgid ""
+"Note that the value of the <literal>order-by</literal> attribute is an SQL "
+"ordering, not a HQL ordering!"
+msgstr ""
+"<literal>order-by</literal> 屿§ã®å¤ãSQLå½ä»¤ã§ãã£ã¦ãHQLå½ä»¤ã§ã¯ãªããã¨ã«"
+"注æãã¦ãã ããï¼"
-#: index.docbook:639
-msgid "Associations may even be sorted by some arbitrary criteria at runtime using a collection <literal>filter()</literal>."
-msgstr "é¢é£ã¯ãã³ã¬ã¯ã·ã§ã³ã® <literal>filter()</literal> ã使ããã¨ã§ã å®è¡æã«ä»»æã®criteriaã«ãã£ã¦ã½ã¼ããããã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: collection_mapping.xml:639
+#, no-c-format
+msgid ""
+"Associations may even be sorted by some arbitrary criteria at runtime using "
+"a collection <literal>filter()</literal>."
+msgstr ""
+"é¢é£ã¯ãã³ã¬ã¯ã·ã§ã³ã® <literal>filter()</literal> ã使ããã¨ã§ã å®è¡æã«ä»»"
+"æã®criteriaã«ãã£ã¦ã½ã¼ããããã¨ãå¯è½ã§ãã"
-#: index.docbook:644
-msgid "<![CDATA[sortedUsers = s.createFilter( group.getUsers(), \"order by this.name\" ).list();]]>"
-msgstr "<![CDATA[sortedUsers = s.createFilter( group.getUsers(), \"order by this.name\" ).list();]]>"
+#. Tag: programlisting
+#: collection_mapping.xml:644
+#, no-c-format
+msgid ""
+"<![CDATA[sortedUsers = s.createFilter( group.getUsers(), \"order by this.name"
+"\" ).list();]]>"
+msgstr ""
-#: index.docbook:649
+#. Tag: title
+#: collection_mapping.xml:649
+#, no-c-format
msgid "Bidirectional associations"
msgstr "åæ¹åé¢é£"
-#: index.docbook:651
-msgid "A <emphasis>bidirectional association</emphasis> allows navigation from both \"ends\" of the association. Two kinds of bidirectional association are supported:"
-msgstr "<emphasis>åæ¹åé¢é£</emphasis> ã¯é¢é£ã®ã©ã¡ããå´ãããã§ãããã²ã¼ã·ã§ã³ã§ãã¾ãã 2種é¡ã®åæ¹åé¢é£ããµãã¼ãããã¦ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:651
+#, fuzzy, no-c-format
+msgid ""
+"A <emphasis>bidirectional association</emphasis> allows navigation from both "
+"\"ends\" of the association. Two kinds of bidirectional association are "
+"supported:"
+msgstr ""
+"<emphasis>åæ¹åé¢é£</emphasis> ã¯é¢é£ã®ã©ã¡ããå´ãããã§ãããã²ã¼ã·ã§ã³ã§"
+"ãã¾ãã 2種é¡ã®åæ¹åé¢é£ããµãã¼ãããã¦ãã¾ãã <placeholder-1/>"
-#: index.docbook:658
+#. Tag: term
+#: collection_mapping.xml:658
+#, no-c-format
msgid "one-to-many"
msgstr "one-to-many"
-#: index.docbook:660
+#. Tag: para
+#: collection_mapping.xml:660
+#, no-c-format
msgid "set or bag valued at one end, single-valued at the other"
msgstr "çå´ãsetãbagãããçæ¹ãåä¸å¤ã§ãã"
-#: index.docbook:666
+#. Tag: term
+#: collection_mapping.xml:666
+#, no-c-format
msgid "many-to-many"
msgstr "many-to-many"
-#: index.docbook:668
+#. Tag: para
+#: collection_mapping.xml:668
+#, no-c-format
msgid "set or bag valued at both ends"
msgstr "両å´ãsetãbagã§ãã"
-#: index.docbook:677
-msgid "You may specify a bidirectional many-to-many association simply by mapping two many-to-many associations to the same database table and declaring one end as <emphasis>inverse</emphasis> (which one is your choice, but it can not be an indexed collection)."
-msgstr "2ã¤ã®å¤å¯¾å¤é¢é£ã§åããã¼ã¿ãã¼ã¹ãã¼ãã«ããããã³ã°ãã çæ¹ã <emphasis>inverse</emphasis> ã¨ãã¦å®£è¨ãããã¨ã§ã åæ¹åã®å¤å¯¾å¤é¢é£ãæå®ãããã¨ãåºæ¥ã¾ã ï¼ã©ã¡ããinverseã«é¸ãã ã¨ãã¦ãããã¡ãå´ã«ã¯ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã¯ä½¿ãã¾ããï¼ã"
+#. Tag: para
+#: collection_mapping.xml:677
+#, no-c-format
+msgid ""
+"You may specify a bidirectional many-to-many association simply by mapping "
+"two many-to-many associations to the same database table and declaring one "
+"end as <emphasis>inverse</emphasis> (which one is your choice, but it can "
+"not be an indexed collection)."
+msgstr ""
+"2ã¤ã®å¤å¯¾å¤é¢é£ã§åããã¼ã¿ãã¼ã¹ãã¼ãã«ããããã³ã°ãã çæ¹ã "
+"<emphasis>inverse</emphasis> ã¨ãã¦å®£è¨ãããã¨ã§ã åæ¹åã®å¤å¯¾å¤é¢é£ãæå®"
+"ãããã¨ãåºæ¥ã¾ã ï¼ã©ã¡ããinverseã«é¸ãã ã¨ãã¦ãããã¡ãå´ã«ã¯ã¤ã³ããã¯"
+"ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã¯ä½¿ãã¾ããï¼ã"
-#: index.docbook:684
-msgid "Here's an example of a bidirectional many-to-many association; each category can have many items and each item can be in many categories:"
-msgstr "次ã«åæ¹åã®å¤å¯¾å¤é¢é£ã®ä¾ã示ãã¾ãã åã«ãã´ãªã¯å¤æ°ã®ã¢ã¤ãã ãæã¤ãã¨ãã§ããåã¢ã¤ãã ã¯å¤ãã®ã«ãã´ãªã«å±ãããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:684
+#, no-c-format
+msgid ""
+"Here's an example of a bidirectional many-to-many association; each category "
+"can have many items and each item can be in many categories:"
+msgstr ""
+"次ã«åæ¹åã®å¤å¯¾å¤é¢é£ã®ä¾ã示ãã¾ãã åã«ãã´ãªã¯å¤æ°ã®ã¢ã¤ãã ãæã¤ãã¨ã"
+"ã§ããåã¢ã¤ãã ã¯å¤ãã®ã«ãã´ãªã«å±ãããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:689
+#. Tag: programlisting
+#: collection_mapping.xml:689
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Category\">\n"
- " <id name=\"id\" column=\"CATEGORY_ID\"/>\n"
- " ...\n"
- " <bag name=\"items\" table=\"CATEGORY_ITEM\">\n"
- " <key column=\"CATEGORY_ID\"/>\n"
- " <many-to-many class=\"Item\" column=\"ITEM_ID\"/>\n"
- " </bag>\n"
- "</class>\n"
- "\n"
- "<class name=\"Item\">\n"
- " <id name=\"id\" column=\"ITEM_ID\"/>\n"
- " ...\n"
- "\n"
- " <!-- inverse end -->\n"
- " <bag name=\"categories\" table=\"CATEGORY_ITEM\" inverse=\"true\">\n"
- " <key column=\"ITEM_ID\"/>\n"
- " <many-to-many class=\"Category\" column=\"CATEGORY_ID\"/>\n"
- " </bag>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Category\">\n"
+" <id name=\"id\" column=\"CATEGORY_ID\"/>\n"
+" ...\n"
+" <bag name=\"items\" table=\"CATEGORY_ITEM\">\n"
+" <key column=\"CATEGORY_ID\"/>\n"
+" <many-to-many class=\"Item\" column=\"ITEM_ID\"/>\n"
+" </bag>\n"
+"</class>\n"
+"\n"
+"<class name=\"Item\">\n"
+" <id name=\"id\" column=\"ITEM_ID\"/>\n"
+" ...\n"
+"\n"
+" <!-- inverse end -->\n"
+" <bag name=\"categories\" table=\"CATEGORY_ITEM\" inverse=\"true\">\n"
+" <key column=\"ITEM_ID\"/>\n"
+" <many-to-many class=\"Category\" column=\"CATEGORY_ID\"/>\n"
+" </bag>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Category\">\n"
- " <id name=\"id\" column=\"CATEGORY_ID\"/>\n"
- " ...\n"
- " <bag name=\"items\" table=\"CATEGORY_ITEM\">\n"
- " <key column=\"CATEGORY_ID\"/>\n"
- " <many-to-many class=\"Item\" column=\"ITEM_ID\"/>\n"
- " </bag>\n"
- "</class>\n"
- "\n"
- "<class name=\"Item\">\n"
- " <id name=\"id\" column=\"ITEM_ID\"/>
-\n"
- " ...\n"
- "\n"
- " <!-- inverse end -->\n"
- " <bag name=\"categories\" table=\"CATEGORY_ITEM\" inverse=\"true\">\n"
- " <key column=\"ITEM_ID\"/>\n"
- " <many-to-many class=\"Category\" column=\"CATEGORY_ID\"/>\n"
- " </bag>\n"
- "</class>]]>"
-#: index.docbook:691
-msgid "Changes made only to the inverse end of the association are <emphasis>not</emphasis> persisted. This means that Hibernate has two representations in memory for every bidirectional association, one link from A to B and another link from B to A. This is easier to understand if you think about the Java object model and how we create a many-to-many relationship in Java:"
-msgstr "é¢é£ã®inverseå´ã«ã®ã¿è¡ããã夿´ã¯æ°¸ç¶å <emphasis>ããã¾ãã</emphasis>ã ããã¯ãHibernateã¯å
¨ã¦ã®åæ¹åé¢é£ã«ã¤ãã¦ãã¡ã¢ãªä¸ã«ï¼ã¤ã®è¡¨ç¾ãæã£ã¦ããã¨ããæå³ã§ãã ã¤ã¾ãä¸ã¤ã¯AããBã¸ã®ãªã³ã¯ã§ãããä¸ã¤ã¯BããAã¸ã®ãªã³ã¯ã¨ãããã¨ã§ãã Javaã®ãªãã¸ã§ã¯ãã¢ãã«ã«ã¤ãã¦èããJavaã§åæ¹åé¢ä¿ãã©ããã£ã¦ä½ãããèããã°ã ããã¯çè§£ããããã§ããä¸è¨ã«ãJavaã§ã®åæ¹åé¢é£ã示ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:691
+#, no-c-format
+msgid ""
+"Changes made only to the inverse end of the association are <emphasis>not</"
+"emphasis> persisted. This means that Hibernate has two representations in "
+"memory for every bidirectional association, one link from A to B and another "
+"link from B to A. This is easier to understand if you think about the Java "
+"object model and how we create a many-to-many relationship in Java:"
+msgstr ""
+"é¢é£ã®inverseå´ã«ã®ã¿è¡ããã夿´ã¯æ°¸ç¶å <emphasis>ããã¾ãã</emphasis>ã "
+"ããã¯ãHibernateã¯å
¨ã¦ã®åæ¹åé¢é£ã«ã¤ãã¦ãã¡ã¢ãªä¸ã«ï¼ã¤ã®è¡¨ç¾ãæã£ã¦ãã"
+"ã¨ããæå³ã§ãã ã¤ã¾ãä¸ã¤ã¯AããBã¸ã®ãªã³ã¯ã§ãããä¸ã¤ã¯BããAã¸ã®ãªã³ã¯ã¨"
+"ãããã¨ã§ãã Javaã®ãªãã¸ã§ã¯ãã¢ãã«ã«ã¤ãã¦èããJavaã§åæ¹åé¢ä¿ãã©ã"
+"ãã£ã¦ä½ãããèããã°ã ããã¯çè§£ããããã§ããä¸è¨ã«ãJavaã§ã®åæ¹åé¢é£ã"
+"示ãã¾ãã"
-#: index.docbook:699
+#. Tag: programlisting
+#: collection_mapping.xml:699
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "category.getItems().add(item); // The category now \"knows\" about the relationship\n"
- "item.getCategories().add(category); // The item now \"knows\" about the relationship\n"
- "\n"
- "session.persist(item); // The relationship won't be saved!\n"
- "session.persist(category); // The relationship will be saved]]>"
+"<![CDATA[\n"
+"category.getItems().add(item); // The category now \"knows\" about "
+"the relationship\n"
+"item.getCategories().add(category); // The item now \"knows\" about the "
+"relationship\n"
+"\n"
+"session.persist(item); // The relationship won't be "
+"saved!\n"
+"session.persist(category); // The relationship will be saved]]>"
msgstr ""
- "<![CDATA[\n"
- "category.getItems().add(item); // The category now \"knows\" about the relationship\n"
- "item.getCategories().add(category); // The item now \"knows\" about the relationship\n"
- "\n"
- "session.persist(item); // The relationship won't be saved!\n"
- "session.persist(category); // The relationship will be saved]]>"
-#: index.docbook:701
-msgid "The non-inverse side is used to save the in-memory representation to the database."
-msgstr "é¢é£ã®inverseã§ã¯ãªãå´ã¯ãã¡ã¢ãªä¸ã®è¡¨ç¾ããã¼ã¿ãã¼ã¹ã«ä¿åããã®ã«ä½¿ããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:701
+#, no-c-format
+msgid ""
+"The non-inverse side is used to save the in-memory representation to the "
+"database."
+msgstr ""
+"é¢é£ã®inverseã§ã¯ãªãå´ã¯ãã¡ã¢ãªä¸ã®è¡¨ç¾ããã¼ã¿ãã¼ã¹ã«ä¿åããã®ã«ä½¿ããã¾"
+"ãã"
-#: index.docbook:705
-msgid "You may define a bidirectional one-to-many association by mapping a one-to-many association to the same table column(s) as a many-to-one association and declaring the many-valued end <literal>inverse=\"true\"</literal>."
-msgstr "åæ¹åã®ä¸å¯¾å¤é¢é£ãå®ç¾©ããã«ã¯ã ä¸å¯¾å¤é¢é£ãå¤å¯¾ä¸é¢é£ã¨åããã¼ãã«ã®ã«ã©ã ã«ãããã³ã°ãã å¤å´ã« <literal>inverse=\"true\"</literal> ã¨å®£è¨ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:705
+#, no-c-format
+msgid ""
+"You may define a bidirectional one-to-many association by mapping a one-to-"
+"many association to the same table column(s) as a many-to-one association "
+"and declaring the many-valued end <literal>inverse=\"true\"</literal>."
+msgstr ""
+"åæ¹åã®ä¸å¯¾å¤é¢é£ãå®ç¾©ããã«ã¯ã ä¸å¯¾å¤é¢é£ãå¤å¯¾ä¸é¢é£ã¨åããã¼ãã«ã®ã«ã©"
+"ã ã«ãããã³ã°ãã å¤å´ã« <literal>inverse=\"true\"</literal> ã¨å®£è¨ãã¾ãã"
-#: index.docbook:711
+#. Tag: programlisting
+#: collection_mapping.xml:711
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <set name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Parent\">\n"
+" <id name=\"id\" column=\"parent_id\"/>\n"
+" ....\n"
+" <set name=\"children\" inverse=\"true\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </set>\n"
+"</class>\n"
+"\n"
+"<class name=\"Child\">\n"
+" <id name=\"id\" column=\"child_id\"/>\n"
+" ....\n"
+" <many-to-one name=\"parent\" \n"
+" class=\"Parent\" \n"
+" column=\"parent_id\"\n"
+" not-null=\"true\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <set name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
-#: index.docbook:713
-msgid "Mapping one end of an association with <literal>inverse=\"true\"</literal> doesn't affect the operation of cascades, these are orthogonal concepts!"
-msgstr "é¢é£ã®çå´ã« <literal>inverse=\"true\"</literal> ãè¨å®ãã¦ãã ã«ã¹ã±ã¼ãæä½ã«å½±é¿ãä¸ãã¾ããããããã¯ç´äº¤ããæ¦å¿µã§ãï¼"
+#. Tag: para
+#: collection_mapping.xml:713
+#, no-c-format
+msgid ""
+"Mapping one end of an association with <literal>inverse=\"true\"</literal> "
+"doesn't affect the operation of cascades, these are orthogonal concepts!"
+msgstr ""
+"é¢é£ã®çå´ã« <literal>inverse=\"true\"</literal> ãè¨å®ãã¦ãã ã«ã¹ã±ã¼ãæ"
+"ä½ã«å½±é¿ãä¸ãã¾ããããããã¯ç´äº¤ããæ¦å¿µã§ãï¼"
-#: index.docbook:721
+#. Tag: title
+#: collection_mapping.xml:721
+#, no-c-format
msgid "Bidirectional associations with indexed collections"
msgstr "ã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ã¨åæ¹åé¢é£"
-#: index.docbook:722
-msgid "A bidirectional association where one end is represented as a <literal><list></literal> or <literal><map></literal> requires special consideration. If there is a property of the child class which maps to the index column, no problem, we can continue using <literal>inverse=\"true\"</literal> on the collection mapping:"
-msgstr "çå´ã <literal><list></literal> ã <literal><map></literal> ã§ãã åæ¹åé¢é£ã¯ãç¹ã«ããèããå¿
è¦ãããã¾ãã ã¤ã³ããã¯ã¹ã«ã©ã ã«ããããããåã¯ã©ã¹ã®ããããã£ãããå ´åã¯ãåé¡ãªãã§ãã ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã§ <literal>inverse=\"true\"</literal> ã使ãç¶ãããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:722
+#, no-c-format
+msgid ""
+"A bidirectional association where one end is represented as a <literal><"
+"list></literal> or <literal><map></literal> requires special "
+"consideration. If there is a property of the child class which maps to the "
+"index column, no problem, we can continue using <literal>inverse=\"true\"</"
+"literal> on the collection mapping:"
+msgstr ""
+"çå´ã <literal><list></literal> ã <literal><map></literal> ã§ã"
+"ã åæ¹åé¢é£ã¯ãç¹ã«ããèããå¿
è¦ãããã¾ãã ã¤ã³ããã¯ã¹ã«ã©ã ã«ãããã"
+"ããåã¯ã©ã¹ã®ããããã£ãããå ´åã¯ãåé¡ãªãã§ãã ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°"
+"ã§ <literal>inverse=\"true\"</literal> ã使ãç¶ãããã¾ãã"
-#: index.docbook:729
+#. Tag: programlisting
+#: collection_mapping.xml:729
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <map name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <map-key column=\"name\" \n"
- " type=\"string\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </map>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <property name=\"name\" \n"
- " not-null=\"true\"/>\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Parent\">\n"
+" <id name=\"id\" column=\"parent_id\"/>\n"
+" ....\n"
+" <map name=\"children\" inverse=\"true\">\n"
+" <key column=\"parent_id\"/>\n"
+" <map-key column=\"name\" \n"
+" type=\"string\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </map>\n"
+"</class>\n"
+"\n"
+"<class name=\"Child\">\n"
+" <id name=\"id\" column=\"child_id\"/>\n"
+" ....\n"
+" <property name=\"name\" \n"
+" not-null=\"true\"/>\n"
+" <many-to-one name=\"parent\" \n"
+" class=\"Parent\" \n"
+" column=\"parent_id\"\n"
+" not-null=\"true\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <map name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <map-key column=\"name\" \n"
- " type=\"string\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </map>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <property name=\"name\" \n"
- " not-null=\"true\"/>\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
-#: index.docbook:731
-msgid "But, if there is no such property on the child class, we can't think of the association as truly bidirectional (there is information available at one end of the association that is not available at the other end). In this case, we can't map the collection <literal>inverse=\"true\"</literal>. Instead, we could use the following mapping:"
-msgstr "ããããåã¯ã©ã¹ã«ãã®ãããªããããã£ããªãå ´åã¯ã é¢é£ãçã«åæ¹åã§ããã¨èãããã¨ãã§ãã¾ãã ï¼é¢é£ã®çå´ã«å©ç¨ã§ããæ
å ±ãããã¾ããããã䏿¹ã«ã¯ããã¾ããï¼ã ãã®å ´åã¯ãã³ã¬ã¯ã·ã§ã³ã« <literal>inverse=\"true\"</literal> ããããã³ã°ã§ãã¾ããã 代ããã«ã次ã®ãããªãããã³ã°ã使ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:731
+#, no-c-format
+msgid ""
+"But, if there is no such property on the child class, we can't think of the "
+"association as truly bidirectional (there is information available at one "
+"end of the association that is not available at the other end). In this "
+"case, we can't map the collection <literal>inverse=\"true\"</literal>. "
+"Instead, we could use the following mapping:"
+msgstr ""
+"ããããåã¯ã©ã¹ã«ãã®ãããªããããã£ããªãå ´åã¯ã é¢é£ãçã«åæ¹åã§ããã¨"
+"èãããã¨ãã§ãã¾ãã ï¼é¢é£ã®çå´ã«å©ç¨ã§ããæ
å ±ãããã¾ããããã䏿¹ã«ã¯"
+"ããã¾ããï¼ã ãã®å ´åã¯ãã³ã¬ã¯ã·ã§ã³ã« <literal>inverse=\"true\"</"
+"literal> ããããã³ã°ã§ãã¾ããã 代ããã«ã次ã®ãããªãããã³ã°ã使ãã¾ãã"
-#: index.docbook:738
+#. Tag: programlisting
+#: collection_mapping.xml:738
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <map name=\"children\">\n"
- " <key column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- " <map-key column=\"name\" \n"
- " type=\"string\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </map>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " insert=\"false\"\n"
- " update=\"false\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Parent\">\n"
+" <id name=\"id\" column=\"parent_id\"/>\n"
+" ....\n"
+" <map name=\"children\">\n"
+" <key column=\"parent_id\"\n"
+" not-null=\"true\"/>\n"
+" <map-key column=\"name\" \n"
+" type=\"string\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </map>\n"
+"</class>\n"
+"\n"
+"<class name=\"Child\">\n"
+" <id name=\"id\" column=\"child_id\"/>\n"
+" ....\n"
+" <many-to-one name=\"parent\" \n"
+" class=\"Parent\" \n"
+" column=\"parent_id\"\n"
+" insert=\"false\"\n"
+" update=\"false\"\n"
+" not-null=\"true\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Parent\">\n"
- " <id name=\"id\" column=\"parent_id\"/>\n"
- " ....\n"
- " <map name=\"children\">\n"
- " <key column=\"parent_id\"\n"
- " not-null=\"true\"/>\n"
- " <map-key column=\"name\" \n"
- " type=\"string\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </map>\n"
- "</class>\n"
- "\n"
- "<class name=\"Child\">\n"
- " <id name=\"id\" column=\"child_id\"/>\n"
- " ....\n"
- " <many-to-one name=\"parent\" \n"
- " class=\"Parent\" \n"
- " column=\"parent_id\"\n"
- " insert=\"false\"\n"
- " update=\"false\"\n"
- " not-null=\"true\"/>\n"
- "</class>]]>"
-#: index.docbook:740
-msgid "Note that in this mapping, the collection-valued end of the association is responsible for updates to the foreign key. TODO: Does this really result in some unnecessary update statements?"
-msgstr "注æï¼ ãã®ãããã³ã°ã§ã¯ãé¢é£ã®ã³ã¬ã¯ã·ã§ã³å¤ã®å´ã¯ã å¤é¨ãã¼ãã¢ãããã¼ããã責任ãããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:740
+#, no-c-format
+msgid ""
+"Note that in this mapping, the collection-valued end of the association is "
+"responsible for updates to the foreign key. TODO: Does this really result in "
+"some unnecessary update statements?"
+msgstr ""
+"注æï¼ ãã®ãããã³ã°ã§ã¯ãé¢é£ã®ã³ã¬ã¯ã·ã§ã³å¤ã®å´ã¯ã å¤é¨ãã¼ãã¢ãããã¼"
+"ããã責任ãããã¾ãã"
-#: index.docbook:748
+#. Tag: title
+#: collection_mapping.xml:748
+#, no-c-format
msgid "Ternary associations"
msgstr "3é
é¢é£"
-#: index.docbook:750
-msgid "There are three possible approaches to mapping a ternary association. One is to use a <literal>Map</literal> with an association as its index:"
-msgstr "3é
é¢é£ã®ãããã³ã°ã«ã¯3ã¤ã®ã¢ããã¼ããããã¾ãã 1ã¤ç®ã¯é¢é£ãã¤ã³ããã¯ã¹ã¨ã㦠<literal>Map</literal> ã使ç¨ããã¢ããã¼ãã§ãã"
+#. Tag: para
+#: collection_mapping.xml:750
+#, no-c-format
+msgid ""
+"There are three possible approaches to mapping a ternary association. One is "
+"to use a <literal>Map</literal> with an association as its index:"
+msgstr ""
+"3é
é¢é£ã®ãããã³ã°ã«ã¯3ã¤ã®ã¢ããã¼ããããã¾ãã 1ã¤ç®ã¯é¢é£ãã¤ã³ããã¯ã¹"
+"ã¨ã㦠<literal>Map</literal> ã使ç¨ããã¢ããã¼ãã§ãã"
-#: index.docbook:755
+#. Tag: programlisting
+#: collection_mapping.xml:755
+#, no-c-format
msgid ""
- "<![CDATA[<map name=\"contracts\">\n"
- " <key column=\"employer_id\" not-null=\"true\"/>\n"
- " <map-key-many-to-many column=\"employee_id\" class=\"Employee\"/>\n"
- " <one-to-many class=\"Contract\"/>\n"
- "</map>]]>"
+"<![CDATA[<map name=\"contracts\">\n"
+" <key column=\"employer_id\" not-null=\"true\"/>\n"
+" <map-key-many-to-many column=\"employee_id\" class=\"Employee\"/>\n"
+" <one-to-many class=\"Contract\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<map name=\"contracts\">\n"
- " <key column=\"employer_id\" not-null=\"true\"/>\n"
- " <map-key-many-to-many column=\"employee_id\" class=\"Employee\"/>\n"
- " <one-to-many class=\"Contract\"/>\n"
- "</map>]]>"
-#: index.docbook:757
+#. Tag: programlisting
+#: collection_mapping.xml:757
+#, no-c-format
msgid ""
- "<![CDATA[<map name=\"connections\">\n"
- " <key column=\"incoming_node_id\"/>\n"
- " <map-key-many-to-many column=\"outgoing_node_id\" class=\"Node\"/>\n"
- " <many-to-many column=\"connection_id\" class=\"Connection\"/>\n"
- "</map>]]>"
+"<![CDATA[<map name=\"connections\">\n"
+" <key column=\"incoming_node_id\"/>\n"
+" <map-key-many-to-many column=\"outgoing_node_id\" class=\"Node\"/>\n"
+" <many-to-many column=\"connection_id\" class=\"Connection\"/>\n"
+"</map>]]>"
msgstr ""
- "<![CDATA[<map name=\"connections\">\n"
- " <key column=\"incoming_node_id\"/>\n"
- " <map-key-many-to-many column=\"outgoing_node_id\" class=\"Node\"/>\n"
- " <many-to-many column=\"connection_id\" class=\"Connection\"/>\n"
- "</map>]]>"
-#: index.docbook:759
-msgid "A second approach is to simply remodel the association as an entity class. This is the approach we use most commonly."
-msgstr "2ã¤ç®ã¯åç´ã«é¢é£ãã¨ã³ãã£ãã£ï½¥ã¯ã©ã¹ã¨ãã¦ã¢ãã«ãä½ãç´ãã¢ããã¼ãã§ã é »ç¹ã«ä½¿ããã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:759
+#, no-c-format
+msgid ""
+"A second approach is to simply remodel the association as an entity class. "
+"This is the approach we use most commonly."
+msgstr ""
+"2ã¤ç®ã¯åç´ã«é¢é£ãã¨ã³ãã£ãã£ï½¥ã¯ã©ã¹ã¨ãã¦ã¢ãã«ãä½ãç´ãã¢ããã¼ãã§ã é »"
+"ç¹ã«ä½¿ããã¾ãã"
-#: index.docbook:764
-msgid "A final alternative is to use composite elements, which we will discuss later."
-msgstr "æå¾ã¯compositeè¦ç´ ã使ãã¢ããã¼ãã§ããããã«é¢ããè°è«ã¯å¾ã»ã©è¡ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:764
+#, no-c-format
+msgid ""
+"A final alternative is to use composite elements, which we will discuss "
+"later."
+msgstr ""
+"æå¾ã¯compositeè¦ç´ ã使ãã¢ããã¼ãã§ããããã«é¢ããè°è«ã¯å¾ã»ã©è¡ãã¾ãã"
-#: index.docbook:771
+#. Tag: literal
+#: collection_mapping.xml:771
+#, no-c-format
msgid "Using an <idbag>"
msgstr "<literal><idbag></literal>ã®ä½¿ç¨"
-#: index.docbook:773
-msgid "If you've fully embraced our view that composite keys are a bad thing and that entities should have synthetic identifiers (surrogate keys), then you might find it a bit odd that the many to many associations and collections of values that we've shown so far all map to tables with composite keys! Now, this point is quite arguable; a pure association table doesn't seem to benefit much from a surrogate key (though a collection of composite values <emphasis>might</emphasis>). Nevertheless, Hibernate provides a feature that allows you to map many to many associations and collections of values to a table with a surrogate key."
-msgstr "è¤åãã¼ã¯æªããã®ã§ãã¨ã³ãã£ãã£ã¯äººå·¥ã®èå¥å(代çãã¼)ãæã¤ã¹ãã§ããã¨ããèãæ¹ããã¯ã å¤å¯¾å¤é¢é£ã¨å¤ã®ã³ã¬ã¯ã·ã§ã³ãè¤åãã¼ãç¨ãããã¼ãã«ã¸ãããã³ã°ããã®ã¯å°ãå¥å¦ã«æããããããã¾ããï¼ ç¢ºãã«ãã®èãæ¹ã«ã¯è°è«ã®ä½å°ãããã¾ãã ç´ç²ãªé¢é£ãã¼ãã«ã¯ä»£çãã¼ã使ã£ã¦ãå©çãå¾ãããªãããã«æããããã§ã ï¼åæå¤ã®ã³ã¬ã¯ã·ã§ã³ã¯å©çããã <emphasis>ãã</emphasis> ããã¾ãããï¼ã ã¨ã¯ãããHibernateã¯ä»£çãã¼ãæã¤ãã¼ãã«ã¸å¤å¯¾å¤é¢é£ã¨å¤ã®ã³ã¬ã¯ã·ã§ã³ã ãããã³ã°ããæ©è½ãåãã¦ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:773
+#, no-c-format
+msgid ""
+"If you've fully embraced our view that composite keys are a bad thing and "
+"that entities should have synthetic identifiers (surrogate keys), then you "
+"might find it a bit odd that the many to many associations and collections "
+"of values that we've shown so far all map to tables with composite keys! "
+"Now, this point is quite arguable; a pure association table doesn't seem to "
+"benefit much from a surrogate key (though a collection of composite values "
+"<emphasis>might</emphasis>). Nevertheless, Hibernate provides a feature that "
+"allows you to map many to many associations and collections of values to a "
+"table with a surrogate key."
+msgstr ""
+"è¤åãã¼ã¯æªããã®ã§ãã¨ã³ãã£ãã£ã¯äººå·¥ã®èå¥å(代çãã¼)ãæã¤ã¹ãã§ããã¨"
+"ããèãæ¹ããã¯ã å¤å¯¾å¤é¢é£ã¨å¤ã®ã³ã¬ã¯ã·ã§ã³ãè¤åãã¼ãç¨ãããã¼ãã«ã¸"
+"ãããã³ã°ããã®ã¯å°ãå¥å¦ã«æããããããã¾ããï¼ ç¢ºãã«ãã®èãæ¹ã«ã¯è°è«ã®"
+"ä½å°ãããã¾ãã ç´ç²ãªé¢é£ãã¼ãã«ã¯ä»£çãã¼ã使ã£ã¦ãå©çãå¾ãããªãããã«"
+"æããããã§ã ï¼åæå¤ã®ã³ã¬ã¯ã·ã§ã³ã¯å©çããã <emphasis>ãã</emphasis> "
+"ããã¾ãããï¼ã ã¨ã¯ãããHibernateã¯ä»£çãã¼ãæã¤ãã¼ãã«ã¸å¤å¯¾å¤é¢é£ã¨å¤"
+"ã®ã³ã¬ã¯ã·ã§ã³ã ãããã³ã°ããæ©è½ãåãã¦ãã¾ãã"
-#: index.docbook:784
-msgid "The <literal><idbag></literal> element lets you map a <literal>List</literal> (or <literal>Collection</literal>) with bag semantics."
-msgstr "bagã®ã»ãã³ãã£ãã¯ã¹ãæã£ã <literal>List</literal>ï¼ã¾ã㯠<literal>Collection</literal>ï¼ã <literal><idbag></literal> è¦ç´ ã«ãããã³ã°ã§ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:784
+#, no-c-format
+msgid ""
+"The <literal><idbag></literal> element lets you map a <literal>List</"
+"literal> (or <literal>Collection</literal>) with bag semantics."
+msgstr ""
+"bagã®ã»ãã³ãã£ãã¯ã¹ãæã£ã <literal>List</literal>ï¼ã¾ã㯠"
+"<literal>Collection</literal>ï¼ã <literal><idbag></literal> è¦ç´ ã«ãã"
+"ãã³ã°ã§ãã¾ãã"
-#: index.docbook:789
+#. Tag: programlisting
+#: collection_mapping.xml:789
+#, no-c-format
msgid ""
- "<![CDATA[<idbag name=\"lovers\" table=\"LOVERS\">\n"
- " <collection-id column=\"ID\" type=\"long\">\n"
- " <generator class=\"sequence\"/>\n"
- " </collection-id>\n"
- " <key column=\"PERSON1\"/>\n"
- " <many-to-many column=\"PERSON2\" class=\"Person\" fetch=\"join\"/>\n"
- "</idbag>]]>"
+"<![CDATA[<idbag name=\"lovers\" table=\"LOVERS\">\n"
+" <collection-id column=\"ID\" type=\"long\">\n"
+" <generator class=\"sequence\"/>\n"
+" </collection-id>\n"
+" <key column=\"PERSON1\"/>\n"
+" <many-to-many column=\"PERSON2\" class=\"Person\" fetch=\"join\"/>\n"
+"</idbag>]]>"
msgstr ""
- "<![CDATA[<idbag name=\"lovers\" table=\"LOVERS\">\n"
- " <collection-id column=\"ID\" type=\"long\">\n"
- " <generator class=\"sequence\"/>\n"
- " </collection-id>\n"
- " <key column=\"PERSON1\"/>\n"
- " <many-to-many column=\"PERSON2\" class=\"Person\" fetch=\"join\"/>\n"
- "</idbag>]]>"
-#: index.docbook:791
-msgid "As you can see, an <literal><idbag></literal> has a synthetic id generator, just like an entity class! A different surrogate key is assigned to each collection row. Hibernate does not provide any mechanism to discover the surrogate key value of a particular row, however."
-msgstr "ãåç¥ã®ããã« <literal><idbag></literal> ã¯ã¨ã³ãã£ãã£ï½¥ã¯ã©ã¹ã®ãã㫠人工çãªidã¸ã§ãã¬ã¼ã¿ãæã£ã¦ãã¾ãï¼ ç°ãªã代çãã¼ãããããã®ã³ã¬ã¯ã·ã§ã³ã®åã«å²ãå½ã¦ã¾ãã ããããªãããHibernateã¯ããè¡ã®ä»£çãã¼ã®å¤ãè¦ã¤ãåºãæ©æ§ãæã£ã¦ãã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:791
+#, no-c-format
+msgid ""
+"As you can see, an <literal><idbag></literal> has a synthetic id "
+"generator, just like an entity class! A different surrogate key is assigned "
+"to each collection row. Hibernate does not provide any mechanism to discover "
+"the surrogate key value of a particular row, however."
+msgstr ""
+"ãåç¥ã®ããã« <literal><idbag></literal> ã¯ã¨ã³ãã£ãã£ï½¥ã¯ã©ã¹ã®ãã"
+"㫠人工çãªidã¸ã§ãã¬ã¼ã¿ãæã£ã¦ãã¾ãï¼ ç°ãªã代çãã¼ãããããã®ã³ã¬ã¯"
+"ã·ã§ã³ã®åã«å²ãå½ã¦ã¾ãã ããããªãããHibernateã¯ããè¡ã®ä»£çãã¼ã®å¤ãè¦"
+"ã¤ãåºãæ©æ§ãæã£ã¦ãã¾ããã"
-#: index.docbook:798
-msgid "Note that the update performance of an <literal><idbag></literal> is <emphasis>much</emphasis> better than a regular <literal><bag></literal>! Hibernate can locate individual rows efficiently and update or delete them individually, just like a list, map or set."
-msgstr "<literal><idbag></literal> ãæ´æ°ããããã©ã¼ãã³ã¹ã¯ é常㮠<literal><bag></literal> ãããè¯ããã¨ã«æ³¨ç®ãã¦ãã ããï¼ Hibernateã¯åã
ã®è¡ã广çã«è¦ã¤ãããã¨ãã§ãã listãmapãsetã®ããã«åå¥ã«ãã®è¡ãæ´æ°ãåé¤ã§ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:798
+#, no-c-format
+msgid ""
+"Note that the update performance of an <literal><idbag></literal> is "
+"<emphasis>much</emphasis> better than a regular <literal><bag></"
+"literal>! Hibernate can locate individual rows efficiently and update or "
+"delete them individually, just like a list, map or set."
+msgstr ""
+"<literal><idbag></literal> ãæ´æ°ããããã©ã¼ãã³ã¹ã¯ é常㮠"
+"<literal><bag></literal> ãããè¯ããã¨ã«æ³¨ç®ãã¦ãã ããï¼ Hibernateã¯"
+"åã
ã®è¡ã广çã«è¦ã¤ãããã¨ãã§ãã listãmapãsetã®ããã«åå¥ã«ãã®è¡ãæ´"
+"æ°ãåé¤ã§ãã¾ãã"
-#: index.docbook:805
-msgid "In the current implementation, the <literal>native</literal> identifier generation strategy is not supported for <literal><idbag></literal> collection identifiers."
-msgstr "ç¾å¨ã®å®è£
ã§ã¯ã<literal>native</literal> ã¨ããidçææ¦ç¥ã <literal><idbag></literal> ã³ã¬ã¯ã·ã§ã³ã®èå¥åã«å¯¾ãã¦ä½¿ãã¾ããã"
+#. Tag: para
+#: collection_mapping.xml:805
+#, no-c-format
+msgid ""
+"In the current implementation, the <literal>native</literal> identifier "
+"generation strategy is not supported for <literal><idbag></literal> "
+"collection identifiers."
+msgstr ""
+"ç¾å¨ã®å®è£
ã§ã¯ã<literal>native</literal> ã¨ããidçææ¦ç¥ã <literal><"
+"idbag></literal> ã³ã¬ã¯ã·ã§ã³ã®èå¥åã«å¯¾ãã¦ä½¿ãã¾ããã"
-#: index.docbook:829
+#. Tag: title
+#: collection_mapping.xml:829
+#, no-c-format
msgid "Collection examples"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ä¾"
-#: index.docbook:831
-msgid "The previous sections are pretty confusing. So lets look at an example. This class:"
+#. Tag: para
+#: collection_mapping.xml:831
+#, no-c-format
+msgid ""
+"The previous sections are pretty confusing. So lets look at an example. This "
+"class:"
msgstr "ããã¾ã§ã®ç¯ã®èª¬æã§ã¯çè§£ãã«ããã®ã§ã以ä¸ã®ä¾ãè¦ã¦ãã ããã"
-#: index.docbook:836
+#. Tag: programlisting
+#: collection_mapping.xml:836
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "import java.util.Set;\n"
- "\n"
- "public class Parent {\n"
- " private long id;\n"
- " private Set children;\n"
- "\n"
- " public long getId() { return id; }\n"
- " private void setId(long id) { this.id=id; }\n"
- "\n"
- " private Set getChildren() { return children; }\n"
- " private void setChildren(Set children) { this.children=children; }\n"
- "\n"
- " ....\n"
- " ....\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"import java.util.Set;\n"
+"\n"
+"public class Parent {\n"
+" private long id;\n"
+" private Set children;\n"
+"\n"
+" public long getId() { return id; }\n"
+" private void setId(long id) { this.id=id; }\n"
+"\n"
+" private Set getChildren() { return children; }\n"
+" private void setChildren(Set children) { this.children=children; }\n"
+"\n"
+" ....\n"
+" ....\n"
+"}]]>"
msgstr ""
- "<![CDATA[package eg;\n"
- "import java.util.Set;\n"
- "\n"
- "public class Parent {\n"
- " private long id;\n"
- " private Set children;\n"
- "\n"
- " public long getId() { return id; }\n"
- " private void setId(long id) { this.id=id; }\n"
- "\n"
- " private Set getChildren() { return children; }\n"
- " private void setChildren(Set children) { this.children=children; }\n"
- "\n"
- " ....\n"
- " ....\n"
- "}]]>"
-#: index.docbook:838
-msgid "has a collection of <literal>Child</literal> instances. If each child has at most one parent, the most natural mapping is a one-to-many association:"
-msgstr "ãã®ã¯ã©ã¹ã¯ <literal>Child</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ã³ã¬ã¯ã·ã§ã³ãæã£ã¦ãã¾ãã ããåã
ã®childãæå¤§ã§ãä¸ã¤ã®parentãæã£ã¦ãããªãã°ãæãèªç¶ãªãããã³ã°ã¯ä¸å¯¾å¤é¢é£ã§ãã"
+#. Tag: para
+#: collection_mapping.xml:838
+#, no-c-format
+msgid ""
+"has a collection of <literal>Child</literal> instances. If each child has at "
+"most one parent, the most natural mapping is a one-to-many association:"
+msgstr ""
+"ãã®ã¯ã©ã¹ã¯ <literal>Child</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ã³ã¬ã¯ã·ã§ã³ãæã£ã¦ãã¾"
+"ãã ããåã
ã®childãæå¤§ã§ãä¸ã¤ã®parentãæã£ã¦ãããªãã°ãæãèªç¶ãªãã"
+"ãã³ã°ã¯ä¸å¯¾å¤é¢é£ã§ãã"
-#: index.docbook:844
+#. Tag: programlisting
+#: collection_mapping.xml:844
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Parent\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <set name=\"children\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </set>\n"
+" </class>\n"
+"\n"
+" <class name=\"Child\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:846
+#. Tag: para
+#: collection_mapping.xml:846
+#, no-c-format
msgid "This maps to the following table definitions:"
msgstr "ããã¯ä»¥ä¸ã®ãã¼ãã«å®ç¾©ã«ãããã³ã°ãã¾ãã"
-#: index.docbook:850
+#. Tag: programlisting
+#: collection_mapping.xml:850
+#, no-c-format
msgid ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null primary key, name varchar(255), parent_id bigint )\n"
- "alter table child add constraint childfk0 (parent_id) references parent]]>"
+"<![CDATA[create table parent ( id bigint not null primary key )\n"
+"create table child ( id bigint not null primary key, name varchar(255), "
+"parent_id bigint )\n"
+"alter table child add constraint childfk0 (parent_id) references parent]]>"
msgstr ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null primary key, name varchar(255), parent_id bigint )\n"
- "alter table child add constraint childfk0 (parent_id) references parent]]>"
-#: index.docbook:852
-msgid "If the parent is <emphasis>required</emphasis>, use a bidirectional one-to-many association:"
-msgstr "ããparentã <emphasis>è¦æ±</emphasis> ããããªããåæ¹åã®ä¸å¯¾å¤é¢é£ã使ç¨ãã¦ãã ããã"
+#. Tag: para
+#: collection_mapping.xml:852
+#, no-c-format
+msgid ""
+"If the parent is <emphasis>required</emphasis>, use a bidirectional one-to-"
+"many association:"
+msgstr ""
+"ããparentã <emphasis>è¦æ±</emphasis> ããããªããåæ¹åã®ä¸å¯¾å¤é¢é£ã使ç¨ã"
+"ã¦ãã ããã"
-#: index.docbook:857
+#. Tag: programlisting
+#: collection_mapping.xml:857
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " <many-to-one name=\"parent\" class=\"Parent\" column=\"parent_id\" not-null=\"true\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Parent\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <set name=\"children\" inverse=\"true\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </set>\n"
+" </class>\n"
+"\n"
+" <class name=\"Child\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" <many-to-one name=\"parent\" class=\"Parent\" column=\"parent_id\" "
+"not-null=\"true\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " <many-to-one name=\"parent\" class=\"Parent\" column=\"parent_id\" not-null=\"true\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:859
+#. Tag: para
+#: collection_mapping.xml:859
+#, no-c-format
msgid "Notice the <literal>NOT NULL</literal> constraint:"
msgstr "<literal>NOT NULL</literal> å¶ç´ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:863
+#. Tag: programlisting
+#: collection_mapping.xml:863
+#, no-c-format
msgid ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null\n"
- " primary key,\n"
- " name varchar(255),\n"
- " parent_id bigint not null )\n"
- "alter table child add constraint childfk0 (parent_id) references parent]]>"
+"<![CDATA[create table parent ( id bigint not null primary key )\n"
+"create table child ( id bigint not null\n"
+" primary key,\n"
+" name varchar(255),\n"
+" parent_id bigint not null )\n"
+"alter table child add constraint childfk0 (parent_id) references parent]]>"
msgstr ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null\n"
- " primary key,\n"
- " name varchar(255),\n"
- " parent_id bigint not null )\n"
- "alter table child add constraint childfk0 (parent_id) references parent]]>"
-#: index.docbook:865
-msgid "Alternatively, if you absolutely insist that this association should be unidirectional, you can declare the <literal>NOT NULL</literal> constraint on the <literal><key></literal> mapping:"
-msgstr "ãããã¯ããããã®é¢é£ã¯åæ¹åã§ããã¹ãã¨å¼·ã主張ããã®ã§ããã°ã <literal><key></literal> ã« <literal>NOT NULL</literal> å¶ç´ã宣è¨ã§ãã¾ãã"
+#. Tag: para
+#: collection_mapping.xml:865
+#, no-c-format
+msgid ""
+"Alternatively, if you absolutely insist that this association should be "
+"unidirectional, you can declare the <literal>NOT NULL</literal> constraint "
+"on the <literal><key></literal> mapping:"
+msgstr ""
+"ãããã¯ããããã®é¢é£ã¯åæ¹åã§ããã¹ãã¨å¼·ã主張ããã®ã§ããã°ã "
+"<literal><key></literal> ã« <literal>NOT NULL</literal> å¶ç´ã宣è¨ã§ã"
+"ã¾ãã"
-#: index.docbook:871
+#. Tag: programlisting
+#: collection_mapping.xml:871
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\">\n"
- " <key column=\"parent_id\" not-null=\"true\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Parent\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <set name=\"children\">\n"
+" <key column=\"parent_id\" not-null=\"true\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+" </set>\n"
+" </class>\n"
+"\n"
+" <class name=\"Child\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\">\n"
- " <key column=\"parent_id\" not-null=\"true\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:873
-msgid "On the other hand, if a child might have multiple parents, a many-to-many association is appropriate:"
+#. Tag: para
+#: collection_mapping.xml:873
+#, no-c-format
+msgid ""
+"On the other hand, if a child might have multiple parents, a many-to-many "
+"association is appropriate:"
msgstr "䏿¹ã§ãããchildãè¤æ°ã®parentãæã¦ããªãã°ãå¤å¯¾å¤é¢é£ã妥å½ã§ãã"
-#: index.docbook:878
+#. Tag: programlisting
+#: collection_mapping.xml:878
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\" table=\"childset\">\n"
- " <key column=\"parent_id\"/>\n"
- " <many-to-many class=\"Child\" column=\"child_id\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Parent\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <set name=\"children\" table=\"childset\">\n"
+" <key column=\"parent_id\"/>\n"
+" <many-to-many class=\"Child\" column=\"child_id\"/>\n"
+" </set>\n"
+" </class>\n"
+"\n"
+" <class name=\"Child\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Parent\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <set name=\"children\" table=\"childset\">\n"
- " <key column=\"parent_id\"/>\n"
- " <many-to-many class=\"Child\" column=\"child_id\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Child\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:880
+#. Tag: para
+#: collection_mapping.xml:880
+#, no-c-format
msgid "Table definitions:"
msgstr "ãã¼ãã«å®ç¾©ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã"
-#: index.docbook:884
+#. Tag: programlisting
+#: collection_mapping.xml:884
+#, no-c-format
msgid ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null primary key, name varchar(255) )\n"
- "create table childset ( parent_id bigint not null,\n"
- " child_id bigint not null,\n"
- " primary key ( parent_id, child_id ) )\n"
- "alter table childset add constraint childsetfk0 (parent_id) references parent\n"
- "alter table childset add constraint childsetfk1 (child_id) references child]]>"
+"<![CDATA[create table parent ( id bigint not null primary key )\n"
+"create table child ( id bigint not null primary key, name varchar(255) )\n"
+"create table childset ( parent_id bigint not null,\n"
+" child_id bigint not null,\n"
+" primary key ( parent_id, child_id ) )\n"
+"alter table childset add constraint childsetfk0 (parent_id) references "
+"parent\n"
+"alter table childset add constraint childsetfk1 (child_id) references child]]"
+">"
msgstr ""
- "<![CDATA[create table parent ( id bigint not null primary key )\n"
- "create table child ( id bigint not null primary key, name varchar(255) )\n"
- "create table childset ( parent_id bigint not null,\n"
- " child_id bigint not null,\n"
- " primary key ( parent_id, child_id ) )\n"
- "alter table childset add constraint childsetfk0 (parent_id) references parent\n"
- "alter table childset add constraint childsetfk1 (child_id) references child]]>"
-#: index.docbook:886
-msgid "For more examples and a complete walk-through a parent/child relationship mapping, see <xref linkend=\"example-parentchild\"/>."
-msgstr "parent/childé¢ä¿ã®ãããã³ã°ã«ã¤ãã¦ã®ããå¤ãã®ä¾ãå®å
¨ãªæé ãå¿
è¦ã§ããã°ã <xref linkend=\"example-parentchild\"/> ãã覧ãã ããã"
+#. Tag: para
+#: collection_mapping.xml:886
+#, no-c-format
+msgid ""
+"For more examples and a complete walk-through a parent/child relationship "
+"mapping, see <xref linkend=\"example-parentchild\"/>."
+msgstr ""
+"parent/childé¢ä¿ã®ãããã³ã°ã«ã¤ãã¦ã®ããå¤ãã®ä¾ãå®å
¨ãªæé ãå¿
è¦ã§ãã"
+"ã°ã <xref linkend=\"example-parentchild\"/> ãã覧ãã ããã"
-#: index.docbook:891
-msgid "Even more exotic association mappings are possible, we will catalog all possibilities in the next chapter."
+#. Tag: para
+#: collection_mapping.xml:891
+#, no-c-format
+msgid ""
+"Even more exotic association mappings are possible, we will catalog all "
+"possibilities in the next chapter."
msgstr "ã¾ããããã«ç¹æ®ãªé¢é£ãããã³ã°ãå¯è½ã§ããæ¬¡ã®ç« ã§è©³ããè¿°ã¹ã¾ãã"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid ""
+#~ "<literal>column_name</literal> (required): The name of the column holding "
+#~ "the collection index values."
+#~ msgstr ""
+#~ "<literal>column_name</literal>ï¼å¿
é ï¼:ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ãä¿æ"
+#~ "ããã«ã©ã ã®ååã"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid ""
+#~ "<literal>base</literal> (optional, defaults to <literal>0</literal>): The "
+#~ "value of the index column that corresponds to the first element of the "
+#~ "list or array."
+#~ msgstr ""
+#~ "<literal>base</literal>ï¼ãªãã·ã§ã³ãããã©ã«ã㯠<literal>0</literal>ï¼: "
+#~ "ãªã¹ããããã¯é
åã®æåã®è¦ç´ ã«è©²å½ããã¤ã³ããã¯ã¹ã«ã©ã ã®å¤ã"
+#~ msgid ""
+#~ "<literal>column</literal> (optional): The name of the column holding the "
+#~ "collection index values."
+#~ msgstr ""
+#~ "<literal>column</literal>ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ãä¿"
+#~ "æããã«ã©ã ã®ååã"
+
+#~ msgid ""
+#~ "<literal>formula</literal> (optional): A SQL formula used to evaluate the "
+#~ "key of the map."
+#~ msgstr ""
+#~ "<literal>formula</literal>ï¼ãªãã·ã§ã³ï¼: Mapã®ãã¼ãè©ä¾¡ããã®ã«ä½¿ããã"
+#~ "SQLå¼ã"
+
+#~ msgid "<literal>type</literal> (reguired): The type of the map keys."
+#~ msgstr "<literal>type</literal>ï¼å¿
é ï¼: Mapã®ãã¼ã®åã"
+
+#~ msgid ""
+#~ "<literal>column</literal> (optional): The name of the foreign key column "
+#~ "for the collection index values."
+#~ msgstr ""
+#~ "<literal>column</literal> ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã¤ã³ããã¯ã¹ã®å¤ã®ã"
+#~ "ãã®å¤é¨ãã¼ã«ã©ã ã®ååã"
+
+#~ msgid ""
+#~ "<literal>formula</literal> (optional): A SQL formula used to evaluate the "
+#~ "foreign key of the map key."
+#~ msgstr ""
+#~ "<literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: Mapã®ãã¼ã®ããã®å¤é¨ãã¼ãè©ä¾¡"
+#~ "ããããã«ä½¿ãSQLå¼ã"
+
+#~ msgid ""
+#~ "<literal>class</literal> (required): The entity class used as the map key."
+#~ msgstr ""
+#~ "<literal>class</literal> ï¼å¿
é ï¼: Mapã®ãã¼ã¨ãã¦ä½¿ãããã¨ã³ãã£ãã£ã¯ã©"
+#~ "ã¹ã"
+
+#~ msgid ""
+#~ "<literal>column</literal> (optional): The name of the column holding the "
+#~ "collection element values."
+#~ msgstr ""
+#~ "<literal>column</literal> ï¼ãªãã·ã§ã³ï¼: ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®å¤ãä¿æãã"
+#~ "ã«ã©ã ã®ååã"
+
+#~ msgid ""
+#~ "<literal>formula</literal> (optional): An SQL formula used to evaluate "
+#~ "the element."
+#~ msgstr ""
+#~ "<literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: è¦ç´ ãè©ä¾¡ããããã«ä½¿ãSQLå¼ã"
+
+#~ msgid ""
+#~ "<literal>type</literal> (required): The type of the collection element."
+#~ msgstr "<literal>type</literal> ï¼å¿
é ï¼ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®åã"
+
+#~ msgid ""
+#~ "A <emphasis>many-to-many association</emphasis> is specified using the "
+#~ "<literal><many-to-many></literal> element."
+#~ msgstr ""
+#~ "<emphasis>å¤å¯¾å¤é¢é£</emphasis> 㯠<literal><many-to-many></"
+#~ "literal> è¦ç´ ã§æå®ãã¾ãã"
+
+#~ msgid ""
+#~ "<literal>column</literal> (optional): The name of the element foreign key "
+#~ "column."
+#~ msgstr ""
+#~ "<literal>column</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼ã«ã©ã ã®è¦ç´ ã®ååã"
+
+#~ msgid ""
+#~ "<literal>formula</literal> (optional): An SQL formula used to evaluate "
+#~ "the element foreign key value."
+#~ msgstr ""
+#~ "<literal>formula</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼å¤ã®è¦ç´ ãè©ä¾¡ãããã"
+#~ "ã«ä½¿ãSQLå¼ã"
+
+#~ msgid ""
+#~ "<literal>fetch</literal> (optional - defaults to <literal>join</"
+#~ "literal>): enables outer-join or sequential select fetching for this "
+#~ "association. This is a special case; for full eager fetching (in a single "
+#~ "<literal>SELECT</literal>) of an entity and its many-to-many "
+#~ "relationships to other entities, you would enable <literal>join</literal> "
+#~ "fetching not only of the collection itself, but also with this attribute "
+#~ "on the <literal><many-to-many></literal> nested element."
+#~ msgstr ""
+#~ "<literal>fetch</literal> (ãªãã·ã§ã³ - ããã©ã«ã㯠<literal>join</"
+#~ "literal>): é¢é£ã®ããã«ãå¤é¨çµåãé æ¬¡é¸æãã§ãããæå¹ã«ãã¾ãã ããã¯"
+#~ "ç¹æ®ãªã±ã¼ã¹ã§ãããã¨ã³ãã£ãã£ã¨ä»ã®ã¨ã³ãã£ãã£ã¨ã®å¤å¯¾å¤é¢ä¿ã ï¼ï¼ã¤"
+#~ "ã® <literal>SELECT</literal> ã«ããï¼å®å
¨ã«å³æã«ãã§ããããããã«ã¯ã ã"
+#~ "ã®ã³ã¬ã¯ã·ã§ã³èªä½ã ãã§ãªãã ãã¹ãããè¦ç´ ã§ãã <literal><many-to-"
+#~ "many></literal> ã®ãã®å±æ§ã«ã¤ãã¦ã <literal>join</literal> ãã§ããã"
+#~ "æå¹ããå¿
è¦ãããã¾ãã"
+
+#~ msgid ""
+#~ "<literal>unique</literal> (optional): Enable the DDL generation of a "
+#~ "unique constraint for the foreign-key column. This makes the association "
+#~ "multiplicity effectively one to many."
+#~ msgstr ""
+#~ "<literal>unique</literal> ï¼ãªãã·ã§ã³ï¼: å¤é¨ãã¼ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ã®"
+#~ "DDLçæãæå¹ã«ãã¾ãã ããã¯ãé¢é£ã®å¤é度ãäºå®ä¸ä¸å¯¾å¤ã«ãã¾ãã"
+
+#~ msgid ""
+#~ "<literal>not-found</literal> (optional - defaults to <literal>exception</"
+#~ "literal>): Specifies how foreign keys that reference missing rows will be "
+#~ "handled: <literal>ignore</literal> will treat a missing row as a null "
+#~ "association."
+#~ msgstr ""
+#~ "<literal>not-found</literal> ï¼ãªãã·ã§ã³ - ããã©ã«ã㯠"
+#~ "<literal>exception</literal>ï¼ åç
§å
ã®è¡ããªãå¤é¨ãã¼ãã©ã®ããã«æ±ãã"
+#~ "ãæå®ãã¾ãã <literal>ignore</literal> ã«ããã¨ãè¡ããªããã¨ãé¢é£ãç¡"
+#~ "ããã®ã¨ãã¦æ±ãã¾ãã"
+
+#~ msgid ""
+#~ "<literal>property-ref</literal>: (optional) The name of a property of the "
+#~ "associated class that is joined to this foreign key. If not specified, "
+#~ "the primary key of the associated class is used."
+#~ msgstr ""
+#~ "<literal>property-ref</literal>: ï¼ãªãã·ã§ã³ï¼ ãã®å¤é¨ãã¼ã«çµåããé¢é£"
+#~ "ã¯ã©ã¹ã®ããããã£åã æå®ããªãã£ãå ´åã¯ãé¢é£ã¯ã©ã¹ã®ä¸»ãã¼ã使ãã¾"
+#~ "ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/component_mapping.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/component_mapping.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/component_mapping.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,679 +1,676 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: component_mapping.xml:5
+#, no-c-format
msgid "Component Mapping"
msgstr "ã³ã³ãã¼ãã³ãã®ãããã³ã°"
-#: index.docbook:7
-msgid "The notion of a <emphasis>component</emphasis> is re-used in several different contexts, for different purposes, throughout Hibernate."
-msgstr "<emphasis>ã³ã³ãã¼ãã³ã</emphasis> ã®æ¦å¿µã¯ãHibernateãéãã¦æ§ã
ãªç¶æ³ã®ä¸ã§ ç°ãªãç®çã®ããã«åå©ç¨ããã¾ãã"
+#. Tag: para
+#: component_mapping.xml:7
+#, no-c-format
+msgid ""
+"The notion of a <emphasis>component</emphasis> is re-used in several "
+"different contexts, for different purposes, throughout Hibernate."
+msgstr ""
+"<emphasis>ã³ã³ãã¼ãã³ã</emphasis> ã®æ¦å¿µã¯ãHibernateãéãã¦æ§ã
ãªç¶æ³ã®ä¸"
+"ã§ ç°ãªãç®çã®ããã«åå©ç¨ããã¾ãã"
-#: index.docbook:13
+#. Tag: title
+#: component_mapping.xml:13
+#, no-c-format
msgid "Dependent objects"
msgstr "ä¾åãªãã¸ã§ã¯ã"
-#: index.docbook:15
-msgid "A component is a contained object that is persisted as a value type, not an entity reference. The term \"component\" refers to the object-oriented notion of composition (not to architecture-level components). For example, you might model a person like this:"
-msgstr "ã³ã³ãã¼ãã³ãã¯ãã¨ã³ãã£ãã£ã®åç
§ã§ã¯ãªãå¤åã¨ãã¦æ°¸ç¶åãããã å
å«ããããªãã¸ã§ã¯ãã§ããã³ã³ãã¼ãã³ãã¨ããè¨èã«ã¤ãã¦ã¯ãã³ã³ãã¸ã·ã§ã³ã¨ãã ãªãã¸ã§ã¯ãæåã®æ¦å¿µãåç
§ãã¦ãã ããï¼ã¢ã¼ããã¯ãã£ã¬ãã«ã®ã³ã³ãã¼ãã³ãã§ã¯ããã¾ããï¼ã ä¾ãã°ã以ä¸ã®Personã¢ãã«ã®ãããªãã®ã§ãã"
+#. Tag: para
+#: component_mapping.xml:15
+#, no-c-format
+msgid ""
+"A component is a contained object that is persisted as a value type, not an "
+"entity reference. The term \"component\" refers to the object-oriented "
+"notion of composition (not to architecture-level components). For example, "
+"you might model a person like this:"
+msgstr ""
+"ã³ã³ãã¼ãã³ãã¯ãã¨ã³ãã£ãã£ã®åç
§ã§ã¯ãªãå¤åã¨ãã¦æ°¸ç¶åãããã å
å«ãã"
+"ããªãã¸ã§ã¯ãã§ããã³ã³ãã¼ãã³ãã¨ããè¨èã«ã¤ãã¦ã¯ãã³ã³ãã¸ã·ã§ã³ã¨ãã "
+"ãªãã¸ã§ã¯ãæåã®æ¦å¿µãåç
§ãã¦ãã ããï¼ã¢ã¼ããã¯ãã£ã¬ãã«ã®ã³ã³ãã¼ãã³"
+"ãã§ã¯ããã¾ããï¼ã ä¾ãã°ã以ä¸ã®Personã¢ãã«ã®ãããªãã®ã§ãã"
-#: index.docbook:21
+#. Tag: programlisting
+#: component_mapping.xml:21
+#, no-c-format
msgid ""
- "<![CDATA[public class Person {\n"
- " private java.util.Date birthday;\n"
- " private Name name;\n"
- " private String key;\n"
- " public String getKey() {\n"
- " return key;\n"
- " }\n"
- " private void setKey(String key) {\n"
- " this.key=key;\n"
- " }\n"
- " public java.util.Date getBirthday() {\n"
- " return birthday;\n"
- " }\n"
- " public void setBirthday(java.util.Date birthday) {\n"
- " this.birthday = birthday;\n"
- " }\n"
- " public Name getName() {\n"
- " return name;\n"
- " }\n"
- " public void setName(Name name) {\n"
- " this.name = name;\n"
- " }\n"
- " ......\n"
- " ......\n"
- "}]]>"
+"<![CDATA[public class Person {\n"
+" private java.util.Date birthday;\n"
+" private Name name;\n"
+" private String key;\n"
+" public String getKey() {\n"
+" return key;\n"
+" }\n"
+" private void setKey(String key) {\n"
+" this.key=key;\n"
+" }\n"
+" public java.util.Date getBirthday() {\n"
+" return birthday;\n"
+" }\n"
+" public void setBirthday(java.util.Date birthday) {\n"
+" this.birthday = birthday;\n"
+" }\n"
+" public Name getName() {\n"
+" return name;\n"
+" }\n"
+" public void setName(Name name) {\n"
+" this.name = name;\n"
+" }\n"
+" ......\n"
+" ......\n"
+"}]]>"
msgstr ""
- "<![CDATA[public class Person {
-\n"
- " private java.util.Date birthday;
-\n"
- " private Name name;
-\n"
- " private String key;
-\n"
- " public String getKey() {
-\n"
- " return key;
-\n"
- " }
-\n"
- " private void setKey(String key) {
-\n"
- " this.key=key;
-\n"
- " }
-\n"
- " public java.util.Date getBirthday() {
-\n"
- " return birthday;
-\n"
- " }
-\n"
- " public void setBirthday(java.util.Date birthday) {
-\n"
- " this.birthday = birthday;
-\n"
- " }
-\n"
- " public Name getName() {
-\n"
- " return name;
-\n"
- " }
-\n"
- " public void setName(Name name) {
-\n"
- " this.name = name;
-\n"
- " }
-\n"
- " ......
-\n"
- " ......
-\n"
- "}]]>"
-#: index.docbook:23
+#. Tag: programlisting
+#: component_mapping.xml:23
+#, no-c-format
msgid ""
- "<![CDATA[public class Name {\n"
- " char initial;\n"
- " String first;\n"
- " String last;\n"
- " public String getFirst() {\n"
- " return first;\n"
- " }\n"
- " void setFirst(String first) {\n"
- " this.first = first;\n"
- " }\n"
- " public String getLast() {\n"
- " return last;\n"
- " }\n"
- " void setLast(String last) {\n"
- " this.last = last;\n"
- " }\n"
- " public char getInitial() {\n"
- " return initial;\n"
- " }\n"
- " void setInitial(char initial) {\n"
- " this.initial = initial;\n"
- " }\n"
- "}]]>"
+"<![CDATA[public class Name {\n"
+" char initial;\n"
+" String first;\n"
+" String last;\n"
+" public String getFirst() {\n"
+" return first;\n"
+" }\n"
+" void setFirst(String first) {\n"
+" this.first = first;\n"
+" }\n"
+" public String getLast() {\n"
+" return last;\n"
+" }\n"
+" void setLast(String last) {\n"
+" this.last = last;\n"
+" }\n"
+" public char getInitial() {\n"
+" return initial;\n"
+" }\n"
+" void setInitial(char initial) {\n"
+" this.initial = initial;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[public class Name {
-\n"
- " char initial;
-\n"
- " String first;
-\n"
- " String last;
-\n"
- " public String getFirst() {
-\n"
- " return first;
-\n"
- " }
-\n"
- " void setFirst(String first) {
-\n"
- " this.first = first;
-\n"
- " }
-\n"
- " public String getLast() {
-\n"
- " return last;
-\n"
- " }
-\n"
- " void setLast(String last) {
-\n"
- " this.last = last;
-\n"
- " }
-\n"
- " public char getInitial() {
-\n"
- " return initial;
-\n"
- " }
-\n"
- " void setInitial(char initial) {
-\n"
- " this.initial = initial;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:25
-msgid "Now <literal>Name</literal> may be persisted as a component of <literal>Person</literal>. Notice that <literal>Name</literal> defines getter and setter methods for its persistent properties, but doesn't need to declare any interfaces or identifier properties."
-msgstr "ãã¾ã<literal>Name</literal> 㯠<literal>Person</literal> ã®ã³ã³ãã¼ãã³ãã¨ã㦠永ç¶åãããã¨ãåºæ¥ã¾ããããã§ <literal>Name</literal> ã¯æ°¸ç¶å屿§ã«å¯¾ãã¦getterã setterã¡ã½ãããå®ç¾©ãã¾ãããã¤ã³ã¿ã¼ãã§ã¤ã¹ãèå¥åããããã£ãå®ç¾©ããå¿
è¦ã ãªããã¨ã«æ³¨æãã¦ä¸ããã"
+#. Tag: para
+#: component_mapping.xml:25
+#, no-c-format
+msgid ""
+"Now <literal>Name</literal> may be persisted as a component of "
+"<literal>Person</literal>. Notice that <literal>Name</literal> defines "
+"getter and setter methods for its persistent properties, but doesn't need to "
+"declare any interfaces or identifier properties."
+msgstr ""
+"ãã¾ã<literal>Name</literal> 㯠<literal>Person</literal> ã®ã³ã³ãã¼ãã³ãã¨"
+"ã㦠永ç¶åãããã¨ãåºæ¥ã¾ããããã§ <literal>Name</literal> ã¯æ°¸ç¶å屿§ã«"
+"対ãã¦getterã setterã¡ã½ãããå®ç¾©ãã¾ãããã¤ã³ã¿ã¼ãã§ã¤ã¹ãèå¥åããã"
+"ãã£ãå®ç¾©ããå¿
è¦ã ãªããã¨ã«æ³¨æãã¦ä¸ããã"
-#: index.docbook:32
+#. Tag: para
+#: component_mapping.xml:32
+#, no-c-format
msgid "Our Hibernate mapping would look like:"
msgstr "ãããã³ã°å®ç¾©ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã"
-#: index.docbook:36
+#. Tag: programlisting
+#: component_mapping.xml:36
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Person\" table=\"person\">\n"
- " <id name=\"Key\" column=\"pid\" type=\"string\">\n"
- " <generator class=\"uuid\"/>\n"
- " </id>\n"
- " <property name=\"birthday\" type=\"date\"/>\n"
- " <component name=\"Name\" class=\"eg.Name\"> <!-- class attribute optional -->\n"
- " <property name=\"initial\"/>\n"
- " <property name=\"first\"/>\n"
- " <property name=\"last\"/>\n"
- " </component>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"eg.Person\" table=\"person\">\n"
+" <id name=\"Key\" column=\"pid\" type=\"string\">\n"
+" <generator class=\"uuid\"/>\n"
+" </id>\n"
+" <property name=\"birthday\" type=\"date\"/>\n"
+" <component name=\"Name\" class=\"eg.Name\"> <!-- class attribute "
+"optional -->\n"
+" <property name=\"initial\"/>\n"
+" <property name=\"first\"/>\n"
+" <property name=\"last\"/>\n"
+" </component>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Person\" table=\"person\">
-\n"
- " <id name=\"Key\" column=\"pid\" type=\"string\">
-\n"
- " <generator class=\"uuid\"/>
-\n"
- " </id>
-\n"
- " <property name=\"birthday\" type=\"date\"/>
-\n"
- " <component name=\"Name\" class=\"eg.Name\"> <!-- class attribute optional -->
-\n"
- " <property name=\"initial\"/>
-\n"
- " <property name=\"first\"/>
-\n"
- " <property name=\"last\"/>
-\n"
- " </component>
-\n"
- "</class>]]>"
-#: index.docbook:38
-msgid "The person table would have the columns <literal>pid</literal>, <literal>birthday</literal>, <literal>initial</literal>, <literal>first</literal> and <literal>last</literal>."
-msgstr "Personãã¼ãã«ã¯ <literal>pid</literal>ã <literal>birthday</literal>ã <literal>initial</literal>ã <literal>first</literal>ã <literal>last</literal> ã«ã©ã ãæã¡ã¾ãã"
+#. Tag: para
+#: component_mapping.xml:38
+#, no-c-format
+msgid ""
+"The person table would have the columns <literal>pid</literal>, "
+"<literal>birthday</literal>, <literal>initial</literal>, <literal>first</"
+"literal> and <literal>last</literal>."
+msgstr ""
+"Personãã¼ãã«ã¯ <literal>pid</literal>ã <literal>birthday</literal>ã "
+"<literal>initial</literal>ã <literal>first</literal>ã <literal>last</"
+"literal> ã«ã©ã ãæã¡ã¾ãã"
-#: index.docbook:46
-msgid "Like all value types, components do not support shared references. In other words, two persons could have the same name, but the two person objects would contain two independent name ojects, only \"the same\" by value. The null value semantics of a component are <emphasis>ad hoc</emphasis>. When reloading the containing object, Hibernate will assume that if all component columns are null, then the entire component is null. This should be okay for most purposes."
-msgstr "å
¨ã¦ã®å¤åã®ããã«ãã³ã³ãã¼ãã³ãã¯åç
§ã®å
±æããããã¨ãã§ãã¾ããã è¨ãæããã¨ãäºäººã®Personã¯åãååãæã¤ãã¨ãã§ãã¾ãããäºã¤ã®Personãªãã¸ã§ã¯ã㯠\"å¤ãåãã ã\"ã®å¥ã
ã®nameãªãã¸ã§ã¯ããå«ãã§ããã¨ãããã¨ã§ãã ã³ã³ãã¼ãã³ãã®nullå¤ã®ã»ãã³ãã£ã¯ã¹ã¯ <emphasis>ã¢ãããã¯</emphasis> ã§ãã ã³ã³ãã¼ãã³ãã®ãªãã¸ã§ã¯ããåèªã¿è¾¼ã¿ããéãHibernateã¯ã³ã³ãã¼ãã³ãã®ãã¹ã¦ã®ã«ã©ã ã nullã§ãããªãã³ã³ãã¼ãã³ãèªä½ãnullã§ããã¨èãã¾ãã ããã¯å¤§æµã®å ´ååé¡ããã¾ããã"
+#. Tag: para
+#: component_mapping.xml:46
+#, no-c-format
+msgid ""
+"Like all value types, components do not support shared references. In other "
+"words, two persons could have the same name, but the two person objects "
+"would contain two independent name ojects, only \"the same\" by value. The "
+"null value semantics of a component are <emphasis>ad hoc</emphasis>. When "
+"reloading the containing object, Hibernate will assume that if all component "
+"columns are null, then the entire component is null. This should be okay for "
+"most purposes."
+msgstr ""
+"å
¨ã¦ã®å¤åã®ããã«ãã³ã³ãã¼ãã³ãã¯åç
§ã®å
±æããããã¨ãã§ãã¾ããã è¨ãæ"
+"ããã¨ãäºäººã®Personã¯åãååãæã¤ãã¨ãã§ãã¾ãããäºã¤ã®Personãªãã¸ã§ã¯"
+"ã㯠\"å¤ãåãã ã\"ã®å¥ã
ã®nameãªãã¸ã§ã¯ããå«ãã§ããã¨ãããã¨ã§ãã ã³"
+"ã³ãã¼ãã³ãã®nullå¤ã®ã»ãã³ãã£ã¯ã¹ã¯ <emphasis>ã¢ãããã¯</emphasis> ã§"
+"ãã ã³ã³ãã¼ãã³ãã®ãªãã¸ã§ã¯ããåèªã¿è¾¼ã¿ããéãHibernateã¯ã³ã³ãã¼ãã³"
+"ãã®ãã¹ã¦ã®ã«ã©ã ã nullã§ãããªãã³ã³ãã¼ãã³ãèªä½ãnullã§ããã¨èãã¾"
+"ãã ããã¯å¤§æµã®å ´ååé¡ããã¾ããã"
-#: index.docbook:55
-msgid "The properties of a component may be of any Hibernate type (collections, many-to-one associations, other components, etc). Nested components should <emphasis>not</emphasis> be considered an exotic usage. Hibernate is intended to support a very fine-grained object model."
-msgstr "ã³ã³ãã¼ãã³ãã®å±æ§ã¯ã©ããªHibernateã®åã§ãæ§ãã¾ããï¼ã³ã¬ã¯ã·ã§ã³ãmany-to-oneé¢é£ã ä»ã®ã³ã³ãã¼ãã³ããªã©ï¼ããã¹ããããã³ã³ãã¼ãã³ãã¯æ»
å¤ã«ä½¿ããªãã¨èããã¹ãã§ã¯ <emphasis>ããã¾ãã</emphasis> ãHibernateã¯é常ã«ããã®ç´°ãããªãã¸ã§ã¯ãã¢ãã«ããµãã¼ãããããã«æå³ããã¦ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:55
+#, no-c-format
+msgid ""
+"The properties of a component may be of any Hibernate type (collections, "
+"many-to-one associations, other components, etc). Nested components should "
+"<emphasis>not</emphasis> be considered an exotic usage. Hibernate is "
+"intended to support a very fine-grained object model."
+msgstr ""
+"ã³ã³ãã¼ãã³ãã®å±æ§ã¯ã©ããªHibernateã®åã§ãæ§ãã¾ããï¼ã³ã¬ã¯ã·ã§ã³ãmany-"
+"to-oneé¢é£ã ä»ã®ã³ã³ãã¼ãã³ããªã©ï¼ããã¹ããããã³ã³ãã¼ãã³ãã¯æ»
å¤ã«ä½¿ã"
+"ãªãã¨èããã¹ãã§ã¯ <emphasis>ããã¾ãã</emphasis> ãHibernateã¯é常ã«ãã"
+"ã®ç´°ãããªãã¸ã§ã¯ãã¢ãã«ããµãã¼ãããããã«æå³ããã¦ãã¾ãã"
-#: index.docbook:62
-msgid "The <literal><component></literal> element allows a <literal><parent></literal> subelement that maps a property of the component class as a reference back to the containing entity."
-msgstr "<literal><component></literal> è¦ç´ ã¯è¦ªã¨ã³ãã£ãã£ã¸ã®éåç
§ã¨ãã¦ãã³ã³ãã¼ãã³ãã¯ã©ã¹ã® 屿§ããããã³ã°ãã <literal><parent></literal> ãµãè¦ç´ ã使ç¨ã§ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:62
+#, no-c-format
+msgid ""
+"The <literal><component></literal> element allows a <literal><"
+"parent></literal> subelement that maps a property of the component class "
+"as a reference back to the containing entity."
+msgstr ""
+"<literal><component></literal> è¦ç´ ã¯è¦ªã¨ã³ãã£ãã£ã¸ã®éåç
§ã¨ãã¦ãã³"
+"ã³ãã¼ãã³ãã¯ã©ã¹ã® 屿§ããããã³ã°ãã <literal><parent></literal> "
+"ãµãè¦ç´ ã使ç¨ã§ãã¾ãã"
-#: index.docbook:68
+#. Tag: programlisting
+#: component_mapping.xml:68
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Person\" table=\"person\">\n"
- " <id name=\"Key\" column=\"pid\" type=\"string\">\n"
- " <generator class=\"uuid\"/>\n"
- " </id>\n"
- " <property name=\"birthday\" type=\"date\"/>\n"
- " <component name=\"Name\" class=\"eg.Name\" unique=\"true\">\n"
- " <parent name=\"namedPerson\"/> <!-- reference back to the Person -->\n"
- " <property name=\"initial\"/>\n"
- " <property name=\"first\"/>\n"
- " <property name=\"last\"/>\n"
- " </component>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"eg.Person\" table=\"person\">\n"
+" <id name=\"Key\" column=\"pid\" type=\"string\">\n"
+" <generator class=\"uuid\"/>\n"
+" </id>\n"
+" <property name=\"birthday\" type=\"date\"/>\n"
+" <component name=\"Name\" class=\"eg.Name\" unique=\"true\">\n"
+" <parent name=\"namedPerson\"/> <!-- reference back to the Person --"
+">\n"
+" <property name=\"initial\"/>\n"
+" <property name=\"first\"/>\n"
+" <property name=\"last\"/>\n"
+" </component>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Person\" table=\"person\">
-\n"
- " <id name=\"Key\" column=\"pid\" type=\"string\">
-\n"
- " <generator class=\"uuid\"/>
-\n"
- " </id>
-\n"
- " <property name=\"birthday\" type=\"date\"/>
-\n"
- " <component name=\"Name\" class=\"eg.Name\" unique=\"true\">
-\n"
- " <parent name=\"namedPerson\"/> <!-- reference back to the Person -->
-\n"
- " <property name=\"initial\"/>
-\n"
- " <property name=\"first\"/>
-\n"
- " <property name=\"last\"/>
-\n"
- " </component>
-\n"
- "</class>]]>"
-#: index.docbook:73
+#. Tag: title
+#: component_mapping.xml:73
+#, no-c-format
msgid "Collections of dependent objects"
msgstr "å¾å±ãããªãã¸ã§ã¯ãã®ã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:75
-msgid "Collections of components are supported (eg. an array of type <literal>Name</literal>). Declare your component collection by replacing the <literal><element></literal> tag with a <literal><composite-element></literal> tag."
-msgstr "Hibernateã¯ã³ã³ãã¼ãã³ãã®ã³ã¬ã¯ã·ã§ã³ããµãã¼ããã¦ãã¾ãï¼ä¾ãã° <literal>Name</literal> åã®é
åï¼ã <literal><element></literal> ã¿ã°ã <literal><composite-element></literal> ã¿ã°ã«åãæ¿ãããã¨ã«ãã ã³ã³ãã¼ãã³ãã³ã¬ã¯ã·ã§ã³ã宣è¨ãã¦ãã ããã"
+#. Tag: para
+#: component_mapping.xml:75
+#, no-c-format
+msgid ""
+"Collections of components are supported (eg. an array of type <literal>Name</"
+"literal>). Declare your component collection by replacing the <literal><"
+"element></literal> tag with a <literal><composite-element></"
+"literal> tag."
+msgstr ""
+"Hibernateã¯ã³ã³ãã¼ãã³ãã®ã³ã¬ã¯ã·ã§ã³ããµãã¼ããã¦ãã¾ãï¼ä¾ãã° "
+"<literal>Name</literal> åã®é
åï¼ã <literal><element></literal> ã¿ã°"
+"ã <literal><composite-element></literal> ã¿ã°ã«åãæ¿ãããã¨ã«ãã ã³"
+"ã³ãã¼ãã³ãã³ã¬ã¯ã·ã§ã³ã宣è¨ãã¦ãã ããã"
-#: index.docbook:82
+#. Tag: programlisting
+#: component_mapping.xml:82
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"someNames\" table=\"some_names\" lazy=\"true\">\n"
- " <key column=\"id\"/>\n"
- " <composite-element class=\"eg.Name\"> <!-- class attribute required -->\n"
- " <property name=\"initial\"/>\n"
- " <property name=\"first\"/>\n"
- " <property name=\"last\"/>\n"
- " </composite-element>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"someNames\" table=\"some_names\" lazy=\"true\">\n"
+" <key column=\"id\"/>\n"
+" <composite-element class=\"eg.Name\"> <!-- class attribute required -->\n"
+" <property name=\"initial\"/>\n"
+" <property name=\"first\"/>\n"
+" <property name=\"last\"/>\n"
+" </composite-element>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"someNames\" table=\"some_names\" lazy=\"true\">
-\n"
- " <key column=\"id\"/>
-\n"
- " <composite-element class=\"eg.Name\"> <!-- class attribute required -->
-\n"
- " <property name=\"initial\"/>
-\n"
- " <property name=\"first\"/>
-\n"
- " <property name=\"last\"/>
-\n"
- " </composite-element>
-\n"
- "</set>]]>"
-#: index.docbook:84
-msgid "Note: if you define a <literal>Set</literal> of composite elements, it is very important to implement <literal>equals()</literal> and <literal>hashCode()</literal> correctly."
-msgstr "注æ: ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã® <literal>Set</literal> ãå®ç¾©ãããªãã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ãæ£ããå®è£
ãããã¨ãéè¦ã§ãã"
+#. Tag: para
+#: component_mapping.xml:84
+#, no-c-format
+msgid ""
+"Note: if you define a <literal>Set</literal> of composite elements, it is "
+"very important to implement <literal>equals()</literal> and <literal>hashCode"
+"()</literal> correctly."
+msgstr ""
+"注æ: ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã® <literal>Set</literal> ãå®ç¾©ãããªãã "
+"<literal>equals()</literal> 㨠<literal>hashCode()</literal> ãæ£ããå®è£
ãã"
+"ãã¨ãéè¦ã§ãã"
-#: index.docbook:90
-msgid "Composite elements may contain components but not collections. If your composite element itself contains components, use the <literal><nested-composite-element></literal> tag. This is a pretty exotic case - a collection of components which themselves have components. By this stage you should be asking yourself if a one-to-many association is more appropriate. Try remodelling the composite element as an entity - but note that even though the Java model is the same, the relational model and persistence semantics are still slightly different."
-msgstr "ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ã³ã¬ã¯ã·ã§ã³ãå«ã¾ããã³ã³ãã¼ãã³ããå«ããã¨ãããã¾ãã ã³ã³ãã¸ããã¨ã¬ã¡ã³ãèªèº«ãã³ã³ãã¼ãã³ããå«ãã§ããå ´å㯠<literal><nested-composite-element></literal> ã 使ç¨ãã¦ãã ãããã³ã³ãã¼ãã³ãã®ã³ã¬ã¯ã·ã§ã³èªèº«ãã³ã³ãã¼ãã³ããæã¤ã¨ããã±ã¼ã¹ã¯ãã£ãã«ããã¾ããã ãã®æ®µéã¾ã§ã«ãone-to-manyé¢é£ã®æ¹ãããé©åã§ãªããã¨çèãã¦ãã ããã ã³ã³ãã¸ããã¨ã¬ã¡ã³ããã¨ã³ãã£ãã£ã¨ãã¦å度ã¢ããªã³ã°ãã¦ã¿ã¦ãã ããã ãããããã¯Javaã®ã¢ãã«ã¨ãã¦ã¯åãã§ããããªã¬ã¼ã·ã§ãã«ã¢ãã«ã¨æ°¸ç¶åä½ã¯ã¾ã è¥å¹²ç°ãªããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: component_mapping.xml:90
+#, no-c-format
+msgid ""
+"Composite elements may contain components but not collections. If your "
+"composite element itself contains components, use the <literal><nested-"
+"composite-element></literal> tag. This is a pretty exotic case - a "
+"collection of components which themselves have components. By this stage you "
+"should be asking yourself if a one-to-many association is more appropriate. "
+"Try remodelling the composite element as an entity - but note that even "
+"though the Java model is the same, the relational model and persistence "
+"semantics are still slightly different."
+msgstr ""
+"ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ã³ã¬ã¯ã·ã§ã³ãå«ã¾ããã³ã³ãã¼ãã³ããå«ããã¨ããã"
+"ã¾ãã ã³ã³ãã¸ããã¨ã¬ã¡ã³ãèªèº«ãã³ã³ãã¼ãã³ããå«ãã§ããå ´å㯠"
+"<literal><nested-composite-element></literal> ã 使ç¨ãã¦ãã ãããã³ã³"
+"ãã¼ãã³ãã®ã³ã¬ã¯ã·ã§ã³èªèº«ãã³ã³ãã¼ãã³ããæã¤ã¨ããã±ã¼ã¹ã¯ãã£ãã«ãã"
+"ã¾ããã ãã®æ®µéã¾ã§ã«ãone-to-manyé¢é£ã®æ¹ãããé©åã§ãªããã¨çèãã¦ãã "
+"ããã ã³ã³ãã¸ããã¨ã¬ã¡ã³ããã¨ã³ãã£ãã£ã¨ãã¦å度ã¢ããªã³ã°ãã¦ã¿ã¦ãã ã"
+"ãã ãããããã¯Javaã®ã¢ãã«ã¨ãã¦ã¯åãã§ããããªã¬ã¼ã·ã§ãã«ã¢ãã«ã¨æ°¸ç¶å"
+"ä½ã¯ã¾ã è¥å¹²ç°ãªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:102
-msgid "Please note that a composite element mapping doesn't support null-able properties if you're using a <literal><set></literal>. Hibernate has to use each columns value to identify a record when deleting objects (there is no separate primary key column in the composite element table), which is not possible with null values. You have to either use only not-null properties in a composite-element or choose a <literal><list></literal>, <literal><map></literal>, <literal><bag></literal> or <literal><idbag></literal>."
-msgstr "ãã <literal><set></literal> ã使ç¨ããã®ã§ããã°ãã³ã³ãã¸ããã¨ã¬ã¡ã³ãã®ãããã³ã°ãnullå¤ãå¯è½ãª 屿§ããµãã¼ããã¦ããªããã¨ã«æ³¨æãã¦ãã ãããHibernateã¯ãªãã¸ã§ã¯ããåé¤ããã¨ãã ã¬ã³ã¼ããèå¥ããããã«ããããã®ã«ã©ã ã®å¤ã使ç¨ããå¿
è¦ããããããnullå¤ãæã¤ãã¨ãåºæ¥ã¾ãã ï¼ã³ã³ãã¸ããã¨ã¬ã¡ã³ããã¼ãã«ã«ã¯å¥ã®ä¸»ãã¼ã«ã©ã ã¯ããã¾ããï¼ã ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã«not-nullã®å±æ§ã®ã¿ã使ç¨ããããã¾ã㯠<literal><list></literal>ã<literal><map></literal>ã <literal><bag></literal>ã<literal><idbag></literal> ã鏿ããå¿
è¦ãããã¾ãã"
+#. Tag: para
+#: component_mapping.xml:102
+#, no-c-format
+msgid ""
+"Please note that a composite element mapping doesn't support null-able "
+"properties if you're using a <literal><set></literal>. Hibernate has "
+"to use each columns value to identify a record when deleting objects (there "
+"is no separate primary key column in the composite element table), which is "
+"not possible with null values. You have to either use only not-null "
+"properties in a composite-element or choose a <literal><list></"
+"literal>, <literal><map></literal>, <literal><bag></literal> or "
+"<literal><idbag></literal>."
+msgstr ""
+"ãã <literal><set></literal> ã使ç¨ããã®ã§ããã°ãã³ã³ãã¸ããã¨ã¬ã¡"
+"ã³ãã®ãããã³ã°ãnullå¤ãå¯è½ãª 屿§ããµãã¼ããã¦ããªããã¨ã«æ³¨æãã¦ãã ã"
+"ããHibernateã¯ãªãã¸ã§ã¯ããåé¤ããã¨ãã ã¬ã³ã¼ããèå¥ããããã«ãããã"
+"ã®ã«ã©ã ã®å¤ã使ç¨ããå¿
è¦ããããããnullå¤ãæã¤ãã¨ãåºæ¥ã¾ãã ï¼ã³ã³ã"
+"ã¸ããã¨ã¬ã¡ã³ããã¼ãã«ã«ã¯å¥ã®ä¸»ãã¼ã«ã©ã ã¯ããã¾ããï¼ã ã³ã³ãã¸ããã¨ã¬"
+"ã¡ã³ãã«not-nullã®å±æ§ã®ã¿ã使ç¨ããããã¾ã㯠<literal><list></"
+"literal>ã<literal><map></literal>ã <literal><bag></literal>ã"
+"<literal><idbag></literal> ã鏿ããå¿
è¦ãããã¾ãã"
-#: index.docbook:113
-msgid "A special case of a composite element is a composite element with a nested <literal><many-to-one></literal> element. A mapping like this allows you to map extra columns of a many-to-many association table to the composite element class. The following is a many-to-many association from <literal>Order</literal> to <literal>Item</literal> where <literal>purchaseDate</literal>, <literal>price</literal> and <literal>quantity</literal> are properties of the association:"
-msgstr "ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã®ç¹å¥ãªã±ã¼ã¹ã¨ãã¦ããã¹ãããã <literal><many-to-one></literal> 屿§ãæã¤ ã³ã³ãã¸ããã¨ã¬ã¡ã³ããããã¾ãã ãã®ãããã³ã°ã¯ãã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ã©ã¹ãå¤å¯¾å¤é¢é£ãã¼ãã«ã® ä½åãªã«ã©ã ã¸ãããã³ã°ãã¾ãã æ¬¡ã®ä¾ã¯ <literal>Order</literal> ããã<literal>Item</literal> ã¸ã®å¤å¯¾å¤é¢é£ã§ãã <literal>purchaseDate</literal>ã<literal>price</literal>ã<literal>quantity</literal> ã¯é¢é£ã®å±æ§ã¨ãªãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:113
+#, no-c-format
+msgid ""
+"A special case of a composite element is a composite element with a nested "
+"<literal><many-to-one></literal> element. A mapping like this allows "
+"you to map extra columns of a many-to-many association table to the "
+"composite element class. The following is a many-to-many association from "
+"<literal>Order</literal> to <literal>Item</literal> where "
+"<literal>purchaseDate</literal>, <literal>price</literal> and "
+"<literal>quantity</literal> are properties of the association:"
+msgstr ""
+"ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã®ç¹å¥ãªã±ã¼ã¹ã¨ãã¦ããã¹ãããã <literal><many-"
+"to-one></literal> 屿§ãæã¤ ã³ã³ãã¸ããã¨ã¬ã¡ã³ããããã¾ãã ãã®ããã"
+"ã³ã°ã¯ãã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ã©ã¹ãå¤å¯¾å¤é¢é£ãã¼ãã«ã® ä½åãªã«ã©ã ã¸ãã"
+"ãã³ã°ãã¾ãã æ¬¡ã®ä¾ã¯ <literal>Order</literal> ããã<literal>Item</"
+"literal> ã¸ã®å¤å¯¾å¤é¢é£ã§ãã <literal>purchaseDate</literal>ã"
+"<literal>price</literal>ã<literal>quantity</literal> ã¯é¢é£ã®å±æ§ã¨ãªãã¾"
+"ãã"
-#: index.docbook:123
+#. Tag: programlisting
+#: component_mapping.xml:123
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Order\" .... >\n"
- " ....\n"
- " <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">\n"
- " <key column=\"order_id\">\n"
- " <composite-element class=\"eg.Purchase\">\n"
- " <property name=\"purchaseDate\"/>\n"
- " <property name=\"price\"/>\n"
- " <property name=\"quantity\"/>\n"
- " <many-to-one name=\"item\" class=\"eg.Item\"/> <!-- class attribute is optional -->\n"
- " </composite-element>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"eg.Order\" .... >\n"
+" ....\n"
+" <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">\n"
+" <key column=\"order_id\">\n"
+" <composite-element class=\"eg.Purchase\">\n"
+" <property name=\"purchaseDate\"/>\n"
+" <property name=\"price\"/>\n"
+" <property name=\"quantity\"/>\n"
+" <many-to-one name=\"item\" class=\"eg.Item\"/> <!-- class "
+"attribute is optional -->\n"
+" </composite-element>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Order\" .... >
-\n"
- " ....
-\n"
- " <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">
-\n"
- " <key column=\"order_id\">
-\n"
- " <composite-element class=\"eg.Purchase\">
-\n"
- " <property name=\"purchaseDate\"/>
-\n"
- " <property name=\"price\"/>
-\n"
- " <property name=\"quantity\"/>
-\n"
- " <many-to-one name=\"item\" class=\"eg.Item\"/> <!-- class attribute is optional -->
-\n"
- " </composite-element>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:125
-msgid "Of course, there can't be a reference to the purchae on the other side, for bidirectional association navigation. Remember that components are value types and don't allow shared references. A single <literal>Purchase</literal> can be in the set of an <literal>Order</literal>, but it can't be referenced by the <literal>Item</literal> at the same time."
-msgstr "ãã¡ãããåæ¹åé¢é£ã®ããã²ã¼ã·ã§ã³ã®ããã«å対å´ããpurchaseã¸ã®åç
§ãä½ããã¨ã¯åºæ¥ã¾ããã ã³ã³ãã¼ãã³ãã¯å¤åã§ãããåç
§ãå
±æã§ããªããã¨ãè¦ãã¦ããã¦ãã ããã ä¸ã¤ã® <literal>Purchase</literal> ã¯ä¸ã¤ã® <literal>Order</literal> ã®setã«åå¨ã§ãã¾ããã åæã« <literal>Item</literal> ããåç
§ãããã¨ã¯åºæ¥ã¾ããã"
+#. Tag: para
+#: component_mapping.xml:125
+#, no-c-format
+msgid ""
+"Of course, there can't be a reference to the purchae on the other side, for "
+"bidirectional association navigation. Remember that components are value "
+"types and don't allow shared references. A single <literal>Purchase</"
+"literal> can be in the set of an <literal>Order</literal>, but it can't be "
+"referenced by the <literal>Item</literal> at the same time."
+msgstr ""
+"ãã¡ãããåæ¹åé¢é£ã®ããã²ã¼ã·ã§ã³ã®ããã«å対å´ããpurchaseã¸ã®åç
§ãä½ã"
+"ãã¨ã¯åºæ¥ã¾ããã ã³ã³ãã¼ãã³ãã¯å¤åã§ãããåç
§ãå
±æã§ããªããã¨ãè¦ãã¦"
+"ããã¦ãã ããã ä¸ã¤ã® <literal>Purchase</literal> ã¯ä¸ã¤ã® <literal>Order</"
+"literal> ã®setã«åå¨ã§ãã¾ããã åæã« <literal>Item</literal> ããåç
§ãã"
+"ãã¨ã¯åºæ¥ã¾ããã"
-#: index.docbook:133
+#. Tag: para
+#: component_mapping.xml:133
+#, no-c-format
msgid "Even ternary (or quaternary, etc) associations are possible:"
msgstr "3é
é¢é£ï¼ãããã¯4é
ãªã©ï¼ãå¯è½ã§ãã"
-#: index.docbook:135
+#. Tag: programlisting
+#: component_mapping.xml:135
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Order\" .... >\n"
- " ....\n"
- " <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">\n"
- " <key column=\"order_id\">\n"
- " <composite-element class=\"eg.OrderLine\">\n"
- " <many-to-one name=\"purchaseDetails class=\"eg.Purchase\"/>\n"
- " <many-to-one name=\"item\" class=\"eg.Item\"/>\n"
- " </composite-element>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"eg.Order\" .... >\n"
+" ....\n"
+" <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">\n"
+" <key column=\"order_id\">\n"
+" <composite-element class=\"eg.OrderLine\">\n"
+" <many-to-one name=\"purchaseDetails class=\"eg.Purchase\"/>\n"
+" <many-to-one name=\"item\" class=\"eg.Item\"/>\n"
+" </composite-element>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Order\" .... >
-\n"
- " ....
-\n"
- " <set name=\"purchasedItems\" table=\"purchase_items\" lazy=\"true\">
-\n"
- " <key column=\"order_id\">
-\n"
- " <composite-element class=\"eg.OrderLine\">
-\n"
- " <many-to-one name=\"purchaseDetails\" class=\"eg.Purchase\"/>
-\n"
- " <many-to-one name=\"item\" class=\"eg.Item\"/>
-\n"
- " </composite-element>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:137
-msgid "Composite elements may appear in queries using the same syntax as associations to other entities."
-msgstr "ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ä»ã®ã¨ã³ãã£ãã£ã¸ã®é¢é£ã¨ãã¦ã åãã·ã³ã¿ãã¯ã¹ã使ã£ã¦ããã¯ã¨ãªå
ã§ä½¿ç¨ã§ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:137
+#, no-c-format
+msgid ""
+"Composite elements may appear in queries using the same syntax as "
+"associations to other entities."
+msgstr ""
+"ã³ã³ãã¸ããã¨ã¬ã¡ã³ãã¯ä»ã®ã¨ã³ãã£ãã£ã¸ã®é¢é£ã¨ãã¦ã åãã·ã³ã¿ãã¯ã¹ã"
+"使ã£ã¦ããã¯ã¨ãªå
ã§ä½¿ç¨ã§ãã¾ãã"
-#: index.docbook:145
+#. Tag: title
+#: component_mapping.xml:145
+#, no-c-format
msgid "Components as Map indices"
msgstr "Mapã®ã¤ã³ããã¯ã¹ã¨ãã¦ã®ã³ã³ãã¼ãã³ã"
-#: index.docbook:147
-msgid "The <literal><composite-map-key></literal> element lets you map a component class as the key of a <literal>Map</literal>. Make sure you override <literal>hashCode()</literal> and <literal>equals()</literal> correctly on the component class."
-msgstr "<literal><composite-map-key></literal> è¦ç´ 㯠<literal>Map</literal> ã®ãã¼ã¨ãã¦ã³ã³ãã¼ãã³ãã¯ã©ã¹ã ãããã³ã°ãã¾ããã³ã³ãã¼ãã³ãã¯ã©ã¹ä¸ã§ <literal>hashCode()</literal> 㨠<literal>equals()</literal> ãæ£ç¢ºã«ãªã¼ãã¼ã©ã¤ããã¦ãã ããã"
+#. Tag: para
+#: component_mapping.xml:147
+#, no-c-format
+msgid ""
+"The <literal><composite-map-key></literal> element lets you map a "
+"component class as the key of a <literal>Map</literal>. Make sure you "
+"override <literal>hashCode()</literal> and <literal>equals()</literal> "
+"correctly on the component class."
+msgstr ""
+"<literal><composite-map-key></literal> è¦ç´ 㯠<literal>Map</literal> ã®"
+"ãã¼ã¨ãã¦ã³ã³ãã¼ãã³ãã¯ã©ã¹ã ãããã³ã°ãã¾ããã³ã³ãã¼ãã³ãã¯ã©ã¹ä¸ã§ "
+"<literal>hashCode()</literal> 㨠<literal>equals()</literal> ãæ£ç¢ºã«ãªã¼ãã¼"
+"ã©ã¤ããã¦ãã ããã"
-#: index.docbook:156
+#. Tag: title
+#: component_mapping.xml:156
+#, no-c-format
msgid "Components as composite identifiers"
msgstr "è¤åèå¥åã¨ãã¦ã®ã³ã³ãã¼ãã³ã"
-#: index.docbook:158
-msgid "You may use a component as an identifier of an entity class. Your component class must satisfy certain requirements:"
-msgstr "ã³ã³ãã¼ãã³ããã¨ã³ãã£ãã£ã¯ã©ã¹ã®èå¥åã¨ãã¦ä½¿ããã¨ãã§ãã¾ãã ã³ã³ãã¼ãã³ãã¯ã©ã¹ã¯ä»¥ä¸ã®æ¡ä»¶ãæºããå¿
è¦ãããã¾ãã"
+#. Tag: para
+#: component_mapping.xml:158
+#, no-c-format
+msgid ""
+"You may use a component as an identifier of an entity class. Your component "
+"class must satisfy certain requirements:"
+msgstr ""
+"ã³ã³ãã¼ãã³ããã¨ã³ãã£ãã£ã¯ã©ã¹ã®èå¥åã¨ãã¦ä½¿ããã¨ãã§ãã¾ãã ã³ã³ãã¼"
+"ãã³ãã¯ã©ã¹ã¯ä»¥ä¸ã®æ¡ä»¶ãæºããå¿
è¦ãããã¾ãã"
-#: index.docbook:165
+#. Tag: para
+#: component_mapping.xml:165
+#, no-c-format
msgid "It must implement <literal>java.io.Serializable</literal>."
msgstr "<literal>java.io.Serializable</literal> ãå®è£
ããªããã°ãªãã¾ããã"
-#: index.docbook:170
-msgid "It must re-implement <literal>equals()</literal> and <literal>hashCode()</literal>, consistently with the database's notion of composite key equality."
-msgstr "ãã¼ã¿ãã¼ã¹ä¸ã®è¤åãã¼ã®ç価æ§ã¨çç¾ã®ãªãããã«ã<literal>equals()</literal> 㨠<literal>hashCode()</literal> ãåå®è£
ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: component_mapping.xml:170
+#, no-c-format
+msgid ""
+"It must re-implement <literal>equals()</literal> and <literal>hashCode()</"
+"literal>, consistently with the database's notion of composite key equality."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ä¸ã®è¤åãã¼ã®ç価æ§ã¨çç¾ã®ãªãããã«ã<literal>equals()</"
+"literal> 㨠<literal>hashCode()</literal> ãåå®è£
ããªããã°ãªãã¾ããã"
-#: index.docbook:179
-msgid "Note: in Hibernate3, the second requirement is not an absolutely hard requirement of Hibernate. But do it anyway."
-msgstr "注æ: Hibernate3ã«ããã¦ã2çªç®ã®æ¡ä»¶ã¯çµ¶å¯¾çãªæ¡ä»¶ã§ã¯ããã¾ããã ãããã¨ã«ããæ¡ä»¶ãæºããã¦ãã ããã"
+#. Tag: emphasis
+#: component_mapping.xml:179
+#, no-c-format
+msgid ""
+"Note: in Hibernate3, the second requirement is not an absolutely hard "
+"requirement of Hibernate. But do it anyway."
+msgstr ""
+"注æ: Hibernate3ã«ããã¦ã2çªç®ã®æ¡ä»¶ã¯çµ¶å¯¾çãªæ¡ä»¶ã§ã¯ããã¾ããã ãããã¨"
+"ã«ããæ¡ä»¶ãæºããã¦ãã ããã"
-#: index.docbook:183
-msgid "You can't use an <literal>IdentifierGenerator</literal> to generate composite keys. Instead the application must assign its own identifiers."
-msgstr "è¤åãã¼ãçæããããã« <literal>IdentifierGenerator</literal> ã使ç¨ãããã¨ã¯ã§ãã¾ããã 代ããã«ã¢ããªã±ã¼ã·ã§ã³ãèå¥åãå²ãå½ã¦ãªãã¦ã¯ãªãã¾ããã"
+#. Tag: para
+#: component_mapping.xml:183
+#, no-c-format
+msgid ""
+"You can't use an <literal>IdentifierGenerator</literal> to generate "
+"composite keys. Instead the application must assign its own identifiers."
+msgstr ""
+"è¤åãã¼ãçæããããã« <literal>IdentifierGenerator</literal> ã使ç¨ããã"
+"ã¨ã¯ã§ãã¾ããã 代ããã«ã¢ããªã±ã¼ã·ã§ã³ãèå¥åãå²ãå½ã¦ãªãã¦ã¯ãªãã¾ã"
+"ãã"
-#: index.docbook:188
-msgid "Use the <literal><composite-id></literal> tag (with nested <literal><key-property></literal> elements) in place of the usual <literal><id></literal> declaration. For example, the <literal>OrderLine</literal> class has a primary key that depends upon the (composite) primary key of <literal>Order</literal>."
-msgstr "é常㮠<literal><id></literal> 宣è¨ã®ä»£ããã« <literal><composite-id></literal> ã¿ã°ã ï¼ãã¹ãããã <literal><key-property></literal> 屿§ã¨å
±ã«ï¼ä½¿ãã¾ãã 以ä¸ã®ä¾ã§ã¯ã<literal>OrderLine</literal> ã¯ã©ã¹ã¯ <literal>Order</literal> ã®ï¼è¤åï¼ä¸»ãã¼ã« ä¾åãã主ãã¼ãæã£ã¦ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:188
+#, no-c-format
+msgid ""
+"Use the <literal><composite-id></literal> tag (with nested "
+"<literal><key-property></literal> elements) in place of the usual "
+"<literal><id></literal> declaration. For example, the "
+"<literal>OrderLine</literal> class has a primary key that depends upon the "
+"(composite) primary key of <literal>Order</literal>."
+msgstr ""
+"é常㮠<literal><id></literal> 宣è¨ã®ä»£ããã« <literal><composite-"
+"id></literal> ã¿ã°ã ï¼ãã¹ãããã <literal><key-property></"
+"literal> 屿§ã¨å
±ã«ï¼ä½¿ãã¾ãã 以ä¸ã®ä¾ã§ã¯ã<literal>OrderLine</literal> ã¯"
+"ã©ã¹ã¯ <literal>Order</literal> ã®ï¼è¤åï¼ä¸»ãã¼ã« ä¾åãã主ãã¼ãæã£ã¦ãã¾"
+"ãã"
-#: index.docbook:196
+#. Tag: programlisting
+#: component_mapping.xml:196
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"OrderLine\">\n"
- " \n"
- " <composite-id name=\"id\" class=\"OrderLineId\">\n"
- " <key-property name=\"lineId\"/>\n"
- " <key-property name=\"orderId\"/>\n"
- " <key-property name=\"customerId\"/>\n"
- " </composite-id>\n"
- " \n"
- " <property name=\"name\"/>\n"
- " \n"
- " <many-to-one name=\"order\" class=\"Order\"\n"
- " insert=\"false\" update=\"false\">\n"
- " <column name=\"orderId\"/>\n"
- " <column name=\"customerId\"/>\n"
- " </many-to-one>\n"
- " ....\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"OrderLine\">\n"
+" \n"
+" <composite-id name=\"id\" class=\"OrderLineId\">\n"
+" <key-property name=\"lineId\"/>\n"
+" <key-property name=\"orderId\"/>\n"
+" <key-property name=\"customerId\"/>\n"
+" </composite-id>\n"
+" \n"
+" <property name=\"name\"/>\n"
+" \n"
+" <many-to-one name=\"order\" class=\"Order\"\n"
+" insert=\"false\" update=\"false\">\n"
+" <column name=\"orderId\"/>\n"
+" <column name=\"customerId\"/>\n"
+" </many-to-one>\n"
+" ....\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"OrderLine\">
-\n"
- "
-\n"
- " <composite-id name=\"id\" class=\"OrderLineId\">
-\n"
- " <key-property name=\"lineId\"/>
-\n"
- " <key-property name=\"orderId\"/>
-\n"
- " <key-property name=\"customerId\"/>
-\n"
- " </composite-id>
-\n"
- "
-\n"
- " <property name=\"name\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"order\" class=\"Order\"
-\n"
- " insert=\"false\" update=\"false\">
-\n"
- " <column name=\"orderId\"/>
-\n"
- " <column name=\"customerId\"/>
-\n"
- " </many-to-one>
-\n"
- " ....
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:198
-msgid "Now, any foreign keys referencing the <literal>OrderLine</literal> table are also composite. You must declare this in your mappings for other classes. An association to <literal>OrderLine</literal> would be mapped like this:"
-msgstr "ãã®ã¨ãã<literal>OrderLine</literal> ãã¼ãã«ã¸é¢é£ããå¤é¨ãã¼ãã¾ãè¤åã§ãã ä»ã®ã¯ã©ã¹ã®ãããã³ã°ã§ããã宣è¨ããªããã°ãªãã¾ããã <literal>OrderLine</literal> ã¸ã®é¢é£ã¯æ¬¡ã®ããã«ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: component_mapping.xml:198
+#, no-c-format
+msgid ""
+"Now, any foreign keys referencing the <literal>OrderLine</literal> table are "
+"also composite. You must declare this in your mappings for other classes. An "
+"association to <literal>OrderLine</literal> would be mapped like this:"
+msgstr ""
+"ãã®ã¨ãã<literal>OrderLine</literal> ãã¼ãã«ã¸é¢é£ããå¤é¨ãã¼ãã¾ãè¤åã§"
+"ãã ä»ã®ã¯ã©ã¹ã®ãããã³ã°ã§ããã宣è¨ããªããã°ãªãã¾ããã "
+"<literal>OrderLine</literal> ã¸ã®é¢é£ã¯æ¬¡ã®ããã«ãããã³ã°ããã¾ãã"
-#: index.docbook:204
+#. Tag: programlisting
+#: component_mapping.xml:204
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one name=\"orderLine\" class=\"OrderLine\">\n"
- "<!-- the \"class\" attribute is optional, as usual -->\n"
- " <column name=\"lineId\"/>\n"
- " <column name=\"orderId\"/>\n"
- " <column name=\"customerId\"/>\n"
- "</many-to-one>]]>"
+"<![CDATA[<many-to-one name=\"orderLine\" class=\"OrderLine\">\n"
+"<!-- the \"class\" attribute is optional, as usual -->\n"
+" <column name=\"lineId\"/>\n"
+" <column name=\"orderId\"/>\n"
+" <column name=\"customerId\"/>\n"
+"</many-to-one>]]>"
msgstr ""
- "<![CDATA[<many-to-one name=\"orderLine\" class=\"OrderLine\">
-\n"
- "<!-- the \"class\" attribute is optional, as usual -->
-\n"
- " <column name=\"lineId\"/>
-\n"
- " <column name=\"orderId\"/>
-\n"
- " <column name=\"customerId\"/>
-\n"
- "</many-to-one>]]>"
-#: index.docbook:206
-msgid "(Note that the <literal><column></literal> tag is an alternative to the <literal>column</literal> attribute everywhere.)"
-msgstr "ï¼<literal><column></literal> ã¿ã°ã¯ã©ãã§ãã£ã¦ã <literal>column</literal> 屿§ã® 代ããã«ãªãã¾ããï¼"
+#. Tag: para
+#: component_mapping.xml:206
+#, no-c-format
+msgid ""
+"(Note that the <literal><column></literal> tag is an alternative to "
+"the <literal>column</literal> attribute everywhere.)"
+msgstr ""
+"ï¼<literal><column></literal> ã¿ã°ã¯ã©ãã§ãã£ã¦ã <literal>column</"
+"literal> 屿§ã® 代ããã«ãªãã¾ããï¼"
-#: index.docbook:211
-msgid "A <literal>many-to-many</literal> association to <literal>OrderLine</literal> also uses the composite foreign key:"
-msgstr "<literal>OrderLine</literal> ã¸ã® <literal>many-to-many</literal> é¢é£ã è¤åå¤é¨ãã¼ã使ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:211
+#, no-c-format
+msgid ""
+"A <literal>many-to-many</literal> association to <literal>OrderLine</"
+"literal> also uses the composite foreign key:"
+msgstr ""
+"<literal>OrderLine</literal> ã¸ã® <literal>many-to-many</literal> é¢é£ã è¤å"
+"å¤é¨ãã¼ã使ãã¾ãã"
-#: index.docbook:216
+#. Tag: programlisting
+#: component_mapping.xml:216
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"undeliveredOrderLines\">\n"
- " <key column name=\"warehouseId\"/>\n"
- " <many-to-many class=\"OrderLine\">\n"
- " <column name=\"lineId\"/>\n"
- " <column name=\"orderId\"/>\n"
- " <column name=\"customerId\"/>\n"
- " </many-to-many>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"undeliveredOrderLines\">\n"
+" <key column name=\"warehouseId\"/>\n"
+" <many-to-many class=\"OrderLine\">\n"
+" <column name=\"lineId\"/>\n"
+" <column name=\"orderId\"/>\n"
+" <column name=\"customerId\"/>\n"
+" </many-to-many>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"undeliveredOrderLines\">
-\n"
- " <key column name=\"warehouseId\"/>
-\n"
- " <many-to-many class=\"OrderLine\">
-\n"
- " <column name=\"lineId\"/>
-\n"
- " <column name=\"orderId\"/>
-\n"
- " <column name=\"customerId\"/>
-\n"
- " </many-to-many>
-\n"
- "</set>]]>"
-#: index.docbook:218
-msgid "The collection of <literal>OrderLine</literal>s in <literal>Order</literal> would use:"
-msgstr "<literal>Order</literal> ã«ãã <literal>OrderLine</literal> ã®ã³ã¬ã¯ã·ã§ã³ã¯ 次ã®ãã®ã使ç¨ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:218
+#, no-c-format
+msgid ""
+"The collection of <literal>OrderLine</literal>s in <literal>Order</literal> "
+"would use:"
+msgstr ""
+"<literal>Order</literal> ã«ãã <literal>OrderLine</literal> ã®ã³ã¬ã¯ã·ã§ã³"
+"㯠次ã®ãã®ã使ç¨ãã¾ãã"
-#: index.docbook:223
+#. Tag: programlisting
+#: component_mapping.xml:223
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"orderLines\" inverse=\"true\">\n"
- " <key>\n"
- " <column name=\"orderId\"/>\n"
- " <column name=\"customerId\"/>\n"
- " </key>\n"
- " <one-to-many class=\"OrderLine\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"orderLines\" inverse=\"true\">\n"
+" <key>\n"
+" <column name=\"orderId\"/>\n"
+" <column name=\"customerId\"/>\n"
+" </key>\n"
+" <one-to-many class=\"OrderLine\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"orderLines\" inverse=\"true\">
-\n"
- " <key>
-\n"
- " <column name=\"orderId\"/>
-\n"
- " <column name=\"customerId\"/>
-\n"
- " </key>
-\n"
- " <one-to-many class=\"OrderLine\"/>
-\n"
- "</set>]]>"
-#: index.docbook:225
-msgid "(The <literal><one-to-many></literal> element, as usual, declares no columns.)"
-msgstr "ï¼<literal><one-to-many></literal> 屿§ã¯ãä¾ã«ãã£ã¦ã«ã©ã ã宣è¨ãã¾ããï¼"
+#. Tag: para
+#: component_mapping.xml:225
+#, no-c-format
+msgid ""
+"(The <literal><one-to-many></literal> element, as usual, declares no "
+"columns.)"
+msgstr ""
+"ï¼<literal><one-to-many></literal> 屿§ã¯ãä¾ã«ãã£ã¦ã«ã©ã ã宣è¨ãã¾ã"
+"ãï¼"
-#: index.docbook:229
-msgid "If <literal>OrderLine</literal> itself owns a collection, it also has a composite foreign key."
-msgstr "<literal>OrderLine</literal> èªèº«ãã³ã¬ã¯ã·ã§ã³ãæã£ã¦ããå ´åã åæã«è¤åå¤é¨ãã¼ãæã£ã¦ãã¾ãã"
+#. Tag: para
+#: component_mapping.xml:229
+#, no-c-format
+msgid ""
+"If <literal>OrderLine</literal> itself owns a collection, it also has a "
+"composite foreign key."
+msgstr ""
+"<literal>OrderLine</literal> èªèº«ãã³ã¬ã¯ã·ã§ã³ãæã£ã¦ããå ´åã åæã«è¤å"
+"å¤é¨ãã¼ãæã£ã¦ãã¾ãã"
-#: index.docbook:234
+#. Tag: programlisting
+#: component_mapping.xml:234
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"OrderLine\">\n"
- " ....\n"
- " ....\n"
- " <list name=\"deliveryAttempts\">\n"
- " <key> <!-- a collection inherits the composite key type -->\n"
- " <column name=\"lineId\"/>\n"
- " <column name=\"orderId\"/>\n"
- " <column name=\"customerId\"/>\n"
- " </key>\n"
- " <list-index column=\"attemptId\" base=\"1\"/>\n"
- " <composite-element class=\"DeliveryAttempt\">\n"
- " ...\n"
- " </composite-element>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"OrderLine\">\n"
+" ....\n"
+" ....\n"
+" <list name=\"deliveryAttempts\">\n"
+" <key> <!-- a collection inherits the composite key type -->\n"
+" <column name=\"lineId\"/>\n"
+" <column name=\"orderId\"/>\n"
+" <column name=\"customerId\"/>\n"
+" </key>\n"
+" <list-index column=\"attemptId\" base=\"1\"/>\n"
+" <composite-element class=\"DeliveryAttempt\">\n"
+" ...\n"
+" </composite-element>\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"OrderLine\">
-\n"
- " ....
-\n"
- " ....
-\n"
- " <list name=\"deliveryAttempts\">
-\n"
- " <key> <!-- a collection inherits the composite key type -->
-\n"
- " <column name=\"lineId\"/>
-\n"
- " <column name=\"orderId\"/>
-\n"
- " <column name=\"customerId\"/>
-\n"
- " </key>
-\n"
- " <list-index column=\"attemptId\" base=\"1\"/>
-\n"
- " <composite-element class=\"DeliveryAttempt\">
-\n"
- " ...
-\n"
- " </composite-element>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:239
+#. Tag: title
+#: component_mapping.xml:239
+#, no-c-format
msgid "Dynamic components"
msgstr "åçã³ã³ãã¼ãã³ã"
-#: index.docbook:241
+#. Tag: para
+#: component_mapping.xml:241
+#, no-c-format
msgid "You may even map a property of type <literal>Map</literal>:"
msgstr "<literal>Map</literal> åã®ããããã£ã®ãããã³ã°ãå¯è½ã§ãã"
-#: index.docbook:245
+#. Tag: programlisting
+#: component_mapping.xml:245
+#, no-c-format
msgid ""
- "<![CDATA[<dynamic-component name=\"userAttributes\">\n"
- " <property name=\"foo\" column=\"FOO\" type=\"string\"/>\n"
- " <property name=\"bar\" column=\"BAR\" type=\"integer\"/>\n"
- " <many-to-one name=\"baz\" class=\"Baz\" column=\"BAZ_ID\"/>\n"
- "</dynamic-component>]]>"
+"<![CDATA[<dynamic-component name=\"userAttributes\">\n"
+" <property name=\"foo\" column=\"FOO\" type=\"string\"/>\n"
+" <property name=\"bar\" column=\"BAR\" type=\"integer\"/>\n"
+" <many-to-one name=\"baz\" class=\"Baz\" column=\"BAZ_ID\"/>\n"
+"</dynamic-component>]]>"
msgstr ""
- "<![CDATA[<dynamic-component name=\"userAttributes\">
-\n"
- " <property name=\"foo\" column=\"FOO\" type=\"string\"/>
-\n"
- " <property name=\"bar\" column=\"BAR\" type=\"integer\"/>
-\n"
- " <many-to-one name=\"baz\" class=\"Baz\" column=\"BAZ_ID\"/>
-\n"
- "</dynamic-component>]]>"
-#: index.docbook:247
-msgid "The semantics of a <literal><dynamic-component></literal> mapping are identical to <literal><component></literal>. The advantage of this kind of mapping is the ability to determine the actual properties of the bean at deployment time, just by editing the mapping document. Runtime manipulation of the mapping document is also possible, using a DOM parser. Even better, you can access (and change) Hibernate's configuration-time metamodel via the <literal>Configuration</literal> object."
-msgstr "<literal><dynamic-component></literal> ãããã³ã°ã®ã»ãã³ãã£ã¯ã¹ã¯ <literal><component></literal> ã¨åä¸ã®ãã®ã§ãããã®ç¨®ã®ãããã³ã°ã®å©ç¹ã¯ããããã³ã°ããã¥ã¡ã³ãã®ç·¨éã«ãããé
ç½®æã«beanã®å±æ§ã 決å®ã§ããç¹ã§ããã¾ããDOMãã¼ãµãå©ç¨ãã¦ããããã³ã°ããã¥ã¡ã³ãã®ã©ã³ã¿ã¤ã æä½ãå¯è½ã§ãã ããã«ã<literal>Configuration</literal> ãªãã¸ã§ã¯ãçµç±ã§Hibernateã®ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³æã®ã¡ã¿ã¢ãã«ã« ã¢ã¯ã»ã¹ï¼ã¾ãã¯å¤æ´ï¼ãå¯è½ã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: component_mapping.xml:247
+#, no-c-format
+msgid ""
+"The semantics of a <literal><dynamic-component></literal> mapping are "
+"identical to <literal><component></literal>. The advantage of this "
+"kind of mapping is the ability to determine the actual properties of the "
+"bean at deployment time, just by editing the mapping document. Runtime "
+"manipulation of the mapping document is also possible, using a DOM parser. "
+"Even better, you can access (and change) Hibernate's configuration-time "
+"metamodel via the <literal>Configuration</literal> object."
+msgstr ""
+"<literal><dynamic-component></literal> ãããã³ã°ã®ã»ãã³ãã£ã¯ã¹ã¯ "
+"<literal><component></literal> ã¨åä¸ã®ãã®ã§ãããã®ç¨®ã®ãããã³ã°ã®å©"
+"ç¹ã¯ããããã³ã°ããã¥ã¡ã³ãã®ç·¨éã«ãããé
ç½®æã«beanã®å±æ§ã 決å®ã§ããç¹ã§"
+"ããã¾ããDOMãã¼ãµãå©ç¨ãã¦ããããã³ã°ããã¥ã¡ã³ãã®ã©ã³ã¿ã¤ã æä½ãå¯è½ã§"
+"ãã ããã«ã<literal>Configuration</literal> ãªãã¸ã§ã¯ãçµç±ã§Hibernateã®ã³"
+"ã³ãã£ã°ã¬ã¼ã·ã§ã³æã®ã¡ã¿ã¢ãã«ã« ã¢ã¯ã»ã¹ï¼ã¾ãã¯å¤æ´ï¼ãå¯è½ã§ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/configuration.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/configuration.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/configuration.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1599 +1,3233 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: configuration.xml:5
+#, no-c-format
msgid "Configuration"
-msgstr "<title>è¨å®</title>"
+msgstr "è¨å®"
-#: index.docbook:7
-msgid "Because Hibernate is designed to operate in many different environments, there are a large number of configuration parameters. Fortunately, most have sensible default values and Hibernate is distributed with an example <literal>hibernate.properties</literal> file in <literal>etc/</literal> that shows the various options. Just put the example file in your classpath and customize it."
-msgstr "Hibernateã¯ãã¾ãã¾ãªç°å¢ã§åä½ããããã«ãã¶ã¤ã³ããã¦ãããããé常ã«å¤ãã®è¨å®è¦ç´ ãããã¾ãã 幸ããªãã¨ã«ãHibernateã¯ãå
¬éããã¦ããããã±ã¼ã¸ã® <literal>etc/</literal> ãã©ã«ãã® <literal>hibernate.properties</literal> ã«ãã»ã¨ãã©ã®è¨å®è¦ç´ ã®é©åãªããã©ã«ãå¤ãè¨è¿°ããã¦ãã¾ãã ãã® <literal>hibernate.properties</literal> ãã¯ã©ã¹ãã¹ã«è¨å®ããè¨å®è¦ç´ ãã«ã¹ã¿ãã¤ãºããã ãã§ãã"
+#. Tag: para
+#: configuration.xml:7
+#, no-c-format
+msgid ""
+"Because Hibernate is designed to operate in many different environments, "
+"there are a large number of configuration parameters. Fortunately, most have "
+"sensible default values and Hibernate is distributed with an example "
+"<literal>hibernate.properties</literal> file in <literal>etc/</literal> that "
+"shows the various options. Just put the example file in your classpath and "
+"customize it."
+msgstr ""
+"Hibernateã¯ãã¾ãã¾ãªç°å¢ã§åä½ããããã«ãã¶ã¤ã³ããã¦ãããããé常ã«å¤ãã®"
+"è¨å®è¦ç´ ãããã¾ãã 幸ããªãã¨ã«ãHibernateã¯ãå
¬éããã¦ããããã±ã¼ã¸ã® "
+"<literal>etc/</literal> ãã©ã«ãã® <literal>hibernate.properties</literal> "
+"ã«ãã»ã¨ãã©ã®è¨å®è¦ç´ ã®é©åãªããã©ã«ãå¤ãè¨è¿°ããã¦ãã¾ãã ãã® "
+"<literal>hibernate.properties</literal> ãã¯ã©ã¹ãã¹ã«è¨å®ããè¨å®è¦ç´ ãã«ã¹"
+"ã¿ãã¤ãºããã ãã§ãã"
-#: index.docbook:16
+#. Tag: title
+#: configuration.xml:16
+#, no-c-format
msgid "Programmatic configuration"
msgstr "ããã°ã©ã ä¸ã®è¨å®"
-#: index.docbook:18
-msgid "An instance of <literal>org.hibernate.cfg.Configuration</literal> represents an entire set of mappings of an application's Java types to an SQL database. The <literal>Configuration</literal> is used to build an (immutable) <literal>SessionFactory</literal>. The mappings are compiled from various XML mapping files."
-msgstr "<literal>org.hibernate.cfg.Configuration</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã Javaã®åã¨SQLãã¼ã¿ãã¼ã¹ã®ãããã³ã°æ
å ±ããã¹ã¦æã£ã¦ãã¾ãã The <literal>Configuration</literal> ã¯ãï¼ä¸å¤ã®ï¼ <literal>SessionFactory</literal> ãçæããã¨ãã«ä½¿ç¨ãã¾ãã è¤æ°ã®XMLãããã³ã°ãã¡ã¤ã«ã夿ãããããã³ã°æ
å ±ã«ãã¾ãã"
+#. Tag: para
+#: configuration.xml:18
+#, no-c-format
+msgid ""
+"An instance of <literal>org.hibernate.cfg.Configuration</literal> represents "
+"an entire set of mappings of an application's Java types to an SQL database. "
+"The <literal>Configuration</literal> is used to build an (immutable) "
+"<literal>SessionFactory</literal>. The mappings are compiled from various "
+"XML mapping files."
+msgstr ""
+"<literal>org.hibernate.cfg.Configuration</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã Javaã®"
+"åã¨SQLãã¼ã¿ãã¼ã¹ã®ãããã³ã°æ
å ±ããã¹ã¦æã£ã¦ãã¾ãã The "
+"<literal>Configuration</literal> ã¯ãï¼ä¸å¤ã®ï¼ <literal>SessionFactory</"
+"literal> ãçæããã¨ãã«ä½¿ç¨ãã¾ãã è¤æ°ã®XMLãããã³ã°ãã¡ã¤ã«ã夿ãã"
+"ãããã³ã°æ
å ±ã«ãã¾ãã"
-#: index.docbook:26
-msgid "You may obtain a <literal>Configuration</literal> instance by instantiating it directly and specifying XML mapping documents. If the mapping files are in the classpath, use <literal>addResource()</literal>:"
-msgstr "é常ã<literal>Configuration</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯ãç¹å®ã®XMLãããã³ã°ãã¡ã¤ã« ã«ãã£ã¦ç´æ¥åæåããã¾ããããããããã³ã°ãã¡ã¤ã«ãã¯ã©ã¹ãã¹ã«è¨å®ããã¦ããå ´åã æ¬¡ã®ã¡ã½ããã使ã£ã¦ãã ããã <literal>addResource()</literal> :"
+#. Tag: para
+#: configuration.xml:26
+#, no-c-format
+msgid ""
+"You may obtain a <literal>Configuration</literal> instance by instantiating "
+"it directly and specifying XML mapping documents. If the mapping files are "
+"in the classpath, use <literal>addResource()</literal>:"
+msgstr ""
+"é常ã<literal>Configuration</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯ãç¹å®ã®XMLãããã³ã°"
+"ãã¡ã¤ã« ã«ãã£ã¦ç´æ¥åæåããã¾ããããããããã³ã°ãã¡ã¤ã«ãã¯ã©ã¹ãã¹ã«è¨"
+"å®ããã¦ããå ´åã æ¬¡ã®ã¡ã½ããã使ã£ã¦ãã ããã <literal>addResource()</"
+"literal> :"
-#: index.docbook:32
+#. Tag: programlisting
+#: configuration.xml:32
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = new Configuration()\n"
- " .addResource(\"Item.hbm.xml\")\n"
- " .addResource(\"Bid.hbm.xml\");]]>"
+"<![CDATA[Configuration cfg = new Configuration()\n"
+" .addResource(\"Item.hbm.xml\")\n"
+" .addResource(\"Bid.hbm.xml\");]]>"
msgstr ""
- "<![CDATA[Configuration cfg = new Configuration()\n"
- " .addResource(\"Item.hbm.xml\")\n"
- " .addResource(\"Bid.hbm.xml\");]]>"
-#: index.docbook:34
-msgid "An alternative (sometimes better) way is to specify the mapped class, and let Hibernate find the mapping document for you:"
-msgstr "ä»£æ¿æ¡(ãã¡ãã®ã»ããè¯ãã¨ããããã¾ã)ã¨ãã¦ãããã³ã°ã¯ã©ã¹ãæå®ããæ¹æ³ãããã¾ããHibernateã«ããããã³ã°ãã¡ã¤ã«ã è¦ã¤ãããã¦ãã ããï¼"
+#. Tag: para
+#: configuration.xml:34
+#, no-c-format
+msgid ""
+"An alternative (sometimes better) way is to specify the mapped class, and "
+"let Hibernate find the mapping document for you:"
+msgstr ""
+"ä»£æ¿æ¡(ãã¡ãã®ã»ããè¯ãã¨ããããã¾ã)ã¨ãã¦ãããã³ã°ã¯ã©ã¹ãæå®ããæ¹æ³"
+"ãããã¾ããHibernateã«ããããã³ã°ãã¡ã¤ã«ã è¦ã¤ãããã¦ãã ããï¼"
-#: index.docbook:39
+#. Tag: programlisting
+#: configuration.xml:39
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = new Configuration()\n"
- " .addClass(org.hibernate.auction.Item.class)\n"
- " .addClass(org.hibernate.auction.Bid.class);]]>"
+"<![CDATA[Configuration cfg = new Configuration()\n"
+" .addClass(org.hibernate.auction.Item.class)\n"
+" .addClass(org.hibernate.auction.Bid.class);]]>"
msgstr ""
- "<![CDATA[Configuration cfg = new Configuration()\n"
- " .addClass(org.hibernate.auction.Item.class)\n"
- " .addClass(org.hibernate.auction.Bid.class);]]>"
-#: index.docbook:41
-msgid "Then Hibernate will look for mapping files named <literal>/org/hibernate/auction/Item.hbm.xml</literal> and <literal>/org/hibernate/auction/Bid.hbm.xml</literal> in the classpath. This approach eliminates any hardcoded filenames."
-msgstr "Hibernateã¯ãã¯ã©ã¹ãã¹ã«ãã以ä¸ã®ãããªååã®ãããã³ã°ãã¡ã¤ã«ãè¦ã¤ãã¾ãã <literal>/org/hibernate/auction/Item.hbm.xml</literal> ã <literal>/org/hibernate/auction/Bid.hbm.xml</literal> ã ãã®æ¹æ³ã ã¨ããã¼ãã³ã¼ãã£ã³ã°ããããã¡ã¤ã«åãæé¤ã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:41
+#, no-c-format
+msgid ""
+"Then Hibernate will look for mapping files named <literal>/org/hibernate/"
+"auction/Item.hbm.xml</literal> and <literal>/org/hibernate/auction/Bid.hbm."
+"xml</literal> in the classpath. This approach eliminates any hardcoded "
+"filenames."
+msgstr ""
+"Hibernateã¯ãã¯ã©ã¹ãã¹ã«ãã以ä¸ã®ãããªååã®ãããã³ã°ãã¡ã¤ã«ãè¦ã¤ãã¾"
+"ãã <literal>/org/hibernate/auction/Item.hbm.xml</literal> ã <literal>/org/"
+"hibernate/auction/Bid.hbm.xml</literal> ã ãã®æ¹æ³ã ã¨ããã¼ãã³ã¼ãã£ã³ã°ã"
+"ãããã¡ã¤ã«åãæé¤ã§ãã¾ãã"
-#: index.docbook:48
-msgid "A <literal>Configuration</literal> also allows you to specify configuration properties:"
-msgstr "<literal>Configuration</literal> ã¯ãè¨å®ããããã£ãæå®ãããã¨ãã§ãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:48
+#, no-c-format
+msgid ""
+"A <literal>Configuration</literal> also allows you to specify configuration "
+"properties:"
+msgstr ""
+"<literal>Configuration</literal> ã¯ãè¨å®ããããã£ãæå®ãããã¨ãã§ãã¾ãï¼"
-#: index.docbook:53
+#. Tag: programlisting
+#: configuration.xml:53
+#, no-c-format
msgid ""
- "<![CDATA[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\");]]>"
+"<![CDATA[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 ""
- "<![CDATA[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\");]]>"
-#: index.docbook:55
-msgid "This is not the only way to pass configuration properties to Hibernate. The various options include:"
-msgstr "Hibernateã«è¨å®ããããã£ãéãæ¹æ³ã¯1ã¤ã§ã¯ããã¾ããã ãã¾ãã¾ãªãªãã·ã§ã³ãç¨æãã¦ãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:55
+#, no-c-format
+msgid ""
+"This is not the only way to pass configuration properties to Hibernate. The "
+"various options include:"
+msgstr ""
+"Hibernateã«è¨å®ããããã£ãéãæ¹æ³ã¯1ã¤ã§ã¯ããã¾ããã ãã¾ãã¾ãªãªãã·ã§ã³"
+"ãç¨æãã¦ãã¾ãï¼"
-#: index.docbook:62
-msgid "Pass an instance of <literal>java.util.Properties</literal> to <literal>Configuration.setProperties()</literal>."
-msgstr "<literal>java.util.Properties</literal> ã¤ã³ã¹ã¿ã³ã¹ã <literal>Configuration.setProperties()</literal> ã«æ¸¡ãã¾ãã"
+#. Tag: para
+#: configuration.xml:62
+#, no-c-format
+msgid ""
+"Pass an instance of <literal>java.util.Properties</literal> to "
+"<literal>Configuration.setProperties()</literal>."
+msgstr ""
+"<literal>java.util.Properties</literal> ã¤ã³ã¹ã¿ã³ã¹ã "
+"<literal>Configuration.setProperties()</literal> ã«æ¸¡ãã¾ãã"
-#: index.docbook:68
-msgid "Place <literal>hibernate.properties</literal> in a root directory of the classpath."
-msgstr "<literal>hibernate.properties</literal> ã ã¯ã©ã¹ãã¹ã®ã«ã¼ããã£ã¬ã¯ããªã«ç½®ãã¾ãã"
+#. Tag: para
+#: configuration.xml:68
+#, no-c-format
+msgid ""
+"Place <literal>hibernate.properties</literal> in a root directory of the "
+"classpath."
+msgstr ""
+"<literal>hibernate.properties</literal> ã ã¯ã©ã¹ãã¹ã®ã«ã¼ããã£ã¬ã¯ããªã«ç½®"
+"ãã¾ãã"
-#: index.docbook:74
-msgid "Set <literal>System</literal> properties using <literal>java -Dproperty=value</literal>."
-msgstr "<literal>System</literal> ããããã£ã <literal>java -Dproperty=value</literal> ã使ãããã«è¨å®ãã¾ãã"
+#. Tag: para
+#: configuration.xml:74
+#, no-c-format
+msgid ""
+"Set <literal>System</literal> properties using <literal>java -"
+"Dproperty=value</literal>."
+msgstr ""
+"<literal>System</literal> ããããã£ã <literal>java -Dproperty=value</"
+"literal> ã使ãããã«è¨å®ãã¾ãã"
-#: index.docbook:80
-msgid "Include <literal><property></literal> elements in <literal>hibernate.cfg.xml</literal> (discussed later)."
-msgstr "<literal><property></literal> è¦ç´ ã <literal>hibernate.cfg.xml</literal> ï¼å¾è¿°ï¼ã«è¨å®ãã¾ãã"
+#. Tag: para
+#: configuration.xml:80
+#, no-c-format
+msgid ""
+"Include <literal><property></literal> elements in <literal>hibernate."
+"cfg.xml</literal> (discussed later)."
+msgstr ""
+"<literal><property></literal> è¦ç´ ã <literal>hibernate.cfg.xml</"
+"literal> ï¼å¾è¿°ï¼ã«è¨å®ãã¾ãã"
-#: index.docbook:87
-msgid "<literal>hibernate.properties</literal> is the easiest approach if you want to get started quickly."
-msgstr "ä»ããå§ãããã®ãªãã<literal>hibernate.properties</literal> ã使ãã®ãä¸çªã®è¿éã§ãã"
+#. Tag: para
+#: configuration.xml:87
+#, no-c-format
+msgid ""
+"<literal>hibernate.properties</literal> is the easiest approach if you want "
+"to get started quickly."
+msgstr ""
+"ä»ããå§ãããã®ãªãã<literal>hibernate.properties</literal> ã使ãã®ãä¸çª"
+"ã®è¿éã§ãã"
-#: index.docbook:92
-msgid "The <literal>Configuration</literal> is intended as a startup-time object, to be discarded once a <literal>SessionFactory</literal> is created."
-msgstr "<literal>Configuration</literal> ã¯ãèµ·åæã«ã ããããªãã¸ã§ã¯ãã§ããã ä¸åº¦ <literal>SessionFactory</literal> ãçæããå¾ã¯ãç ´æ£ããããã¨ãæå³ãã¦ãã¾ãã"
+#. Tag: para
+#: configuration.xml:92
+#, no-c-format
+msgid ""
+"The <literal>Configuration</literal> is intended as a startup-time object, "
+"to be discarded once a <literal>SessionFactory</literal> is created."
+msgstr ""
+"<literal>Configuration</literal> ã¯ãèµ·åæã«ã ããããªãã¸ã§ã¯ãã§ããã ä¸"
+"度 <literal>SessionFactory</literal> ãçæããå¾ã¯ãç ´æ£ããããã¨ãæå³ãã¦"
+"ãã¾ãã"
-#: index.docbook:100
+#. Tag: title
+#: configuration.xml:100
+#, no-c-format
msgid "Obtaining a SessionFactory"
msgstr "SessionFactoryãåå¾ãã"
-#: index.docbook:102
-msgid "When all mappings have been parsed by the <literal>Configuration</literal>, the application must obtain a factory for <literal>Session</literal> instances. This factory is intended to be shared by all application threads:"
-msgstr "<literal>Configuration</literal> ããã¹ã¦ã®ãããã³ã°æ
å ±ãè§£æãããã ã¢ããªã±ã¼ã·ã§ã³ã¯ã <literal>Session</literal> ãã¡ã¯ããªã¤ã³ã¹ã¿ã³ã¹ãåå¾ãã¾ãã ãã®SessionFactoryã¯ãHibernateã使ç¨ãããã¹ã¦ã®ã¹ã¬ããã§å
±æãããã¹ãã§ãã"
+#. Tag: para
+#: configuration.xml:102
+#, no-c-format
+msgid ""
+"When all mappings have been parsed by the <literal>Configuration</literal>, "
+"the application must obtain a factory for <literal>Session</literal> "
+"instances. This factory is intended to be shared by all application threads:"
+msgstr ""
+"<literal>Configuration</literal> ããã¹ã¦ã®ãããã³ã°æ
å ±ãè§£æãããã ã¢ã"
+"ãªã±ã¼ã·ã§ã³ã¯ã <literal>Session</literal> ãã¡ã¯ããªã¤ã³ã¹ã¿ã³ã¹ãåå¾ãã¾"
+"ãã ãã®SessionFactoryã¯ãHibernateã使ç¨ãããã¹ã¦ã®ã¹ã¬ããã§å
±æãããã¹"
+"ãã§ãã"
-#: index.docbook:108
+#. Tag: programlisting
+#: configuration.xml:108
+#, no-c-format
msgid "<![CDATA[SessionFactory sessions = cfg.buildSessionFactory();]]>"
-msgstr "<![CDATA[SessionFactory sessions = cfg.buildSessionFactory();]]>"
+msgstr ""
-#: index.docbook:110
-msgid "Hibernate does allow your application to instantiate more than one <literal>SessionFactory</literal>. This is useful if you are using more than one database."
-msgstr "Hibernateã¯ã <literal>SessionFactory</literal> ãè¤æ°çæãããã¨ãã§ãã¾ãã ããã¯ãè¤æ°ã®ãã¼ã¿ãã¼ã¹ã使ç¨ããå ´åã«ä¾¿å©ã§ãã"
+#. Tag: para
+#: configuration.xml:110
+#, no-c-format
+msgid ""
+"Hibernate does allow your application to instantiate more than one "
+"<literal>SessionFactory</literal>. This is useful if you are using more than "
+"one database."
+msgstr ""
+"Hibernateã¯ã <literal>SessionFactory</literal> ãè¤æ°çæãããã¨ãã§ãã¾"
+"ãã ããã¯ãè¤æ°ã®ãã¼ã¿ãã¼ã¹ã使ç¨ããå ´åã«ä¾¿å©ã§ãã"
-#: index.docbook:119
+#. Tag: title
+#: configuration.xml:119
+#, no-c-format
msgid "JDBC connections"
msgstr "JDBCã³ãã¯ã·ã§ã³"
-#: index.docbook:121
-msgid "Usually, you want to have the <literal>SessionFactory</literal> create and pool JDBC connections for you. If you take this approach, opening a <literal>Session</literal> is as simple as:"
-msgstr "é常ãéçºè
㯠<literal>SessionFactory</literal> ãçæããSessionFactoryã§JDBCã³ãã¯ã·ã§ã³ããã¼ãªã³ã°ãããã¨èãã¾ãã ãã®ã¢ããã¼ããæ¡ç¨ããå ´åãåç´ã« <literal>Session</literal> ããªã¼ãã³ãã¦ãã ããï¼"
+#. Tag: para
+#: configuration.xml:121
+#, no-c-format
+msgid ""
+"Usually, you want to have the <literal>SessionFactory</literal> create and "
+"pool JDBC connections for you. If you take this approach, opening a "
+"<literal>Session</literal> is as simple as:"
+msgstr ""
+"é常ãéçºè
㯠<literal>SessionFactory</literal> ãçæããSessionFactoryã§"
+"JDBCã³ãã¯ã·ã§ã³ããã¼ãªã³ã°ãããã¨èãã¾ãã ãã®ã¢ããã¼ããæ¡ç¨ããå ´åã"
+"åç´ã« <literal>Session</literal> ããªã¼ãã³ãã¦ãã ããï¼"
-#: index.docbook:127
-msgid "<![CDATA[Session session = sessions.openSession(); // open a new Session]]>"
-msgstr "<![CDATA[Session session = sessions.openSession(); // open a new Session]]>"
+#. Tag: programlisting
+#: configuration.xml:127
+#, no-c-format
+msgid ""
+"<![CDATA[Session session = sessions.openSession(); // open a new Session]]>"
+msgstr ""
-#: index.docbook:129
-msgid "As soon as you do something that requires access to the database, a JDBC connection will be obtained from the pool."
-msgstr "ããã ãã§ããã¼ãªã³ã°ããJDBCã³ãã¯ã·ã§ã³ã使ã£ã¦ç®çã®ãã¼ã¿ãã¼ã¹ ã«ã¢ã¯ã»ã¹ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:129
+#, no-c-format
+msgid ""
+"As soon as you do something that requires access to the database, a JDBC "
+"connection will be obtained from the pool."
+msgstr ""
+"ããã ãã§ããã¼ãªã³ã°ããJDBCã³ãã¯ã·ã§ã³ã使ã£ã¦ç®çã®ãã¼ã¿ãã¼ã¹ ã«ã¢ã¯ã»"
+"ã¹ãããã¨ãã§ãã¾ãã"
-#: index.docbook:134
-msgid "For this to work, we need to pass some JDBC connection properties to Hibernate. All Hibernate property names and semantics are defined on the class <literal>org.hibernate.cfg.Environment</literal>. We will now describe the most important settings for JDBC connection configuration."
-msgstr "ãã®ããã«ã¯ãJDBCã³ãã¯ã·ã§ã³ã®ããããã£ãHibernateã«è¨å®ããå¿
è¦ãããã¾ãã ãã¹ã¦ã®Hibernateããããã£åã¨ã»ãã³ãã£ã¯ã¹ã¯ <literal>org.hibernate.cfg.Environment</literal> ã¯ã©ã¹ã«å®ç¾©ããã¦ãã¾ãã ãã®è¨å®ã¯JDBCã³ãã¯ã·ã§ã³è¨å®ã®ä¸ã§ä¸çªéè¦ãªãã®ã§ãã"
+#. Tag: para
+#: configuration.xml:134
+#, no-c-format
+msgid ""
+"For this to work, we need to pass some JDBC connection properties to "
+"Hibernate. All Hibernate property names and semantics are defined on the "
+"class <literal>org.hibernate.cfg.Environment</literal>. We will now describe "
+"the most important settings for JDBC connection configuration."
+msgstr ""
+"ãã®ããã«ã¯ãJDBCã³ãã¯ã·ã§ã³ã®ããããã£ãHibernateã«è¨å®ããå¿
è¦ãããã¾"
+"ãã ãã¹ã¦ã®Hibernateããããã£åã¨ã»ãã³ãã£ã¯ã¹ã¯ <literal>org.hibernate."
+"cfg.Environment</literal> ã¯ã©ã¹ã«å®ç¾©ããã¦ãã¾ãã ãã®è¨å®ã¯JDBCã³ãã¯ã·ã§"
+"ã³è¨å®ã®ä¸ã§ä¸çªéè¦ãªãã®ã§ãã"
-#: index.docbook:141
-msgid "Hibernate will obtain (and pool) connections using <literal>java.sql.DriverManager</literal> if you set the following properties:"
-msgstr "ããã以ä¸ã®ããããã£ãè¨å®ããã¨ãHibernateã¯ã³ãã¯ã·ã§ã³ãåå¾ããï¼ãã¼ã«ãï¼ããã« <literal>java.sql.DriverManager</literal> ã使ãã¾ãã"
+#. Tag: para
+#: configuration.xml:141
+#, no-c-format
+msgid ""
+"Hibernate will obtain (and pool) connections using <literal>java.sql."
+"DriverManager</literal> if you set the following properties:"
+msgstr ""
+"ããã以ä¸ã®ããããã£ãè¨å®ããã¨ãHibernateã¯ã³ãã¯ã·ã§ã³ãåå¾ããï¼ãã¼ã«"
+"ãï¼ããã« <literal>java.sql.DriverManager</literal> ã使ãã¾ãã"
-#: index.docbook:147
+#. Tag: title
+#: configuration.xml:147
+#, no-c-format
msgid "Hibernate JDBC Properties"
msgstr "Hibernate JDBCããããã£"
-#: index.docbook:153, index.docbook:241, index.docbook:338, index.docbook:529, index.docbook:725, index.docbook:832, index.docbook:920
+#. Tag: entry
+#: configuration.xml:153 configuration.xml:241 configuration.xml:338
+#: configuration.xml:529 configuration.xml:725 configuration.xml:832
+#: configuration.xml:920
+#, no-c-format
msgid "Property name"
msgstr "ããããã£å"
-#: index.docbook:154, index.docbook:242, index.docbook:339, index.docbook:530, index.docbook:726, index.docbook:833, index.docbook:921
+#. Tag: entry
+#: configuration.xml:154 configuration.xml:242 configuration.xml:339
+#: configuration.xml:530 configuration.xml:726 configuration.xml:833
+#: configuration.xml:921
+#, no-c-format
msgid "Purpose"
-msgstr "<entry>æå³</entry>"
+msgstr "æå³"
-#: index.docbook:160
+#. Tag: literal
+#: configuration.xml:160
+#, no-c-format
msgid "hibernate.connection.driver_class"
msgstr "hibernate.connection.driver_class"
-#: index.docbook:163
+#. Tag: emphasis
+#: configuration.xml:163
+#, no-c-format
msgid "JDBC driver class"
msgstr "JDBCãã©ã¤ãã¯ã©ã¹"
-#: index.docbook:168
+#. Tag: literal
+#: configuration.xml:168
+#, no-c-format
msgid "hibernate.connection.url"
msgstr "hibernate.connection.url"
-#: index.docbook:171
+#. Tag: emphasis
+#: configuration.xml:171
+#, no-c-format
msgid "JDBC URL"
msgstr "jdbc URL"
-#: index.docbook:176, index.docbook:272
+#. Tag: literal
+#: configuration.xml:176 configuration.xml:272
+#, no-c-format
msgid "hibernate.connection.username"
msgstr "hibernate.connection.username"
-#: index.docbook:179
+#. Tag: emphasis
+#: configuration.xml:179
+#, no-c-format
msgid "database user"
msgstr "database user"
-#: index.docbook:184, index.docbook:280
+#. Tag: literal
+#: configuration.xml:184 configuration.xml:280
+#, no-c-format
msgid "hibernate.connection.password"
msgstr "hibernate.connection.password"
-#: index.docbook:187
+#. Tag: emphasis
+#: configuration.xml:187
+#, no-c-format
msgid "database user password"
msgstr "database user password"
-#: index.docbook:192
+#. Tag: literal
+#: configuration.xml:192
+#, no-c-format
msgid "hibernate.connection.pool_size"
msgstr "hibernate.connection.pool_size"
-#: index.docbook:195
+#. Tag: emphasis
+#: configuration.xml:195
+#, no-c-format
msgid "maximum number of pooled connections"
msgstr "ãã¼ã«ããã³ãã¯ã·ã§ã³ã®æå¤§æ°"
-#: index.docbook:202
-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 <literal>hibernate.connection.pool_size</literal> 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</literal> ããããã£ã« é©åãªã³ãã¯ã·ã§ã³ãã¼ã«ãµã¤ãºãè¨è¿°ãã¦ãã ããã ãã®ã¾ã¾ã ã¨Hibernateã®ã³ãã¯ã·ã§ã³ãã¼ã«ã使ãã¾ãã ä¾ãã°æ¬¡ã®ããã«C3P0ã使ãã¾ãã"
+#. Tag: para
+#: configuration.xml:202
+#, 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 <literal>hibernate.connection.pool_size</literal> 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</"
+"literal> ããããã£ã« é©åãªã³ãã¯ã·ã§ã³ãã¼ã«ãµã¤ãºãè¨è¿°ãã¦ãã ããã ãã®"
+"ã¾ã¾ã ã¨Hibernateã®ã³ãã¯ã·ã§ã³ãã¼ã«ã使ãã¾ãã ä¾ãã°æ¬¡ã®ããã«C3P0ã使ã"
+"ã¾ãã"
-#: index.docbook:212
-msgid "C3P0 is an open source JDBC connection pool distributed along with Hibernate in the <literal>lib</literal> directory. Hibernate will use its <literal>C3P0ConnectionProvider</literal> for connection pooling if you set <literal>hibernate.c3p0.*</literal> properties. If you'd like to use Proxool refer to the packaged <literal>hibernate.properties</literal> and the Hibernate web site for more information."
-msgstr "C3P0ã¯ãªã¼ãã³ã½ã¼ã¹JDBCã³ãã¯ã·ã§ã³ãã¼ã«ã§ãHibernateã® <literal>lib</literal> ãã£ã¬ã¯ããªã«ããã¾ããããã<literal>hibernate.c3p0.*</literal> ããããã£ã ã»ããããã°ãHibernateã¯ã <literal>C3P0ConnectionProvider</literal> ã使ãã¾ãã ããProxoolã使ãããå ´åã¯ã <literal>hibernate.properties</literal> ããã±ã¼ã¸ã åç
§ããããHibernateã®Webãµã¤ãã§ããå¤ãã®æ
å ±ãåå¾ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:212
+#, no-c-format
+msgid ""
+"C3P0 is an open source JDBC connection pool distributed along with Hibernate "
+"in the <literal>lib</literal> directory. Hibernate will use its "
+"<literal>C3P0ConnectionProvider</literal> for connection pooling if you set "
+"<literal>hibernate.c3p0.*</literal> properties. If you'd like to use Proxool "
+"refer to the packaged <literal>hibernate.properties</literal> and the "
+"Hibernate web site for more information."
+msgstr ""
+"C3P0ã¯ãªã¼ãã³ã½ã¼ã¹JDBCã³ãã¯ã·ã§ã³ãã¼ã«ã§ãHibernateã® <literal>lib</"
+"literal> ãã£ã¬ã¯ããªã«ããã¾ããããã<literal>hibernate.c3p0.*</literal> ã"
+"ãããã£ã ã»ããããã°ãHibernateã¯ã <literal>C3P0ConnectionProvider</"
+"literal> ã使ãã¾ãã ããProxoolã使ãããå ´åã¯ã <literal>hibernate."
+"properties</literal> ããã±ã¼ã¸ã åç
§ããããHibernateã®Webãµã¤ãã§ããå¤ã"
+"ã®æ
å ±ãåå¾ãã¦ãã ããã"
-#: index.docbook:221
-msgid "Here is an example <literal>hibernate.properties</literal> file for C3P0:"
-msgstr "C3P0ç¨ã® <literal>hibernate.properties</literal> ãã¡ã¤ã«ãä¾ã¨ãã¦ç¤ºãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:221
+#, no-c-format
+msgid ""
+"Here is an example <literal>hibernate.properties</literal> file for C3P0:"
+msgstr ""
+"C3P0ç¨ã® <literal>hibernate.properties</literal> ãã¡ã¤ã«ãä¾ã¨ãã¦ç¤ºãã¾ãï¼"
-#: index.docbook:225
+#. Tag: programlisting
+#: configuration.xml:225
+#, no-c-format
msgid ""
- "<![CDATA[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]]>"
+"<![CDATA[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 ""
- "<![CDATA[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]]>"
-#: index.docbook:227
-msgid "For use inside an application server, you should almost always configure Hibernate to obtain connections from an application server <literal>Datasource</literal> registered in JNDI. You'll need to set at least one of the following properties:"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãä¸ã§ä½¿ãå ´åã¯ãHibernateãè¨å®ãã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããã³ãã¯ã·ã§ã³ãåå¾ããããã«ãã¦ãã ããã <literal>Datasource</literal> ãJNDIã«ç»é²ãã¾ãããã㦠ããããã£ã以ä¸ã®ããã«è¨å®ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:227
+#, no-c-format
+msgid ""
+"For use inside an application server, you should almost always configure "
+"Hibernate to obtain connections from an application server "
+"<literal>Datasource</literal> registered in JNDI. You'll need to set at "
+"least one of the following properties:"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãä¸ã§ä½¿ãå ´åã¯ãHibernateãè¨å®ãã ã¢ããªã±ã¼ã·ã§ã³"
+"ãµã¼ãããã³ãã¯ã·ã§ã³ãåå¾ããããã«ãã¦ãã ããã <literal>Datasource</"
+"literal> ãJNDIã«ç»é²ãã¾ãããã㦠ããããã£ã以ä¸ã®ããã«è¨å®ãã¦ãã ã"
+"ãã"
-#: index.docbook:235
+#. Tag: title
+#: configuration.xml:235
+#, no-c-format
msgid "Hibernate Datasource Properties"
msgstr "Hibernate ãã¼ã¿ã½ã¼ã¹ããããã£"
-#: index.docbook:248
+#. Tag: literal
+#: configuration.xml:248
+#, no-c-format
msgid "hibernate.connection.datasource"
msgstr "hibernate.connection.datasource"
-#: index.docbook:251
+#. Tag: emphasis
+#: configuration.xml:251
+#, no-c-format
msgid "datasource JNDI name"
msgstr "ãã¼ã¿ã½ã¼ã¹ã®JNDIå"
-#: index.docbook:256
+#. Tag: literal
+#: configuration.xml:256
+#, no-c-format
msgid "hibernate.jndi.url"
msgstr "hibernate.jndi.url"
-#: index.docbook:258
+#. Tag: entry
+#: configuration.xml:258
+#, fuzzy, no-c-format
msgid "<emphasis>URL of the JNDI provider</emphasis> (optional)"
-msgstr "<emphasis>JNDIãããã¤ãã®URL</emphasis> (ãªãã·ã§ã³)"
+msgstr "JNDIãããã¤ãã®URL"
-#: index.docbook:264
+#. Tag: literal
+#: configuration.xml:264
+#, no-c-format
msgid "hibernate.jndi.class"
msgstr "hibernate.jndi.class"
-#: index.docbook:266
-msgid "<emphasis>class of the JNDI <literal>InitialContextFactory</literal></emphasis> (optional)"
-msgstr "<emphasis>JNDIã¯ã©ã¹ <literal>InitialContextFactory</literal> </emphasis> (ãªãã·ã§ã³)"
+#. Tag: entry
+#: configuration.xml:266
+#, no-c-format
+msgid ""
+"<emphasis>class of the JNDI <literal>InitialContextFactory</literal></"
+"emphasis> (optional)"
+msgstr ""
-#: index.docbook:274
+#. Tag: entry
+#: configuration.xml:274
+#, no-c-format
msgid "<emphasis>database user</emphasis> (optional)"
-msgstr "<emphasis>database user</emphasis> (ãªãã·ã§ã³)"
+msgstr ""
-#: index.docbook:282
+#. Tag: entry
+#: configuration.xml:282
+#, no-c-format
msgid "<emphasis>database user password</emphasis> (optional)"
-msgstr "<emphasis>database user password</emphasis> (ãªãã·ã§ã³)"
+msgstr ""
-#: index.docbook:290
-msgid "Here's an example <literal>hibernate.properties</literal> file for an application server provided JNDI datasource:"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããæä¾ãããJNDIãã¼ã¿ã½ã¼ã¹ã使ã <literal>hibernate.properties</literal> ãã¡ã¤ã«ã®ä¾ã示ãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:290
+#, no-c-format
+msgid ""
+"Here's an example <literal>hibernate.properties</literal> file for an "
+"application server provided JNDI datasource:"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããæä¾ãããJNDIãã¼ã¿ã½ã¼ã¹ã使ã "
+"<literal>hibernate.properties</literal> ãã¡ã¤ã«ã®ä¾ã示ãã¾ãï¼"
-#: index.docbook:295
+#. Tag: programlisting
+#: configuration.xml:295
+#, no-c-format
msgid ""
- "<![CDATA[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]]>"
+"<![CDATA[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 ""
- "<![CDATA[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]]>"
-#: index.docbook:297
-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:297
+#, 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ã³ãã¯ã·ã§ã³ã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã® ã³ã³"
+"ãã管çãã©ã³ã¶ã¯ã·ã§ã³ã«èªåçã«åå ãã¾ãã"
-#: index.docbook:302
-msgid "Arbitrary connection properties may be given by prepending \"<literal>hibernate.connection</literal>\" to the property name. For example, you may specify a <literal>charSet</literal> using <literal>hibernate.connection.charSet</literal>."
-msgstr "ä»»æã®ã³ãã¯ã·ã§ã³ããããã£ã¯ãä¸ããããâ <literal>hibernate.connnection</literal> â ããããã£åã«ãã£ã¦ä¸ãããã¾ããä¾ãã°ã <literal>charSet</literal> ãè¨å®ãããå ´åã¯ã <literal>hibernate.connection.charSet</literal> ã使ãã¾ãã"
+#. Tag: para
+#: configuration.xml:302
+#, no-c-format
+msgid ""
+"Arbitrary connection properties may be given by prepending "
+"\"<literal>hibernate.connection</literal>\" to the property name. For "
+"example, you may specify a <literal>charSet</literal> using "
+"<literal>hibernate.connection.charSet</literal>."
+msgstr ""
+"ä»»æã®ã³ãã¯ã·ã§ã³ããããã£ã¯ãä¸ããããâ <literal>hibernate.connnection</"
+"literal> â ããããã£åã«ãã£ã¦ä¸ãããã¾ããä¾ãã°ã <literal>charSet</"
+"literal> ãè¨å®ãããå ´åã¯ã <literal>hibernate.connection.charSet</"
+"literal> ã使ãã¾ãã"
-#: index.docbook:308
-msgid "You may define your own plugin strategy for obtaining JDBC connections by implementing the interface <literal>org.hibernate.connection.ConnectionProvider</literal>. You may select a custom implementation by setting <literal>hibernate.connection.provider_class</literal>."
-msgstr "JDBCã³ãã¯ã·ã§ã³ãåå¾ããæ¦ç¥ãæã¤ç¬èªã®ãã©ã°ã¤ã³ãå®ç¾©ããå ´åã¯ã <literal>org.hibernate.connection.ConnectionProvider</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã å®è£
ãã¦ãã ãããããã¦ãå®è£
ã¯ã©ã¹ã <literal>hibernate.connection.provider_class</literal> ã«è¨å®ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:308
+#, no-c-format
+msgid ""
+"You may define your own plugin strategy for obtaining JDBC connections by "
+"implementing the interface <literal>org.hibernate.connection."
+"ConnectionProvider</literal>. You may select a custom implementation by "
+"setting <literal>hibernate.connection.provider_class</literal>."
+msgstr ""
+"JDBCã³ãã¯ã·ã§ã³ãåå¾ããæ¦ç¥ãæã¤ç¬èªã®ãã©ã°ã¤ã³ãå®ç¾©ããå ´åã¯ã "
+"<literal>org.hibernate.connection.ConnectionProvider</literal> ã¤ã³ã¿ã¼ãã§ã¤"
+"ã¹ã å®è£
ãã¦ãã ãããããã¦ãå®è£
ã¯ã©ã¹ã <literal>hibernate.connection."
+"provider_class</literal> ã«è¨å®ãã¦ãã ããã"
-#: index.docbook:317
+#. Tag: title
+#: configuration.xml:317
+#, no-c-format
msgid "Optional configuration properties"
msgstr "ãªãã·ã§ã³è¨å®ããããã£"
-#: index.docbook:319
-msgid "There are a number of other properties that control the behaviour of Hibernate at runtime. All are optional and have reasonable default values."
-msgstr "ãããã®ããããã£ã¯Hibernateã®æåãå¶å¾¡ãããã®ã§ãã ãããã®ããããã£ã¯ãã¹ã¦å¦¥å½ãªããã©ã«ãå¤ããããä»»æã§è¨å®ãã¾ãã"
+#. Tag: para
+#: configuration.xml:319
+#, no-c-format
+msgid ""
+"There are a number of other properties that control the behaviour of "
+"Hibernate at runtime. All are optional and have reasonable default values."
+msgstr ""
+"ãããã®ããããã£ã¯Hibernateã®æåãå¶å¾¡ãããã®ã§ãã ãããã®ããããã£ã¯"
+"ãã¹ã¦å¦¥å½ãªããã©ã«ãå¤ããããä»»æã§è¨å®ãã¾ãã"
-#: index.docbook:324
-msgid "<emphasis>Warning: some of these properties are \"system-level\" only.</emphasis> System-level properties can be set only via <literal>java -Dproperty=value</literal> or <literal>hibernate.properties</literal>. They may <emphasis>not</emphasis> be set by the other techniques described above."
-msgstr "<emphasis>注æï¼ãããã®ããããã£ã¯\"ã·ã¹ãã ã¬ãã«\"ã®ã¿ã§ãã</emphasis> ã·ã¹ãã ã¬ãã«ããããã£ã¯ <literal>java -Dproperty=value</literal> ãããã㯠<literal>hibernate.properties</literal> ã§ã®ã¿è¨å®å¯è½ã§ãã ãã以å¤ã®è¨å®æ¹æ³ã¯ <emphasis>ããã¾ãã</emphasis> ã"
+#. Tag: para
+#: configuration.xml:324
+#, no-c-format
+msgid ""
+"<emphasis>Warning: some of these properties are \"system-level\" only.</"
+"emphasis> System-level properties can be set only via <literal>java -"
+"Dproperty=value</literal> or <literal>hibernate.properties</literal>. They "
+"may <emphasis>not</emphasis> be set by the other techniques described above."
+msgstr ""
+"<emphasis>注æï¼ãããã®ããããã£ã¯\"ã·ã¹ãã ã¬ãã«\"ã®ã¿ã§ãã</emphasis> "
+"ã·ã¹ãã ã¬ãã«ããããã£ã¯ <literal>java -Dproperty=value</literal> ãããã"
+"㯠<literal>hibernate.properties</literal> ã§ã®ã¿è¨å®å¯è½ã§ãã ãã以å¤ã®è¨"
+"宿¹æ³ã¯ <emphasis>ããã¾ãã</emphasis> ã"
-#: index.docbook:332
+#. Tag: title
+#: configuration.xml:332
+#, no-c-format
msgid "Hibernate Configuration Properties"
msgstr "Hibernateè¨å®ããããã£"
-#: index.docbook:345
+#. Tag: literal
+#: configuration.xml:345
+#, no-c-format
msgid "hibernate.dialect"
msgstr "hibernate.dialect"
-#: index.docbook:347
-msgid "The classname of a Hibernate <literal>Dialect</literal> which allows Hibernate to generate SQL optimized for a particular relational database."
-msgstr "Hibernate <literal>Dialect</literal> ã¯ã©ã¹åãå
¥ãã¾ãã ããã¯ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ãã¨ã«æé©åãããSQLãçæãã¾ãã"
+#. Tag: entry
+#: configuration.xml:347
+#, fuzzy, no-c-format
+msgid ""
+"The classname of a Hibernate <literal>Dialect</literal> which allows "
+"Hibernate to generate SQL optimized for a particular relational database."
+msgstr ""
+"Hibernate <placeholder-1/> ã¯ã©ã¹åãå
¥ãã¾ãã ããã¯ãªã¬ã¼ã·ã§ãã«ãã¼ã¿"
+"ãã¼ã¹ãã¨ã«æé©åãããSQLãçæãã¾ãã <placeholder-2/>"
-#: index.docbook:351
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>full.classname.of.Dialect</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>full.classname.of.Dialect</literal>"
+#. Tag: para
+#: configuration.xml:351
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>full.classname.of.Dialect</"
+"literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:359
+#. Tag: literal
+#: configuration.xml:359
+#, no-c-format
msgid "hibernate.show_sql"
msgstr "hibernate.show_sql"
-#: index.docbook:361
-msgid "Write all SQL statements to console. This is an alternative to setting the log category <literal>org.hibernate.SQL</literal> to <literal>debug</literal>."
-msgstr "çºè¡ããããã¹ã¦ã®SQLãã³ã³ã½ã¼ã«ã«åºåãã¾ãã ããã¯ãã°ã«ãã´ãªã® <literal>org.hibernate.SQL</literal> ã« <literal>debug</literal> ãè¨å®ããæ¹æ³ã®ä»£æ¿ææ®µã§ãã"
+#. Tag: entry
+#: configuration.xml:361
+#, fuzzy, no-c-format
+msgid ""
+"Write all SQL statements to console. This is an alternative to setting the "
+"log category <literal>org.hibernate.SQL</literal> to <literal>debug</"
+"literal>."
+msgstr ""
+"çºè¡ããããã¹ã¦ã®SQLãã³ã³ã½ã¼ã«ã«åºåãã¾ãã ããã¯ãã°ã«ãã´ãªã® "
+"<placeholder-1/> ã« <placeholder-2/> ãè¨å®ããæ¹æ³ã®ä»£æ¿ææ®µã§ãã "
+"<placeholder-3/>"
-#: index.docbook:365, index.docbook:377, index.docbook:471, index.docbook:484, index.docbook:497, index.docbook:510, index.docbook:564, index.docbook:591, index.docbook:605, index.docbook:660, index.docbook:888, index.docbook:903, index.docbook:993
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>true</literal> | <literal>false</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>true</literal> | <literal>false</literal>"
+#. Tag: para
+#: configuration.xml:365 configuration.xml:377 configuration.xml:471
+#: configuration.xml:484 configuration.xml:497 configuration.xml:510
+#: configuration.xml:564 configuration.xml:591 configuration.xml:605
+#: configuration.xml:660 configuration.xml:888 configuration.xml:903
+#: configuration.xml:993
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>true</literal> | "
+"<literal>false</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:373
+#. Tag: literal
+#: configuration.xml:373
+#, no-c-format
msgid "hibernate.format_sql"
msgstr "hibernate.format_sql"
-#: index.docbook:375
+#. Tag: entry
+#: configuration.xml:375
+#, fuzzy, no-c-format
msgid "Pretty print the SQL in the log and console."
-msgstr "ãã°ã¨ã³ã³ã½ã¼ã«ã®SQLãç¾ãã表示ãã¾ãã"
+msgstr "ãã°ã¨ã³ã³ã½ã¼ã«ã®SQLãç¾ãã表示ãã¾ãã <placeholder-1/>"
-#: index.docbook:385
+#. Tag: literal
+#: configuration.xml:385
+#, no-c-format
msgid "hibernate.default_schema"
msgstr "hibernate.default_schema"
-#: index.docbook:387
-msgid "Qualify unqualified table names with the given schema/tablespace in generated SQL."
-msgstr "çæãããSQLæã®ãã¼ãã«ã«è¨å®ããã¹ãã¼ã/ãã¼ãã«ã¹ãã¼ã¹ã§ãã"
+#. Tag: entry
+#: configuration.xml:387
+#, fuzzy, no-c-format
+msgid ""
+"Qualify unqualified table names with the given schema/tablespace in "
+"generated SQL."
+msgstr ""
+"çæãããSQLæã®ãã¼ãã«ã«è¨å®ããã¹ãã¼ã/ãã¼ãã«ã¹ãã¼ã¹ã§ãã "
+"<placeholder-1/>"
-#: index.docbook:390
+#. Tag: para
+#: configuration.xml:390
+#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>SCHEMA_NAME</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>SCHEMA_NAME</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:398
+#. Tag: literal
+#: configuration.xml:398
+#, no-c-format
msgid "hibernate.default_catalog"
msgstr "hibernate.default_catalog"
-#: index.docbook:400
-msgid "Qualify unqualified table names with the given catalog in generated SQL."
-msgstr "çæãããSQLæã®ãã¼ãã«ã«è¨å®ããã«ã¿ãã°ã§ãã"
+#. Tag: entry
+#: configuration.xml:400
+#, fuzzy, no-c-format
+msgid ""
+"Qualify unqualified table names with the given catalog in generated SQL."
+msgstr "çæãããSQLæã®ãã¼ãã«ã«è¨å®ããã«ã¿ãã°ã§ãã <placeholder-1/>"
-#: index.docbook:403
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>CATALOG_NAME</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>CATALOG_NAME</literal>"
+#. Tag: para
+#: configuration.xml:403
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>CATALOG_NAME</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:411
+#. Tag: literal
+#: configuration.xml:411
+#, no-c-format
msgid "hibernate.session_factory_name"
msgstr "hibernate.session_factory_name"
-#: index.docbook:413
-msgid "The <literal>SessionFactory</literal> will be automatically bound to this name in JNDI after it has been created."
-msgstr "<literal>SessionFactory</literal> ã¯çæå¾ããã®ååã§JNDIã«ç»é²ããã¾ãã"
+#. Tag: entry
+#: configuration.xml:413
+#, fuzzy, no-c-format
+msgid ""
+"The <literal>SessionFactory</literal> will be automatically bound to this "
+"name in JNDI after it has been created."
+msgstr ""
+"<placeholder-1/> ã¯çæå¾ããã®ååã§JNDIã«ç»é²ããã¾ãã <placeholder-2/>"
-#: index.docbook:416, index.docbook:859
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>jndi/composite/name</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>jndi/composite/name</literal>"
+#. Tag: para
+#: configuration.xml:416 configuration.xml:859
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>jndi/composite/name</"
+"literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:424
+#. Tag: literal
+#: configuration.xml:424
+#, no-c-format
msgid "hibernate.max_fetch_depth"
msgstr "hibernate.max_fetch_depth"
-#: index.docbook:426
-msgid "Set a maximum \"depth\" for the outer join fetch tree for single-ended associations (one-to-one, many-to-one). A <literal>0</literal> disables default outer join fetching."
-msgstr "å¤é¨çµåãã§ããã®æå¤§æ·±åº¦ãè¨å®ãã¾ããçµåããé¢é£ã¯ 対ä¸é¢é£ã®ã¿ï¼ä¸å¯¾ä¸ãå¤å¯¾ä¸ï¼ã§ãã <literal>0</literal> ãæå®ããã¨å¤é¨çµåãã§ããã¯ç¡å¹ã«ãªãã¾ãã"
+#. Tag: entry
+#: configuration.xml:426
+#, fuzzy, no-c-format
+msgid ""
+"Set a maximum \"depth\" for the outer join fetch tree for single-ended "
+"associations (one-to-one, many-to-one). A <literal>0</literal> disables "
+"default outer join fetching."
+msgstr ""
+"å¤é¨çµåãã§ããã®æå¤§æ·±åº¦ãè¨å®ãã¾ããçµåããé¢é£ã¯ 対ä¸é¢é£ã®ã¿ï¼ä¸å¯¾ä¸ã"
+"å¤å¯¾ä¸ï¼ã§ãã <placeholder-1/> ãæå®ããã¨å¤é¨çµåãã§ããã¯ç¡å¹ã«ãªãã¾"
+"ãã <placeholder-2/>"
-#: index.docbook:430
-msgid "<emphasis role=\"strong\">eg.</emphasis> recommended values between <literal>0</literal> and <literal>3</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>0</literal> ãã <literal>3</literal> ã§ãã"
+#. Tag: para
+#: configuration.xml:430
+#, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> recommended values between "
+"<literal>0</literal> and <literal>3</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>0</literal> "
+"ãã <literal>3</literal> ã§ãã"
-#: index.docbook:439
+#. Tag: literal
+#: configuration.xml:439
+#, no-c-format
msgid "hibernate.default_batch_fetch_size"
msgstr "hibernate.default_batch_fetch_size"
-#: index.docbook:441
+#. Tag: entry
+#: configuration.xml:441
+#, fuzzy, no-c-format
msgid "Set a default size for Hibernate batch fetching of associations."
-msgstr "é¢é£ãã§ããã®ããã©ã«ãããããµã¤ãºãæå®ãã¾ãã"
+msgstr "é¢é£ãã§ããã®ããã©ã«ãããããµã¤ãºãæå®ãã¾ãã <placeholder-1/>"
-#: index.docbook:443
-msgid "<emphasis role=\"strong\">eg.</emphasis> recommended values <literal>4</literal>, <literal>8</literal>, <literal>16</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>4</literal> , <literal>8</literal> , <literal>16</literal> ã§ãã"
+#. Tag: para
+#: configuration.xml:443
+#, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> recommended values <literal>4</"
+"literal>, <literal>8</literal>, <literal>16</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>4</"
+"literal> , <literal>8</literal> , <literal>16</literal> ã§ãã"
-#: index.docbook:452
+#. Tag: literal
+#: configuration.xml:452
+#, no-c-format
msgid "hibernate.default_entity_mode"
msgstr "hibernate.default_entity_mode"
-#: index.docbook:454
-msgid "Set a default mode for entity representation for all sessions opened from this <literal>SessionFactory</literal>"
-msgstr "<literal>SessionFactory</literal> ããã»ãã·ã§ã³ããªã¼ãã³ããã¨ã㫠使ç¨ããã¨ã³ãã£ãã£ã®ããã©ã«ãã¢ã¼ããè¨å®ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:454
+#, fuzzy, no-c-format
+msgid ""
+"Set a default mode for entity representation for all sessions opened from "
+"this <literal>SessionFactory</literal>"
+msgstr ""
+"<placeholder-1/> ããã»ãã·ã§ã³ããªã¼ãã³ããã¨ã㫠使ç¨ããã¨ã³ãã£ãã£ã®ã"
+"ãã©ã«ãã¢ã¼ããè¨å®ãã¾ãã <placeholder-2/>"
-#: index.docbook:457
-msgid "<literal>dynamic-map</literal>, <literal>dom4j</literal>, <literal>pojo</literal>"
-msgstr "<literal>dynamic-map</literal>, <literal>dom4j</literal>, <literal>pojo</literal>"
+#. Tag: para
+#: configuration.xml:457
+#, no-c-format
+msgid ""
+"<literal>dynamic-map</literal>, <literal>dom4j</literal>, <literal>pojo</"
+"literal>"
+msgstr ""
+"<literal>dynamic-map</literal>, <literal>dom4j</literal>, <literal>pojo</"
+"literal>"
-#: index.docbook:465
+#. Tag: literal
+#: configuration.xml:465
+#, no-c-format
msgid "hibernate.order_updates"
msgstr "hibernate.order_updates"
-#: index.docbook:467
-msgid "Force 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: entry
+#: configuration.xml:467
+#, fuzzy, no-c-format
+msgid ""
+"Force 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ã§ä¸»ãã¼ãæ´æ°ãããã¨ãå¼·å¶ãã¾ãã ãã®å ´"
+"åãåæå®è¡å¯è½ãªã·ã¹ãã ã§ã¯ãã¾ãã«ãããããã¯ãçºçããå¯è½æ§ãããã¾"
+"ãã <placeholder-1/>"
-#: index.docbook:479
+#. Tag: literal
+#: configuration.xml:479
+#, no-c-format
msgid "hibernate.generate_statistics"
msgstr "hibernate.generate_statistics"
-#: index.docbook:481
-msgid "If enabled, Hibernate will collect statistics useful for performance tuning."
-msgstr "æå¹ã®å ´åãHibernateã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã« æå¹ãªçµ±è¨æ
å ±ãåéãã¾ãã"
+#. Tag: entry
+#: configuration.xml:481
+#, fuzzy, no-c-format
+msgid ""
+"If enabled, Hibernate will collect statistics useful for performance tuning."
+msgstr ""
+"æå¹ã®å ´åãHibernateã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã« æå¹ãªçµ±è¨æ
å ±ãåéãã¾"
+"ãã <placeholder-1/>"
-#: index.docbook:492
+#. Tag: literal
+#: configuration.xml:492
+#, no-c-format
msgid "hibernate.use_identifier_rollback"
msgstr "hibernate.use_identifer_rollback"
-#: index.docbook:494
-msgid "If enabled, generated identifier properties will be reset to default values when objects are deleted."
-msgstr "æå¹ã®å ´åããªãã¸ã§ã¯ããåé¤ãããã¨ãã« èå¥åããããã£ããªã»ããããããã©ã«ãå¤ã«ãããã®ãçæãã¾ãã"
+#. Tag: entry
+#: configuration.xml:494
+#, fuzzy, no-c-format
+msgid ""
+"If enabled, generated identifier properties will be reset to default values "
+"when objects are deleted."
+msgstr ""
+"æå¹ã®å ´åããªãã¸ã§ã¯ããåé¤ãããã¨ãã« èå¥åããããã£ããªã»ããããã"
+"ãã©ã«ãå¤ã«ãããã®ãçæãã¾ãã <placeholder-1/>"
-#: index.docbook:505
+#. Tag: literal
+#: configuration.xml:505
+#, no-c-format
msgid "hibernate.use_sql_comments"
msgstr "hibernate.use_sql_comments"
-#: index.docbook:507
-msgid "If turned on, Hibernate will generate comments inside the SQL, for easier debugging, defaults to <literal>false</literal>."
-msgstr "æå¹ã®å ´åãSQLå
ã«ã³ã¡ã³ããçæãã¾ããããã¯ãããã¯ã容æã«ãã¾ãã ããã©ã«ãã®å¤ã¯ <literal>false</literal> ã§ãã"
+#. Tag: entry
+#: configuration.xml:507
+#, fuzzy, no-c-format
+msgid ""
+"If turned on, Hibernate will generate comments inside the SQL, for easier "
+"debugging, defaults to <literal>false</literal>."
+msgstr ""
+"æå¹ã®å ´åãSQLå
ã«ã³ã¡ã³ããçæãã¾ããããã¯ãããã¯ã容æã«ãã¾ãã ã"
+"ãã©ã«ãã®å¤ã¯ <placeholder-1/> ã§ãã <placeholder-2/>"
-#: index.docbook:521
+#. Tag: title
+#: configuration.xml:521
+#, no-c-format
msgid "Hibernate JDBC and Connection Properties"
msgstr "Hibernate JDBC ã¨ã³ãã¯ã·ã§ã³ããããã£"
-#: index.docbook:536
+#. Tag: literal
+#: configuration.xml:536
+#, no-c-format
msgid "hibernate.jdbc.fetch_size"
msgstr "hibernate.jdbc.fetch_size"
-#: index.docbook:538
-msgid "A non-zero value determines the JDBC fetch size (calls <literal>Statement.setFetchSize()</literal>)."
-msgstr "å¤ã0ã§ãªãå ´åãJDBCãã§ãããµã¤ãºã決å®ãã¾ã ( <literal>Statement.setFetchSize()</literal> ãå¼ã³ã¾ã)ã"
+#. Tag: entry
+#: configuration.xml:538
+#, fuzzy, no-c-format
+msgid ""
+"A non-zero value determines the JDBC fetch size (calls <literal>Statement."
+"setFetchSize()</literal>)."
+msgstr ""
+"å¤ã0ã§ãªãå ´åãJDBCãã§ãããµã¤ãºã決å®ãã¾ã ( <placeholder-1/> ãå¼ã³ã¾"
+"ã)ã"
-#: index.docbook:545
+#. Tag: literal
+#: configuration.xml:545
+#, no-c-format
msgid "hibernate.jdbc.batch_size"
msgstr "hibernate.jdbc.batch_size"
-#: index.docbook:547
+#. Tag: entry
+#: configuration.xml:547
+#, fuzzy, no-c-format
msgid "A non-zero value enables use of JDBC2 batch updates by Hibernate."
-msgstr "å¤ã0ã§ãªãå ´åãHibernateãJDBC2ãããæ´æ°ã使ç¨ãã¾ãã"
+msgstr ""
+"å¤ã0ã§ãªãå ´åãHibernateãJDBC2ãããæ´æ°ã使ç¨ãã¾ãã <placeholder-1/>"
-#: index.docbook:549
-msgid "<emphasis role=\"strong\">eg.</emphasis> recommended values between <literal>5</literal> and <literal>30</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>5</literal> ãã <literal>30</literal> ã§ãã"
+#. Tag: para
+#: configuration.xml:549
+#, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> recommended values between "
+"<literal>5</literal> and <literal>30</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis> æ¨å¥¨ããå¤ã¯ <literal>5</literal> "
+"ãã <literal>30</literal> ã§ãã"
-#: index.docbook:557
+#. Tag: literal
+#: configuration.xml:557
+#, no-c-format
msgid "hibernate.jdbc.batch_versioned_data"
msgstr "hibernate.jdbc.batch_versioned_data"
-#: index.docbook:559
-msgid "Set this property to <literal>true</literal> if your JDBC driver returns correct row counts from <literal>executeBatch()</literal> (it is usually safe to turn this option on). Hibernate will then use batched DML for automatically versioned data. Defaults to <literal>false</literal>."
-msgstr "ããJDBCãã©ã¤ãã <literal>executeBatch()</literal> ã«ãã£ã¦æ£ç¢ºãªè¡æ°ã è¿ãå ´åããã®ããããã£ã <literal>true</literal> ã«ãã¦ãã ãã ï¼é常ã¯ãã®ãªãã·ã§ã³ãONã«ãã¾ãï¼ã Hibernateã¯ãèªåãã¼ã¸ã§ã³ãã¼ã¿ã®ãããããDMLã使ãã¾ãã ããã©ã«ãã®å¤ã¯ <literal>false</literal> ã§ãã"
+#. Tag: entry
+#: configuration.xml:559
+#, fuzzy, no-c-format
+msgid ""
+"Set this property to <literal>true</literal> if your JDBC driver returns "
+"correct row counts from <literal>executeBatch()</literal> (it is usually "
+"safe to turn this option on). Hibernate will then use batched DML for "
+"automatically versioned data. Defaults to <literal>false</literal>."
+msgstr ""
+"ããJDBCãã©ã¤ãã <placeholder-1/> ã«ãã£ã¦æ£ç¢ºãªè¡æ°ã è¿ãå ´åããã®ããã"
+"ãã£ã <placeholder-2/> ã«ãã¦ãã ãã ï¼é常ã¯ãã®ãªãã·ã§ã³ãONã«ãã¾"
+"ãï¼ã Hibernateã¯ãèªåãã¼ã¸ã§ã³ãã¼ã¿ã®ãããããDMLã使ãã¾ãã ããã©ã«"
+"ãã®å¤ã¯ <placeholder-3/> ã§ãã <placeholder-4/>"
-#: index.docbook:572
+#. Tag: literal
+#: configuration.xml:572
+#, no-c-format
msgid "hibernate.jdbc.factory_class"
msgstr "hibernate.jdbc.factory_class"
-#: index.docbook:574
-msgid "Select a custom <literal>Batcher</literal>. Most applications will not need this configuration property."
-msgstr "ã«ã¹ã¿ã <literal>Batcher</literal> ãé¸ã³ã¾ãã ã»ã¨ãã©ã®ã¢ããªã±ã¼ã·ã§ã³ã«ããã®è¨å®ã¯å¿
è¦ããã¾ããã"
+#. Tag: entry
+#: configuration.xml:574
+#, fuzzy, no-c-format
+msgid ""
+"Select a custom <literal>Batcher</literal>. Most applications will not need "
+"this configuration property."
+msgstr ""
+"ã«ã¹ã¿ã <placeholder-1/> ãé¸ã³ã¾ãã ã»ã¨ãã©ã®ã¢ããªã±ã¼ã·ã§ã³ã«ããã®è¨å®"
+"ã¯å¿
è¦ããã¾ããã <placeholder-2/>"
-#: index.docbook:577
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.BatcherFactory</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.BatcherFactory</literal>"
+#. Tag: para
+#: configuration.xml:577
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of."
+"BatcherFactory</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:585
+#. Tag: literal
+#: configuration.xml:585
+#, no-c-format
msgid "hibernate.jdbc.use_scrollable_resultset"
msgstr "hibernate.jdbc.use_scrollable_resultset"
-#: index.docbook:587
-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ã使ç¨ãã¾ãã ãã®ããããã£ã¯ãJDBCã³ãã¯ã·ã§ã³ãã³ãã¯ã·ã§ã³ã¡ã¿ãã¼ã¿ã ãµãã¼ããã¦ãããã¨ãå¿
é æ¡ä»¶ã«ãªãã¾ãã"
+#. Tag: entry
+#: configuration.xml:587
+#, fuzzy, 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ã使ç¨ãã¾ãã ãã®ããããã£ã¯ã"
+"JDBCã³ãã¯ã·ã§ã³ãã³ãã¯ã·ã§ã³ã¡ã¿ãã¼ã¿ã ãµãã¼ããã¦ãããã¨ãå¿
é æ¡ä»¶ã«ãª"
+"ãã¾ãã <placeholder-1/>"
-#: index.docbook:599
+#. Tag: literal
+#: configuration.xml:599
+#, no-c-format
msgid "hibernate.jdbc.use_streams_for_binary"
msgstr "hibernate.jdbc.use_streams_for_binary"
-#: index.docbook:601
-msgid "Use streams when writing/reading <literal>binary</literal> or <literal>serializable</literal> types to/from JDBC (system-level property)."
-msgstr "JDBCã¸/ãã <literal>binary</literal> ã <literal>serializable</literal> ã®æ¸ãè¾¼ã¿/èªã¿è¾¼ã¿ã¹ããªã¼ã ã使ãã¾ã(ã·ã¹ãã ã¬ãã«ã®ããããã£)ã"
+#. Tag: entry
+#: configuration.xml:601
+#, fuzzy, no-c-format
+msgid ""
+"Use streams when writing/reading <literal>binary</literal> or "
+"<literal>serializable</literal> types to/from JDBC (system-level property)."
+msgstr ""
+"JDBCã¸/ãã <placeholder-1/> ã <placeholder-2/> ã®æ¸ãè¾¼ã¿/èªã¿è¾¼ã¿ã¹ããªã¼"
+"ã ã使ãã¾ã(ã·ã¹ãã ã¬ãã«ã®ããããã£)ã <placeholder-3/>"
-#: index.docbook:613
+#. Tag: literal
+#: configuration.xml:613
+#, no-c-format
msgid "hibernate.jdbc.use_get_generated_keys"
msgstr "hibernate.jdbc.use_get_generated_keys"
-#: index.docbook:615
-msgid "Enable use of JDBC3 <literal>PreparedStatement.getGeneratedKeys()</literal> 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, tries to determine the driver capabilities using connection metadata."
-msgstr "æ¿å
¥ã®å¾ã«èªåçæããã主ãã¼ãåå¾ããããã® JDBC3 <literal>PreparedStatement.getGeneratedKeys()</literal> ã®ä½¿ç¨ãæå¹ã«ãã¾ãã ããã¯JDBC3+ãã©ã¤ãã¨JRE1.4+ãå¿
è¦ã¨ãã ããHibernateã®èå¥åã¸ã§ãã¬ã¼ã¿ã«åé¡ãçºçãããããªãfalseã«è¨å®ãã¦ãã ããã ããã©ã«ãã§ã¯ã³ãã¯ã·ã§ã³ã¡ã¿ãã¼ã¿ã使ããã©ã¤ãã®è½åãæ±ºå®ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:615
+#, fuzzy, no-c-format
+msgid ""
+"Enable use of JDBC3 <literal>PreparedStatement.getGeneratedKeys()</literal> "
+"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, tries to determine the driver "
+"capabilities using connection metadata."
+msgstr ""
+"æ¿å
¥ã®å¾ã«èªåçæããã主ãã¼ãåå¾ããããã® JDBC3 <placeholder-1/> ã®ä½¿ç¨"
+"ãæå¹ã«ãã¾ãã ããã¯JDBC3+ãã©ã¤ãã¨JRE1.4+ãå¿
è¦ã¨ãã ããHibernateã®è"
+"å¥åã¸ã§ãã¬ã¼ã¿ã«åé¡ãçºçãããããªãfalseã«è¨å®ãã¦ãã ããã ããã©ã«ã"
+"ã§ã¯ã³ãã¯ã·ã§ã³ã¡ã¿ãã¼ã¿ã使ããã©ã¤ãã®è½åãæ±ºå®ãã¾ãã <placeholder-2/>"
-#: index.docbook:621, index.docbook:751, index.docbook:763, index.docbook:777, index.docbook:815
+#. Tag: para
+#: configuration.xml:621 configuration.xml:751 configuration.xml:763
+#: configuration.xml:777 configuration.xml:815
+#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>true|false</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>true|false</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:629
+#. Tag: literal
+#: configuration.xml:629
+#, no-c-format
msgid "hibernate.connection.provider_class"
msgstr "hibernate.connection.provider_class"
-#: index.docbook:631
-msgid "The classname of a custom <literal>ConnectionProvider</literal> which provides JDBC connections to Hibernate."
-msgstr "JDBCã³ãã¯ã·ã§ã³ãHibernateã«æä¾ããç¬èªã® <literal>ConnectionProvider</literal> ã® ååãæå®ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:631
+#, fuzzy, no-c-format
+msgid ""
+"The classname of a custom <literal>ConnectionProvider</literal> which "
+"provides JDBC connections to Hibernate."
+msgstr ""
+"JDBCã³ãã¯ã·ã§ã³ãHibernateã«æä¾ããç¬èªã® <placeholder-1/> ã® ååãæå®ã"
+"ã¾ãã <placeholder-2/>"
-#: index.docbook:634
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.ConnectionProvider</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.ConnectionProvider</literal>"
+#. Tag: para
+#: configuration.xml:634
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of."
+"ConnectionProvider</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:642
+#. Tag: literal
+#: configuration.xml:642
+#, no-c-format
msgid "hibernate.connection.isolation"
msgstr "hibernate.connection.isolation"
-#: index.docbook:644
-msgid "Set the JDBC transaction isolation level. Check <literal>java.sql.Connection</literal> for meaningful values but note that most databases do not support all isolation levels."
-msgstr "JDBCãã©ã³ã¶ã¯ã·ã§ã³åé¢ã¬ãã«ãè¨å®ãã¾ãã 妥å½ãªå¤ã調ã¹ãããã«ã¯ <literal>java.sql.Connection</literal> ããã§ãã¯ãã¦ãã ããã ããã使ç¨ãããã¼ã¿ãã¼ã¹ãããã¹ã¦ã®åé¢ã¬ãã«ããµãã¼ããã¦ããã¨ã¯éãã¾ããã"
+#. Tag: entry
+#: configuration.xml:644
+#, fuzzy, no-c-format
+msgid ""
+"Set the JDBC transaction isolation level. Check <literal>java.sql."
+"Connection</literal> for meaningful values but note that most databases do "
+"not support all isolation levels."
+msgstr ""
+"JDBCãã©ã³ã¶ã¯ã·ã§ã³åé¢ã¬ãã«ãè¨å®ãã¾ãã 妥å½ãªå¤ã調ã¹ãããã«ã¯ "
+"<placeholder-1/> ããã§ãã¯ãã¦ãã ããã ããã使ç¨ãããã¼ã¿ãã¼ã¹ãããã¹"
+"ã¦ã®åé¢ã¬ãã«ããµãã¼ããã¦ããã¨ã¯éãã¾ããã <placeholder-2/>"
-#: index.docbook:648
+#. Tag: para
+#: configuration.xml:648
+#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>1, 2, 4, 8</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>1, 2, 4, 8</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:656
+#. Tag: literal
+#: configuration.xml:656
+#, no-c-format
msgid "hibernate.connection.autocommit"
msgstr "hibernate.connection.autocommit"
-#: index.docbook:658
+#. Tag: entry
+#: configuration.xml:658
+#, fuzzy, no-c-format
msgid "Enables autocommit for JDBC pooled connections (not recommended)."
-msgstr "ãã¼ã«ããã¦ããJDBCã³ãã¯ã·ã§ã³ã®èªåã³ããããæå¹ã«ããï¼éæ¨å¥¨ï¼ã"
+msgstr ""
+"ãã¼ã«ããã¦ããJDBCã³ãã¯ã·ã§ã³ã®èªåã³ããããæå¹ã«ããï¼éæ¨å¥¨ï¼ã "
+"<placeholder-1/>"
-#: index.docbook:668
+#. Tag: literal
+#: configuration.xml:668
+#, no-c-format
msgid "hibernate.connection.release_mode"
msgstr "hibernate.connection.release_mode"
-#: index.docbook:670
-msgid "Specify 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, you should use <literal>after_statement</literal> to aggressively release connections after every JDBC call. For a non-JTA connection, it often makes sense to release the connection at the end of each transaction, by using <literal>after_transaction</literal>. <literal>auto</literal> will choose <literal>after_statement</literal> for the JTA and CMT transaction strategies and <literal>after_transaction</literal> for the JDBC transaction strategy."
-msgstr "HibernateãJDBCã³ãã¯ã·ã§ã³ããªãªã¼ã¹ããããæå®ãã¾ããããã©ã«ãã§ã¯ ã»ãã·ã§ã³ãæç¤ºçã«ã¯ãã¼ãºã¾ãã¯åæããã¦ãã³ãã¯ã·ã§ã³ã¯ä¿æãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã®JTAãã¼ã¿ã½ã¼ã¹ã®å ´åã ãã¹ã¦ã®JDBCã³ã¼ã«ã®å¾ãå¼·å¶çã«ã³ãã¯ã·ã§ã³ããªãªã¼ã¹ããããã« <literal>after_statement</literal> ã 使ã£ã¦ãã ããã éJTAã³ãã¯ã·ã§ã³ã®å ´åãåãã©ã³ã¶ã¯ã·ã§ã³ãçµäºããã¨ãã« <literal>after_transaction</literal> ã使ããã³ãã¯ã·ã§ã³ããªãªã¼ã¹ãã¦ãã ããã <literal>auto</literal> ã«ããã¨ã JTAãCMTãã©ã³ã¶ã¯ã·ã§ã³ã®å ´åã <literal>after_statement</literal> ã§ã¯ãã¼ãºãã JDBCãã©ã³ã¶ã¯ã·ã§ã³ã®å ´åã <literal>after_transaction</literal> ã§ã¯ãã¼ãºãã¾ãã"
+#. Tag: entry
+#: configuration.xml:670
+#, fuzzy, no-c-format
+msgid ""
+"Specify 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, you should use "
+"<literal>after_statement</literal> to aggressively release connections after "
+"every JDBC call. For a non-JTA connection, it often makes sense to release "
+"the connection at the end of each transaction, by using "
+"<literal>after_transaction</literal>. <literal>auto</literal> will choose "
+"<literal>after_statement</literal> for the JTA and CMT transaction "
+"strategies and <literal>after_transaction</literal> for the JDBC transaction "
+"strategy."
+msgstr ""
+"HibernateãJDBCã³ãã¯ã·ã§ã³ããªãªã¼ã¹ããããæå®ãã¾ããããã©ã«ãã§ã¯ ã»ã"
+"ã·ã§ã³ãæç¤ºçã«ã¯ãã¼ãºã¾ãã¯åæããã¦ãã³ãã¯ã·ã§ã³ã¯ä¿æãã¾ãã ã¢ããª"
+"ã±ã¼ã·ã§ã³ãµã¼ãã®JTAãã¼ã¿ã½ã¼ã¹ã®å ´åã ãã¹ã¦ã®JDBCã³ã¼ã«ã®å¾ãå¼·å¶çã«ã³"
+"ãã¯ã·ã§ã³ããªãªã¼ã¹ããããã« <placeholder-1/> ã 使ã£ã¦ãã ããã éJTAã³ã"
+"ã¯ã·ã§ã³ã®å ´åãåãã©ã³ã¶ã¯ã·ã§ã³ãçµäºããã¨ãã« <placeholder-2/> ã使ãã"
+"ã³ãã¯ã·ã§ã³ããªãªã¼ã¹ãã¦ãã ããã <placeholder-3/> ã«ããã¨ã JTAãCMTãã©"
+"ã³ã¶ã¯ã·ã§ã³ã®å ´åã <placeholder-4/> ã§ã¯ãã¼ãºãã JDBCãã©ã³ã¶ã¯ã·ã§ã³ã®å ´"
+"åã <placeholder-5/> ã§ã¯ãã¼ãºãã¾ãã <placeholder-6/><placeholder-7/>"
-#: index.docbook:681
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>auto</literal> (default) | <literal>on_close</literal> | <literal>after_transaction</literal> | <literal>after_statement</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>auto</literal> (default) | <literal>on_close</literal> | <literal>after_transaction</literal> | <literal>after_statement</literal>"
+#. Tag: para
+#: configuration.xml:681
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>auto</literal> (default) | "
+"<literal>on_close</literal> | <literal>after_transaction</literal> | "
+"<literal>after_statement</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>auto</literal> (default) | "
+"<literal>on_close</literal> | <literal>after_transaction</literal> | "
+"<literal>after_statement</literal>"
-#: index.docbook:686
-msgid "Note that this setting only affects <literal>Session</literal>s returned from <literal>SessionFactory.openSession</literal>. For <literal>Session</literal>s obtained through <literal>SessionFactory.getCurrentSession</literal>, the <literal>CurrentSessionContext</literal> implementation configured for use controls the connection release mode for those <literal>Session</literal>s. See"
-msgstr "注æãã¦ãã ããããã®è¨å®ã¯ <literal>SessionFactory.openSession</literal> ãã åå¾ãã <literal>Session</literal> ã ãã«å¹æãããã¾ãã <literal>SessionFactory.getCurrentSession</literal> ãéãã¦åå¾ãã <literal>Session</literal> ã§ã¯ã<literal>CurrentSessionContext</literal> ã®å®è£
ã«ãã£ã¦ãã³ãã¯ã·ã§ã³ã®ãªãªã¼ã¹ã¢ã¼ããè¨å®ãã¾ãã <xref linkend=\"architecture-current-session\"/> ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:686
+#, fuzzy, no-c-format
+msgid ""
+"Note that this setting only affects <literal>Session</literal>s returned "
+"from <literal>SessionFactory.openSession</literal>. For <literal>Session</"
+"literal>s obtained through <literal>SessionFactory.getCurrentSession</"
+"literal>, the <literal>CurrentSessionContext</literal> implementation "
+"configured for use controls the connection release mode for those "
+"<literal>Session</literal>s. See"
+msgstr ""
+"注æãã¦ãã ããããã®è¨å®ã¯ <literal>SessionFactory.openSession</literal> ã"
+"ã åå¾ãã <literal>Session</literal> ã ãã«å¹æãããã¾ãã "
+"<literal>SessionFactory.getCurrentSession</literal> ãéãã¦åå¾ãã "
+"<literal>Session</literal> ã§ã¯ã<literal>CurrentSessionContext</literal> ã®"
+"å®è£
ã«ãã£ã¦ãã³ãã¯ã·ã§ã³ã®ãªãªã¼ã¹ã¢ã¼ããè¨å®ãã¾ãã <xref linkend="
+"\"architecture-current-session\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:698
-msgid "hibernate.connection.<emphasis><propertyName></emphasis>"
-msgstr "hibernate.connection.<emphasis><propertyName></emphasis>"
+#. Tag: entry
+#: configuration.xml:697
+#, no-c-format
+msgid ""
+"<literal>hibernate.connection.</literal><emphasis><propertyName></"
+"emphasis>"
+msgstr ""
-#: index.docbook:700
-msgid "Pass the JDBC property <literal>propertyName</literal> to <literal>DriverManager.getConnection()</literal>."
-msgstr "JDBCã® <literal>propertyName</literal> ããããã£ãã <literal>DriverManager.getConnection()</literal> ã«æ¸¡ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:700
+#, no-c-format
+msgid ""
+"Pass the JDBC property <emphasis><propertyName></emphasis> to "
+"<literal>DriverManager.getConnection()</literal>."
+msgstr ""
-#: index.docbook:707
-msgid "hibernate.jndi.<emphasis><propertyName></emphasis>"
-msgstr "hibernate.jndi.<emphasis><propertyName></emphasis>"
+#. Tag: entry
+#: configuration.xml:706
+#, no-c-format
+msgid ""
+"<literal>hibernate.jndi.</literal><emphasis><propertyName></emphasis>"
+msgstr ""
-#: index.docbook:709
-msgid "Pass the property <literal>propertyName</literal> to the JNDI <literal>InitialContextFactory</literal>."
-msgstr "<literal>propertyName</literal> ããããã£ãã JNDI <literal>InitialContextFactory</literal> ã«æ¸¡ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:709
+#, no-c-format
+msgid ""
+"Pass the property <emphasis><propertyName></emphasis> to the JNDI "
+"<literal>InitialContextFactory</literal>."
+msgstr ""
-#: index.docbook:719
+#. Tag: title
+#: configuration.xml:719
+#, no-c-format
msgid "Hibernate Cache Properties"
msgstr "Hibernate ãã£ãã·ã¥ããããã£"
-#: index.docbook:732
+#. Tag: literal
+#: configuration.xml:732
+#, no-c-format
msgid "hibernate.cache.provider_class"
msgstr "hibernate.cache.provider_class"
-#: index.docbook:734
+#. Tag: entry
+#: configuration.xml:734
+#, fuzzy, no-c-format
msgid "The classname of a custom <literal>CacheProvider</literal>."
-msgstr "ã«ã¹ã¿ã <literal>CacheProvider</literal> ã®ã¯ã©ã¹åã§ãã"
+msgstr "ã«ã¹ã¿ã <placeholder-1/> ã®ã¯ã©ã¹åã§ãã <placeholder-2/>"
-#: index.docbook:736
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.CacheProvider</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.CacheProvider</literal>"
+#. Tag: para
+#: configuration.xml:736
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of."
+"CacheProvider</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:744
+#. Tag: literal
+#: configuration.xml:744
+#, no-c-format
msgid "hibernate.cache.use_minimal_puts"
msgstr "hibernate.cache.use_minimal_puts"
-#: index.docbook:746
-msgid "Optimize 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: entry
+#: configuration.xml:746
+#, fuzzy, no-c-format
+msgid ""
+"Optimize 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ã§ã¯ã¯ã©ã¹ã¿ãã£ãã·ã¥å®è£
ç¨ã«ããã©ã«ã"
+"ã§ã¯æå¹ã«ãªã£ã¦ãã¾ãã <placeholder-1/>"
-#: index.docbook:759
+#. Tag: literal
+#: configuration.xml:759
+#, no-c-format
msgid "hibernate.cache.use_query_cache"
msgstr "hibernate.cache.use_query_cache"
-#: index.docbook:761
-msgid "Enable the query cache, individual queries still have to be set cachable."
-msgstr "ç¹å®ã®ã¯ã¨ãªããã£ãã·ã¥å¯è½ãªå ´åã«ãã¯ã¨ãªãã£ãã·ã¥ãæå¹ã«ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:761
+#, fuzzy, no-c-format
+msgid ""
+"Enable the query cache, individual queries still have to be set cachable."
+msgstr ""
+"ç¹å®ã®ã¯ã¨ãªããã£ãã·ã¥å¯è½ãªå ´åã«ãã¯ã¨ãªãã£ãã·ã¥ãæå¹ã«ãã¾ãã "
+"<placeholder-1/>"
-#: index.docbook:771
+#. Tag: literal
+#: configuration.xml:771
+#, no-c-format
msgid "hibernate.cache.use_second_level_cache"
msgstr "hibernate.cache.use_second_level_cache"
-#: index.docbook:773
-msgid "May be used to completely disable the second level cache, which is enabled by default for classes which specify a <literal><cache></literal> mapping."
-msgstr "äºæ¬¡ãã£ãã·ã¥ãå®å
¨ã«ç¡å¹ã«ããå ´åã«ä½¿ãã¾ãã ããã©ã«ãã§ã¯æå¹ã§ãã¯ã©ã¹ã® <literal><cache></literal> ãããã³ã° ã§å¶å¾¡ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:773
+#, fuzzy, no-c-format
+msgid ""
+"May be used to completely disable the second level cache, which is enabled "
+"by default for classes which specify a <literal><cache></literal> "
+"mapping."
+msgstr ""
+"äºæ¬¡ãã£ãã·ã¥ãå®å
¨ã«ç¡å¹ã«ããå ´åã«ä½¿ãã¾ãã ããã©ã«ãã§ã¯æå¹ã§ãã¯ã©ã¹"
+"ã® <placeholder-1/> ãããã³ã° ã§å¶å¾¡ãã¾ãã <placeholder-2/>"
-#: index.docbook:785
+#. Tag: literal
+#: configuration.xml:785
+#, no-c-format
msgid "hibernate.cache.query_cache_factory"
msgstr "hibernate.cache.query_cache_factory"
-#: index.docbook:787
-msgid "The classname of a custom <literal>QueryCache</literal> interface, defaults to the built-in <literal>StandardQueryCache</literal>."
-msgstr "ã«ã¹ã¿ã <literal>QueryCache</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¯ã©ã¹åã æå®ãã¾ããããã©ã«ãã§ã¯ <literal>StandardQueryCache</literal> ã«ãªãã¾ãã"
+#. Tag: entry
+#: configuration.xml:787
+#, fuzzy, no-c-format
+msgid ""
+"The classname of a custom <literal>QueryCache</literal> interface, defaults "
+"to the built-in <literal>StandardQueryCache</literal>."
+msgstr ""
+"ã«ã¹ã¿ã <placeholder-1/> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¯ã©ã¹åã æå®ãã¾ããããã©ã«ã"
+"ã§ã¯ <placeholder-2/> ã«ãªãã¾ãã <placeholder-3/>"
-#: index.docbook:790
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.QueryCache</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.QueryCache</literal>"
+#. Tag: para
+#: configuration.xml:790
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.QueryCache</"
+"literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:798
+#. Tag: literal
+#: configuration.xml:798
+#, no-c-format
msgid "hibernate.cache.region_prefix"
msgstr "hibernate.cache.region_prefix"
-#: index.docbook:800
+#. Tag: entry
+#: configuration.xml:800
+#, fuzzy, no-c-format
msgid "A prefix to use for second-level cache region names."
-msgstr "äºæ¬¡ãã£ãã·ã¥ã®é ååã®æ¥é è¾ã§ãã"
+msgstr "äºæ¬¡ãã£ãã·ã¥ã®é ååã®æ¥é è¾ã§ãã <placeholder-1/>"
-#: index.docbook:802
+#. Tag: para
+#: configuration.xml:802
+#, fuzzy, no-c-format
msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>prefix</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>prefix</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:810
+#. Tag: literal
+#: configuration.xml:810
+#, no-c-format
msgid "hibernate.cache.use_structured_entries"
msgstr "hibernate.cache.use_structured_entries"
-#: index.docbook:812
-msgid "Forces Hibernate to store data in the second-level cache in a more human-friendly format."
-msgstr "äºæ¬¡ãã£ãã·ã¥ã«æ ¼ç´ãããã¼ã¿ãã人ãçè§£ãããããã©ã¼ãããã«ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:812
+#, fuzzy, no-c-format
+msgid ""
+"Forces Hibernate to store data in the second-level cache in a more human-"
+"friendly format."
+msgstr ""
+"äºæ¬¡ãã£ãã·ã¥ã«æ ¼ç´ãããã¼ã¿ãã人ãçè§£ãããããã©ã¼ãããã«ãã¾ãã "
+"<placeholder-1/>"
-#: index.docbook:826
+#. Tag: title
+#: configuration.xml:826
+#, no-c-format
msgid "Hibernate Transaction Properties"
msgstr "Hibernate ãã©ã³ã¶ã¯ã·ã§ã³ããããã£"
-#: index.docbook:839
+#. Tag: literal
+#: configuration.xml:839
+#, no-c-format
msgid "hibernate.transaction.factory_class"
msgstr "hibernate.transaction.factory_class"
-#: index.docbook:841
-msgid "The classname of a <literal>TransactionFactory</literal> to use with Hibernate <literal>Transaction</literal> API (defaults to <literal>JDBCTransactionFactory</literal>)."
-msgstr "Hibernate <literal>Transaction</literal> APIã¨ä¸ç·ã«ä½¿ããã <literal>TransactionFactory</literal> ã®ã¯ã©ã¹åã§ãã ï¼ããã©ã«ãã§ã¯ <literal>JDBCTransactionFactory</literal> ã§ãï¼ã"
+#. Tag: entry
+#: configuration.xml:841
+#, fuzzy, no-c-format
+msgid ""
+"The classname of a <literal>TransactionFactory</literal> to use with "
+"Hibernate <literal>Transaction</literal> API (defaults to "
+"<literal>JDBCTransactionFactory</literal>)."
+msgstr ""
+"Hibernate <placeholder-1/> APIã¨ä¸ç·ã«ä½¿ããã <placeholder-2/> ã®ã¯ã©ã¹åã§"
+"ãã ï¼ããã©ã«ãã§ã¯ <placeholder-3/> ã§ãï¼ã <placeholder-4/>"
-#: index.docbook:845
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.TransactionFactory</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.TransactionFactory</literal>"
+#. Tag: para
+#: configuration.xml:845
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of."
+"TransactionFactory</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:853
+#. Tag: literal
+#: configuration.xml:853
+#, no-c-format
msgid "jta.UserTransaction"
msgstr "jta.UserTransaction"
-#: index.docbook:855
-msgid "A JNDI name used by <literal>JTATransactionFactory</literal> to obtain the JTA <literal>UserTransaction</literal> from the application server."
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããJTA <literal>UserTransaction</literal> ãåå¾ããããã« <literal>JTATransactionFactory</literal> ã«ä½¿ãããJNDIåã§ãã"
+#. Tag: entry
+#: configuration.xml:855
+#, fuzzy, no-c-format
+msgid ""
+"A JNDI name used by <literal>JTATransactionFactory</literal> to obtain the "
+"JTA <literal>UserTransaction</literal> from the application server."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããJTA <placeholder-1/> ãåå¾ããããã« <placeholder-"
+"2/> ã«ä½¿ãããJNDIåã§ãã <placeholder-3/>"
-#: index.docbook:867
+#. Tag: literal
+#: configuration.xml:867
+#, no-c-format
msgid "hibernate.transaction.manager_lookup_class"
msgstr "hibernate.transaction.manager_lookup_class"
-#: index.docbook:869
-msgid "The classname of a <literal>TransactionManagerLookup</literal> - required when JVM-level caching is enabled or when using hilo generator in a JTA environment."
-msgstr "<literal>TransactionManagerLookup</literal> ã®ã¯ã©ã¹åã§ãã JTAç°å¢ã«ããã¦ãJVMã¬ãã«ã®ãã£ãã·ã¥ãæå¹ã«ããããã«å¿
è¦ã§ãã"
+#. Tag: entry
+#: configuration.xml:869
+#, fuzzy, no-c-format
+msgid ""
+"The classname of a <literal>TransactionManagerLookup</literal> - required "
+"when JVM-level caching is enabled or when using hilo generator in a JTA "
+"environment."
+msgstr ""
+"<placeholder-1/> ã®ã¯ã©ã¹åã§ãã JTAç°å¢ã«ããã¦ãJVMã¬ãã«ã®ãã£ãã·ã¥ãæ"
+"å¹ã«ããããã«å¿
è¦ã§ãã <placeholder-2/>"
-#: index.docbook:873
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of.TransactionManagerLookup</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>classname.of.TransactionManagerLookup</literal>"
+#. Tag: para
+#: configuration.xml:873
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>classname.of."
+"TransactionManagerLookup</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:881
+#. Tag: literal
+#: configuration.xml:881
+#, no-c-format
msgid "hibernate.transaction.flush_before_completion"
msgstr "hibernate.transaction.flush_before_completion"
-#: index.docbook:883
-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: entry
+#: configuration.xml:883
+#, 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\"/>ãåç
§ãã¦ãã ããã <placeholder-"
+"1/>"
-#: index.docbook:896
+#. Tag: literal
+#: configuration.xml:896
+#, no-c-format
msgid "hibernate.transaction.auto_close_session"
msgstr "hibernate.transaction.auto_close_session"
-#: index.docbook:898
-msgid "If enabled, the session will be automatically closed during the after completion phase of the transaction. Built-in and utomatic session context management is preferred, see <xref linkend=\"architecture-current-session\"/>."
-msgstr "æå¹ã®å ´åããã©ã³ã¶ã¯ã·ã§ã³ã®completionãã§ã¼ãºã®å¾ã« ã»ãã·ã§ã³ãèªåçã«ã¯ãã¼ãºãã¾ããå
èã®èªåã»ãã·ã§ã³ã³ã³ããã¹ã管çã«é©ãã¦ãã¾ãã <xref linkend=\"architecture-current-session\"/>ãåç
§ãã¦ãã ããã"
+#. Tag: entry
+#: configuration.xml:898
+#, fuzzy, no-c-format
+msgid ""
+"If enabled, the session will be automatically closed during the after "
+"completion phase of the transaction. Built-in and utomatic session context "
+"management is preferred, see <xref linkend=\"architecture-current-session\"/"
+">."
+msgstr ""
+"æå¹ã®å ´åããã©ã³ã¶ã¯ã·ã§ã³ã®completionãã§ã¼ãºã®å¾ã« ã»ãã·ã§ã³ãèªåçã«ã¯"
+"ãã¼ãºãã¾ããå
èã®èªåã»ãã·ã§ã³ã³ã³ããã¹ã管çã«é©ãã¦ãã¾ãã <xref "
+"linkend=\"architecture-current-session\"/>ãåç
§ãã¦ãã ããã <placeholder-"
+"1/>"
-#: index.docbook:914
+#. Tag: title
+#: configuration.xml:914
+#, no-c-format
msgid "Miscellaneous Properties"
msgstr "ãã®ä»ã®ããããã£"
-#: index.docbook:927
+#. Tag: literal
+#: configuration.xml:927
+#, no-c-format
msgid "hibernate.current_session_context_class"
msgstr "hibernate.current_session_context_class"
-#: index.docbook:929
-msgid "Supply a (custom) strategy for the scoping of the \"current\" <literal>Session</literal>. See <xref linkend=\"architecture-current-session\"/> for more information about the built-in strategies."
-msgstr "ãç¾å¨ã®ã<literal>Session</literal> ã®ããã®ï¼ã«ã¹ã¿ã ï¼æ¦ç¥ãæä¾ãã¾ãã ãã«ãã¤ã³ã¹ãã©ãã¸ã¼ã«é¢ãããã®ä»ã®æ
å ±ã«ã¤ãã¦ã¯ <xref linkend=\"architecture-current-session\"/>ãåç
§ãã¦ãã ããã"
+#. Tag: entry
+#: configuration.xml:929
+#, fuzzy, no-c-format
+msgid ""
+"Supply a (custom) strategy for the scoping of the \"current\" "
+"<literal>Session</literal>. See <xref linkend=\"architecture-current-session"
+"\"/> for more information about the built-in strategies."
+msgstr ""
+"ãç¾å¨ã®ã<placeholder-1/> ã®ããã®ï¼ã«ã¹ã¿ã ï¼æ¦ç¥ãæä¾ãã¾ãã ãã«ãã¤ã³"
+"ã¹ãã©ãã¸ã¼ã«é¢ãããã®ä»ã®æ
å ±ã«ã¤ãã¦ã¯ <xref linkend=\"architecture-"
+"current-session\"/>ãåç
§ãã¦ãã ããã <placeholder-2/>"
-#: index.docbook:934
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>jta</literal> | <literal>thread</literal> | <literal>managed</literal> | <literal>custom.Class</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>jta</literal> | <literal>thread</literal> | <literal>managed</literal> | <literal>custom.Class</literal>"
+#. Tag: para
+#: configuration.xml:934
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>jta</literal> | "
+"<literal>thread</literal> | <literal>managed</literal> | <literal>custom."
+"Class</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>jta</literal> | "
+"<literal>thread</literal> | <literal>managed</literal> | <literal>custom."
+"Class</literal>"
-#: index.docbook:943
+#. Tag: literal
+#: configuration.xml:943
+#, no-c-format
msgid "hibernate.query.factory_class"
msgstr "hibernate.query.factory_class"
-#: index.docbook:945
+#. Tag: entry
+#: configuration.xml:945
+#, fuzzy, no-c-format
msgid "Chooses the HQL parser implementation."
-msgstr "HQLãã¼ãµã¼ã®å®è£
ã鏿ãã¾ãã"
+msgstr "HQLãã¼ãµã¼ã®å®è£
ã鏿ãã¾ãã <placeholder-1/>"
-#: index.docbook:947
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal> or <literal>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>org.hibernate.hql.ast.ASTQueryTranslatorFactory</literal> or <literal>org.hibernate.hql.classic.ClassicQueryTranslatorFactory</literal>"
+#. Tag: para
+#: configuration.xml:947
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>org.hibernate.hql.ast."
+"ASTQueryTranslatorFactory</literal> or <literal>org.hibernate.hql.classic."
+"ClassicQueryTranslatorFactory</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>org.hibernate.hql.ast."
+"ASTQueryTranslatorFactory</literal> or <literal>org.hibernate.hql.classic."
+"ClassicQueryTranslatorFactory</literal>"
-#: index.docbook:956
+#. Tag: literal
+#: configuration.xml:956
+#, no-c-format
msgid "hibernate.query.substitutions"
msgstr "hibernate.query.substitutions"
-#: index.docbook:958
-msgid "Mapping from tokens in Hibernate queries to SQL tokens (tokens might be function or literal names, for example)."
-msgstr "HQLã¨SQLã®ãã¼ã¯ã³ããããã³ã°ãã¾ãã ï¼ä¾ãã°ããã¼ã¯ã³ã¯é¢æ°ããªãã©ã«åã§ãï¼ã"
+#. Tag: entry
+#: configuration.xml:958
+#, fuzzy, no-c-format
+msgid ""
+"Mapping from tokens in Hibernate queries to SQL tokens (tokens might be "
+"function or literal names, for example)."
+msgstr ""
+"HQLã¨SQLã®ãã¼ã¯ã³ããããã³ã°ãã¾ãã ï¼ä¾ãã°ããã¼ã¯ã³ã¯é¢æ°ããªãã©ã«åã§"
+"ãï¼ã <placeholder-1/>"
-#: index.docbook:961
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC</literal>"
+#. Tag: para
+#: configuration.xml:961
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>hqlLiteral=SQL_LITERAL, "
+"hqlFunction=SQLFUNC</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>true</literal> | "
+"<literal>false</literal>"
-#: index.docbook:969
+#. Tag: literal
+#: configuration.xml:969
+#, no-c-format
msgid "hibernate.hbm2ddl.auto"
msgstr "hibernate.hbm2ddl.auto"
-#: index.docbook:971
-msgid "Automatically validate or export schema DDL to the database when the <literal>SessionFactory</literal> is created. With <literal>create-drop</literal>, the database schema will be dropped when the <literal>SessionFactory</literal> is closed explicitly."
-msgstr "<literal>SessionFactory</literal> ãçæããã¨ãã«ã èªåçã«ã¹ãã¼ãDDLãDBã«åºåãã¾ãã <literal>create-drop</literal> ã®å ´åã <literal>SessionFactory</literal> ã ã¯ãã¼ãºããã¨ãã«ããã¼ã¿ãã¼ã¹ã¹ãã¼ãããããããã¾ãã"
+#. Tag: entry
+#: configuration.xml:971
+#, fuzzy, no-c-format
+msgid ""
+"Automatically validate or export schema DDL to the database when the "
+"<literal>SessionFactory</literal> is created. With <literal>create-drop</"
+"literal>, the database schema will be dropped when the "
+"<literal>SessionFactory</literal> is closed explicitly."
+msgstr ""
+"<placeholder-1/> ãçæããã¨ãã«ã èªåçã«ã¹ãã¼ãDDLãDBã«åºåãã¾ãã "
+"<placeholder-2/> ã®å ´åã <placeholder-3/> ã ã¯ãã¼ãºããã¨ãã«ããã¼ã¿ãã¼"
+"ã¹ã¹ãã¼ãããããããã¾ãã <placeholder-4/>"
-#: index.docbook:977
-msgid "<emphasis role=\"strong\">eg.</emphasis> <literal>validate</literal> | <literal>update</literal> | <literal>create</literal> | <literal>create-drop</literal>"
-msgstr "<emphasis role=\"strong\">ä¾ï¼</emphasis> <literal>validate</literal> | <literal>update</literal> | <literal>create</literal> | <literal>create-drop</literal>"
+#. Tag: para
+#: configuration.xml:977
+#, fuzzy, no-c-format
+msgid ""
+"<emphasis role=\"strong\">eg.</emphasis> <literal>validate</literal> | "
+"<literal>update</literal> | <literal>create</literal> | <literal>create-"
+"drop</literal>"
+msgstr ""
+"<emphasis role=\"strong\">ä¾ï¼</emphasis><literal>validate</literal> | "
+"<literal>update</literal> | <literal>create</literal> | <literal>create-"
+"drop</literal>"
-#: index.docbook:986
+#. Tag: literal
+#: configuration.xml:986
+#, no-c-format
msgid "hibernate.cglib.use_reflection_optimizer"
msgstr "hibernate.cglib.use_reflection_optimizer"
-#: index.docbook:988
-msgid "Enables use of CGLIB instead of runtime reflection (System-level property). Reflection can sometimes be useful when troubleshooting, note that Hibernate always requires CGLIB even if you turn off the optimizer. You can not set this property in <literal>hibernate.cfg.xml</literal>."
-msgstr "å®è¡æãªãã¬ã¯ã·ã§ã³ã®ä»£ããã®CGLIBã®ä½¿ç¨ãæå¹ã«ãã¾ã ï¼ã·ã¹ãã ã¬ãã«ã®ããããã£ï¼ ãªãã¬ã¯ã·ã§ã³ã¯ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ã®ã¨ãã«å½¹ç«ã¤ãã¨ãããã¾ãã ãªããã£ãã¤ã¶ããªãã«ãã¦ããã¨ãã§ããã Hibernateã«ã¯å¿
ãCGLIBãå¿
è¦ãªãã¨ã«æ³¨æãã¦ãã ããã ãã®ããããã£ã¯ <literal>hibernate.cfg.xml</literal> ã§è¨å®ã§ãã¾ããã"
+#. Tag: entry
+#: configuration.xml:988
+#, fuzzy, no-c-format
+msgid ""
+"Enables use of CGLIB instead of runtime reflection (System-level property). "
+"Reflection can sometimes be useful when troubleshooting, note that Hibernate "
+"always requires CGLIB even if you turn off the optimizer. You can not set "
+"this property in <literal>hibernate.cfg.xml</literal>."
+msgstr ""
+"å®è¡æãªãã¬ã¯ã·ã§ã³ã®ä»£ããã®CGLIBã®ä½¿ç¨ãæå¹ã«ãã¾ã ï¼ã·ã¹ãã ã¬ãã«ã®ã"
+"ãããã£ï¼ ãªãã¬ã¯ã·ã§ã³ã¯ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ã®ã¨ãã«å½¹ç«ã¤ãã¨ãããã¾"
+"ãã ãªããã£ãã¤ã¶ããªãã«ãã¦ããã¨ãã§ããã Hibernateã«ã¯å¿
ãCGLIBãå¿
è¦"
+"ãªãã¨ã«æ³¨æãã¦ãã ããã ãã®ããããã£ã¯ <placeholder-1/> ã§è¨å®ã§ãã¾ã"
+"ãã <placeholder-2/>"
-#: index.docbook:1004
+#. Tag: title
+#: configuration.xml:1004
+#, no-c-format
msgid "SQL Dialects"
msgstr "SQL æ¹è¨ï¼Dialectï¼"
-#: index.docbook:1006
-msgid "You should always set the <literal>hibernate.dialect</literal> property to the correct <literal>org.hibernate.dialect.Dialect</literal> subclass for your database. If you specify a dialect, Hibernate will use sensible defaults for some of the other properties listed above, saving you the effort of specifying them manually."
-msgstr "<literal>hibernate.dialect</literal> ããããã£ã«ã¯ã 使ç¨ãããã¼ã¿ãã¼ã¹ã®æ£ãã <literal>org.hibernate.dialect.Dialect</literal> ã®ãµãã¯ã©ã¹ãã å¿
ãæå®ãã¹ãã§ãã ãããæ¹è¨ãæå®ããã°ãHibernateã¯ä¸è¿°ããããããã£ã®ããã¤ãã«ã¤ãã¦ã ããé©åãªããã©ã«ãå¤ã使ãã¾ãã ããããã°ãããããæä½æ¥ã§è¨å®ããæéãçãã¾ãã"
+#. Tag: para
+#: configuration.xml:1006
+#, no-c-format
+msgid ""
+"You should always set the <literal>hibernate.dialect</literal> property to "
+"the correct <literal>org.hibernate.dialect.Dialect</literal> subclass for "
+"your database. If you specify a dialect, Hibernate will use sensible "
+"defaults for some of the other properties listed above, saving you the "
+"effort of specifying them manually."
+msgstr ""
+"<literal>hibernate.dialect</literal> ããããã£ã«ã¯ã 使ç¨ãããã¼ã¿ãã¼ã¹ã®"
+"æ£ãã <literal>org.hibernate.dialect.Dialect</literal> ã®ãµãã¯ã©ã¹ãã å¿
ã"
+"æå®ãã¹ãã§ãã ãããæ¹è¨ãæå®ããã°ãHibernateã¯ä¸è¿°ããããããã£ã®ãã"
+"ã¤ãã«ã¤ãã¦ã ããé©åãªããã©ã«ãå¤ã使ãã¾ãã ããããã°ãããããæä½æ¥"
+"ã§è¨å®ããæéãçãã¾ãã"
-#: index.docbook:1014
+#. Tag: title
+#: configuration.xml:1014
+#, no-c-format
msgid "Hibernate SQL Dialects (<literal>hibernate.dialect</literal>)"
msgstr "Hibernate SQL Dialects (<literal>hibernate.dialect</literal>)"
-#: index.docbook:1022
+#. Tag: entry
+#: configuration.xml:1022
+#, no-c-format
msgid "RDBMS"
msgstr "RDBMS"
-#: index.docbook:1023
+#. Tag: entry
+#: configuration.xml:1023
+#, no-c-format
msgid "Dialect"
msgstr "Dialect"
-#: index.docbook:1028
+#. Tag: entry
+#: configuration.xml:1028
+#, no-c-format
msgid "<entry>DB2</entry>"
-msgstr "<entry>DB2</entry>"
+msgstr ""
-#: index.docbook:1028
+#. Tag: literal
+#: configuration.xml:1028
+#, no-c-format
msgid "org.hibernate.dialect.DB2Dialect"
msgstr "org.hibernate.dialect.DB2Dialect"
-#: index.docbook:1031
+#. Tag: entry
+#: configuration.xml:1031
+#, no-c-format
msgid "DB2 AS/400"
msgstr "DB2 AS/400"
-#: index.docbook:1031
+#. Tag: literal
+#: configuration.xml:1031
+#, no-c-format
msgid "org.hibernate.dialect.DB2400Dialect"
msgstr "org.hibernate.dialect.DB2400Dialect"
-#: index.docbook:1034
+#. Tag: entry
+#: configuration.xml:1034
+#, no-c-format
msgid "DB2 OS390"
msgstr "DB2 OS390"
-#: index.docbook:1034
+#. Tag: literal
+#: configuration.xml:1034
+#, no-c-format
msgid "org.hibernate.dialect.DB2390Dialect"
msgstr "org.hibernate.dialect.DB2390Dialect"
-#: index.docbook:1037
+#. Tag: entry
+#: configuration.xml:1037
+#, no-c-format
msgid "PostgreSQL"
msgstr "PostgreSQL"
-#: index.docbook:1037
+#. Tag: literal
+#: configuration.xml:1037
+#, no-c-format
msgid "org.hibernate.dialect.PostgreSQLDialect"
msgstr "org.hibernate.dialect.PostgreSQLDialect"
-#: index.docbook:1040
+#. Tag: entry
+#: configuration.xml:1040
+#, no-c-format
msgid "MySQL"
msgstr "MySQL"
-#: index.docbook:1040
+#. Tag: literal
+#: configuration.xml:1040
+#, no-c-format
msgid "org.hibernate.dialect.MySQLDialect"
msgstr "org.hibernate.dialect.MySQLDialect"
-#: index.docbook:1043
+#. Tag: entry
+#: configuration.xml:1043
+#, no-c-format
msgid "MySQL with InnoDB"
msgstr "MySQL with InnoDB"
-#: index.docbook:1043
+#. Tag: literal
+#: configuration.xml:1043
+#, no-c-format
msgid "org.hibernate.dialect.MySQLInnoDBDialect"
msgstr "org.hibernate.dialect.MySQLInnoDBDialect"
-#: index.docbook:1046
+#. Tag: entry
+#: configuration.xml:1046
+#, no-c-format
msgid "MySQL with MyISAM"
msgstr "MySQL with MyISAM"
-#: index.docbook:1046
+#. Tag: literal
+#: configuration.xml:1046
+#, no-c-format
msgid "org.hibernate.dialect.MySQLMyISAMDialect"
msgstr "org.hibernate.dialect.MySQLMyISAMDialect"
-#: index.docbook:1049
+#. Tag: entry
+#: configuration.xml:1049
+#, no-c-format
msgid "Oracle (any version)"
msgstr "Oracle (any version)"
-#: index.docbook:1049
+#. Tag: literal
+#: configuration.xml:1049
+#, no-c-format
msgid "org.hibernate.dialect.OracleDialect"
msgstr "org.hibernate.dialect.OracleDialect"
-#: index.docbook:1052
+#. Tag: entry
+#: configuration.xml:1052
+#, no-c-format
msgid "Oracle 9i/10g"
msgstr "Oracle 9i/10g"
-#: index.docbook:1052
+#. Tag: literal
+#: configuration.xml:1052
+#, no-c-format
msgid "org.hibernate.dialect.Oracle9Dialect"
msgstr "org.hibernate.dialect.Oracle9Dialect"
-#: index.docbook:1055
+#. Tag: entry
+#: configuration.xml:1055
+#, no-c-format
msgid "Sybase"
msgstr "Sybase"
-#: index.docbook:1055
+#. Tag: literal
+#: configuration.xml:1055
+#, no-c-format
msgid "org.hibernate.dialect.SybaseDialect"
msgstr "org.hibernate.dialect.SybaseDialect"
-#: index.docbook:1058
+#. Tag: entry
+#: configuration.xml:1058
+#, no-c-format
msgid "Sybase Anywhere"
msgstr "Sybase Anywhere"
-#: index.docbook:1058
+#. Tag: literal
+#: configuration.xml:1058
+#, no-c-format
msgid "org.hibernate.dialect.SybaseAnywhereDialect"
msgstr "org.hibernate.dialect.SybaseAnywhereDialect"
-#: index.docbook:1061
+#. Tag: entry
+#: configuration.xml:1061
+#, no-c-format
msgid "Microsoft SQL Server"
msgstr "Microsoft SQL Server"
-#: index.docbook:1061
+#. Tag: literal
+#: configuration.xml:1061
+#, no-c-format
msgid "org.hibernate.dialect.SQLServerDialect"
msgstr "org.hibernate.dialect.SQLServerDialect"
-#: index.docbook:1064
+#. Tag: entry
+#: configuration.xml:1064
+#, no-c-format
msgid "SAP DB"
msgstr "SAP DB"
-#: index.docbook:1064
+#. Tag: literal
+#: configuration.xml:1064
+#, no-c-format
msgid "org.hibernate.dialect.SAPDBDialect"
msgstr "org.hibernate.dialect.SAPDBDialect"
-#: index.docbook:1067
+#. Tag: entry
+#: configuration.xml:1067
+#, no-c-format
msgid "Informix"
msgstr "Informix"
-#: index.docbook:1067
+#. Tag: literal
+#: configuration.xml:1067
+#, no-c-format
msgid "org.hibernate.dialect.InformixDialect"
msgstr "org.hibernate.dialect.InformixDialect"
-#: index.docbook:1070
+#. Tag: entry
+#: configuration.xml:1070
+#, no-c-format
msgid "HypersonicSQL"
msgstr "HypersonicSQL"
-#: index.docbook:1070
+#. Tag: literal
+#: configuration.xml:1070
+#, no-c-format
msgid "org.hibernate.dialect.HSQLDialect"
msgstr "org.hibernate.dialect.HSQLDialect"
-#: index.docbook:1073
+#. Tag: entry
+#: configuration.xml:1073
+#, no-c-format
msgid "Ingres"
msgstr "Ingres"
-#: index.docbook:1073
+#. Tag: literal
+#: configuration.xml:1073
+#, no-c-format
msgid "org.hibernate.dialect.IngresDialect"
msgstr "org.hibernate.dialect.IngresDialect"
-#: index.docbook:1076
+#. Tag: entry
+#: configuration.xml:1076
+#, no-c-format
msgid "Progress"
msgstr "Progress"
-#: index.docbook:1076
+#. Tag: literal
+#: configuration.xml:1076
+#, no-c-format
msgid "org.hibernate.dialect.ProgressDialect"
msgstr "org.hibernate.dialect.ProgressDialect"
-#: index.docbook:1079
+#. Tag: entry
+#: configuration.xml:1079
+#, no-c-format
msgid "Mckoi SQL"
msgstr "Mckoi SQL"
-#: index.docbook:1079
+#. Tag: literal
+#: configuration.xml:1079
+#, no-c-format
msgid "org.hibernate.dialect.MckoiDialect"
msgstr "org.hibernate.dialect.MckoiDialect"
-#: index.docbook:1082
+#. Tag: entry
+#: configuration.xml:1082
+#, no-c-format
msgid "Interbase"
msgstr "Interbase"
-#: index.docbook:1082
+#. Tag: literal
+#: configuration.xml:1082
+#, no-c-format
msgid "org.hibernate.dialect.InterbaseDialect"
msgstr "org.hibernate.dialect.InterbaseDialect"
-#: index.docbook:1085
+#. Tag: entry
+#: configuration.xml:1085
+#, no-c-format
msgid "Pointbase"
msgstr "Pointbase"
-#: index.docbook:1085
+#. Tag: literal
+#: configuration.xml:1085
+#, no-c-format
msgid "org.hibernate.dialect.PointbaseDialect"
msgstr "org.hibernate.dialect.PointbaseDialect"
-#: index.docbook:1088
+#. Tag: entry
+#: configuration.xml:1088
+#, no-c-format
msgid "FrontBase"
msgstr "FrontBase"
-#: index.docbook:1088
+#. Tag: literal
+#: configuration.xml:1088
+#, no-c-format
msgid "org.hibernate.dialect.FrontbaseDialect"
msgstr "org.hibernate.dialect.FrontbaseDialect"
-#: index.docbook:1091
+#. Tag: entry
+#: configuration.xml:1091
+#, no-c-format
msgid "Firebird"
msgstr "Firebird"
-#: index.docbook:1091
+#. Tag: literal
+#: configuration.xml:1091
+#, no-c-format
msgid "org.hibernate.dialect.FirebirdDialect"
msgstr "org.hibernate.dialect.FirebirdDialect"
-#: index.docbook:1100
+#. Tag: title
+#: configuration.xml:1100
+#, no-c-format
msgid "Outer Join Fetching"
msgstr "å¤é¨çµåãã§ãã"
-#: index.docbook:1102
-msgid "If your database supports ANSI, Oracle or Sybase style outer joins, <emphasis>outer join fetching</emphasis> will often increase performance by limiting the number of round trips to and from the database (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</literal>."
-msgstr "ããDBãANSIããOracleãSybaseã¹ã¿ã¤ã«ã®å¤é¨çµåããµãã¼ããã¦ããå ´åã <emphasis>outer join fetching</emphasis> ã¯ãDBã®SQLçºè¡åæ°ãç¯ç´ã ããã©ã¼ãã³ã¹ãè¯ããã¾ããï¼DBå
ã§ããå¤ãã®å¦çã³ã¹ããçºçãã¾ãï¼ å¤é¨çµåãã§ããã¯ãå¤å¯¾ä¸ãä¸å¯¾å¤ãå¤å¯¾å¤ãä¸å¯¾ä¸ã®ãªãã¸ã§ã¯ãé¢é£ã§ ã°ã«ã¼ããªãã¸ã§ã¯ãã1ã¤ã®SQLã§ <literal>SELECT</literal> ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1102
+#, no-c-format
+msgid ""
+"If your database supports ANSI, Oracle or Sybase style outer joins, "
+"<emphasis>outer join fetching</emphasis> will often increase performance by "
+"limiting the number of round trips to and from the database (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</literal>."
+msgstr ""
+"ããDBãANSIããOracleãSybaseã¹ã¿ã¤ã«ã®å¤é¨çµåããµãã¼ããã¦ããå ´åã "
+"<emphasis>outer join fetching</emphasis> ã¯ãDBã®SQLçºè¡åæ°ãç¯ç´ã ããã©ã¼"
+"ãã³ã¹ãè¯ããã¾ããï¼DBå
ã§ããå¤ãã®å¦çã³ã¹ããçºçãã¾ãï¼ å¤é¨çµåãã§ã"
+"ãã¯ãå¤å¯¾ä¸ãä¸å¯¾å¤ãå¤å¯¾å¤ãä¸å¯¾ä¸ã®ãªãã¸ã§ã¯ãé¢é£ã§ ã°ã«ã¼ããªãã¸ã§ã¯ã"
+"ã1ã¤ã®SQLã§ <literal>SELECT</literal> ãã¾ãã"
-#: index.docbook:1111
-msgid "Outer join fetching may be disabled <emphasis>globally</emphasis> by setting the property <literal>hibernate.max_fetch_depth</literal> to <literal>0</literal>. A setting of <literal>1</literal> or higher enables outer join fetching for one-to-one and many-to-one associations which have been mapped with <literal>fetch=\"join\"</literal>."
-msgstr "<literal>hibernate.max_fetch_depth</literal> ããããã£ã®å¤ã <literal>0</literal> ã«ãã㨠Outer join fetchingã <emphasis>ãã¹ã¦</emphasis> ç¡å¹ã«ãããã¨ã«ãªãã¾ãã <literal>1</literal> ããã以ä¸ã®å¤ãè¨å®ããã¨ãå¤é¨çµåãã§ãããæå¹ã«ãªãã ä¸å¯¾ä¸ã¨å¤å¯¾ä¸é¢é£ã <literal>fetch=\"join\"</literal> ã¨ãã¦ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: configuration.xml:1111
+#, no-c-format
+msgid ""
+"Outer join fetching may be disabled <emphasis>globally</emphasis> by setting "
+"the property <literal>hibernate.max_fetch_depth</literal> to <literal>0</"
+"literal>. A setting of <literal>1</literal> or higher enables outer join "
+"fetching for one-to-one and many-to-one associations which have been mapped "
+"with <literal>fetch=\"join\"</literal>."
+msgstr ""
+"<literal>hibernate.max_fetch_depth</literal> ããããã£ã®å¤ã <literal>0</"
+"literal> ã«ãã㨠Outer join fetchingã <emphasis>ãã¹ã¦</emphasis> ç¡å¹ã«ã"
+"ããã¨ã«ãªãã¾ãã <literal>1</literal> ããã以ä¸ã®å¤ãè¨å®ããã¨ãå¤é¨çµå"
+"ãã§ãããæå¹ã«ãªãã ä¸å¯¾ä¸ã¨å¤å¯¾ä¸é¢é£ã <literal>fetch=\"join\"</"
+"literal> ã¨ãã¦ãããã³ã°ããã¾ãã"
-#: index.docbook:1119
+#. Tag: para
+#: configuration.xml:1119
+#, no-c-format
msgid "See <xref linkend=\"performance-fetching\"/> for more information."
msgstr "See <xref linkend=\"performance-fetching\"/> for more information."
-#: index.docbook:1126
+#. Tag: title
+#: configuration.xml:1126
+#, no-c-format
msgid "Binary Streams"
msgstr "ãã¤ããªã¹ããªã¼ã "
-#: index.docbook:1128
-msgid "Oracle limits the size of <literal>byte</literal> arrays that may be passed to/from its JDBC driver. If you wish to use large instances of <literal>binary</literal> or <literal>serializable</literal> type, you should enable <literal>hibernate.jdbc.use_streams_for_binary</literal>. <emphasis>This is a system-level setting only.</emphasis>"
-msgstr "Oracleã¯JDBCãã©ã¤ãã¨ã®éã§ããã¨ãããã <literal>byte</literal> é
åã®ãµã¤ãºãå¶éãã¾ãã <literal>binary</literal> ã <literal>serializable</literal> åã®å¤§ããªã¤ã³ã¹ã¿ã³ã¹ã使ããããã°ã <literal>hibernate.jdbc.use_streams_for_binary</literal> ãæå¹ã«ãã¦ãã ããã ãã ã <emphasis>ããã¯ã·ã¹ãã ã¬ãã«ã®è¨å®ã ãã§ã</emphasis> ã"
+#. Tag: para
+#: configuration.xml:1128
+#, no-c-format
+msgid ""
+"Oracle limits the size of <literal>byte</literal> arrays that may be passed "
+"to/from its JDBC driver. If you wish to use large instances of "
+"<literal>binary</literal> or <literal>serializable</literal> type, you "
+"should enable <literal>hibernate.jdbc.use_streams_for_binary</literal>. "
+"<emphasis>This is a system-level setting only.</emphasis>"
+msgstr ""
+"Oracleã¯JDBCãã©ã¤ãã¨ã®éã§ããã¨ãããã <literal>byte</literal> é
åã®ãµã¤"
+"ãºãå¶éãã¾ãã <literal>binary</literal> ã <literal>serializable</"
+"literal> åã®å¤§ããªã¤ã³ã¹ã¿ã³ã¹ã使ããããã°ã <literal>hibernate.jdbc."
+"use_streams_for_binary</literal> ãæå¹ã«ãã¦ãã ããã ãã ã <emphasis>ãã"
+"ã¯ã·ã¹ãã ã¬ãã«ã®è¨å®ã ãã§ã</emphasis> ã"
-#: index.docbook:1139
+#. Tag: title
+#: configuration.xml:1139
+#, no-c-format
msgid "Second-level and query cache"
msgstr "2次ãã£ãã·ã¥ã¨ã¯ã¨ãªã¼ãã£ãã·ã¥"
-#: index.docbook:1141
-msgid "The properties prefixed by <literal>hibernate.cache</literal> allow you to use a process or cluster scoped second-level cache system with Hibernate. See the <xref linkend=\"performance-cache\"/> for more details."
-msgstr "<literal>hibernate.cache</literal> ããããã£æ¥é è¾ã¯ Hibernateã§ããã»ã¹ãã¯ã©ã¹ã¿äºæ¬¡ãã£ãã·ã¥ã使ãã¨ãã¨ã許å¯ãã¾ãã <xref linkend=\"performance-cache\"/>ã«ããå¤ãã®è©³ç´°ãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1141
+#, no-c-format
+msgid ""
+"The properties prefixed by <literal>hibernate.cache</literal> allow you to "
+"use a process or cluster scoped second-level cache system with Hibernate. "
+"See the <xref linkend=\"performance-cache\"/> for more details."
+msgstr ""
+"<literal>hibernate.cache</literal> ããããã£æ¥é è¾ã¯ Hibernateã§ããã»ã¹ãã¯"
+"ã©ã¹ã¿äºæ¬¡ãã£ãã·ã¥ã使ãã¨ãã¨ã許å¯ãã¾ãã <xref linkend=\"performance-"
+"cache\"/>ã«ããå¤ãã®è©³ç´°ãããã¾ãã"
-#: index.docbook:1151
+#. Tag: title
+#: configuration.xml:1151
+#, no-c-format
msgid "Query Language Substitution"
msgstr "ã¯ã¨ãªã¼è¨èªã®ç½®ãæã"
-#: index.docbook:1153
-msgid "You may define new Hibernate query tokens using <literal>hibernate.query.substitutions</literal>. For example:"
-msgstr "<literal>hibernate.query.substitutions</literal> ã使ããã¨ã§ã æ°ããHibernateã¯ã¨ãªãã¼ã¯ã³ãå®ç¾©ã§ãã¾ãã ä¾ï¼"
+#. Tag: para
+#: configuration.xml:1153
+#, no-c-format
+msgid ""
+"You may define new Hibernate query tokens using <literal>hibernate.query."
+"substitutions</literal>. For example:"
+msgstr ""
+"<literal>hibernate.query.substitutions</literal> ã使ããã¨ã§ã æ°ãã"
+"Hibernateã¯ã¨ãªãã¼ã¯ã³ãå®ç¾©ã§ãã¾ãã ä¾ï¼"
-#: index.docbook:1158
+#. Tag: programlisting
+#: configuration.xml:1158
+#, no-c-format
msgid "hibernate.query.substitutions true=1, false=0"
msgstr "hibernate.query.substitutions true=1, false=0"
-#: index.docbook:1160
-msgid "would cause the tokens <literal>true</literal> and <literal>false</literal> to be translated to integer literals in the generated SQL."
-msgstr "ããã¯ãã¼ã¯ã³ <literal>true</literal> 㨠<literal>false</literal> ãã çæãããSQLã«ããã¦æ´æ°ãªãã©ã«ã«ç¿»è¨³ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1160
+#, no-c-format
+msgid ""
+"would cause the tokens <literal>true</literal> and <literal>false</literal> "
+"to be translated to integer literals in the generated SQL."
+msgstr ""
+"ããã¯ãã¼ã¯ã³ <literal>true</literal> 㨠<literal>false</literal> ãã çæ"
+"ãããSQLã«ããã¦æ´æ°ãªãã©ã«ã«ç¿»è¨³ãã¾ãã"
-#: index.docbook:1165
+#. Tag: programlisting
+#: configuration.xml:1165
+#, no-c-format
msgid "hibernate.query.substitutions toLowercase=LOWER"
msgstr "hibernate.query.substitutions toLowercase=LOWER"
-#: index.docbook:1167
+#. Tag: para
+#: configuration.xml:1167
+#, no-c-format
msgid "would allow you to rename the SQL <literal>LOWER</literal> function."
-msgstr "ããã¯SQLã® <literal>LOWER</literal> 颿°ã®ååã®ä»ãæ¿ããå¯è½ã«ãã¾ãã"
+msgstr ""
+"ããã¯SQLã® <literal>LOWER</literal> 颿°ã®ååã®ä»ãæ¿ããå¯è½ã«ãã¾ãã"
-#: index.docbook:1174
+#. Tag: title
+#: configuration.xml:1174
+#, no-c-format
msgid "Hibernate statistics"
msgstr "Hibernate çµ±è¨"
-#: index.docbook:1176
-msgid "If you enable <literal>hibernate.generate_statistics</literal>, Hibernate will expose a number of metrics that are useful when tuning a running system via <literal>SessionFactory.getStatistics()</literal>. Hibernate can even be configured to expose these statistics via JMX. Read the Javadoc of the interfaces in <literal>org.hibernate.stats</literal> for more information."
-msgstr "<literal>hibernate.generate_statistics</literal> ãæå¹ã«ããå ´åã åä½ãã¦ããã·ã¹ãã ããã¥ã¼ãã³ã°ããã¨ãã«ã<literal>SessionFactory.getStatistics()</literal> ãçµç±ãã¦ãHibernateã¯ä¾¿å©ãªçµ±è¨æ
å ±ãåºåãã¾ãã JMXãçµç±ãã¦çµ±è¨æ
å ±ãåºåãããã¨ãå¯è½ã§ãã Javadocã® <literal>org.hibernate.stats</literal> ããã±ã¼ã¸å
ã® ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¯ããå¤ãã®æ
å ±ãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1176
+#, no-c-format
+msgid ""
+"If you enable <literal>hibernate.generate_statistics</literal>, Hibernate "
+"will expose a number of metrics that are useful when tuning a running system "
+"via <literal>SessionFactory.getStatistics()</literal>. Hibernate can even be "
+"configured to expose these statistics via JMX. Read the Javadoc of the "
+"interfaces in <literal>org.hibernate.stats</literal> for more information."
+msgstr ""
+"<literal>hibernate.generate_statistics</literal> ãæå¹ã«ããå ´åã åä½ãã¦"
+"ããã·ã¹ãã ããã¥ã¼ãã³ã°ããã¨ãã«ã<literal>SessionFactory.getStatistics()"
+"</literal> ãçµç±ãã¦ãHibernateã¯ä¾¿å©ãªçµ±è¨æ
å ±ãåºåãã¾ãã JMXãçµç±ãã¦"
+"çµ±è¨æ
å ±ãåºåãããã¨ãå¯è½ã§ãã Javadocã® <literal>org.hibernate.stats</"
+"literal> ããã±ã¼ã¸å
ã® ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ã¯ããå¤ãã®æ
å ±ãããã¾ãã"
-#: index.docbook:1188
+#. Tag: title
+#: configuration.xml:1188
+#, no-c-format
msgid "Logging"
msgstr "ãã®ã³ã°"
-#: index.docbook:1190
+#. Tag: para
+#: configuration.xml:1190
+#, no-c-format
msgid "Hibernate logs various events using Apache commons-logging."
-msgstr "Hibernateã¯Apache commons-logginã使ã£ã¦ããã¾ãã¾ãªã¤ãã³ãããã°ã¨ã㦠åºåãã¾ãã"
+msgstr ""
+"Hibernateã¯Apache commons-logginã使ã£ã¦ããã¾ãã¾ãªã¤ãã³ãããã°ã¨ã㦠åºå"
+"ãã¾ãã"
-#: index.docbook:1194
-msgid "The commons-logging service will direct output to either Apache Log4j (if you include <literal>log4j.jar</literal> in your classpath) or JDK1.4 logging (if running under JDK1.4 or above). You may download Log4j from <literal>http://jakarta.apache.org</literal>. To use Log4j you will need to place a <literal>log4j.properties</literal> file in your classpath, an example properties file is distributed with Hibernate in the <literal>src/</literal> directory."
-msgstr "commons-loggingãµã¼ãã¹ã¯ï¼ã¯ã©ã¹ãã¹ã« <literal>log4j.jar</literal> ãå«ããã°ï¼Apache Log4jã«ã ã¾ãï¼JDK1.4ããã以ä¸ã§å®è¡ãããã°ï¼JDK1.4 loggingã«ç´æ¥åºåãã¾ãã Log4j㯠<literal>http://jakarta.apache.org</literal> ãããã¦ã³ãã¼ãã§ãã¾ãã Log4jã使ãããã«ã¯ãã¯ã©ã¹ãã¹ã« <literal>log4j.properties</literal> ãã¡ã¤ã«ãé
ç½®ããå¿
è¦ãããã¾ãã ä¾ã®ããããã£ãã¡ã¤ã«ã¯Hibernateã¨ä¸ç·ã«é
å¸ããããã㯠<literal>src/</literal> ãã£ã¬ã¯ããªã«ããã¾ãã"
+#. Tag: para
+#: configuration.xml:1194
+#, no-c-format
+msgid ""
+"The commons-logging service will direct output to either Apache Log4j (if "
+"you include <literal>log4j.jar</literal> in your classpath) or JDK1.4 "
+"logging (if running under JDK1.4 or above). You may download Log4j from "
+"<literal>http://jakarta.apache.org</literal>. To use Log4j you will need to "
+"place a <literal>log4j.properties</literal> file in your classpath, an "
+"example properties file is distributed with Hibernate in the <literal>src/</"
+"literal> directory."
+msgstr ""
+"commons-loggingãµã¼ãã¹ã¯ï¼ã¯ã©ã¹ãã¹ã« <literal>log4j.jar</literal> ãå«ãã"
+"ã°ï¼Apache Log4jã«ã ã¾ãï¼JDK1.4ããã以ä¸ã§å®è¡ãããã°ï¼JDK1.4 loggingã«ç´"
+"æ¥åºåãã¾ãã Log4j㯠<literal>http://jakarta.apache.org</literal> ãããã¦"
+"ã³ãã¼ãã§ãã¾ãã Log4jã使ãããã«ã¯ãã¯ã©ã¹ãã¹ã« <literal>log4j."
+"properties</literal> ãã¡ã¤ã«ãé
ç½®ããå¿
è¦ãããã¾ãã ä¾ã®ããããã£ãã¡ã¤"
+"ã«ã¯Hibernateã¨ä¸ç·ã«é
å¸ããããã㯠<literal>src/</literal> ãã£ã¬ã¯ããªã«"
+"ããã¾ãã"
-#: index.docbook:1204
-msgid "We strongly recommend 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: para
+#: configuration.xml:1204
+#, no-c-format
+msgid ""
+"We strongly recommend 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ã®ãã°ã¯"
+"èªã¿ããããã§ããéã詳細ã«ãªãããã«åªåããã¦ãã¾ãã ããã¯å¿
é ã®ãã©ãã«"
+"ã·ã¥ã¼ãã£ã³ã°ããã¤ã¹ã§ãã 以ä¸ã«éè¦ãªãã°ã®ã«ãã´ãªã示ãã¾ãã"
-#: index.docbook:1213
+#. Tag: title
+#: configuration.xml:1213
+#, no-c-format
msgid "Hibernate Log Categories"
msgstr "Hibernate ãã°ã«ãã´ãª"
-#: index.docbook:1219
+#. Tag: entry
+#: configuration.xml:1219
+#, no-c-format
msgid "Category"
msgstr "ã«ãã´ãª"
-#: index.docbook:1220
+#. Tag: entry
+#: configuration.xml:1220
+#, no-c-format
msgid "Function"
-msgstr "<entry>æ©è½</entry>"
+msgstr "æ©è½"
-#: index.docbook:1225
+#. Tag: literal
+#: configuration.xml:1225
+#, no-c-format
msgid "org.hibernate.SQL"
msgstr "org.hibernate.SQL"
-#: index.docbook:1226
+#. Tag: entry
+#: configuration.xml:1226
+#, no-c-format
msgid "Log all SQL DML statements as they are executed"
msgstr "å®è¡ãããã¹ã¦ã®SQLï¼DDLï¼ã¹ãã¼ãã¡ã³ãããã®ã³ã°ãã¾ãã"
-#: index.docbook:1229
+#. Tag: literal
+#: configuration.xml:1229
+#, no-c-format
msgid "org.hibernate.type"
msgstr "org.hibernate.type"
-#: index.docbook:1230
+#. Tag: entry
+#: configuration.xml:1230
+#, no-c-format
msgid "Log all JDBC parameters"
msgstr "ãã¹ã¦ã®JDBCãã©ã¡ã¼ã¿ããã®ã³ã°ãã¾ãã"
-#: index.docbook:1233
+#. Tag: literal
+#: configuration.xml:1233
+#, no-c-format
msgid "org.hibernate.tool.hbm2ddl"
msgstr "org.hibernate.tool.hbm2ddl"
-#: index.docbook:1234
+#. Tag: entry
+#: configuration.xml:1234
+#, no-c-format
msgid "Log all SQL DDL statements as they are executed"
msgstr "å®è¡ãããã¹ã¦ã®SQLï¼DDLï¼ã¹ãã¼ãã¡ã³ãããã®ã³ã°ãã¾ãã"
-#: index.docbook:1237
+#. Tag: literal
+#: configuration.xml:1237
+#, no-c-format
msgid "org.hibernate.pretty"
msgstr "org.hibernate.pretty"
-#: index.docbook:1238
-msgid "Log the state of all entities (max 20 entities) associated with the session at flush time"
-msgstr "sessionã«é¢é£ãããã¹ã¦ã®ã¨ã³ãã£ãã£ï¼æå¤§ï¼ï¼ï¼ã®ãã©ãã·ã¥æéããã®ã³ã°ãã¾ãã"
+#. Tag: entry
+#: configuration.xml:1238
+#, no-c-format
+msgid ""
+"Log the state of all entities (max 20 entities) associated with the session "
+"at flush time"
+msgstr ""
+"sessionã«é¢é£ãããã¹ã¦ã®ã¨ã³ãã£ãã£ï¼æå¤§ï¼ï¼ï¼ã®ãã©ãã·ã¥æéããã®ã³ã°ã"
+"ã¾ãã"
-#: index.docbook:1244
+#. Tag: literal
+#: configuration.xml:1244
+#, no-c-format
msgid "org.hibernate.cache"
msgstr "org.hibernate.cache"
-#: index.docbook:1245
+#. Tag: entry
+#: configuration.xml:1245
+#, no-c-format
msgid "Log all second-level cache activity"
msgstr "ãã¹ã¦ã®ï¼æ¬¡ãã£ãã·ã¥ã®åä½ããã®ã³ã°ãã¾ãã"
-#: index.docbook:1248
+#. Tag: literal
+#: configuration.xml:1248
+#, no-c-format
msgid "org.hibernate.transaction"
msgstr "org.hibernate.transaction"
-#: index.docbook:1249
+#. Tag: entry
+#: configuration.xml:1249
+#, no-c-format
msgid "Log transaction related activity"
msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã«é¢é£ããåä½ããã®ã³ã°ãã¾ãã"
-#: index.docbook:1252
+#. Tag: literal
+#: configuration.xml:1252
+#, no-c-format
msgid "org.hibernate.jdbc"
msgstr "org.hibernate.jdbc"
-#: index.docbook:1253
+#. Tag: entry
+#: configuration.xml:1253
+#, no-c-format
msgid "Log all JDBC resource acquisition"
msgstr "JDBCãªã½ã¼ã¹åå¾ããã®ã³ã°ãã¾ãã"
-#: index.docbook:1256
+#. Tag: literal
+#: configuration.xml:1256
+#, no-c-format
msgid "org.hibernate.hql.ast.AST"
msgstr "org.hibernate.hql.ast.AST"
-#: index.docbook:1257
+#. Tag: entry
+#: configuration.xml:1257
+#, no-c-format
msgid "Log HQL and SQL ASTs during query parsing"
msgstr "HQLã¨SQLã®ASTã®ã¯ã¨ãªã¼ãã¼ã¹ããã®ã³ã°ãã¾ãã"
-#: index.docbook:1262
+#. Tag: literal
+#: configuration.xml:1262
+#, no-c-format
msgid "org.hibernate.secure"
msgstr "org.hibernate.secure"
-#: index.docbook:1263
+#. Tag: entry
+#: configuration.xml:1263
+#, no-c-format
msgid "Log all JAAS authorization requests"
msgstr "ãã¹ã¦ã®JAASåæããã®ã³ã°ãã¾ãã"
-#: index.docbook:1266
+#. Tag: literal
+#: configuration.xml:1266
+#, no-c-format
msgid "org.hibernate"
msgstr "org.hibernate"
-#: index.docbook:1267
-msgid "Log everything (a lot of information, but very useful for troubleshooting)"
-msgstr "ãã¹ã¦ããã®ã³ã°ãã¾ããï¼æ
å ±ã大éã«ãªãã¾ããããã©ãã«ã·ã¥ã¼ãã£ã³ã°ã«ã¯ä¾¿å©ã§ãï¼"
+#. Tag: entry
+#: configuration.xml:1267
+#, no-c-format
+msgid ""
+"Log everything (a lot of information, but very useful for troubleshooting)"
+msgstr ""
+"ãã¹ã¦ããã®ã³ã°ãã¾ããï¼æ
å ±ã大éã«ãªãã¾ããããã©ãã«ã·ã¥ã¼ãã£ã³ã°ã«ã¯"
+"便å©ã§ãï¼"
-#: index.docbook:1276
-msgid "When developing applications with Hibernate, you should almost always work with <literal>debug</literal> enabled for the category <literal>org.hibernate.SQL</literal>, or, alternatively, the property <literal>hibernate.show_sql</literal> enabled."
-msgstr "Hibernateã§ã¢ããªã±ã¼ã·ã§ã³ã使ããã¨ãã¯ã<literal>org.hibernate.SQL</literal> ã«ãã´ãªã® <literal>debug</literal> ãå¸¸ã«æå¹ã«ãã¦ãããã»ããè¯ãã§ãããã ä»£æ¿æ¹æ³ã¨ãã¦ã<literal>hibernate.show_sql</literal> ãæå¹ã«ããæ¹æ³ãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1276
+#, no-c-format
+msgid ""
+"When developing applications with Hibernate, you should almost always work "
+"with <literal>debug</literal> enabled for the category <literal>org."
+"hibernate.SQL</literal>, or, alternatively, the property <literal>hibernate."
+"show_sql</literal> enabled."
+msgstr ""
+"Hibernateã§ã¢ããªã±ã¼ã·ã§ã³ã使ããã¨ãã¯ã<literal>org.hibernate.SQL</"
+"literal> ã«ãã´ãªã® <literal>debug</literal> ãå¸¸ã«æå¹ã«ãã¦ãããã»ããè¯ã"
+"ã§ãããã ä»£æ¿æ¹æ³ã¨ãã¦ã<literal>hibernate.show_sql</literal> ãæå¹ã«ãã"
+"æ¹æ³ãããã¾ãã"
-#: index.docbook:1286
+#. Tag: title
+#: configuration.xml:1286
+#, no-c-format
msgid "Implementing a <literal>NamingStrategy</literal>"
msgstr "<literal>NamingStrategy</literal> ã®å®è£
"
-#: index.docbook:1288
-msgid "The interface <literal>org.hibernate.cfg.NamingStrategy</literal> allows you to specify a \"naming standard\" for database objects and schema elements."
-msgstr "ã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>net.sf.hibernate.cfg.NamingStrategy</literal> ã使ã㨠ãã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã¨ã¹ãã¼ãè¦ç´ ã®ããã®ãå½åæ¨æºããæå®ã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1288
+#, no-c-format
+msgid ""
+"The interface <literal>org.hibernate.cfg.NamingStrategy</literal> allows you "
+"to specify a \"naming standard\" for database objects and schema elements."
+msgstr ""
+"ã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>net.sf.hibernate.cfg.NamingStrategy</literal> ã使"
+"ã㨠ãã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã¨ã¹ãã¼ãè¦ç´ ã®ããã®ãå½åæ¨æºããæå®ã§ãã¾"
+"ãã"
-#: index.docbook:1293
-msgid "You may 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_</literal> prefixes, for example). The default strategy used by Hibernate is quite minimal."
-msgstr "Javaã®èå¥åãããã¼ã¿ãã¼ã¹ã®èå¥åãèªåçæããããã®ã«ã¼ã«ãã ãããã³ã°ãã¡ã¤ã«ã§ä¸ãããè«ççãªãã«ã©ã ã¨ãã¼ãã«åãã ãç©ççãªããã¼ãã«ã¨ã«ã©ã åãçæããããã®ã«ã¼ã«ãç¨æãããã¨ãã§ãã¾ãã ãã®æ©è½ã¯ç¹°ãè¿ãã®éé³ï¼ä¾ãã° <literal>TBL_</literal> ããªãã£ãã¯ã¹ï¼ãåãé¤ãã ãããã³ã°ããã¥ã¡ã³ãã®åé·ããæ¸ãããã¨ã«å½¹ç«ã¡ã¾ãã Hibernateã使ãããã©ã«ãã®æ¦ç¥ã¯ããªãæå°éã«è¿ããã®ã§ãã"
+#. Tag: para
+#: configuration.xml:1293
+#, no-c-format
+msgid ""
+"You may 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_</literal> prefixes, for example). The default strategy "
+"used by Hibernate is quite minimal."
+msgstr ""
+"Javaã®èå¥åãããã¼ã¿ãã¼ã¹ã®èå¥åãèªåçæããããã®ã«ã¼ã«ãã ãããã³ã°"
+"ãã¡ã¤ã«ã§ä¸ãããè«ççãªãã«ã©ã ã¨ãã¼ãã«åãã ãç©ççãªããã¼ãã«ã¨ã«ã©"
+"ã åãçæããããã®ã«ã¼ã«ãç¨æãããã¨ãã§ãã¾ãã ãã®æ©è½ã¯ç¹°ãè¿ãã®éé³"
+"ï¼ä¾ãã° <literal>TBL_</literal> ããªãã£ãã¯ã¹ï¼ãåãé¤ãã ãããã³ã°ã"
+"ãã¥ã¡ã³ãã®åé·ããæ¸ãããã¨ã«å½¹ç«ã¡ã¾ãã Hibernateã使ãããã©ã«ãã®æ¦ç¥"
+"ã¯ããªãæå°éã«è¿ããã®ã§ãã"
-#: index.docbook:1302
-msgid "You may specify a different strategy by calling <literal>Configuration.setNamingStrategy()</literal> before adding mappings:"
-msgstr "ãããã³ã°ã追å ããåã« <literal>Configuration.setNamingStrategy()</literal> ãå¼ã¶ãã¨ã§ 以ä¸ã®ããã«ç°ãªãæ¦ç¥ãæå®ãããã¨ãã§ãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:1302
+#, no-c-format
+msgid ""
+"You may specify a different strategy by calling <literal>Configuration."
+"setNamingStrategy()</literal> before adding mappings:"
+msgstr ""
+"ãããã³ã°ã追å ããåã« <literal>Configuration.setNamingStrategy()</"
+"literal> ãå¼ã¶ãã¨ã§ 以ä¸ã®ããã«ç°ãªãæ¦ç¥ãæå®ãããã¨ãã§ãã¾ãï¼"
-#: index.docbook:1307
+#. Tag: programlisting
+#: configuration.xml:1307
+#, no-c-format
msgid ""
- "<![CDATA[SessionFactory sf = new Configuration()\n"
- " .setNamingStrategy(ImprovedNamingStrategy.INSTANCE)\n"
- " .addFile(\"Item.hbm.xml\")\n"
- " .addFile(\"Bid.hbm.xml\")\n"
- " .buildSessionFactory();]]>"
+"<![CDATA[SessionFactory sf = new Configuration()\n"
+" .setNamingStrategy(ImprovedNamingStrategy.INSTANCE)\n"
+" .addFile(\"Item.hbm.xml\")\n"
+" .addFile(\"Bid.hbm.xml\")\n"
+" .buildSessionFactory();]]>"
msgstr ""
- "<![CDATA[SessionFactory sf = new Configuration()\n"
- " .setNamingStrategy(ImprovedNamingStrategy.INSTANCE)\n"
- " .addFile(\"Item.hbm.xml\")\n"
- " .addFile(\"Bid.hbm.xml\")\n"
- " .buildSessionFactory();]]>"
-#: index.docbook:1309
-msgid "<literal>org.hibernate.cfg.ImprovedNamingStrategy</literal> is a built-in strategy that might be a useful starting point for some applications."
-msgstr "<literal>org.hibernate.cfg.ImprovedNamingStrategy</literal> ã¯çµã¿è¾¼ã¿ã®æ¦ç¥ã§ãã ããã¯ããã¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦æç¨ãªéå§ç¹ã¨ãªãããããã¾ããã"
+#. Tag: para
+#: configuration.xml:1309
+#, no-c-format
+msgid ""
+"<literal>org.hibernate.cfg.ImprovedNamingStrategy</literal> is a built-in "
+"strategy that might be a useful starting point for some applications."
+msgstr ""
+"<literal>org.hibernate.cfg.ImprovedNamingStrategy</literal> ã¯çµã¿è¾¼ã¿ã®æ¦ç¥"
+"ã§ãã ããã¯ããã¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦æç¨ãªéå§ç¹ã¨ãªãããããã¾ã"
+"ãã"
-#: index.docbook:1317
+#. Tag: title
+#: configuration.xml:1317
+#, no-c-format
msgid "XML configuration file"
msgstr "XMLè¨å®ãã¡ã¤ã«"
-#: index.docbook:1319
-msgid "An alternative approach to configuration is to specify a full configuration in a file named <literal>hibernate.cfg.xml</literal>. This file can be used as a replacement for the <literal>hibernate.properties</literal> file or, if both are present, to override properties."
-msgstr "ãã1ã¤ã®æ¹æ³ã¯ <literal>hibernate.cfg.xml</literal> ã¨ããååã®ãã¡ã¤ã«ã§ ååãªè¨å®ãæå®ããæ¹æ³ã§ãã ãã®ãã¡ã¤ã«ã¯ <literal>hibernate.properties</literal> ãã¡ã¤ã«ã®ä»£ããã¨ãªãã¾ãã ãã両æ¹ã®ãã¡ã¤ã«ãããã°ãããããã£ãç½®ãæãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1319
+#, no-c-format
+msgid ""
+"An alternative approach to configuration is to specify a full configuration "
+"in a file named <literal>hibernate.cfg.xml</literal>. This file can be used "
+"as a replacement for the <literal>hibernate.properties</literal> file or, if "
+"both are present, to override properties."
+msgstr ""
+"ãã1ã¤ã®æ¹æ³ã¯ <literal>hibernate.cfg.xml</literal> ã¨ããååã®ãã¡ã¤ã«ã§ "
+"ååãªè¨å®ãæå®ããæ¹æ³ã§ãã ãã®ãã¡ã¤ã«ã¯ <literal>hibernate.properties</"
+"literal> ãã¡ã¤ã«ã®ä»£ããã¨ãªãã¾ãã ãã両æ¹ã®ãã¡ã¤ã«ãããã°ãããããã£"
+"ãç½®ãæãããã¾ãã"
-#: index.docbook:1326
-msgid "The XML configuration file is by default expected to be in the root o your <literal>CLASSPATH</literal>. Here is an example:"
-msgstr "XMLè¨å®ãã¡ã¤ã«ã¯åæè¨å®ã§ <literal>CLASSPATH</literal> ã«é
ç½®ãã¦ãã ããã ãããä¾ã§ãï¼"
+#. Tag: para
+#: configuration.xml:1326
+#, no-c-format
+msgid ""
+"The XML configuration file is by default expected to be in the root o your "
+"<literal>CLASSPATH</literal>. Here is an example:"
+msgstr ""
+"XMLè¨å®ãã¡ã¤ã«ã¯åæè¨å®ã§ <literal>CLASSPATH</literal> ã«é
ç½®ãã¦ãã ã"
+"ãã ãããä¾ã§ãï¼"
-#: index.docbook:1331
+#. Tag: programlisting
+#: configuration.xml:1331
+#, no-c-format
msgid ""
- "<![CDATA[<?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>]]>"
+"<![CDATA[<?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 ""
- "<![CDATA[<?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"
- " <!-- /jndi/nameã®ããã«ãªã¹ãã¢ãããããSessionFactoryã¤ã³ã¹ã¿ã³ã¹ -->\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>]]>"
-#: index.docbook:1333
-msgid "As you can see, the advantage of this approach is the externalization of the mapping file names to configuration. The <literal>hibernate.cfg.xml</literal> is also more convenient once you have to tune the Hibernate cache. Note that is your choice to use either <literal>hibernate.properties</literal> or <literal>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> ã¯ãã便å©ã§ãã <literal>hibernate.properties</literal> 㨠<literal>hibernate.cfg.xml</literal> ã® ã©ã¡ããã使ãããã¨ãè¦ãã¦ããã¦ãã ããã äºã¤ã¯åããã®ã§ãéãã¨ããã¨ããã°XMLæ§æã使ããã¨ã®å©ç¹ã ãã§ãã"
+#. Tag: para
+#: configuration.xml:1333
+#, no-c-format
+msgid ""
+"As you can see, the advantage of this approach is the externalization of the "
+"mapping file names to configuration. The <literal>hibernate.cfg.xml</"
+"literal> is also more convenient once you have to tune the Hibernate cache. "
+"Note that is your choice to use either <literal>hibernate.properties</"
+"literal> or <literal>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> ã¯ãã便å©ã§ãã "
+"<literal>hibernate.properties</literal> 㨠<literal>hibernate.cfg.xml</"
+"literal> ã® ã©ã¡ããã使ãããã¨ãè¦ãã¦ããã¦ãã ããã äºã¤ã¯åããã®ã§ãé"
+"ãã¨ããã¨ããã°XMLæ§æã使ããã¨ã®å©ç¹ã ãã§ãã"
-#: index.docbook:1342
+#. Tag: para
+#: configuration.xml:1342
+#, no-c-format
msgid "With the XML configuration, starting Hibernate is then as simple as"
msgstr "XMLè¨å®ã使ããã¨ã§ãHibernateã¯ä»¥ä¸ã®ããã«ã·ã³ãã«ã«ãªãã¾ãã"
-#: index.docbook:1346
-msgid "<![CDATA[SessionFactory sf = new Configuration().configure().buildSessionFactory();]]>"
-msgstr "<![CDATA[SessionFactory sf = new Configuration().configure().buildSessionFactory();]]>"
+#. Tag: programlisting
+#: configuration.xml:1346
+#, no-c-format
+msgid ""
+"<![CDATA[SessionFactory sf = new Configuration().configure()."
+"buildSessionFactory();]]>"
+msgstr ""
-#: index.docbook:1348
+#. Tag: para
+#: configuration.xml:1348
+#, no-c-format
msgid "You can pick a different XML configuration file using"
msgstr "éãXMLè¨å®ãã¡ã¤ã«ã使ããã¨ãã§ãã¾ãã"
-#: index.docbook:1352
+#. Tag: programlisting
+#: configuration.xml:1352
+#, no-c-format
msgid ""
- "<![CDATA[SessionFactory sf = new Configuration()\n"
- " .configure(\"catdb.cfg.xml\")\n"
- " .buildSessionFactory();]]>"
+"<![CDATA[SessionFactory sf = new Configuration()\n"
+" .configure(\"catdb.cfg.xml\")\n"
+" .buildSessionFactory();]]>"
msgstr ""
- "<![CDATA[SessionFactory sf = new Configuration()\n"
- " .configure(\"catdb.cfg.xml\")\n"
- " .buildSessionFactory();]]>"
-#: index.docbook:1357
+#. Tag: title
+#: configuration.xml:1357
+#, no-c-format
msgid "J2EE Application Server integration"
msgstr "J2EEã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¨ã®çµ±å"
-#: index.docbook:1359
+#. Tag: para
+#: configuration.xml:1359
+#, no-c-format
msgid "Hibernate has the following integration points for J2EE infrastructure:"
msgstr "Hibernateã¯J2EEæ§é ã¨çµ±åãããã¤ã³ãããµãã¼ããã¦ãã¾ãã"
-#: index.docbook:1365
-msgid "<emphasis>Container-managed datasources</emphasis>: Hibernate can use JDBC connections managed by the container and provided through JNDI. Usually, a JTA compatible <literal>TransactionManager</literal> and a <literal>ResourceManager</literal> take care of transaction management (CMT), esp. distributed transaction handling across several datasources. You may of course also demarcate transaction boundaries programmatically (BMT) or you might want to use the optional Hibernate <literal>Transaction</literal> API for this to keep your code portable."
-msgstr "<emphasis>ã³ã³ãã管çãã¼ã¿ã½ã¼ã¹</emphasis>ï¼Hibernate㯠JNDIãæä¾ããã³ã³ããã管çããJDBCã³ãã¯ã·ã§ã³ã使ç¨ã§ãã¾ãã é常ãJTAæºæ ã® <literal>TransactionManager</literal> 㨠<literal>ResourceManager</literal> ããã©ã³ã¶ã¯ã·ã§ã³ç®¡ç(CMT)ã ç¹ã«æ§ã
ãªãã¼ã¿ã½ã¼ã¹ã«ã¾ããã忣ãã©ã³ã¶ã¯ã·ã§ã³ãæ±ãã¾ãã å½ç¶ããã°ã©ã ã§ãã©ã³ã¶ã¯ã·ã§ã³å¢çãæå®ã§ãã¾ã(BMT)ã ãããã¯ãè¨è¿°ããã³ã¼ãã®ãã¼ã¿ããªãã£ãä¿ã¤ããã«ã ãªãã·ã§ã³ã®Hibernateã® <literal>Transaction</literal> APIã使ããããªãããããã¾ããã"
+#. Tag: para
+#: configuration.xml:1365
+#, no-c-format
+msgid ""
+"<emphasis>Container-managed datasources</emphasis>: Hibernate can use JDBC "
+"connections managed by the container and provided through JNDI. Usually, a "
+"JTA compatible <literal>TransactionManager</literal> and a "
+"<literal>ResourceManager</literal> take care of transaction management "
+"(CMT), esp. distributed transaction handling across several datasources. You "
+"may of course also demarcate transaction boundaries programmatically (BMT) "
+"or you might want to use the optional Hibernate <literal>Transaction</"
+"literal> API for this to keep your code portable."
+msgstr ""
+"<emphasis>ã³ã³ãã管çãã¼ã¿ã½ã¼ã¹</emphasis>ï¼Hibernate㯠JNDIãæä¾ããã³ã³"
+"ããã管çããJDBCã³ãã¯ã·ã§ã³ã使ç¨ã§ãã¾ãã é常ãJTAæºæ ã® "
+"<literal>TransactionManager</literal> 㨠<literal>ResourceManager</literal> "
+"ããã©ã³ã¶ã¯ã·ã§ã³ç®¡ç(CMT)ã ç¹ã«æ§ã
ãªãã¼ã¿ã½ã¼ã¹ã«ã¾ããã忣ãã©ã³ã¶ã¯"
+"ã·ã§ã³ãæ±ãã¾ãã å½ç¶ããã°ã©ã ã§ãã©ã³ã¶ã¯ã·ã§ã³å¢çãæå®ã§ãã¾ã(BMT)ã "
+"ãããã¯ãè¨è¿°ããã³ã¼ãã®ãã¼ã¿ããªãã£ãä¿ã¤ããã«ã ãªãã·ã§ã³ã®Hibernate"
+"ã® <literal>Transaction</literal> APIã使ããããªãããããã¾ããã"
-#: index.docbook:1380
-msgid "<emphasis>Automatic JNDI binding</emphasis>: Hibernate can bind its <literal>SessionFactory</literal> to JNDI after startup."
-msgstr "<emphasis>èªåJNDIãã¤ã³ãã£ã³ã°</emphasis>ï¼Hibernateã¯JNDIãç«ã¡ä¸ãã£ãå¾ã« <literal>SessionFactory</literal> ãçæãã¾ãã"
+#. Tag: para
+#: configuration.xml:1380
+#, no-c-format
+msgid ""
+"<emphasis>Automatic JNDI binding</emphasis>: Hibernate can bind its "
+"<literal>SessionFactory</literal> to JNDI after startup."
+msgstr ""
+"<emphasis>èªåJNDIãã¤ã³ãã£ã³ã°</emphasis>ï¼Hibernateã¯JNDIãç«ã¡ä¸ãã£ãå¾"
+"ã« <literal>SessionFactory</literal> ãçæãã¾ãã"
-#: index.docbook:1389
-msgid "<emphasis>JTA Session binding:</emphasis> The Hibernate <literal>Session</literal> may be automatically bound to the scope of JTA transactions. Simply lookup the <literal>SessionFactory</literal> from JNDI and get the current <literal>Session</literal>. Let Hibernate take care of flushing and closing the <literal>Session</literal> when your JTA transaction completes. Transaction demarcation is either declarative (CMT) or programmatic (BMT/UserTransaction)."
-msgstr "<emphasis>JTAã»ãã·ã§ã³ãã¤ã³ãã£ã³ã°</emphasis> ï¼ Hibernate <literal>Session</literal> ã®ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¯JTAãã©ã³ã¶ã¯ã·ã§ã³ã¨åãã«ãªãã¾ãã åç´ã« <literal>SessionFactory</literal> ãJNDIããlookupãã¦ã ç¾å¨ã® <literal>Session</literal> ãåå¾ãã¾ãã JTAãã©ã³ã¶ã¯ã·ã§ã³ãå®äºããã¨ãã«ãHibernateã <literal>Session</literal> ããã©ãã·ã¥ããã¯ãã¼ãºãã¾ãã EJBãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã®ä¸ã«ããã©ã³ã¶ã¯ã·ã§ã³å¢çã宣è¨ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1389
+#, no-c-format
+msgid ""
+"<emphasis>JTA Session binding:</emphasis> The Hibernate <literal>Session</"
+"literal> may be automatically bound to the scope of JTA transactions. Simply "
+"lookup the <literal>SessionFactory</literal> from JNDI and get the current "
+"<literal>Session</literal>. Let Hibernate take care of flushing and closing "
+"the <literal>Session</literal> when your JTA transaction completes. "
+"Transaction demarcation is either declarative (CMT) or programmatic (BMT/"
+"UserTransaction)."
+msgstr ""
+"<emphasis>JTAã»ãã·ã§ã³ãã¤ã³ãã£ã³ã°</emphasis> ï¼ Hibernate "
+"<literal>Session</literal> ã®ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¯JTAãã©ã³ã¶ã¯ã·ã§ã³ã¨åã"
+"ã«ãªãã¾ãã åç´ã« <literal>SessionFactory</literal> ãJNDIããlookupãã¦ã "
+"ç¾å¨ã® <literal>Session</literal> ãåå¾ãã¾ãã JTAãã©ã³ã¶ã¯ã·ã§ã³ãå®äºã"
+"ãã¨ãã«ãHibernateã <literal>Session</literal> ããã©ãã·ã¥ããã¯ãã¼ãºãã¾"
+"ãã EJBãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã®ä¸ã«ããã©ã³ã¶ã¯ã·ã§ã³å¢çã宣è¨ãã¾"
+"ãã"
-#: index.docbook:1402
-msgid "<emphasis>JMX deployment:</emphasis> If you have a JMX capable application server (e.g. JBoss AS), you can chose to deploy Hibernate as a managed MBean. This saves you the one line startup code to build your <literal>SessionFactory</literal> from a <literal>Configuration</literal>. The container will startup your <literal>HibernateService</literal>, and ideally also take care of service dependencies (Datasource has to be available before Hibernate starts, etc)."
-msgstr "<emphasis>JMXãããã¤:</emphasis> ããJMXã使ç¨å¯è½ãªã¢ããªã±ã¼ã·ã§ã³ãµã¼ãï¼ä¾ãã°JBOSSï¼ ãããå ´åãHibernateãMBeanã¨ãã¦ãããã¤ãããã¨ãé¸ã¹ã¾ãã ãã㯠<literal>Configuration</literal> ãã <literal>SessionFactory</literal> ã çæããã³ã¼ããç¡ãããã¨ãã§ãã¾ãã ã³ã³ãã㯠<literal>HibernateService</literal> ãèµ·åãã ãµã¼ãã¹ã®ä¾åãçæ³çã«ç®¡çãã¾ãï¼ãã¼ã¿ã½ã¼ã¹ã¯Hibernateããã®ä»ãèµ·åããå㫠使ç¨ã§ããããã«ããªããã°ãªãã¾ããï¼ã"
+#. Tag: para
+#: configuration.xml:1402
+#, no-c-format
+msgid ""
+"<emphasis>JMX deployment:</emphasis> If you have a JMX capable application "
+"server (e.g. JBoss AS), you can chose to deploy Hibernate as a managed "
+"MBean. This saves you the one line startup code to build your "
+"<literal>SessionFactory</literal> from a <literal>Configuration</literal>. "
+"The container will startup your <literal>HibernateService</literal>, and "
+"ideally also take care of service dependencies (Datasource has to be "
+"available before Hibernate starts, etc)."
+msgstr ""
+"<emphasis>JMXãããã¤:</emphasis> ããJMXã使ç¨å¯è½ãªã¢ããªã±ã¼ã·ã§ã³ãµã¼ã"
+"ï¼ä¾ãã°JBOSSï¼ ãããå ´åãHibernateãMBeanã¨ãã¦ãããã¤ãããã¨ãé¸ã¹ã¾"
+"ãã ãã㯠<literal>Configuration</literal> ãã <literal>SessionFactory</"
+"literal> ã çæããã³ã¼ããç¡ãããã¨ãã§ãã¾ãã ã³ã³ãã㯠"
+"<literal>HibernateService</literal> ãèµ·åãã ãµã¼ãã¹ã®ä¾åãçæ³çã«ç®¡çã"
+"ã¾ãï¼ãã¼ã¿ã½ã¼ã¹ã¯Hibernateããã®ä»ãèµ·åããå㫠使ç¨ã§ããããã«ããªãã"
+"ã°ãªãã¾ããï¼ã"
-#: index.docbook:1413
-msgid "Depending on your environment, you might have to set the configuration option <literal>hibernate.connection.aggressive_release</literal> to true if your application server shows \"connection containment\" exceptions."
-msgstr "ç°å¢ã«ä¾åãã¾ããããããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã\"connection containment\"ã®ä¾å¤ãã¹ãã¼ãããªã è¨å®ã®ãªãã·ã§ã³ <literal>hibernate.connection.aggressive_release</literal> ãtrueã«ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:1413
+#, no-c-format
+msgid ""
+"Depending on your environment, you might have to set the configuration "
+"option <literal>hibernate.connection.aggressive_release</literal> to true if "
+"your application server shows \"connection containment\" exceptions."
+msgstr ""
+"ç°å¢ã«ä¾åãã¾ããããããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã\"connection containment"
+"\"ã®ä¾å¤ãã¹ãã¼ãããªã è¨å®ã®ãªãã·ã§ã³ <literal>hibernate.connection."
+"aggressive_release</literal> ãtrueã«ãã¦ãã ããã"
-#: index.docbook:1420
+#. Tag: title
+#: configuration.xml:1420
+#, no-c-format
msgid "Transaction strategy configuration"
msgstr "ãã©ã³ã¶ã¯ã·ã§ã³æ¦ç¥è¨å®"
-#: index.docbook:1422
-msgid "The Hibernate <literal>Session</literal> API is independent of any transaction demarcation system in your architecture. If you let Hibernate use JDBC directly, through a connection pool, you may 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</literal> when needed."
-msgstr "Hibernate <literal>Session</literal> APIã¯ãã¢ã¼ããã¯ãã£å
ã®ã·ã¹ãã ã®ç®¡è½ã§ãã ãããããã©ã³ã¶ã¯ã·ã§ã³ã«ä¾åãã¾ããã ããã³ãã¯ã·ã§ã³ãã¼ã«ã®JDBCãç´æ¥ä½¿ãããå ´åãJDBC APIãã ãã©ã³ã¶ã¯ã·ã§ã³ãå¼ã¶ãã¨ãã§ãã¾ãã ãããJ2EEã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã§åä½ããããªããBean管çãã©ã³ã¶ã¯ã·ã§ã³ã使ãã å¿
è¦ã«å¿ã㦠<literal>UserTransaction</literal> ãJTA APIããå¼ã¶ãã¨ã«ãªãã§ãããã"
+#. Tag: para
+#: configuration.xml:1422
+#, no-c-format
+msgid ""
+"The Hibernate <literal>Session</literal> API is independent of any "
+"transaction demarcation system in your architecture. If you let Hibernate "
+"use JDBC directly, through a connection pool, you may 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</literal> when needed."
+msgstr ""
+"Hibernate <literal>Session</literal> APIã¯ãã¢ã¼ããã¯ãã£å
ã®ã·ã¹ãã ã®ç®¡è½"
+"ã§ãã ãããããã©ã³ã¶ã¯ã·ã§ã³ã«ä¾åãã¾ããã ããã³ãã¯ã·ã§ã³ãã¼ã«ã®JDBC"
+"ãç´æ¥ä½¿ãããå ´åãJDBC APIãã ãã©ã³ã¶ã¯ã·ã§ã³ãå¼ã¶ãã¨ãã§ãã¾ãã ã"
+"ããJ2EEã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã§åä½ããããªããBean管çãã©ã³ã¶ã¯ã·ã§ã³ã使"
+"ãã å¿
è¦ã«å¿ã㦠<literal>UserTransaction</literal> ãJTA APIããå¼ã¶ãã¨ã«"
+"ãªãã§ãããã"
-#: index.docbook:1430
-msgid "To keep your code portable between these two (and other) environments we recommend the optional Hibernate <literal>Transaction</literal> API, which wraps and hides the underlying system. You have to specify a factory class for <literal>Transaction</literal> instances by setting the Hibernate configuration property <literal>hibernate.transaction.factory_class</literal>."
-msgstr "2ã¤ï¼ãã以ä¸ï¼ã®ç°å¢ã§äºææ§ã®ããã³ã¼ããç¶æããããã«ããªãã·ã§ã³ã¨ãã¦æ ¹æ¬çãªã·ã¹ãã ã ã©ããã³ã°ããHibernate <literal>Transaction</literal> APIãæ¨å¥¨ãã¾ãã Hibernateè¨å®ããããã£ã® <literal>hibernate.transaction.factory_class</literal> ãè¨å®ãããã¨ã§ ããç¹å®ã® <literal>Transaction</literal> ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæã¤ãã¨ãã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1430
+#, no-c-format
+msgid ""
+"To keep your code portable between these two (and other) environments we "
+"recommend the optional Hibernate <literal>Transaction</literal> API, which "
+"wraps and hides the underlying system. You have to specify a factory class "
+"for <literal>Transaction</literal> instances by setting the Hibernate "
+"configuration property <literal>hibernate.transaction.factory_class</"
+"literal>."
+msgstr ""
+"2ã¤ï¼ãã以ä¸ï¼ã®ç°å¢ã§äºææ§ã®ããã³ã¼ããç¶æããããã«ããªãã·ã§ã³ã¨ãã¦æ ¹"
+"æ¬çãªã·ã¹ãã ã ã©ããã³ã°ããHibernate <literal>Transaction</literal> APIã"
+"æ¨å¥¨ãã¾ãã Hibernateè¨å®ããããã£ã® <literal>hibernate.transaction."
+"factory_class</literal> ãè¨å®ãããã¨ã§ ããç¹å®ã® <literal>Transaction</"
+"literal> ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæã¤ãã¨ãã§ãã¾ãã"
-#: index.docbook:1437
+#. Tag: para
+#: configuration.xml:1437
+#, no-c-format
msgid "There are three standard (built-in) choices:"
msgstr "3ã¤ã®åºæ¬çãªï¼æ¢ã«ããï¼é¸æãæãã¾ãï¼"
-#: index.docbook:1443
+#. Tag: literal
+#: configuration.xml:1443
+#, no-c-format
msgid "org.hibernate.transaction.JDBCTransactionFactory"
msgstr "org.hibernate.transaction.JDBCTransactionFactory"
-#: index.docbook:1445
+#. Tag: para
+#: configuration.xml:1445
+#, no-c-format
msgid "delegates to database (JDBC) transactions (default)"
msgstr "ãã¼ã¿ãã¼ã¹(JDBC)ãã©ã³ã¶ã¯ã·ã§ã³ã«å§è²ãã¾ãï¼ããã©ã«ãï¼"
-#: index.docbook:1449
+#. Tag: literal
+#: configuration.xml:1449
+#, no-c-format
msgid "org.hibernate.transaction.JTATransactionFactory"
msgstr "org.hibernate.transaction.JTATransactionFactory"
-#: index.docbook:1451
-msgid "delegates to container-managed transaction if an existing transaction is underway in this context (e.g. EJB session bean method), otherwise a new transaction is started and bean-managed transaction are used."
-msgstr "ããããã®ã³ã³ããã¹ãï¼ä¾ãã°ãEJBã»ãã·ã§ã³Beanã¡ã½ããï¼ã§é²è¡ä¸ã®ãã©ã³ã¶ã¯ã·ã§ã³ãåå¨ãããããã㯠æ°ãããã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã¦ãããBean管çãã©ã³ã¶ã¯ã·ã§ã³ã使ããã¦ããå ´åã ã³ã³ãã管çãã©ã³ã¶ã¯ã·ã§ã³ã«å§è²ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1451
+#, no-c-format
+msgid ""
+"delegates to container-managed transaction if an existing transaction is "
+"underway in this context (e.g. EJB session bean method), otherwise a new "
+"transaction is started and bean-managed transaction are used."
+msgstr ""
+"ããããã®ã³ã³ããã¹ãï¼ä¾ãã°ãEJBã»ãã·ã§ã³Beanã¡ã½ããï¼ã§é²è¡ä¸ã®ãã©ã³ã¶"
+"ã¯ã·ã§ã³ãåå¨ãããããã㯠æ°ãããã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã¦ãããBean管ç"
+"ãã©ã³ã¶ã¯ã·ã§ã³ã使ããã¦ããå ´åã ã³ã³ãã管çãã©ã³ã¶ã¯ã·ã§ã³ã«å§è²ãã¾"
+"ãã"
-#: index.docbook:1459
+#. Tag: literal
+#: configuration.xml:1459
+#, no-c-format
msgid "org.hibernate.transaction.CMTTransactionFactory"
msgstr "org.hibernate.transaction.CMTTransactionFactory"
-#: index.docbook:1461
+#. Tag: para
+#: configuration.xml:1461
+#, no-c-format
msgid "delegates to container-managed JTA transactions"
msgstr "ã³ã³ãã管çJTAãã©ã³ã¶ã¯ã·ã§ã³ã«å§è²ãã¾ã"
-#: index.docbook:1466
-msgid "You may also define your own transaction strategies (for a CORBA transaction service, for example)."
-msgstr "èªåèªèº«ã®ãã©ã³ã¶ã¯ã·ã§ã³æ¦ç¥ï¼ä¾ãã°ãCORBAãã©ã³ã¶ã¯ã·ã§ã³ãµã¼ãã¹ï¼ãå®ç¾©ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1466
+#, no-c-format
+msgid ""
+"You may also define your own transaction strategies (for a CORBA transaction "
+"service, for example)."
+msgstr ""
+"èªåèªèº«ã®ãã©ã³ã¶ã¯ã·ã§ã³æ¦ç¥ï¼ä¾ãã°ãCORBAãã©ã³ã¶ã¯ã·ã§ã³ãµã¼ãã¹ï¼ãå®ç¾©"
+"ãããã¨ãã§ãã¾ãã"
-#: index.docbook:1471
-msgid "Some features in Hibernate (i.e. the second level cache, Contextual Sessions with JTA, etc.) require access to the JTA <literal>TransactionManager</literal> in a managed environment. In an application server you have to specify how Hibernate should obtain a reference to the <literal>TransactionManager</literal>, since J2EE does not standardize a single mechanism:"
-msgstr "Hibernateã®ããã¤ãã®æ©è½ï¼ä¾ãã°ãäºæ¬¡ãã£ãã·ã¥ãJTAã«ããã³ã³ããã¹ãã»ãã·ã§ã³ çï¼ã¯ 管çãããç°å¢ã®ä¸ã®JTA <literal>TransactionManager</literal> ã¸ã®ã¢ã¯ã»ã¹ãè¦æ±ãã¾ãã J2EEãã²ã¨ã¤ã®ã¡ã«ããºã ã«è¦æ ¼åããã¦ããªãã®ã§ã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«ããã¦ãHibernateã <literal>TransactionManager</literal> ã®ãªãã¡ã¬ã³ã¹ ãåå¾ããæ¹æ³ãæç¢ºã«ããå¿
è¦ãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1471
+#, 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</"
+"literal> in a managed environment. In an application server you have to "
+"specify how Hibernate should obtain a reference to the "
+"<literal>TransactionManager</literal>, since J2EE does not standardize a "
+"single mechanism:"
+msgstr ""
+"Hibernateã®ããã¤ãã®æ©è½ï¼ä¾ãã°ãäºæ¬¡ãã£ãã·ã¥ãJTAã«ããã³ã³ããã¹ãã»ã"
+"ã·ã§ã³ çï¼ã¯ 管çãããç°å¢ã®ä¸ã®JTA <literal>TransactionManager</literal> "
+"ã¸ã®ã¢ã¯ã»ã¹ãè¦æ±ãã¾ãã J2EEãã²ã¨ã¤ã®ã¡ã«ããºã ã«è¦æ ¼åããã¦ããªãã®"
+"ã§ã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«ããã¦ãHibernateã "
+"<literal>TransactionManager</literal> ã®ãªãã¡ã¬ã³ã¹ ãåå¾ããæ¹æ³ãæç¢ºã«ã"
+"ãå¿
è¦ãããã¾ãã"
-#: index.docbook:1479
+#. Tag: title
+#: configuration.xml:1479
+#, no-c-format
msgid "JTA TransactionManagers"
msgstr "JTA ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã¸ã£"
-#: index.docbook:1485
+#. Tag: entry
+#: configuration.xml:1485
+#, no-c-format
msgid "Transaction Factory"
msgstr "Transaction Factory"
-#: index.docbook:1486
+#. Tag: entry
+#: configuration.xml:1486
+#, no-c-format
msgid "Application Server"
msgstr "Application Server"
-#: index.docbook:1491
+#. Tag: literal
+#: configuration.xml:1491
+#, no-c-format
msgid "org.hibernate.transaction.JBossTransactionManagerLookup"
msgstr "org.hibernate.transaction.JBossTransactionManagerLookup"
-#: index.docbook:1492
+#. Tag: entry
+#: configuration.xml:1492
+#, no-c-format
msgid "JBoss"
msgstr "JBoss"
-#: index.docbook:1495
+#. Tag: literal
+#: configuration.xml:1495
+#, no-c-format
msgid "org.hibernate.transaction.WeblogicTransactionManagerLookup"
msgstr "org.hibernate.transaction.WeblogicTransactionManagerLookup"
-#: index.docbook:1496
+#. Tag: entry
+#: configuration.xml:1496
+#, no-c-format
msgid "Weblogic"
msgstr "Weblogic"
-#: index.docbook:1499
+#. Tag: literal
+#: configuration.xml:1499
+#, no-c-format
msgid "org.hibernate.transaction.WebSphereTransactionManagerLookup"
msgstr "org.hibernate.transaction.WebSphereTransactionManagerLookup"
-#: index.docbook:1500
+#. Tag: entry
+#: configuration.xml:1500
+#, no-c-format
msgid "WebSphere"
msgstr "WebSphere"
-#: index.docbook:1503
+#. Tag: literal
+#: configuration.xml:1503
+#, no-c-format
msgid "org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"
msgstr "org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"
-#: index.docbook:1504
+#. Tag: entry
+#: configuration.xml:1504
+#, no-c-format
msgid "WebSphere 6"
msgstr "WebSphere 6"
-#: index.docbook:1507
+#. Tag: literal
+#: configuration.xml:1507
+#, no-c-format
msgid "org.hibernate.transaction.OrionTransactionManagerLookup"
msgstr "org.hibernate.transaction.OrionTransactionManagerLookup"
-#: index.docbook:1508
+#. Tag: entry
+#: configuration.xml:1508
+#, no-c-format
msgid "Orion"
msgstr "Orion"
-#: index.docbook:1511
+#. Tag: literal
+#: configuration.xml:1511
+#, no-c-format
msgid "org.hibernate.transaction.ResinTransactionManagerLookup"
msgstr "org.hibernate.transaction.ResinTransactionManagerLookup"
-#: index.docbook:1512
+#. Tag: entry
+#: configuration.xml:1512
+#, no-c-format
msgid "Resin"
msgstr "Resin"
-#: index.docbook:1515
+#. Tag: literal
+#: configuration.xml:1515
+#, no-c-format
msgid "org.hibernate.transaction.JOTMTransactionManagerLookup"
msgstr "org.hibernate.transaction.JOTMTransactionManagerLookup"
-#: index.docbook:1516
+#. Tag: entry
+#: configuration.xml:1516
+#, no-c-format
msgid "JOTM"
msgstr "JOTM"
-#: index.docbook:1519
+#. Tag: literal
+#: configuration.xml:1519
+#, no-c-format
msgid "org.hibernate.transaction.JOnASTransactionManagerLookup"
msgstr "org.hibernate.transaction.JOnASTransactionManagerLookup"
-#: index.docbook:1520
+#. Tag: entry
+#: configuration.xml:1520
+#, no-c-format
msgid "JOnAS"
msgstr "JOnAS"
-#: index.docbook:1523
+#. Tag: literal
+#: configuration.xml:1523
+#, no-c-format
msgid "org.hibernate.transaction.JRun4TransactionManagerLookup"
msgstr "org.hibernate.transaction.JRun4TransactionManagerLookup"
-#: index.docbook:1524
+#. Tag: entry
+#: configuration.xml:1524
+#, no-c-format
msgid "JRun4"
msgstr "JRun4"
-#: index.docbook:1527
+#. Tag: literal
+#: configuration.xml:1527
+#, no-c-format
msgid "org.hibernate.transaction.BESTransactionManagerLookup"
msgstr "org.hibernate.transaction.BESTransactionManagerLookup"
-#: index.docbook:1528
+#. Tag: entry
+#: configuration.xml:1528
+#, no-c-format
msgid "Borland ES"
msgstr "Borland ES"
-#: index.docbook:1537
+#. Tag: title
+#: configuration.xml:1537
+#, no-c-format
msgid "JNDI-bound <literal>SessionFactory</literal>"
msgstr "<literal>SessionFactory</literal> ã®JNDIã¸ã®ç»é²"
-#: index.docbook:1539
-msgid "A JNDI bound Hibernate <literal>SessionFactory</literal> can simplify the lookup of the factory and the creation of new <literal>Session</literal>s. Note that this is not related to a JNDI bound <literal>Datasource</literal>, both simply use the same registry!"
-msgstr "JNDIã«ç»é²ããHibernate <literal>SessionFactory</literal> ã¯åç´ã« ãã¡ã¯ããªãã«ãã¯ã¢ããããæ°ãã <literal>Session</literal> ãä½ãã¾ãã ããã¯JNDIã«ç»é²ããã <literal>Datasource</literal> ã«ã¯é¢é£ããã ãäºãã«ã·ã³ãã«ã«ãããã®ç»é²ã使ããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:1539
+#, no-c-format
+msgid ""
+"A JNDI bound Hibernate <literal>SessionFactory</literal> can simplify the "
+"lookup of the factory and the creation of new <literal>Session</literal>s. "
+"Note that this is not related to a JNDI bound <literal>Datasource</literal>, "
+"both simply use the same registry!"
+msgstr ""
+"JNDIã«ç»é²ããHibernate <literal>SessionFactory</literal> ã¯åç´ã« ãã¡ã¯ããª"
+"ãã«ãã¯ã¢ããããæ°ãã <literal>Session</literal> ãä½ãã¾ãã ããã¯JNDIã«"
+"ç»é²ããã <literal>Datasource</literal> ã«ã¯é¢é£ããã ãäºãã«ã·ã³ãã«ã«ã"
+"ããã®ç»é²ã使ããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:1546
-msgid "If you wish to have the <literal>SessionFactory</literal> bound to a JNDI namespace, specify a name (eg. <literal>java:hibernate/SessionFactory</literal>) using the property <literal>hibernate.session_factory_name</literal>. If this property is omitted, the <literal>SessionFactory</literal> will not be bound to JNDI. (This is especially useful in environments with a read-only JNDI default implementation, e.g. Tomcat.)"
-msgstr "ãã <literal>SessionFactory</literal> ãJNDIãã¼ã ã¹ãã¼ã¹ã«ç»é²ãããå ´åã ç¹å¥ãªååï¼ä¾ãã°ã <literal>java:hibernate/SessionFactory</literal> ï¼ã <literal>hibernate.session_factory_name</literal> ããããã£ã«ä½¿ã£ã¦ãã ãã ãããã®ããããã£ãçç¥ããå ´åã <literal>SessionFactory</literal> 㯠JNDIã«ç»é²ããã¾ãããï¼ããã¯Tomcatã®ãããªããã©ã«ãå®è£
ã§JNDIãèªã¿ããå°ç¨ã®ç°å¢ã®å ´åç¹ã«ä¾¿å©ã§ããï¼"
+#. Tag: para
+#: configuration.xml:1546
+#, no-c-format
+msgid ""
+"If you wish to have the <literal>SessionFactory</literal> bound to a JNDI "
+"namespace, specify a name (eg. <literal>java:hibernate/SessionFactory</"
+"literal>) using the property <literal>hibernate.session_factory_name</"
+"literal>. If this property is omitted, the <literal>SessionFactory</literal> "
+"will not be bound to JNDI. (This is especially useful in environments with a "
+"read-only JNDI default implementation, e.g. Tomcat.)"
+msgstr ""
+"ãã <literal>SessionFactory</literal> ãJNDIãã¼ã ã¹ãã¼ã¹ã«ç»é²ãããå ´"
+"åã ç¹å¥ãªååï¼ä¾ãã°ã <literal>java:hibernate/SessionFactory</literal> ï¼"
+"ã <literal>hibernate.session_factory_name</literal> ããããã£ã«ä½¿ã£ã¦ãã ã"
+"ã ãããã®ããããã£ãçç¥ããå ´åã <literal>SessionFactory</literal> 㯠"
+"JNDIã«ç»é²ããã¾ãããï¼ããã¯Tomcatã®ãããªããã©ã«ãå®è£
ã§JNDIãèªã¿ããå°"
+"ç¨ã®ç°å¢ã®å ´åç¹ã«ä¾¿å©ã§ããï¼"
-#: index.docbook:1554
-msgid "When binding the <literal>SessionFactory</literal> to JNDI, Hibernate will use the values of <literal>hibernate.jndi.url</literal>, <literal>hibernate.jndi.class</literal> to instantiate an initial context. If they are not specified, the default <literal>InitialContext</literal> will be used."
-msgstr "<literal>SessionFactory</literal> ãJNDIã«ç»é²ããã¨ããHibernate㯠<literal>hibernate.jndi.url</literal> ã®å¤ã使ç¨ãã<literal>hibernate.jndi.class</literal> ãã¤ãã·ã£ã«ã³ã³ããã¹ãã¨ãã¦å
·ä½åãã¾ãã ããä½ãè¨å®ããªãå ´åã¯ãããã©ã«ãã® <literal>InitialContext</literal> ã使ç¨ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1554
+#, no-c-format
+msgid ""
+"When binding the <literal>SessionFactory</literal> to JNDI, Hibernate will "
+"use the values of <literal>hibernate.jndi.url</literal>, <literal>hibernate."
+"jndi.class</literal> to instantiate an initial context. If they are not "
+"specified, the default <literal>InitialContext</literal> will be used."
+msgstr ""
+"<literal>SessionFactory</literal> ãJNDIã«ç»é²ããã¨ããHibernate㯠"
+"<literal>hibernate.jndi.url</literal> ã®å¤ã使ç¨ãã<literal>hibernate.jndi."
+"class</literal> ãã¤ãã·ã£ã«ã³ã³ããã¹ãã¨ãã¦å
·ä½åãã¾ãã ããä½ãè¨å®ããª"
+"ãå ´åã¯ãããã©ã«ãã® <literal>InitialContext</literal> ã使ç¨ãã¾ãã"
-#: index.docbook:1561
-msgid "Hibernate will automatically place the <literal>SessionFactory</literal> in JNDI after you call <literal>cfg.buildSessionFactory()</literal>. This means you will at least have this call in some startup code (or utility class) in your application, unless you use JMX deployment with the <literal>HibernateService</literal> (discussed later)."
-msgstr "<literal>cfg.buildSessionFactory()</literal> ãã³ã¼ã«å¾ Hibernateã¯èªåçã« <literal>SessionFactory</literal> ãJNDIã«é
ç½®ãã¾ãã <literal>HibernateService</literal> ã¨ä¸ç·ã«JMXãããã¤ã¡ã³ãã使ããªãéãã ããã¯ãã®å¼ã³åºããã¢ããªã±ã¼ã·ã§ã³å
ã®ä½ããã®ã¹ã¿ã¼ãã¢ããã³ã¼ãï¼ãããã¯ã¦ã¼ãã£ãªãã£ã¯ã©ã¹ï¼ ã«é
ç½®ããªããã°ãªããªããã¨ãæå³ãã¾ããï¼å¾ã§è°è«ãã¾ãï¼"
+#. Tag: para
+#: configuration.xml:1561
+#, no-c-format
+msgid ""
+"Hibernate will automatically place the <literal>SessionFactory</literal> in "
+"JNDI after you call <literal>cfg.buildSessionFactory()</literal>. This means "
+"you will at least have this call in some startup code (or utility class) in "
+"your application, unless you use JMX deployment with the "
+"<literal>HibernateService</literal> (discussed later)."
+msgstr ""
+"<literal>cfg.buildSessionFactory()</literal> ãã³ã¼ã«å¾ Hibernateã¯èªåçã« "
+"<literal>SessionFactory</literal> ãJNDIã«é
ç½®ãã¾ãã "
+"<literal>HibernateService</literal> ã¨ä¸ç·ã«JMXãããã¤ã¡ã³ãã使ããªãé"
+"ãã ããã¯ãã®å¼ã³åºããã¢ããªã±ã¼ã·ã§ã³å
ã®ä½ããã®ã¹ã¿ã¼ãã¢ããã³ã¼ãï¼ã"
+"ããã¯ã¦ã¼ãã£ãªãã£ã¯ã©ã¹ï¼ ã«é
ç½®ããªããã°ãªããªããã¨ãæå³ãã¾ããï¼å¾ã§"
+"è°è«ãã¾ãï¼"
-#: index.docbook:1568
-msgid "If you use a JNDI <literal>SessionFactory</literal>, an EJB or any other class may obtain the <literal>SessionFactory</literal> using a JNDI lookup."
-msgstr "ããJNDI <literal>SessionFactory</literal> ã使ãå ´åãEJBãä»ã®ã¯ã©ã¹ã¯ JNDIã«ãã¯ã¢ããã使ã£ã¦ <literal>SessionFactory</literal> ãåå¾ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1568
+#, no-c-format
+msgid ""
+"If you use a JNDI <literal>SessionFactory</literal>, an EJB or any other "
+"class may obtain the <literal>SessionFactory</literal> using a JNDI lookup."
+msgstr ""
+"ããJNDI <literal>SessionFactory</literal> ã使ãå ´åãEJBãä»ã®ã¯ã©ã¹ã¯ JNDI"
+"ã«ãã¯ã¢ããã使ã£ã¦ <literal>SessionFactory</literal> ãåå¾ãã¾ãã"
-#: index.docbook:1573
-msgid "We recommend that you bind the <literal>SessionFactory</literal> to JNDI in a managed environment and use a <literal>static</literal> singleton otherwise. To shield your application code from these details, we also recommend to hide the actual lookup code for a <literal>SessionFactory</literal> in a helper class, such as <literal>HibernateUtil.getSessionFactory()</literal>. Note that such a class is also a convenient way to startup Hibernate—see chapter 1."
-msgstr "管çãããç°å¢ã§ã¯ <literal>SessionFactory</literal> ãJNDIã«ãã¤ã³ããã ããã§ãªããã° <literal>static</literal> ã·ã³ã°ã«ãã³ã使ããã¨ãæ¨å¥¨ãã¾ãã ãããã£ã詳細ããã¢ããªã±ã¼ã·ã§ã³ã³ã¼ããä¿è·ããããã«ã <literal>HibernateUtil.getSessionFactory()</literal> ã®ãããªãã«ãã¼ã¯ã©ã¹ã®ä¸ã«ã <literal>SessionFactory</literal> ãã«ãã¯ã¢ããããã³ã¼ããé ããã¨ãæ¨å¥¨ãã¾ãã ãã®ãããªãã«ãã¼ã¯ã©ã¹ã¯Hibernateãéå§ãã便å©ãªææ®µã§ãããã¾ãã —ï¼ç« ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: configuration.xml:1573
+#, no-c-format
+msgid ""
+"We recommend that you bind the <literal>SessionFactory</literal> to JNDI in "
+"a managed environment and use a <literal>static</literal> singleton "
+"otherwise. To shield your application code from these details, we also "
+"recommend to hide the actual lookup code for a <literal>SessionFactory</"
+"literal> in a helper class, such as <literal>HibernateUtil.getSessionFactory"
+"()</literal>. Note that such a class is also a convenient way to startup "
+"Hibernate—see chapter 1."
+msgstr ""
+"管çãããç°å¢ã§ã¯ <literal>SessionFactory</literal> ãJNDIã«ãã¤ã³ããã ã"
+"ãã§ãªããã° <literal>static</literal> ã·ã³ã°ã«ãã³ã使ããã¨ãæ¨å¥¨ãã¾ãã "
+"ãããã£ã詳細ããã¢ããªã±ã¼ã·ã§ã³ã³ã¼ããä¿è·ããããã«ã "
+"<literal>HibernateUtil.getSessionFactory()</literal> ã®ãããªãã«ãã¼ã¯ã©ã¹ã®"
+"ä¸ã«ã <literal>SessionFactory</literal> ãã«ãã¯ã¢ããããã³ã¼ããé ããã¨ã"
+"æ¨å¥¨ãã¾ãã ãã®ãããªãã«ãã¼ã¯ã©ã¹ã¯Hibernateãéå§ãã便å©ãªææ®µã§ããã"
+"ã¾ãã —ï¼ç« ãåç
§ãã¦ãã ããã"
-#: index.docbook:1585
+#. Tag: title
+#: configuration.xml:1585
+#, no-c-format
msgid "Current Session context management with JTA"
msgstr "JTAã«ããç¾å¨ã®ã»ãã·ã§ã³ã³ã³ããã¹ãããã¼ã¸ã¡ã³ã"
-#: index.docbook:1587
-msgid "The easiest way to handle <literal>Session</literal>s and transactions is Hibernates automatic \"current\" <literal>Session</literal> management. See the discussion of <xref linkend=\"architecture-current-session\"/>current sessions. Using the <literal>\"jta\"</literal> session context, if there is no Hibernate <literal>Session</literal> associated with the current JTA transaction, one will be started and associated with that JTA transaction the first time you call <literal>sessionFactory.getCurrentSession()</literal>. The <literal>Session</literal>s retrieved via <literal>getCurrentSession()</literal> in <literal>\"jta\"</literal> context will be 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</literal>s to be managed by the life cycle of the JTA transaction to which it is associated, keeping user code clean of such man!
agement concerns. Your code can either use JTA programmatically through <literal>UserTransaction</literal>, or (recommended for portable code) use the Hibernate <literal>Transaction</literal> API to set transaction boundaries. If you run in an EJB container, declarative transaction demarcation with CMT is preferred."
-msgstr "ãã£ã¨ãç°¡åã« <literal>Session</literal> ã¨ãã©ã³ã¶ã¯ã·ã§ã³ãæ±ãæ¹æ³ã¯ã Hibernateãèªåçã«ãç¾å¨ã®ã <literal>Session</literal> ã管çãããã¨ã§ãã <xref linkend=\"architecture-current-session\"/>ã«ã¬ã³ãã»ãã·ã§ã³ ã®èª¬æãåç
§ãã¦ãã ããã ãã <literal>ãJTAã</literal> ã»ãã·ã§ã³ã³ã³ããã¹ãã使ã£ãä¸ã§ã ç¾å¨ã®JTAãã©ã³ã¶ã¯ã·ã§ã³ã¨Hibernate <literal>Session</literal> ãé¢é£ãã¦ããªãå ´åã¯ã æåã« <literal>sessionFactory.getCurrentSession()</literal> ãã³ã¼ã«ãã JTAãã©ã³ã¶ã¯ã·ã§ã³ã¨ã®é¢é£ä»ããè¡ã£ã¦ãã ããã <literal>ãJTAã</literal> ã³ã³ããã¹ãã® <literal>getCurrentSession()</literal> ã éãã¦åå¾ãã <literal>Session</literal> ã¯ããã©ã³ã¶ã¯ã·ã§ã³ãå®äºããåã« èªåçã«ãã©ãã·ã¥ããå®äºããå¾ã«ã¯èªåçã«ã¯ãã¼ãºãã¾ãã ã¾ããåã¹ãã¼ã!
ã¡ã³ãå¾ã«JDBCã³ãã¯ã·ã§ã³ãç©æ¥µçã«ãªãªã¼ã¹ãã¾ãã ããã«ããJTAãã©ã³ã¶ã¯ã·ã§ã³ã®ã©ã¤ããµã¤ã¯ã«ã§ <literal>Session</literal> ã管çãããã¨ãã§ãã ã¦ã¼ã¶ã¼ã®ã³ã¼ããããã®ãããªç®¡çãããã³ã¼ããæé¤ã§ãã¾ãã <literal>UserTransaction</literal> ãéãã¦JTAãããã°ã©ã ã§ç®¡çãããã¨ãã§ãã¾ãã ã¾ãã¯ãï¼ãã¼ã¿ãã«ãªã³ã¼ãã§ããã°ï¼Hibernate <literal>Transaction</literal> APIã ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ãã¦ä½¿ããã¨ãã§ãã¾ãã EJBã³ã³ããã使ãã¨ãã¯ãCMTã«ãã宣è¨çãã©ã³ã¶ã¯ã·ã§ã³å¢çã好ã¾ããã§ãã"
+#. Tag: para
+#: configuration.xml:1587
+#, no-c-format
+msgid ""
+"The easiest way to handle <literal>Session</literal>s and transactions is "
+"Hibernates automatic \"current\" <literal>Session</literal> management. See "
+"the discussion of <link linkend=\"architecture-current-session\">current "
+"sessions</link>. Using the <literal>\"jta\"</literal> session context, if "
+"there is no Hibernate <literal>Session</literal> associated with the current "
+"JTA transaction, one will be started and associated with that JTA "
+"transaction the first time you call <literal>sessionFactory.getCurrentSession"
+"()</literal>. The <literal>Session</literal>s retrieved via "
+"<literal>getCurrentSession()</literal> in <literal>\"jta\"</literal> context "
+"will be 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</literal>s to be "
+"managed by the life cycle of the JTA transaction to which it is associated, "
+"keeping user code clean of such management concerns. Your code can either "
+"use JTA programmatically through <literal>UserTransaction</literal>, or "
+"(recommended for portable code) use the Hibernate <literal>Transaction</"
+"literal> API to set transaction boundaries. If you run in an EJB container, "
+"declarative transaction demarcation with CMT is preferred."
+msgstr ""
+"ãã£ã¨ãç°¡åã« <literal>Session</literal> ã¨ãã©ã³ã¶ã¯ã·ã§ã³ãæ±ãæ¹æ³ã¯ã "
+"Hibernateãèªåçã«ãç¾å¨ã®ã <literal>Session</literal> ã管çãããã¨ã§"
+"ãã <xref linkend=\"architecture-current-session\">ã«ã¬ã³ãã»ãã·ã§ã³</"
+"xref> ã®èª¬æãåç
§ãã¦ãã ããã ãã <literal>ãJTAã</literal> ã»ãã·ã§ã³ã³"
+"ã³ããã¹ãã使ã£ãä¸ã§ã ç¾å¨ã®JTAãã©ã³ã¶ã¯ã·ã§ã³ã¨Hibernate "
+"<literal>Session</literal> ãé¢é£ãã¦ããªãå ´åã¯ã æåã« "
+"<literal>sessionFactory.getCurrentSession()</literal> ãã³ã¼ã«ãã JTAãã©ã³"
+"ã¶ã¯ã·ã§ã³ã¨ã®é¢é£ä»ããè¡ã£ã¦ãã ããã <literal>ãJTAã</literal> ã³ã³ãã"
+"ã¹ãã® <literal>getCurrentSession()</literal> ã éãã¦åå¾ãã "
+"<literal>Session</literal> ã¯ããã©ã³ã¶ã¯ã·ã§ã³ãå®äºããåã« èªåçã«ãã©ã"
+"ã·ã¥ããå®äºããå¾ã«ã¯èªåçã«ã¯ãã¼ãºãã¾ãã ã¾ããåã¹ãã¼ãã¡ã³ãå¾ã«JDBC"
+"ã³ãã¯ã·ã§ã³ãç©æ¥µçã«ãªãªã¼ã¹ãã¾ãã ããã«ããJTAãã©ã³ã¶ã¯ã·ã§ã³ã®ã©ã¤ã"
+"ãµã¤ã¯ã«ã§ <literal>Session</literal> ã管çãããã¨ãã§ãã ã¦ã¼ã¶ã¼ã®ã³ã¼ã"
+"ãããã®ãããªç®¡çãããã³ã¼ããæé¤ã§ãã¾ãã <literal>UserTransaction</"
+"literal> ãéãã¦JTAãããã°ã©ã ã§ç®¡çãããã¨ãã§ãã¾ãã ã¾ãã¯ãï¼ãã¼ã¿ã"
+"ã«ãªã³ã¼ãã§ããã°ï¼Hibernate <literal>Transaction</literal> APIã ãã©ã³ã¶ã¯"
+"ã·ã§ã³å¢çã¨ãã¦ä½¿ããã¨ãã§ãã¾ãã EJBã³ã³ããã使ãã¨ãã¯ãCMTã«ãã宣è¨ç"
+"ãã©ã³ã¶ã¯ã·ã§ã³å¢çã好ã¾ããã§ãã"
-#: index.docbook:1610
+#. Tag: title
+#: configuration.xml:1610
+#, no-c-format
msgid "JMX deployment"
msgstr "JMXãããã¤ã¡ã³ã"
-#: index.docbook:1612
-msgid "The line <literal>cfg.buildSessionFactory()</literal> still has to be executed somewhere to get a <literal>SessionFactory</literal> into JNDI. You can do this either in a <literal>static</literal> initializer block (like the one in <literal>HibernateUtil</literal>) or you deploy Hibernate as a <emphasis>managed service</emphasis>."
-msgstr "<literal>SessionFactory</literal> ãJNDIããåå¾ããããã«ã¯ <literal>cfg.buildSessionFactory()</literal> è¡ãã©ããã§å®è¡ãã¦ããªããã°ãªãã¾ããã ããªãã¯ãããã<literal>static</literal> åæåãããã¯å
ï¼ <literal>HibernateUtil</literal> ã®ãããªï¼ã <emphasis>managed service</emphasis> ã¨ãã¦Hibernateããããã¤ããããã©ã¡ããã§å®è¡ã§ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1612
+#, no-c-format
+msgid ""
+"The line <literal>cfg.buildSessionFactory()</literal> still has to be "
+"executed somewhere to get a <literal>SessionFactory</literal> into JNDI. You "
+"can do this either in a <literal>static</literal> initializer block (like "
+"the one in <literal>HibernateUtil</literal>) or you deploy Hibernate as a "
+"<emphasis>managed service</emphasis>."
+msgstr ""
+"<literal>SessionFactory</literal> ãJNDIããåå¾ããããã«ã¯ <literal>cfg."
+"buildSessionFactory()</literal> è¡ãã©ããã§å®è¡ãã¦ããªããã°ãªãã¾ããã ã"
+"ãªãã¯ãããã<literal>static</literal> åæåãããã¯å
"
+"ï¼ <literal>HibernateUtil</literal> ã®ãããªï¼ã <emphasis>managed service</"
+"emphasis> ã¨ãã¦Hibernateããããã¤ããããã©ã¡ããã§å®è¡ã§ãã¾ãã"
-#: index.docbook:1620
-msgid "Hibernate is distributed with <literal>org.hibernate.jmx.HibernateService</literal> for deployment on an application server with JMX capabilities, such as JBoss AS. The actual deployment and configuration is vendor specific. Here is an example <literal>jboss-service.xml</literal> for JBoss 4.0.x:"
-msgstr "JBOSSã®ãããªJMXã®æ©è½ã§ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«ãããã¤ããããã« <literal>org.hibernate.jmx.HibernateService</literal> ã使ã£ã¦ãé
ç½®ãã¾ãã å®éã®ãããã¤ã¡ã³ãã¨è¨å®ã¯ãã³ãã¼ç¹æã§ãã ããã§ä¾ã¨ãã¦JBOSS 4.0.xç¨ã® <literal>jboss-service.xml</literal> ã示ãã¾ãã"
+#. Tag: para
+#: configuration.xml:1620
+#, no-c-format
+msgid ""
+"Hibernate is distributed with <literal>org.hibernate.jmx.HibernateService</"
+"literal> for deployment on an application server with JMX capabilities, such "
+"as JBoss AS. The actual deployment and configuration is vendor specific. "
+"Here is an example <literal>jboss-service.xml</literal> for JBoss 4.0.x:"
+msgstr ""
+"JBOSSã®ãããªJMXã®æ©è½ã§ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã«ãããã¤ããããã« "
+"<literal>org.hibernate.jmx.HibernateService</literal> ã使ã£ã¦ãé
ç½®ãã¾ãã "
+"å®éã®ãããã¤ã¡ã³ãã¨è¨å®ã¯ãã³ãã¼ç¹æã§ãã ããã§ä¾ã¨ãã¦JBOSS 4.0.xç¨ã® "
+"<literal>jboss-service.xml</literal> ã示ãã¾ãã"
-#: index.docbook:1627
+#. Tag: programlisting
+#: configuration.xml:1627
+#, no-c-format
msgid ""
- "<![CDATA[<?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>]]>"
+"<![CDATA[<?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 ""
- "<![CDATA[<?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>]]>"
-#: index.docbook:1629
-msgid "This file is deployed in a directory called <literal>META-INF</literal> and packaged in a JAR file with the extension <literal>.sar</literal> (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) may be kept in their own JAR file, but you may 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</literal> ãã£ã¬ã¯ããªã«é
ç½®ããã JARãã¡ã¤ã«ãæ¡å¼µãã <literal>.sar</literal> (service archive)ã§ããã±ã¼ã¸åããã¾ãã åæ§ã«Hibernateããã±ã¼ã¸ãå¿
è¦ã§ããã¾ããHibernateã¯ãµã¼ããã¼ãã£ã®ã©ã¤ãã©ãªãè¦æ±ãã¾ãã ã³ã³ãã¤ã«ããæ°¸ç¶åã¯ã©ã¹ã¨ãã®ãããã³ã°ãã¡ã¤ã«ãåæ§ã«ã¢ã¼ã«ã¤ãï¼.sarãã¡ã¤ã«ï¼ã«å
¥ãã¾ãã ã¨ã³ã¿ã¼ãã©ã¤ãºbeanï¼é常ã¯ã»ãã·ã§ã³beanï¼ã¯èªèº«ã®JARãã¡ã¤ã«ãä¿æãã¾ããã 1åã§ï¼ãããï¼ãããã¤å¯è½ãªã¦ãããã®ããã«ã¡ã¤ã³ãµã¼ãã¹ã¢ã¼ã«ã¤ãã¨ãã¦ãã®EJB JARãã¡ã¤ã«ãã¤ã³ã¯ã«ã¼ããã ãã¨ãã§ãã¾ããJBossã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã®ããã¥ã¡ã³ãã«JXMãµã¼ãã¹ã¨ EJBãããã¤ã¡ã³ãã®ããå¤ãã®æ
å ±ãããã¾ãã"
+#. Tag: para
+#: configuration.xml:1629
+#, no-c-format
+msgid ""
+"This file is deployed in a directory called <literal>META-INF</literal> and "
+"packaged in a JAR file with the extension <literal>.sar</literal> (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) may be "
+"kept in their own JAR file, but you may 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</literal> ãã£ã¬ã¯ããªã«é
ç½®ããã JARãã¡ã¤"
+"ã«ãæ¡å¼µãã <literal>.sar</literal> (service archive)ã§ããã±ã¼ã¸åããã¾"
+"ãã åæ§ã«Hibernateããã±ã¼ã¸ãå¿
è¦ã§ããã¾ããHibernateã¯ãµã¼ããã¼ãã£ã®ã©"
+"ã¤ãã©ãªãè¦æ±ãã¾ãã ã³ã³ãã¤ã«ããæ°¸ç¶åã¯ã©ã¹ã¨ãã®ãããã³ã°ãã¡ã¤ã«ãå"
+"æ§ã«ã¢ã¼ã«ã¤ãï¼.sarãã¡ã¤ã«ï¼ã«å
¥ãã¾ãã ã¨ã³ã¿ã¼ãã©ã¤ãºbeanï¼é常ã¯ã»ã"
+"ã·ã§ã³beanï¼ã¯èªèº«ã®JARãã¡ã¤ã«ãä¿æãã¾ããã 1åã§ï¼ãããï¼ãããã¤å¯è½ãª"
+"ã¦ãããã®ããã«ã¡ã¤ã³ãµã¼ãã¹ã¢ã¼ã«ã¤ãã¨ãã¦ãã®EJB JARãã¡ã¤ã«ãã¤ã³ã¯ã«ã¼"
+"ããã ãã¨ãã§ãã¾ããJBossã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã®ããã¥ã¡ã³ãã«JXMãµã¼ãã¹"
+"㨠EJBãããã¤ã¡ã³ãã®ããå¤ãã®æ
å ±ãããã¾ãã"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid "<placeholder-1/> (optional)"
+#~ msgstr "<placeholder-1/> (ãªãã·ã§ã³)"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid "InitialContextFactory"
+#~ msgstr "InitialContextFactory"
+#~ msgid "class of the JNDI <placeholder-1/>"
+#~ msgstr "JNDIã¯ã©ã¹ <placeholder-1/>"
+
+#~ msgid "eg."
+#~ msgstr "ä¾ï¼"
+
+#~ msgid "full.classname.of.Dialect"
+#~ msgstr "full.classname.of.Dialect"
+
+#~ msgid "debug"
+#~ msgstr "debug"
+
+#~ msgid "SCHEMA_NAME"
+#~ msgstr "SCHEMA_NAME"
+
+#~ msgid "CATALOG_NAME"
+#~ msgstr "CATALOG_NAME"
+
+#~ msgid "SessionFactory"
+#~ msgstr "SessionFactory"
+
+#~ msgid "jndi/composite/name"
+#~ msgstr "jndi/composite/name"
+
+#~ msgid "0"
+#~ msgstr "0"
+
+#~ msgid "false"
+#~ msgstr "false"
+
+#~ msgid "Statement.setFetchSize()"
+#~ msgstr "Statement.setFetchSize()"
+
+#~ msgid "true"
+#~ msgstr "executeBatch()"
+
+#~ msgid "executeBatch()"
+#~ msgstr "true"
+
+#~ msgid "Batcher"
+#~ msgstr "Batcher"
+
+#~ msgid "classname.of.BatcherFactory"
+#~ msgstr "classname.of.BatcherFactory"
+
+#~ msgid "binary"
+#~ msgstr "binary"
+
+#~ msgid "serializable"
+#~ msgstr "serializable"
+
+#~ msgid "PreparedStatement.getGeneratedKeys()"
+#~ msgstr "PreparedStatement.getGeneratedKeys()"
+
+#~ msgid "true|false"
+#~ msgstr "true|false"
+
+#~ msgid "ConnectionProvider"
+#~ msgstr "ConnectionProvider"
+
+#~ msgid "classname.of.ConnectionProvider"
+#~ msgstr "classname.of.ConnectionProvider"
+
+#~ msgid "java.sql.Connection"
+#~ msgstr "java.sql.Connection"
+
+#~ msgid "1, 2, 4, 8"
+#~ msgstr "1, 2, 4, 8"
+
+#~ msgid "after_statement"
+#~ msgstr "after_statement"
+
+#~ msgid "after_transaction"
+#~ msgstr "after_transaction"
+
+#~ msgid "auto"
+#~ msgstr "auto"
+
+#~ msgid "hibernate.connection."
+#~ msgstr "<propertyName>"
+
+#, fuzzy
+#~ msgid "<propertyName>"
+#~ msgstr ""
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "hibernate.connection.<placeholder-1/>\n"
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "propertyName\n"
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "hibernate.jndi.<placeholder-1/>\n"
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "propertyName"
+
+#~ msgid "DriverManager.getConnection()"
+#~ msgstr "DriverManager.getConnection()"
+
+#~ msgid "Pass the JDBC property <placeholder-1/> to <placeholder-2/>."
+#~ msgstr ""
+#~ "JDBCã® <placeholder-1/> ããããã£ãã <placeholder-2/> ã«æ¸¡ãã¾ãã"
+
+#~ msgid "hibernate.jndi."
+#~ msgstr "<propertyName>"
+
+#~ msgid "Pass the property <placeholder-1/> to the JNDI <placeholder-2/>."
+#~ msgstr "<placeholder-1/> ããããã£ãã JNDI <placeholder-2/> ã«æ¸¡ãã¾ãã"
+
+#~ msgid "CacheProvider"
+#~ msgstr "CacheProvider"
+
+#~ msgid "classname.of.CacheProvider"
+#~ msgstr "classname.of.CacheProvider"
+
+#~ msgid "<cache>"
+#~ msgstr "<cache>"
+
+#~ msgid "QueryCache"
+#~ msgstr "QueryCache"
+
+#~ msgid "StandardQueryCache"
+#~ msgstr "StandardQueryCache"
+
+#~ msgid "classname.of.QueryCache"
+#~ msgstr "classname.of.QueryCache"
+
+#~ msgid "prefix"
+#~ msgstr "prefix"
+
+#~ msgid "TransactionFactory"
+#~ msgstr "Transaction"
+
+#~ msgid "Transaction"
+#~ msgstr "TransactionFactory"
+
+#~ msgid "JDBCTransactionFactory"
+#~ msgstr "JDBCTransactionFactory"
+
+#~ msgid "classname.of.TransactionFactory"
+#~ msgstr "classname.of.TransactionFactory"
+
+#~ msgid "JTATransactionFactory"
+#~ msgstr "UserTransaction"
+
+#~ msgid "UserTransaction"
+#~ msgstr "JTATransactionFactory"
+
+#~ msgid "TransactionManagerLookup"
+#~ msgstr "TransactionManagerLookup"
+
+#~ msgid "classname.of.TransactionManagerLookup"
+#~ msgstr "classname.of.TransactionManagerLookup"
+
+#~ msgid "Session"
+#~ msgstr "Session"
+
+#~ msgid "hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC"
+#~ msgstr "hqlLiteral=SQL_LITERAL, hqlFunction=SQLFUNC"
+
+#~ msgid "create-drop"
+#~ msgstr "create-drop"
+
+#~ msgid "hibernate.cfg.xml"
+#~ msgstr "hibernate.cfg.xml"
+
+#~ msgid "DB2"
+#~ msgstr "DB2"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/events.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/events.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/events.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,457 +1,471 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: events.xml:5
+#, no-c-format
msgid "Interceptors and events"
msgstr "ã¤ã³ã¿ã¼ã»ãã¿ã¨ã¤ãã³ã"
-#: index.docbook:7
-msgid "It is often useful for the application to react to certain events that occur inside Hibernate. This allows implementation of certain kinds of generic functionality, and extension of Hibernate functionality."
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ãHibernateã®å
é¨ã§çºçããã¤ãã³ãã«å¯¾å¿ã§ããã¨å½¹ã«ç«ã¤ãã¨ãããã¾ãã ãã種ã®ä¸è¬çãªæ©è½ãå®è£
ã§ããããã«ãªãã ã¾ãHibernateã®æ©è½ãæ¡å¼µãããã¨ãã§ããããã«ãªãã¾ãã"
+#. Tag: para
+#: events.xml:7
+#, no-c-format
+msgid ""
+"It is often useful for the application to react to certain events that occur "
+"inside Hibernate. This allows implementation of certain kinds of generic "
+"functionality, and extension of Hibernate functionality."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ãHibernateã®å
é¨ã§çºçããã¤ãã³ãã«å¯¾å¿ã§ããã¨å½¹ã«ç«ã¤ãã¨"
+"ãããã¾ãã ãã種ã®ä¸è¬çãªæ©è½ãå®è£
ã§ããããã«ãªãã ã¾ãHibernateã®æ©è½"
+"ãæ¡å¼µãããã¨ãã§ããããã«ãªãã¾ãã"
-#: index.docbook:14
+#. Tag: title
+#: events.xml:14
+#, no-c-format
msgid "Interceptors"
msgstr "ã¤ã³ã¿ã¼ã»ãã¿"
-#: index.docbook:16
-msgid "The <literal>Interceptor</literal> interface provides callbacks from the session to the application allowing the application to inspect and/or manipulate properties of a persistent object before it is saved, updated, deleted or loaded. One possible use for this is to track auditing information. For example, the following <literal>Interceptor</literal> automatically sets the <literal>createTimestamp</literal> when an <literal>Auditable</literal> is created and updates the <literal>lastUpdateTimestamp</literal> property when an <literal>Auditable</literal> is updated."
-msgstr "<literal>Interceptor</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ã ã»ãã·ã§ã³ããã¢ããªã±ã¼ã·ã§ã³ã¸ã³ã¼ã«ããã¯ããããã¨ãã§ãã¾ãã ããã«ããæ°¸ç¶ãªãã¸ã§ã¯ãã®ä¿åãæ´æ°ãåé¤ãèªã¿è¾¼ã¿ã®åã«ã ã¢ããªã±ã¼ã·ã§ã³ãããããã£ãæ¤æ»ãããæä½ãããã§ããããã«ãªãã¾ãã ããã¯ç£æ»æ
å ±ã®è¿½è·¡ã«å©ç¨ã§ãã¾ãã ä¸ã®ä¾ã§ <literal>Interceptor</literal> 㯠<literal>Auditable</literal> ã使ãããã¨èªåçã« <literal>createTimestamp</literal> ãè¨å®ãã <literal>Auditable</literal> ãæ´æ°ãããã¨èªåçã« <literal>lastUpdateTimestamp</literal> ããããã£ãæ´æ°ãã¾ãã"
+#. Tag: para
+#: events.xml:16
+#, no-c-format
+msgid ""
+"The <literal>Interceptor</literal> interface provides callbacks from the "
+"session to the application allowing the application to inspect and/or "
+"manipulate properties of a persistent object before it is saved, updated, "
+"deleted or loaded. One possible use for this is to track auditing "
+"information. For example, the following <literal>Interceptor</literal> "
+"automatically sets the <literal>createTimestamp</literal> when an "
+"<literal>Auditable</literal> is created and updates the "
+"<literal>lastUpdateTimestamp</literal> property when an <literal>Auditable</"
+"literal> is updated."
+msgstr ""
+"<literal>Interceptor</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ã ã»ãã·ã§ã³ããã¢ã"
+"ãªã±ã¼ã·ã§ã³ã¸ã³ã¼ã«ããã¯ããããã¨ãã§ãã¾ãã ããã«ããæ°¸ç¶ãªãã¸ã§ã¯ãã®"
+"ä¿åãæ´æ°ãåé¤ãèªã¿è¾¼ã¿ã®åã«ã ã¢ããªã±ã¼ã·ã§ã³ãããããã£ãæ¤æ»ãããæ"
+"ä½ãããã§ããããã«ãªãã¾ãã ããã¯ç£æ»æ
å ±ã®è¿½è·¡ã«å©ç¨ã§ãã¾ãã ä¸ã®ä¾ã§ "
+"<literal>Interceptor</literal> 㯠<literal>Auditable</literal> ã使ãããã¨"
+"èªåçã« <literal>createTimestamp</literal> ãè¨å®ãã <literal>Auditable</"
+"literal> ãæ´æ°ãããã¨èªåçã« <literal>lastUpdateTimestamp</literal> ããã"
+"ãã£ãæ´æ°ãã¾ãã"
-#: index.docbook:27
-msgid "You may either implement <literal>Interceptor</literal> directly or (better) extend <literal>EmptyInterceptor</literal>."
-msgstr "<literal>Interceptor</literal> ãç´æ¥å®è£
ãããã ï¼ããã«ããã®ã¯ï¼<literal>EmptyInterceptor</literal> ãæ¡å¼µãããã§ãã¾ãã"
+#. Tag: para
+#: events.xml:27
+#, no-c-format
+msgid ""
+"You may either implement <literal>Interceptor</literal> directly or (better) "
+"extend <literal>EmptyInterceptor</literal>."
+msgstr ""
+"<literal>Interceptor</literal> ãç´æ¥å®è£
ãããã ï¼ããã«ããã®ã¯ï¼"
+"<literal>EmptyInterceptor</literal> ãæ¡å¼µãããã§ãã¾ãã"
-#: index.docbook:32
+#. Tag: programlisting
+#: events.xml:32
+#, no-c-format
msgid ""
- "<![CDATA[package org.hibernate.test;\n"
- "\n"
- "import java.io.Serializable;\n"
- "import java.util.Date;\n"
- "import java.util.Iterator;\n"
- "\n"
- "import org.hibernate.EmptyInterceptor;\n"
- "import org.hibernate.Transaction;\n"
- "import org.hibernate.type.Type;\n"
- "\n"
- "public class AuditInterceptor extends EmptyInterceptor {\n"
- "\n"
- " private int updates;\n"
- " private int creates;\n"
- " private int loads;\n"
- "\n"
- " public void onDelete(Object entity,\n"
- " Serializable id,\n"
- " Object[] state,\n"
- " String[] propertyNames,\n"
- " Type[] types) {\n"
- " // do nothing\n"
- " }\n"
- "\n"
- " public boolean onFlushDirty(Object entity,\n"
- " Serializable id,\n"
- " Object[] currentState,\n"
- " Object[] previousState,\n"
- " String[] propertyNames,\n"
- " Type[] types) {\n"
- "\n"
- " if ( entity instanceof Auditable ) {\n"
- " updates++;\n"
- " for ( int i=0; i < propertyNames.length; i++ ) {\n"
- " if ( \"lastUpdateTimestamp\".equals( propertyNames[i] ) ) {\n"
- " currentState[i] = new Date();\n"
- " return true;\n"
- " }\n"
- " }\n"
- " }\n"
- " return false;\n"
- " }\n"
- "\n"
- " public boolean onLoad(Object entity,\n"
- " Serializable id,\n"
- " Object[] state,\n"
- " String[] propertyNames,\n"
- " Type[] types) {\n"
- " if ( entity instanceof Auditable ) {\n"
- " loads++;\n"
- " }\n"
- " return false;\n"
- " }\n"
- "\n"
- " public boolean onSave(Object entity,\n"
- " Serializable id,\n"
- " Object[] state,\n"
- " String[] propertyNames,\n"
- " Type[] types) {\n"
- "\n"
- " if ( entity instanceof Auditable ) {\n"
- " creates++;\n"
- " for ( int i=0; i<propertyNames.length; i++ ) {\n"
- " if ( \"createTimestamp\".equals( propertyNames[i] ) ) {\n"
- " state[i] = new Date();\n"
- " return true;\n"
- " }\n"
- " }\n"
- " }\n"
- " return false;\n"
- " }\n"
- "\n"
- " public void afterTransactionCompletion(Transaction tx) {\n"
- " if ( tx.wasCommitted() ) {\n"
- " System.out.println(\"Creations: \" + creates + \", Updates: \" + updates, \"Loads: \" + loads);\n"
- " }\n"
- " updates=0;\n"
- " creates=0;\n"
- " loads=0;\n"
- " }\n"
- "\n"
- "}]]>"
+"<![CDATA[package org.hibernate.test;\n"
+"\n"
+"import java.io.Serializable;\n"
+"import java.util.Date;\n"
+"import java.util.Iterator;\n"
+"\n"
+"import org.hibernate.EmptyInterceptor;\n"
+"import org.hibernate.Transaction;\n"
+"import org.hibernate.type.Type;\n"
+"\n"
+"public class AuditInterceptor extends EmptyInterceptor {\n"
+"\n"
+" private int updates;\n"
+" private int creates;\n"
+" private int loads;\n"
+"\n"
+" public void onDelete(Object entity,\n"
+" Serializable id,\n"
+" Object[] state,\n"
+" String[] propertyNames,\n"
+" Type[] types) {\n"
+" // do nothing\n"
+" }\n"
+"\n"
+" public boolean onFlushDirty(Object entity,\n"
+" Serializable id,\n"
+" Object[] currentState,\n"
+" Object[] previousState,\n"
+" String[] propertyNames,\n"
+" Type[] types) {\n"
+"\n"
+" if ( entity instanceof Auditable ) {\n"
+" updates++;\n"
+" for ( int i=0; i < propertyNames.length; i++ ) {\n"
+" if ( \"lastUpdateTimestamp\".equals( propertyNames[i] ) ) {\n"
+" currentState[i] = new Date();\n"
+" return true;\n"
+" }\n"
+" }\n"
+" }\n"
+" return false;\n"
+" }\n"
+"\n"
+" public boolean onLoad(Object entity,\n"
+" Serializable id,\n"
+" Object[] state,\n"
+" String[] propertyNames,\n"
+" Type[] types) {\n"
+" if ( entity instanceof Auditable ) {\n"
+" loads++;\n"
+" }\n"
+" return false;\n"
+" }\n"
+"\n"
+" public boolean onSave(Object entity,\n"
+" Serializable id,\n"
+" Object[] state,\n"
+" String[] propertyNames,\n"
+" Type[] types) {\n"
+"\n"
+" if ( entity instanceof Auditable ) {\n"
+" creates++;\n"
+" for ( int i=0; i<propertyNames.length; i++ ) {\n"
+" if ( \"createTimestamp\".equals( propertyNames[i] ) ) {\n"
+" state[i] = new Date();\n"
+" return true;\n"
+" }\n"
+" }\n"
+" }\n"
+" return false;\n"
+" }\n"
+"\n"
+" public void afterTransactionCompletion(Transaction tx) {\n"
+" if ( tx.wasCommitted() ) {\n"
+" System.out.println(\"Creations: \" + creates + \", Updates: \" + "
+"updates, \"Loads: \" + loads);\n"
+" }\n"
+" updates=0;\n"
+" creates=0;\n"
+" loads=0;\n"
+" }\n"
+"\n"
+"}]]>"
msgstr ""
- "<![CDATA[package org.hibernate.test;
-\n"
- "
-\n"
- "import java.io.Serializable;
-\n"
- "import java.util.Date;
-\n"
- "import java.util.Iterator;
-\n"
- "
-\n"
- "import org.hibernate.EmptyInterceptor;
-\n"
- "import org.hibernate.Transaction;
-\n"
- "import org.hibernate.type.Type;
-\n"
- "
-\n"
- "public class AuditInterceptor extends EmptyInterceptor {
-\n"
- "
-\n"
- " private int updates;
-\n"
- " private int creates;
-\n"
- " private int loads;
-\n"
- "
-\n"
- " public void onDelete(Object entity,
-\n"
- " Serializable id,
-\n"
- " Object[] state,
-\n"
- " String[] propertyNames,
-\n"
- " Type[] types) {
-\n"
- " // do nothing
-\n"
- " }
-\n"
- "
-\n"
- " public boolean onFlushDirty(Object entity,
-\n"
- " Serializable id,
-\n"
- " Object[] currentState,
-\n"
- " Object[] previousState,
-\n"
- " String[] propertyNames,
-\n"
- " Type[] types) {
-\n"
- "
-\n"
- " if ( entity instanceof Auditable ) {
-\n"
- " updates++;
-\n"
- " for ( int i=0; i < propertyNames.length; i++ ) {
-\n"
- " if ( \"lastUpdateTimestamp\".equals( propertyNames[i] ) ) {
-\n"
- " currentState[i] = new Date();
-\n"
- " return true;
-\n"
- " }
-\n"
- " }
-\n"
- " }
-\n"
- " return false;
-\n"
- " }
-\n"
- "
-\n"
- " public boolean onLoad(Object entity,
-\n"
- " Serializable id,
-\n"
- " Object[] state,
-\n"
- " String[] propertyNames,
-\n"
- " Type[] types) {
-\n"
- " if ( entity instanceof Auditable ) {
-\n"
- " loads++;
-\n"
- " }
-\n"
- " return false;
-\n"
- " }
-\n"
- "
-\n"
- " public boolean onSave(Object entity,
-\n"
- " Serializable id,
-\n"
- " Object[] state,
-\n"
- " String[] propertyNames,
-\n"
- " Type[] types) {
-\n"
- "
-\n"
- " if ( entity instanceof Auditable ) {
-\n"
- " creates++;
-\n"
- " for ( int i=0; i<propertyNames.length; i++ ) {
-\n"
- " if ( \"createTimestamp\".equals( propertyNames[i] ) ) {
-\n"
- " state[i] = new Date();
-\n"
- " return true;
-\n"
- " }
-\n"
- " }
-\n"
- " }
-\n"
- " return false;
-\n"
- " }
-\n"
- "
-\n"
- " public void afterTransactionCompletion(Transaction tx) {
-\n"
- " if ( tx.wasCommitted() ) {
-\n"
- " System.out.println(\"Creations: \" + creates + \", Updates: \" + updates, \"Loads: \" + loads);
-\n"
- " }
-\n"
- " updates=0;
-\n"
- " creates=0;
-\n"
- " loads=0;
-\n"
- " }
-\n"
- "
-\n"
- "}]]>"
-#: index.docbook:34
-msgid "Interceptors come in two flavors: <literal>Session</literal>-scoped and <literal>SessionFactory</literal>-scoped."
-msgstr "ã¤ã³ã¿ã¼ã»ãã¿ã«ã¯äºç¨®é¡ããã¾ãï¼ <literal>Session</literal> ã¹ã³ã¼ãã®ãã®ã¨ <literal>SessionFactory</literal> ã¹ã³ã¼ãã®ãã®ã§ãã"
+#. Tag: para
+#: events.xml:34
+#, no-c-format
+msgid ""
+"Interceptors come in two flavors: <literal>Session</literal>-scoped and "
+"<literal>SessionFactory</literal>-scoped."
+msgstr ""
+"ã¤ã³ã¿ã¼ã»ãã¿ã«ã¯äºç¨®é¡ããã¾ãï¼ <literal>Session</literal> ã¹ã³ã¼ãã®ãã®"
+"㨠<literal>SessionFactory</literal> ã¹ã³ã¼ãã®ãã®ã§ãã"
-#: index.docbook:39
-msgid "A <literal>Session</literal>-scoped interceptor is specified when a session is opened using one of the overloaded SessionFactory.openSession() methods accepting an <literal>Interceptor</literal>."
-msgstr "<literal>Session</literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ã ã»ãã·ã§ã³ããªã¼ãã³ããã¨ãã«æå®ãã¾ãã <literal>Interceptor</literal> ã弿°ã«åãSessionFactory.openSession() ã®ãªã¼ãã¼ãã¼ãã¡ã½ããã®ä¸ã¤ã使ãã¾ãã"
+#. Tag: para
+#: events.xml:39
+#, no-c-format
+msgid ""
+"A <literal>Session</literal>-scoped interceptor is specified when a session "
+"is opened using one of the overloaded SessionFactory.openSession() methods "
+"accepting an <literal>Interceptor</literal>."
+msgstr ""
+"<literal>Session</literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ã ã»ãã·ã§ã³ããªã¼ãã³"
+"ããã¨ãã«æå®ãã¾ãã <literal>Interceptor</literal> ã弿°ã«åã"
+"SessionFactory.openSession() ã®ãªã¼ãã¼ãã¼ãã¡ã½ããã®ä¸ã¤ã使ãã¾ãã"
-#: index.docbook:45
+#. Tag: programlisting
+#: events.xml:45
+#, no-c-format
msgid "<![CDATA[Session session = sf.openSession( new AuditInterceptor() );]]>"
-msgstr "<![CDATA[Session session = sf.openSession( new AuditInterceptor() );]]>"
+msgstr ""
-#: index.docbook:47
-msgid "A <literal>SessionFactory</literal>-scoped interceptor is registered with the <literal>Configuration</literal> object prior to building the <literal>SessionFactory</literal>. In this case, the supplied interceptor will be applied to all sessions opened from that <literal>SessionFactory</literal>; this is true unless a session is opened explicitly specifying the interceptor to use. <literal>SessionFactory</literal>-scoped interceptors must be thread safe, taking care to not store session-specific state since multiple sessions will use this interceptor (potentially) concurrently."
-msgstr "<literal>SessionFactory</literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ <literal>Configuration</literal> ãªãã¸ã§ã¯ãã使ã£ã¦ç»é²ãã¾ãã ãã㯠<literal>SessionFactory</literal> ã®æ§ç¯ãããåªå
ããã¾ãã ãã®å ´åãæä¾ãããã¤ã³ã¿ã¼ã»ãã¿ã¯ <literal>SessionFactory</literal> ãããªã¼ãã³ããããã¹ã¦ã®ã»ãã·ã§ã³ã«é©ç¨ããã¾ãã ããã¯ä½¿ç¨ããã¤ã³ã¿ã¼ã»ãã¿ãæç¤ºçã«æå®ãã¦ã»ãã·ã§ã³ããªã¼ãã³ããªãéãããããªãã¾ãã <literal>SessionFactory</literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ã¹ã¬ããã»ã¼ãã§ãªããã°ãªãã¾ããã è¤æ°ã®ã»ãã·ã§ã³ãï¼æ½å¨çã«ï¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ãåæä¸¦è¡ã§ä½¿ç¨ãããã¨ã«ãªãããã ã»ãã·ã§ã³åºæã®ç¶æ
ãæ ¼ç´ããªãããã«æ°ãã¤ãã¦ãã ããã"
+#. Tag: para
+#: events.xml:47
+#, no-c-format
+msgid ""
+"A <literal>SessionFactory</literal>-scoped interceptor is registered with "
+"the <literal>Configuration</literal> object prior to building the "
+"<literal>SessionFactory</literal>. In this case, the supplied interceptor "
+"will be applied to all sessions opened from that <literal>SessionFactory</"
+"literal>; this is true unless a session is opened explicitly specifying the "
+"interceptor to use. <literal>SessionFactory</literal>-scoped interceptors "
+"must be thread safe, taking care to not store session-specific state since "
+"multiple sessions will use this interceptor (potentially) concurrently."
+msgstr ""
+"<literal>SessionFactory</literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ "
+"<literal>Configuration</literal> ãªãã¸ã§ã¯ãã使ã£ã¦ç»é²ãã¾ãã ãã㯠"
+"<literal>SessionFactory</literal> ã®æ§ç¯ãããåªå
ããã¾ãã ãã®å ´åãæä¾ã"
+"ããã¤ã³ã¿ã¼ã»ãã¿ã¯ <literal>SessionFactory</literal> ãããªã¼ãã³ããããã¹"
+"ã¦ã®ã»ãã·ã§ã³ã«é©ç¨ããã¾ãã ããã¯ä½¿ç¨ããã¤ã³ã¿ã¼ã»ãã¿ãæç¤ºçã«æå®ãã¦"
+"ã»ãã·ã§ã³ããªã¼ãã³ããªãéãããããªãã¾ãã <literal>SessionFactory</"
+"literal> ã¹ã³ã¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ã¯ã¹ã¬ããã»ã¼ãã§ãªããã°ãªãã¾ããã è¤æ°"
+"ã®ã»ãã·ã§ã³ãï¼æ½å¨çã«ï¼ãã®ã¤ã³ã¿ã¼ã»ãã¿ãåæä¸¦è¡ã§ä½¿ç¨ãããã¨ã«ãªãã"
+"ãã ã»ãã·ã§ã³åºæã®ç¶æ
ãæ ¼ç´ããªãããã«æ°ãã¤ãã¦ãã ããã"
-#: index.docbook:56
-msgid "<![CDATA[new Configuration().setInterceptor( new AuditInterceptor() );]]>"
-msgstr "<![CDATA[new Configuration().setInterceptor( new AuditInterceptor() );]]>"
+#. Tag: programlisting
+#: events.xml:56
+#, no-c-format
+msgid ""
+"<![CDATA[new Configuration().setInterceptor( new AuditInterceptor() );]]>"
+msgstr ""
-#: index.docbook:61
+#. Tag: title
+#: events.xml:61
+#, no-c-format
msgid "Event system"
msgstr "ã¤ãã³ãã·ã¹ãã "
-#: index.docbook:63
-msgid "If you have to react to particular events in your persistence layer, you may also use the Hibernate3 <emphasis>event</emphasis> architecture. The event system can be used in addition or as a replacement for interceptors."
-msgstr "æ°¸ç¶å層ã§ç¹å®ã®ã¤ãã³ãã«å¯¾å¿ããªããã°ãªããªãå ´åã Hibernate3ã® <emphasis>ã¤ãã³ã</emphasis> ã¢ã¼ããã¯ãã£ã使ããã¨ãã§ãã¾ãã ã¤ãã³ãã·ã¹ãã ã¯ã¤ã³ã¿ã¼ã»ãã¿ã¨ä¸ç·ã«ä½¿ãããã¾ãã¯ã¤ã³ã¿ã¼ã»ãã¿ã®ä»£ããã¨ãã¦ä½¿ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: events.xml:63
+#, no-c-format
+msgid ""
+"If you have to react to particular events in your persistence layer, you may "
+"also use the Hibernate3 <emphasis>event</emphasis> architecture. The event "
+"system can be used in addition or as a replacement for interceptors."
+msgstr ""
+"æ°¸ç¶å層ã§ç¹å®ã®ã¤ãã³ãã«å¯¾å¿ããªããã°ãªããªãå ´åã Hibernate3ã® "
+"<emphasis>ã¤ãã³ã</emphasis> ã¢ã¼ããã¯ãã£ã使ããã¨ãã§ãã¾ãã ã¤ãã³ãã·"
+"ã¹ãã ã¯ã¤ã³ã¿ã¼ã»ãã¿ã¨ä¸ç·ã«ä½¿ãããã¾ãã¯ã¤ã³ã¿ã¼ã»ãã¿ã®ä»£ããã¨ãã¦ä½¿ã"
+"ãã¨ãã§ãã¾ãã"
-#: index.docbook:69
-msgid "Essentially all of the methods of the <literal>Session</literal> interface correlate to an event. You have a <literal>LoadEvent</literal>, a <literal>FlushEvent</literal>, etc (consult the XML configuration-file DTD or the <literal>org.hibernate.event</literal> package for the full list of defined event types). When a request is made of one of these methods, the Hibernate <literal>Session</literal> generates an appropriate event and passes it to the configured event listeners for that type. Out-of-the-box, these listeners implement the same processing in which those methods always resulted. However, you are free to implement a customization of one of the listener interfaces (i.e., the <literal>LoadEvent</literal> is processed by the registered implemenation of the <literal>LoadEventListener</literal> interface), in which case their implementation would be responsible for processing any <literal>load()</literal> requests made of the <literal>Session</literal>."
-msgstr "æ¬è³ªçã« <literal>Session</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ãã¹ã¦ã®ã¡ã½ããã¯ã 1åã®ã¤ãã³ãã¨ç¸äºã«é¢é£ãã¾ãã ä¾ãã° <literal>LoadEvent</literal>ã<literal>FlushEvent</literal> ãªã©ãããã¾ã ï¼å®ç¾©æ¸ã¿ã®ã¤ãã³ãåã®ä¸è¦§ã«ã¤ãã¦ã¯ãXMLè¨å®ãã¡ã¤ã«ã®DTDã <literal>org.hibernate.event</literal> ããã±ã¼ã¸ã調ã¹ã¦ãã ããï¼ã ãªã¯ã¨ã¹ãããããã®ã¡ã½ããã®1ã¤ããä½ãããã¨ãã Hibernateã® <literal>Session</literal> ã¯é©åãªã¤ãã³ããçæãã ãã®ã¤ãã³ãåã«è¨å®ãããã¤ãã³ããªã¹ãã«æ¸¡ãã¾ãã ãã°ããããã¨ã«ããããã®ãªã¹ãã¯ãã®ã¡ã½ããã¨åãå¦çãå®è£
ãã¾ãã ã¨ã¯ããããªã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ä¸ã¤ãèªç±ã«ã«ã¹ã¿ã å®è£
ã§ãã¾ã ï¼ã¤ã¾ãã<literal>LoadEvent</literal> ã¯ç»é²ããã <literal>LoadEventListener</literal> ã¤ã³ã¿ã¼ãã§ã¤!
ã¹ã®å®è£
ã«ããå¦çããã¾ãï¼ã ãã®å ´åããã®å®è£
ã«ã¯ <literal>Session</literal> ããä½ãããã©ã®ãã㪠<literal>load()</literal> ãªã¯ã¨ã¹ãããå¦çãã責任ãããã¾ãã"
+#. Tag: para
+#: events.xml:69
+#, no-c-format
+msgid ""
+"Essentially all of the methods of the <literal>Session</literal> interface "
+"correlate to an event. You have a <literal>LoadEvent</literal>, a "
+"<literal>FlushEvent</literal>, etc (consult the XML configuration-file DTD "
+"or the <literal>org.hibernate.event</literal> package for the full list of "
+"defined event types). When a request is made of one of these methods, the "
+"Hibernate <literal>Session</literal> generates an appropriate event and "
+"passes it to the configured event listeners for that type. Out-of-the-box, "
+"these listeners implement the same processing in which those methods always "
+"resulted. However, you are free to implement a customization of one of the "
+"listener interfaces (i.e., the <literal>LoadEvent</literal> is processed by "
+"the registered implemenation of the <literal>LoadEventListener</literal> "
+"interface), in which case their implementation would be responsible for "
+"processing any <literal>load()</literal> requests made of the "
+"<literal>Session</literal>."
+msgstr ""
+"æ¬è³ªçã« <literal>Session</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ãã¹ã¦ã®ã¡ã½ããã¯ã 1"
+"åã®ã¤ãã³ãã¨ç¸äºã«é¢é£ãã¾ãã ä¾ãã° <literal>LoadEvent</literal>ã"
+"<literal>FlushEvent</literal> ãªã©ãããã¾ã ï¼å®ç¾©æ¸ã¿ã®ã¤ãã³ãåã®ä¸è¦§ã«ã¤"
+"ãã¦ã¯ãXMLè¨å®ãã¡ã¤ã«ã®DTDã <literal>org.hibernate.event</literal> ãã"
+"ã±ã¼ã¸ã調ã¹ã¦ãã ããï¼ã ãªã¯ã¨ã¹ãããããã®ã¡ã½ããã®1ã¤ããä½ãããã¨"
+"ãã Hibernateã® <literal>Session</literal> ã¯é©åãªã¤ãã³ããçæãã ãã®ã¤"
+"ãã³ãåã«è¨å®ãããã¤ãã³ããªã¹ãã«æ¸¡ãã¾ãã ãã°ããããã¨ã«ããããã®ãªã¹"
+"ãã¯ãã®ã¡ã½ããã¨åãå¦çãå®è£
ãã¾ãã ã¨ã¯ããããªã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ä¸"
+"ã¤ãèªç±ã«ã«ã¹ã¿ã å®è£
ã§ãã¾ã ï¼ã¤ã¾ãã<literal>LoadEvent</literal> ã¯ç»é²"
+"ããã <literal>LoadEventListener</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®å®è£
ã«ããå¦ç"
+"ããã¾ãï¼ã ãã®å ´åããã®å®è£
ã«ã¯ <literal>Session</literal> ããä½ãããã©"
+"ã®ãã㪠<literal>load()</literal> ãªã¯ã¨ã¹ãããå¦çãã責任ãããã¾ãã"
-#: index.docbook:84
-msgid "The listeners should be considered effectively singletons; meaning, they are shared between requests, and thus should not save any state as instance variables."
-msgstr "ãªã¹ãã¯äºå®ä¸ã·ã³ã°ã«ãã³ã§ããã¨è¦ãªãã¾ãã ã¤ã¾ããªã¹ãã¯ãªã¯ã¨ã¹ãéã§å
±æãããããã ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã¨ãã¦ç¶æ
ãä¿æããã¹ãã§ã¯ãªãã¨ãããã¨ã§ãã"
+#. Tag: para
+#: events.xml:84
+#, no-c-format
+msgid ""
+"The listeners should be considered effectively singletons; meaning, they are "
+"shared between requests, and thus should not save any state as instance "
+"variables."
+msgstr ""
+"ãªã¹ãã¯äºå®ä¸ã·ã³ã°ã«ãã³ã§ããã¨è¦ãªãã¾ãã ã¤ã¾ããªã¹ãã¯ãªã¯ã¨ã¹ãéã§å
±"
+"æãããããã ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã¨ãã¦ç¶æ
ãä¿æããã¹ãã§ã¯ãªãã¨ãããã¨ã§"
+"ãã"
-#: index.docbook:89
-msgid "A custom listener should implement the appropriate interface for the event it wants to process and/or extend one of the convenience base classes (or even the default event listeners used by Hibernate out-of-the-box as these are declared non-final for this purpose). Custom listeners can either be registered programmatically through the <literal>Configuration</literal> object, or specified in the Hibernate configuration XML (declarative configuration through the properties file is not supported). Here's an example of a custom load event listener:"
-msgstr "ã«ã¹ã¿ã ãªã¹ãã¯å¦çãããã¤ãã³ãã«ã¤ãã¦é©åãªã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããã¹ãã§ãã 便å©ãªåºåºã¯ã©ã¹ã®ãã¡ã®ä¸ã¤ãç¶æ¿ãã¦ãããã§ã ï¼ã¾ãã¯Hibernateãããã©ã«ãã§ä½¿ç¨ããã¤ãã³ããªã¹ããç¶æ¿ãã¦ãããã§ãã ãã°ããããã¨ã«ããã®ç®çã®ããã«éfinalã¨ãã¦å®£è¨ããã¦ãã¾ãï¼ã ã«ã¹ã¿ã ãªã¹ã㯠<literal>Configuration</literal> ãªãã¸ã§ã¯ãã使ã£ã¦ããã°ã©ã ããç»é²ãããã Hibernateã®XMLè¨å®ãã¡ã¤ã«ã§æå®ã§ãã¾ã ï¼ããããã£ãã¡ã¤ã«ã§å®£è¨çã«è¨å®ããæ¹æ³ã¯ãµãã¼ãããã¦ãã¾ããï¼ã ã«ã¹ã¿ã ãã¼ãã¤ãã³ããªã¹ãã®ä¾ã示ãã¾ãã"
+#. Tag: para
+#: events.xml:89
+#, no-c-format
+msgid ""
+"A custom listener should implement the appropriate interface for the event "
+"it wants to process and/or extend one of the convenience base classes (or "
+"even the default event listeners used by Hibernate out-of-the-box as these "
+"are declared non-final for this purpose). Custom listeners can either be "
+"registered programmatically through the <literal>Configuration</literal> "
+"object, or specified in the Hibernate configuration XML (declarative "
+"configuration through the properties file is not supported). Here's an "
+"example of a custom load event listener:"
+msgstr ""
+"ã«ã¹ã¿ã ãªã¹ãã¯å¦çãããã¤ãã³ãã«ã¤ãã¦é©åãªã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããã¹"
+"ãã§ãã 便å©ãªåºåºã¯ã©ã¹ã®ãã¡ã®ä¸ã¤ãç¶æ¿ãã¦ãããã§ã ï¼ã¾ãã¯Hibernateã"
+"ããã©ã«ãã§ä½¿ç¨ããã¤ãã³ããªã¹ããç¶æ¿ãã¦ãããã§ãã ãã°ããããã¨ã«ãã"
+"ã®ç®çã®ããã«éfinalã¨ãã¦å®£è¨ããã¦ãã¾ãï¼ã ã«ã¹ã¿ã ãªã¹ã㯠"
+"<literal>Configuration</literal> ãªãã¸ã§ã¯ãã使ã£ã¦ããã°ã©ã ããç»é²ãã"
+"ãã Hibernateã®XMLè¨å®ãã¡ã¤ã«ã§æå®ã§ãã¾ã ï¼ããããã£ãã¡ã¤ã«ã§å®£è¨çã«"
+"è¨å®ããæ¹æ³ã¯ãµãã¼ãããã¦ãã¾ããï¼ã ã«ã¹ã¿ã ãã¼ãã¤ãã³ããªã¹ãã®ä¾ã示"
+"ãã¾ãã"
-#: index.docbook:99
+#. Tag: programlisting
+#: events.xml:99
+#, no-c-format
msgid ""
- "<![CDATA[public class MyLoadListener implements LoadEventListener {\n"
- " // this is the single method defined by the LoadEventListener interface\n"
- " public void onLoad(LoadEvent event, LoadEventListener.LoadType loadType)\n"
- " throws HibernateException {\n"
- " if ( !MySecurity.isAuthorized( event.getEntityClassName(), event.getEntityId() ) ) {\n"
- " throw MySecurityException(\"Unauthorized access\");\n"
- " }\n"
- " }\n"
- "}]]>"
+"<![CDATA[public class MyLoadListener implements LoadEventListener {\n"
+" // this is the single method defined by the LoadEventListener interface\n"
+" public void onLoad(LoadEvent event, LoadEventListener.LoadType "
+"loadType)\n"
+" throws HibernateException {\n"
+" if ( !MySecurity.isAuthorized( event.getEntityClassName(), event."
+"getEntityId() ) ) {\n"
+" throw MySecurityException(\"Unauthorized access\");\n"
+" }\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[public class MyLoadListener implements LoadEventListener {
-\n"
- " // this is the single method defined by the LoadEventListener interface
-\n"
- " public void onLoad(LoadEvent event, LoadEventListener.LoadType loadType)
-\n"
- " throws HibernateException {
-\n"
- " if ( !MySecurity.isAuthorized( event.getEntityClassName(), event.getEntityId() ) ) {
-\n"
- " throw MySecurityException(\"Unauthorized access\");
-\n"
- " }
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:101
-msgid "You also need a configuration entry telling Hibernate to use the listener in addition to the default listener:"
+#. Tag: para
+#: events.xml:101
+#, no-c-format
+msgid ""
+"You also need a configuration entry telling Hibernate to use the listener in "
+"addition to the default listener:"
msgstr "ããã©ã«ããªã¹ã以å¤ã®ãªã¹ãã使ãã«ã¯ãHibernateã¸ã®è¨å®ãå¿
è¦ã§ãï¼"
-#: index.docbook:106
+#. Tag: programlisting
+#: events.xml:106
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-configuration>\n"
- " <session-factory>\n"
- " ...\n"
- " <event type=\"load\">\n"
- " <listener class=\"com.eg.MyLoadListener\"/>\n"
- " <listener class=\"org.hibernate.event.def.DefaultLoadEventListener\"/>\n"
- " </event>\n"
- " </session-factory>\n"
- "</hibernate-configuration>]]>"
+"<![CDATA[<hibernate-configuration>\n"
+" <session-factory>\n"
+" ...\n"
+" <event type=\"load\">\n"
+" <listener class=\"com.eg.MyLoadListener\"/>\n"
+" <listener class=\"org.hibernate.event.def."
+"DefaultLoadEventListener\"/>\n"
+" </event>\n"
+" </session-factory>\n"
+"</hibernate-configuration>]]>"
msgstr ""
- "<![CDATA[<hibernate-configuration>
-\n"
- " <session-factory>
-\n"
- " ...
-\n"
- " <event type=\"load\">
-\n"
- " <listener class=\"com.eg.MyLoadListener\"/>
-\n"
- " <listener class=\"org.hibernate.event.def.DefaultLoadEventListener\"/>
-\n"
- " </event>
-\n"
- " </session-factory>
-\n"
- "</hibernate-configuration>]]>"
-#: index.docbook:108
+#. Tag: para
+#: events.xml:108
+#, no-c-format
msgid "Instead, you may register it programmatically:"
msgstr "ã¾ããã®ä»ã«ãããã°ã©ã ã§ç»é²ããæ¹æ³ãããã¾ãï¼"
-#: index.docbook:112
+#. Tag: programlisting
+#: events.xml:112
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = new Configuration();\n"
- "LoadEventListener[] stack = { new MyLoadListener(), new DefaultLoadEventListener() };\n"
- "cfg.EventListeners().setLoadEventListeners(stack);]]>"
+"<![CDATA[Configuration cfg = new Configuration();\n"
+"LoadEventListener[] stack = { new MyLoadListener(), new "
+"DefaultLoadEventListener() };\n"
+"cfg.EventListeners().setLoadEventListeners(stack);]]>"
msgstr ""
- "<![CDATA[Configuration cfg = new Configuration();
-\n"
- "LoadEventListener[] stack = { new MyLoadListener(), new DefaultLoadEventListener() };
-\n"
- "cfg.EventListeners().setLoadEventListeners(stack);]]>"
-#: index.docbook:114
-msgid "Listeners registered declaratively cannot share instances. If the same class name is used in multiple <literal><listener/></literal> elements, each reference will result in a separate instance of that class. If you need the capability to share listener instances between listener types you must use the programmatic registration approach."
-msgstr "ãªã¹ãã宣è¨çã«ç»é²ããã¨ããã®ãªã¹ãã®ã¤ã³ã¹ã¿ã³ã¹ãå
±æã§ãã¾ããã è¤æ°ã® <literal><listener/></literal> è¦ç´ ã§åãã¯ã©ã¹åã使ãããã¨ã ããããã®åç
§ã¯ãã®ã¯ã©ã¹ã®å¥ã
ã®ã¤ã³ã¹ã¿ã³ã¹ãæããã¨ã«ãªãã¾ãã ãªã¹ãåã®éã§ãªã¹ãã¤ã³ã¹ã¿ã³ã¹ãå
±æããå¿
è¦ãããã°ã ããã°ã©ã ã§ç»é²ããæ¹æ³ãæ¡ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: events.xml:114
+#, no-c-format
+msgid ""
+"Listeners registered declaratively cannot share instances. If the same class "
+"name is used in multiple <literal><listener/></literal> elements, each "
+"reference will result in a separate instance of that class. If you need the "
+"capability to share listener instances between listener types you must use "
+"the programmatic registration approach."
+msgstr ""
+"ãªã¹ãã宣è¨çã«ç»é²ããã¨ããã®ãªã¹ãã®ã¤ã³ã¹ã¿ã³ã¹ãå
±æã§ãã¾ããã è¤æ°"
+"ã® <literal><listener/></literal> è¦ç´ ã§åãã¯ã©ã¹åã使ãããã¨ã ãã"
+"ããã®åç
§ã¯ãã®ã¯ã©ã¹ã®å¥ã
ã®ã¤ã³ã¹ã¿ã³ã¹ãæããã¨ã«ãªãã¾ãã ãªã¹ãåã®é"
+"ã§ãªã¹ãã¤ã³ã¹ã¿ã³ã¹ãå
±æããå¿
è¦ãããã°ã ããã°ã©ã ã§ç»é²ããæ¹æ³ãæ¡ããª"
+"ããã°ãªãã¾ããã"
-#: index.docbook:122
-msgid "Why implement an interface and define the specific type during configuration? Well, a listener implementation could implement multiple event listener interfaces. Having the type additionally defined during registration makes it easier to turn custom listeners on or off during configuration."
-msgstr "ãªãã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ãã¦ãç¹åããåãè¨å®æã«æå®ããã®ã§ããããï¼ ãªã¹ãã®å®è£
ã¯ã©ã¹ã«ãè¤æ°ã®ã¤ãã³ããªã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ã§ããããã§ãã ç»é²æã«è¿½å ã§åãæå®ãããã¨ã§ãã«ã¹ã¿ã ãªã¹ãã®on/offãè¨å®æã«ç°¡åã«åãæ¿ãããã¾ãã"
+#. Tag: para
+#: events.xml:122
+#, no-c-format
+msgid ""
+"Why implement an interface and define the specific type during "
+"configuration? Well, a listener implementation could implement multiple "
+"event listener interfaces. Having the type additionally defined during "
+"registration makes it easier to turn custom listeners on or off during "
+"configuration."
+msgstr ""
+"ãªãã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ãã¦ãç¹åããåãè¨å®æã«æå®ããã®ã§ããããï¼ ãª"
+"ã¹ãã®å®è£
ã¯ã©ã¹ã«ãè¤æ°ã®ã¤ãã³ããªã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ã§ããããã§"
+"ãã ç»é²æã«è¿½å ã§åãæå®ãããã¨ã§ãã«ã¹ã¿ã ãªã¹ãã®on/offãè¨å®æã«ç°¡åã«"
+"åãæ¿ãããã¾ãã"
-#: index.docbook:132
+#. Tag: title
+#: events.xml:132
+#, no-c-format
msgid "Hibernate declarative security"
msgstr "Hibernateã®å®£è¨çãªã»ãã¥ãªãã£"
-#: index.docbook:133
-msgid "Usually, declarative security in Hibernate applications is managed in a session facade layer. Now, Hibernate3 allows certain actions to be permissioned via JACC, and authorized via JAAS. This is optional functionality built on top of the event architecture."
-msgstr "ä¸è¬çã«Hibernateã¢ããªã±ã¼ã·ã§ã³ã®å®£è¨çãªã»ãã¥ãªãã£ã¯ãã»ãã·ã§ã³ãã¡ãµã¼ã層ã§ç®¡çãã¾ãã ç¾å¨ãHiberenate3ã¯JACCã§è¨±å¯ããã¤ãJAASã§èªè¨¼ããã¢ã¯ã·ã§ã³ã許ãã¦ãã¾ãã ããã¯ã¤ãã³ãã¢ã¼ããã¯ãã£ã®æä¸ä½ã«çµã¿è¾¼ã¾ãã¦ãããªãã·ã§ã³ã®æ©è½ã§ãã"
+#. Tag: para
+#: events.xml:133
+#, no-c-format
+msgid ""
+"Usually, declarative security in Hibernate applications is managed in a "
+"session facade layer. Now, Hibernate3 allows certain actions to be "
+"permissioned via JACC, and authorized via JAAS. This is optional "
+"functionality built on top of the event architecture."
+msgstr ""
+"ä¸è¬çã«Hibernateã¢ããªã±ã¼ã·ã§ã³ã®å®£è¨çãªã»ãã¥ãªãã£ã¯ãã»ãã·ã§ã³ãã¡ãµã¼"
+"ã層ã§ç®¡çãã¾ãã ç¾å¨ãHiberenate3ã¯JACCã§è¨±å¯ããã¤ãJAASã§èªè¨¼ããã¢ã¯"
+"ã·ã§ã³ã許ãã¦ãã¾ãã ããã¯ã¤ãã³ãã¢ã¼ããã¯ãã£ã®æä¸ä½ã«çµã¿è¾¼ã¾ãã¦ãã"
+"ãªãã·ã§ã³ã®æ©è½ã§ãã"
-#: index.docbook:139
-msgid "First, you must configure the appropriate event listeners, to enable the use of JAAS authorization."
-msgstr "ã¾ãæåã«ãé©åãªã¤ãã³ããªã¹ããè¨å®ãã¦JAASèªè¨¼ã使ããããã«ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: events.xml:139
+#, no-c-format
+msgid ""
+"First, you must configure the appropriate event listeners, to enable the use "
+"of JAAS authorization."
+msgstr ""
+"ã¾ãæåã«ãé©åãªã¤ãã³ããªã¹ããè¨å®ãã¦JAASèªè¨¼ã使ããããã«ããªããã°ãª"
+"ãã¾ããã"
-#: index.docbook:144
+#. Tag: programlisting
+#: events.xml:144
+#, no-c-format
msgid ""
- "<![CDATA[<listener type=\"pre-delete\" class=\"org.hibernate.secure.JACCPreDeleteEventListener\"/>\n"
- "<listener type=\"pre-update\" class=\"org.hibernate.secure.JACCPreUpdateEventListener\"/>\n"
- "<listener type=\"pre-insert\" class=\"org.hibernate.secure.JACCPreInsertEventListener\"/>\n"
- "<listener type=\"pre-load\" class=\"org.hibernate.secure.JACCPreLoadEventListener\"/>]]>"
+"<![CDATA[<listener type=\"pre-delete\" class=\"org.hibernate.secure."
+"JACCPreDeleteEventListener\"/>\n"
+"<listener type=\"pre-update\" class=\"org.hibernate.secure."
+"JACCPreUpdateEventListener\"/>\n"
+"<listener type=\"pre-insert\" class=\"org.hibernate.secure."
+"JACCPreInsertEventListener\"/>\n"
+"<listener type=\"pre-load\" class=\"org.hibernate.secure."
+"JACCPreLoadEventListener\"/>]]>"
msgstr ""
- "<![CDATA[<listener type=\"pre-delete\" class=\"org.hibernate.secure.JACCPreDeleteEventListener\"/>
-\n"
- "<listener type=\"pre-update\" class=\"org.hibernate.secure.JACCPreUpdateEventListener\"/>
-\n"
- "<listener type=\"pre-insert\" class=\"org.hibernate.secure.JACCPreInsertEventListener\"/>
-\n"
- "<listener type=\"pre-load\" class=\"org.hibernate.secure.JACCPreLoadEventListener\"/>]]>"
-#: index.docbook:146
-msgid "Note that <literal><listener type=\"...\" class=\"...\"/></literal> is just a shorthand for <literal><event type=\"...\"><listener class=\"...\"/></event></literal> when there is exactly one listener for a particular event type."
-msgstr "ç¹å®ã®ã¤ãã³ãåã«å¯¾ãã¦ã¡ããã©ä¸ã¤ã®ãªã¹ããããã¨ãã <literal><listener type=\"...\" class=\"...\"/></literal> 㯠<literal><event type=\"...\"><listener class=\"...\"/></event></literal> ã®ç°¡ç¥å½¢ã«éããªããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: events.xml:146
+#, no-c-format
+msgid ""
+"Note that <literal><listener type=\"...\" class=\"...\"/></literal> is "
+"just a shorthand for <literal><event type=\"...\"><listener class="
+"\"...\"/></event></literal> when there is exactly one listener for "
+"a particular event type."
+msgstr ""
+"ç¹å®ã®ã¤ãã³ãåã«å¯¾ãã¦ã¡ããã©ä¸ã¤ã®ãªã¹ããããã¨ãã <literal><"
+"listener type=\"...\" class=\"...\"/></literal> 㯠<literal><event "
+"type=\"...\"><listener class=\"...\"/></event></literal> ã®ç°¡"
+"ç¥å½¢ã«éããªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:152
-msgid "Next, still in <literal>hibernate.cfg.xml</literal>, bind the permissions to roles:"
-msgstr "次ã«ãåãã <literal>hibernate.cfg.xml</literal> ã§ãã¼ã«ã«ãã¼ããã·ã§ã³ãä¸ãã¦ãã ããï¼"
+#. Tag: para
+#: events.xml:152
+#, no-c-format
+msgid ""
+"Next, still in <literal>hibernate.cfg.xml</literal>, bind the permissions to "
+"roles:"
+msgstr ""
+"次ã«ãåãã <literal>hibernate.cfg.xml</literal> ã§ãã¼ã«ã«ãã¼ããã·ã§ã³ã"
+"ä¸ãã¦ãã ããï¼"
-#: index.docbook:156
+#. Tag: programlisting
+#: events.xml:156
+#, no-c-format
msgid ""
- "<![CDATA[<grant role=\"admin\" entity-name=\"User\" actions=\"insert,update,read\"/>\n"
- "<grant role=\"su\" entity-name=\"User\" actions=\"*\"/>]]>"
+"<![CDATA[<grant role=\"admin\" entity-name=\"User\" actions=\"insert,update,"
+"read\"/>\n"
+"<grant role=\"su\" entity-name=\"User\" actions=\"*\"/>]]>"
msgstr ""
- "<![CDATA[<grant role=\"admin\" entity-name=\"User\" actions=\"insert,update,read\"/>
-\n"
- "<grant role=\"su\" entity-name=\"User\" actions=\"*\"/>]]>"
-#: index.docbook:158
+#. Tag: para
+#: events.xml:158
+#, no-c-format
msgid "The role names are the roles understood by your JACC provider."
msgstr "ãã®ãã¼ã«åã¯ä½¿ç¨ããJACCãããã¤ãã«çè§£ããããã¼ã«ã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/example_mappings.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/example_mappings.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/example_mappings.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1660 +1,790 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:20
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: example_mappings.xml:20
+#, no-c-format
msgid "Example: Various Mappings"
msgstr "ä¾ï¼ãããããªãããã³ã°"
-#: index.docbook:22
+#. Tag: para
+#: example_mappings.xml:22
+#, no-c-format
msgid "This chapters shows off some more complex association mappings."
msgstr "ãã®ç« ã§ã¯ãããè¤éãªé¢é£ã®ãããã³ã°ãããã¤ãç´¹ä»ãã¾ãã"
-#: index.docbook:27
+#. Tag: title
+#: example_mappings.xml:27
+#, no-c-format
msgid "Employer/Employee"
msgstr "éç¨è
/徿¥å¡"
-#: index.docbook:29
-msgid "The following model of the relationship between <literal>Employer</literal> and <literal>Employee</literal> uses an actual entity class (<literal>Employment</literal>) to represent the association. This is done because there might be more than one period of employment for the same two parties. Components are used to model monetary values and employee names."
-msgstr "<literal>Employer</literal> 㨠<literal>Employee</literal> ã®é¢ä¿ã表ã以ä¸ã®ã¢ãã«ã¯ã é¢é£ã®è¡¨ç¾ã«å®éã®ã¨ã³ãã£ãã£ã¯ã©ã¹ï¼ <literal>Employment</literal> ï¼ ã使ãã¾ãã ãªããªããåã2ã¤ã®ãã¼ãã£ã«è¤æ°ã®æééç¨ãããã¨ãããã¨ãããããããã§ãã ãéã®å¤ã¨å¾æ¥å¡ã®ååãã¢ãã«åããããã«ã³ã³ãã¼ãã³ãã使ã£ã¦ãã¾ãã"
+#. Tag: para
+#: example_mappings.xml:29
+#, no-c-format
+msgid ""
+"The following model of the relationship between <literal>Employer</literal> "
+"and <literal>Employee</literal> uses an actual entity class "
+"(<literal>Employment</literal>) to represent the association. This is done "
+"because there might be more than one period of employment for the same two "
+"parties. Components are used to model monetary values and employee names."
+msgstr ""
+"<literal>Employer</literal> 㨠<literal>Employee</literal> ã®é¢ä¿ã表ã以ä¸ã®"
+"ã¢ãã«ã¯ã é¢é£ã®è¡¨ç¾ã«å®éã®ã¨ã³ãã£ãã£ã¯ã©ã¹ï¼ <literal>Employment</"
+"literal> ï¼ ã使ãã¾ãã ãªããªããåã2ã¤ã®ãã¼ãã£ã«è¤æ°ã®æééç¨ãããã¨"
+"ãããã¨ãããããããã§ãã ãéã®å¤ã¨å¾æ¥å¡ã®ååãã¢ãã«åããããã«ã³ã³"
+"ãã¼ãã³ãã使ã£ã¦ãã¾ãã"
-#: index.docbook:46
+#. Tag: para
+#: example_mappings.xml:46
+#, no-c-format
msgid "Heres a possible mapping document:"
msgstr "ãããã³ã°ããã¥ã¡ã³ãã®ä¸ä¾ã§ãï¼"
-#: index.docbook:50
+#. Tag: programlisting
+#: example_mappings.xml:50
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- " \n"
- " <class name=\"Employer\" table=\"employers\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\">\n"
- " <param name=\"sequence\">employer_id_seq</param>\n"
- " </generator>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- " <class name=\"Employment\" table=\"employment_periods\">\n"
- "\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\">\n"
- " <param name=\"sequence\">employment_id_seq</param>\n"
- " </generator>\n"
- " </id>\n"
- " <property name=\"startDate\" column=\"start_date\"/>\n"
- " <property name=\"endDate\" column=\"end_date\"/>\n"
- "\n"
- " <component name=\"hourlyRate\" class=\"MonetaryAmount\">\n"
- " <property name=\"amount\">\n"
- " <column name=\"hourly_rate\" sql-type=\"NUMERIC(12, 2)\"/>\n"
- " </property>\n"
- " <property name=\"currency\" length=\"12\"/>\n"
- " </component>\n"
- "\n"
- " <many-to-one name=\"employer\" column=\"employer_id\" not-null=\"true\"/>\n"
- " <many-to-one name=\"employee\" column=\"employee_id\" not-null=\"true\"/>\n"
- "\n"
- " </class>\n"
- "\n"
- " <class name=\"Employee\" table=\"employees\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"sequence\">\n"
- " <param name=\"sequence\">employee_id_seq</param>\n"
- " </generator>\n"
- " </id>\n"
- " <property name=\"taxfileNumber\"/>\n"
- " <component name=\"name\" class=\"Name\">\n"
- " <property name=\"firstName\"/>\n"
- " <property name=\"initial\"/>\n"
- " <property name=\"lastName\"/>\n"
- " </component>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+" \n"
+" <class name=\"Employer\" table=\"employers\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\">\n"
+" <param name=\"sequence\">employer_id_seq</param>\n"
+" </generator>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" </class>\n"
+"\n"
+" <class name=\"Employment\" table=\"employment_periods\">\n"
+"\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\">\n"
+" <param name=\"sequence\">employment_id_seq</param>\n"
+" </generator>\n"
+" </id>\n"
+" <property name=\"startDate\" column=\"start_date\"/>\n"
+" <property name=\"endDate\" column=\"end_date\"/>\n"
+"\n"
+" <component name=\"hourlyRate\" class=\"MonetaryAmount\">\n"
+" <property name=\"amount\">\n"
+" <column name=\"hourly_rate\" sql-type=\"NUMERIC(12, 2)\"/>\n"
+" </property>\n"
+" <property name=\"currency\" length=\"12\"/>\n"
+" </component>\n"
+"\n"
+" <many-to-one name=\"employer\" column=\"employer_id\" not-null=\"true"
+"\"/>\n"
+" <many-to-one name=\"employee\" column=\"employee_id\" not-null=\"true"
+"\"/>\n"
+"\n"
+" </class>\n"
+"\n"
+" <class name=\"Employee\" table=\"employees\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"sequence\">\n"
+" <param name=\"sequence\">employee_id_seq</param>\n"
+" </generator>\n"
+" </id>\n"
+" <property name=\"taxfileNumber\"/>\n"
+" <component name=\"name\" class=\"Name\">\n"
+" <property name=\"firstName\"/>\n"
+" <property name=\"initial\"/>\n"
+" <property name=\"lastName\"/>\n"
+" </component>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"Employer\" table=\"employers\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"sequence\">
-\n"
- " <param name=\"sequence\">employer_id_seq</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " <property name=\"name\"/>
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Employment\" table=\"employment_periods\">
-\n"
- "
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"sequence\">
-\n"
- " <param name=\"sequence\">employment_id_seq</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " <property name=\"startDate\" column=\"start_date\"/>
-\n"
- " <property name=\"endDate\" column=\"end_date\"/>
-\n"
- "
-\n"
- " <component name=\"hourlyRate\" class=\"MonetaryAmount\">
-\n"
- " <property name=\"amount\">
-\n"
- " <column name=\"hourly_rate\" sql-type=\"NUMERIC(12, 2)\"/>
-\n"
- " </property>
-\n"
- " <property name=\"currency\" length=\"12\"/>
-\n"
- " </component>
-\n"
- "
-\n"
- " <many-to-one name=\"employer\" column=\"employer_id\" not-null=\"true\"/>
-\n"
- " <many-to-one name=\"employee\" column=\"employee_id\" not-null=\"true\"/>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Employee\" table=\"employees\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"sequence\">
-\n"
- " <param name=\"sequence\">employee_id_seq</param>
-\n"
- " </generator>
-\n"
- " </id>
-\n"
- " <property name=\"taxfileNumber\"/>
-\n"
- " <component name=\"name\" class=\"Name\">
-\n"
- " <property name=\"firstName\"/>
-\n"
- " <property name=\"initial\"/>
-\n"
- " <property name=\"lastName\"/>
-\n"
- " </component>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:52
-msgid "And heres the table schema generated by <literal>SchemaExport</literal>."
+#. Tag: para
+#: example_mappings.xml:52
+#, no-c-format
+msgid ""
+"And heres the table schema generated by <literal>SchemaExport</literal>."
msgstr "<literal>SchemaExport</literal> ã§çæãããã¼ãã«ã¹ãã¼ãã§ãã"
-#: index.docbook:56
+#. Tag: programlisting
+#: example_mappings.xml:56
+#, no-c-format
msgid ""
- "<![CDATA[create table employers (\n"
- " id BIGINT not null, \n"
- " name VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table employment_periods (\n"
- " id BIGINT not null,\n"
- " hourly_rate NUMERIC(12, 2),\n"
- " currency VARCHAR(12), \n"
- " employee_id BIGINT not null, \n"
- " employer_id BIGINT not null, \n"
- " end_date TIMESTAMP, \n"
- " start_date TIMESTAMP, \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table employees (\n"
- " id BIGINT not null, \n"
- " firstName VARCHAR(255), \n"
- " initial CHAR(1), \n"
- " lastName VARCHAR(255), \n"
- " taxfileNumber VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "alter table employment_periods \n"
- " add constraint employment_periodsFK0 foreign key (employer_id) references employers\n"
- "alter table employment_periods \n"
- " add constraint employment_periodsFK1 foreign key (employee_id) references employees\n"
- "create sequence employee_id_seq\n"
- "create sequence employment_id_seq\n"
- "create sequence employer_id_seq]]>"
+"<![CDATA[create table employers (\n"
+" id BIGINT not null, \n"
+" name VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table employment_periods (\n"
+" id BIGINT not null,\n"
+" hourly_rate NUMERIC(12, 2),\n"
+" currency VARCHAR(12), \n"
+" employee_id BIGINT not null, \n"
+" employer_id BIGINT not null, \n"
+" end_date TIMESTAMP, \n"
+" start_date TIMESTAMP, \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table employees (\n"
+" id BIGINT not null, \n"
+" firstName VARCHAR(255), \n"
+" initial CHAR(1), \n"
+" lastName VARCHAR(255), \n"
+" taxfileNumber VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"alter table employment_periods \n"
+" add constraint employment_periodsFK0 foreign key (employer_id) "
+"references employers\n"
+"alter table employment_periods \n"
+" add constraint employment_periodsFK1 foreign key (employee_id) "
+"references employees\n"
+"create sequence employee_id_seq\n"
+"create sequence employment_id_seq\n"
+"create sequence employer_id_seq]]>"
msgstr ""
- "<![CDATA[create table employers (
-\n"
- " id BIGINT not null,
-\n"
- " name VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table employment_periods (
-\n"
- " id BIGINT not null,
-\n"
- " hourly_rate NUMERIC(12, 2),
-\n"
- " currency VARCHAR(12),
-\n"
- " employee_id BIGINT not null,
-\n"
- " employer_id BIGINT not null,
-\n"
- " end_date TIMESTAMP,
-\n"
- " start_date TIMESTAMP,
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table employees (
-\n"
- " id BIGINT not null,
-\n"
- " firstName VARCHAR(255),
-\n"
- " initial CHAR(1),
-\n"
- " lastName VARCHAR(255),
-\n"
- " taxfileNumber VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "alter table employment_periods
-\n"
- " add constraint employment_periodsFK0 foreign key (employer_id) references employers
-\n"
- "alter table employment_periods
-\n"
- " add constraint employment_periodsFK1 foreign key (employee_id) references employees
-\n"
- "create sequence employee_id_seq
-\n"
- "create sequence employment_id_seq
-\n"
- "create sequence employer_id_seq]]>"
-#: index.docbook:61
+#. Tag: title
+#: example_mappings.xml:61
+#, no-c-format
msgid "Author/Work"
msgstr "ä½è
/ä½å"
-#: index.docbook:63
-msgid "Consider the following model of the relationships between <literal>Work</literal>, <literal>Author</literal> and <literal>Person</literal>. We represent the relationship between <literal>Work</literal> and <literal>Author</literal> as a many-to-many association. We choose to represent the relationship between <literal>Author</literal> and <literal>Person</literal> as one-to-one association. Another possibility would be to have <literal>Author</literal> extend <literal>Person</literal>."
-msgstr "<literal>Work</literal> , <literal>Author</literal> ãã㦠<literal>Person</literal> ã®é¢ä¿ã表ã以ä¸ã®ã¢ãã«ãèãã¦ã¿ã¦ãã ããã <literal>Work</literal> 㨠<literal>Author</literal> ã®é¢ä¿ãå¤å¯¾å¤é¢é£ã§è¡¨ãã¦ãã¾ãã <literal>Author</literal> 㨠<literal>Person</literal> ã®é¢ä¿ã¯ä¸å¯¾ä¸é¢é£ã¨ãã¦è¡¨ãã¦ãã¾ãã ä»ã«ã¯ <literal>Author</literal> ã <literal>Person</literal> ãæ¡å¼µããã¨ããæ¹æ³ãããã¾ãã"
+#. Tag: para
+#: example_mappings.xml:63
+#, no-c-format
+msgid ""
+"Consider the following model of the relationships between <literal>Work</"
+"literal>, <literal>Author</literal> and <literal>Person</literal>. We "
+"represent the relationship between <literal>Work</literal> and "
+"<literal>Author</literal> as a many-to-many association. We choose to "
+"represent the relationship between <literal>Author</literal> and "
+"<literal>Person</literal> as one-to-one association. Another possibility "
+"would be to have <literal>Author</literal> extend <literal>Person</literal>."
+msgstr ""
+"<literal>Work</literal> , <literal>Author</literal> ãã㦠<literal>Person</"
+"literal> ã®é¢ä¿ã表ã以ä¸ã®ã¢ãã«ãèãã¦ã¿ã¦ãã ããã <literal>Work</"
+"literal> 㨠<literal>Author</literal> ã®é¢ä¿ãå¤å¯¾å¤é¢é£ã§è¡¨ãã¦ãã¾ãã "
+"<literal>Author</literal> 㨠<literal>Person</literal> ã®é¢ä¿ã¯ä¸å¯¾ä¸é¢é£ã¨ã"
+"ã¦è¡¨ãã¦ãã¾ãã ä»ã«ã¯ <literal>Author</literal> ã <literal>Person</"
+"literal> ãæ¡å¼µããã¨ããæ¹æ³ãããã¾ãã"
-#: index.docbook:81
-msgid "The following mapping document correctly represents these relationships:"
+#. Tag: para
+#: example_mappings.xml:81
+#, no-c-format
+msgid ""
+"The following mapping document correctly represents these relationships:"
msgstr "以ä¸ã®ãããã³ã°ããã¥ã¡ã³ãã¯ãã®ãããªé¢ä¿ãæ£ç¢ºã«è¡¨ç¾ãã¦ãã¾ãã"
-#: index.docbook:85
+#. Tag: programlisting
+#: example_mappings.xml:85
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Work\" table=\"works\" discriminator-value=\"W\">\n"
- "\n"
- " <id name=\"id\" column=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"type\" type=\"character\"/>\n"
- "\n"
- " <property name=\"title\"/>\n"
- " <set name=\"authors\" table=\"author_work\">\n"
- " <key column name=\"work_id\"/>\n"
- " <many-to-many class=\"Author\" column name=\"author_id\"/>\n"
- " </set>\n"
- "\n"
- " <subclass name=\"Book\" discriminator-value=\"B\">\n"
- " <property name=\"text\"/>\n"
- " </subclass>\n"
- "\n"
- " <subclass name=\"Song\" discriminator-value=\"S\">\n"
- " <property name=\"tempo\"/>\n"
- " <property name=\"genre\"/>\n"
- " </subclass>\n"
- "\n"
- " </class>\n"
- "\n"
- " <class name=\"Author\" table=\"authors\">\n"
- "\n"
- " <id name=\"id\" column=\"id\">\n"
- " <!-- The Author must have the same identifier as the Person -->\n"
- " <generator class=\"assigned\"/> \n"
- " </id>\n"
- "\n"
- " <property name=\"alias\"/>\n"
- " <one-to-one name=\"person\" constrained=\"true\"/>\n"
- "\n"
- " <set name=\"works\" table=\"author_work\" inverse=\"true\">\n"
- " <key column=\"author_id\"/>\n"
- " <many-to-many class=\"Work\" column=\"work_id\"/>\n"
- " </set>\n"
- "\n"
- " </class>\n"
- "\n"
- " <class name=\"Person\" table=\"persons\">\n"
- " <id name=\"id\" column=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Work\" table=\"works\" discriminator-value=\"W\">\n"
+"\n"
+" <id name=\"id\" column=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <discriminator column=\"type\" type=\"character\"/>\n"
+"\n"
+" <property name=\"title\"/>\n"
+" <set name=\"authors\" table=\"author_work\">\n"
+" <key column name=\"work_id\"/>\n"
+" <many-to-many class=\"Author\" column name=\"author_id\"/>\n"
+" </set>\n"
+"\n"
+" <subclass name=\"Book\" discriminator-value=\"B\">\n"
+" <property name=\"text\"/>\n"
+" </subclass>\n"
+"\n"
+" <subclass name=\"Song\" discriminator-value=\"S\">\n"
+" <property name=\"tempo\"/>\n"
+" <property name=\"genre\"/>\n"
+" </subclass>\n"
+"\n"
+" </class>\n"
+"\n"
+" <class name=\"Author\" table=\"authors\">\n"
+"\n"
+" <id name=\"id\" column=\"id\">\n"
+" <!-- The Author must have the same identifier as the Person -->\n"
+" <generator class=\"assigned\"/> \n"
+" </id>\n"
+"\n"
+" <property name=\"alias\"/>\n"
+" <one-to-one name=\"person\" constrained=\"true\"/>\n"
+"\n"
+" <set name=\"works\" table=\"author_work\" inverse=\"true\">\n"
+" <key column=\"author_id\"/>\n"
+" <many-to-many class=\"Work\" column=\"work_id\"/>\n"
+" </set>\n"
+"\n"
+" </class>\n"
+"\n"
+" <class name=\"Person\" table=\"persons\">\n"
+" <id name=\"id\" column=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"Work\" table=\"works\" discriminator-value=\"W\">
-\n"
- "
-\n"
- " <id name=\"id\" column=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <discriminator column=\"type\" type=\"character\"/>
-\n"
- "
-\n"
- " <property name=\"title\"/>
-\n"
- " <set name=\"authors\" table=\"author_work\">
-\n"
- " <key column name=\"work_id\"/>
-\n"
- " <many-to-many class=\"Author\" column name=\"author_id\"/>
-\n"
- " </set>
-\n"
- "
-\n"
- " <subclass name=\"Book\" discriminator-value=\"B\">
-\n"
- " <property name=\"text\"/>
-\n"
- " </subclass>
-\n"
- "
-\n"
- " <subclass name=\"Song\" discriminator-value=\"S\">
-\n"
- " <property name=\"tempo\"/>
-\n"
- " <property name=\"genre\"/>
-\n"
- " </subclass>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Author\" table=\"authors\">
-\n"
- "
-\n"
- " <id name=\"id\" column=\"id\">
-\n"
- " <!-- The Author must have the same identifier as the Person -->
-\n"
- " <generator class=\"assigned\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"alias\"/>
-\n"
- " <one-to-one name=\"person\" constrained=\"true\"/>
-\n"
- "
-\n"
- " <set name=\"works\" table=\"author_work\" inverse=\"true\">
-\n"
- " <key column=\"author_id\"/>
-\n"
- " <many-to-many class=\"Work\" column=\"work_id\"/>
-\n"
- " </set>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Person\" table=\"persons\">
-\n"
- " <id name=\"id\" column=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"name\"/>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:87
-msgid "There are four tables in this mapping. <literal>works</literal>, <literal>authors</literal> and <literal>persons</literal> hold work, author and person data respectively. <literal>author_work</literal> is an association table linking authors to works. Heres the table schema, as generated by <literal>SchemaExport</literal>."
-msgstr "ãã®ãããã³ã°ã«ã¯4ã¤ã®ãã¼ãã«ãããã¾ãã <literal>works</literal> , <literal>authors</literal> , <literal>persons</literal> ã¯ãããããä»äºãä½è
ã人ã®ãã¼ã¿ãä¿æãã¾ãã <literal>author_work</literal> ã¯ä½è
ã¨ä½åããªã³ã¯ããé¢é£ãã¼ãã«ã§ãã 以ä¸ã¯ <literal>SchemaExport</literal> ã§çæãããã¼ãã«ã¹ãã¼ãã§ãã"
+#. Tag: para
+#: example_mappings.xml:87
+#, no-c-format
+msgid ""
+"There are four tables in this mapping. <literal>works</literal>, "
+"<literal>authors</literal> and <literal>persons</literal> hold work, author "
+"and person data respectively. <literal>author_work</literal> is an "
+"association table linking authors to works. Heres the table schema, as "
+"generated by <literal>SchemaExport</literal>."
+msgstr ""
+"ãã®ãããã³ã°ã«ã¯4ã¤ã®ãã¼ãã«ãããã¾ãã <literal>works</literal> , "
+"<literal>authors</literal> , <literal>persons</literal> ã¯ãããããä»äºãä½"
+"è
ã人ã®ãã¼ã¿ãä¿æãã¾ãã <literal>author_work</literal> ã¯ä½è
ã¨ä½åããª"
+"ã³ã¯ããé¢é£ãã¼ãã«ã§ãã 以ä¸ã¯ <literal>SchemaExport</literal> ã§çæãã"
+"ãã¼ãã«ã¹ãã¼ãã§ãã"
-#: index.docbook:95
+#. Tag: programlisting
+#: example_mappings.xml:95
+#, no-c-format
msgid ""
- "<![CDATA[create table works (\n"
- " id BIGINT not null generated by default as identity, \n"
- " tempo FLOAT, \n"
- " genre VARCHAR(255), \n"
- " text INTEGER, \n"
- " title VARCHAR(255), \n"
- " type CHAR(1) not null, \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table author_work (\n"
- " author_id BIGINT not null, \n"
- " work_id BIGINT not null, \n"
- " primary key (work_id, author_id)\n"
- ")\n"
- "\n"
- "create table authors (\n"
- " id BIGINT not null generated by default as identity, \n"
- " alias VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table persons (\n"
- " id BIGINT not null generated by default as identity, \n"
- " name VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "alter table authors \n"
- " add constraint authorsFK0 foreign key (id) references persons\n"
- "alter table author_work \n"
- " add constraint author_workFK0 foreign key (author_id) references authors\n"
- "alter table author_work\n"
- " add constraint author_workFK1 foreign key (work_id) references works]]>"
+"<![CDATA[create table works (\n"
+" id BIGINT not null generated by default as identity, \n"
+" tempo FLOAT, \n"
+" genre VARCHAR(255), \n"
+" text INTEGER, \n"
+" title VARCHAR(255), \n"
+" type CHAR(1) not null, \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table author_work (\n"
+" author_id BIGINT not null, \n"
+" work_id BIGINT not null, \n"
+" primary key (work_id, author_id)\n"
+")\n"
+"\n"
+"create table authors (\n"
+" id BIGINT not null generated by default as identity, \n"
+" alias VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table persons (\n"
+" id BIGINT not null generated by default as identity, \n"
+" name VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"alter table authors \n"
+" add constraint authorsFK0 foreign key (id) references persons\n"
+"alter table author_work \n"
+" add constraint author_workFK0 foreign key (author_id) references "
+"authors\n"
+"alter table author_work\n"
+" add constraint author_workFK1 foreign key (work_id) references works]]>"
msgstr ""
- "<![CDATA[create table works (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " tempo FLOAT,
-\n"
- " genre VARCHAR(255),
-\n"
- " text INTEGER,
-\n"
- " title VARCHAR(255),
-\n"
- " type CHAR(1) not null,
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table author_work (
-\n"
- " author_id BIGINT not null,
-\n"
- " work_id BIGINT not null,
-\n"
- " primary key (work_id, author_id)
-\n"
- ")
-\n"
- "
-\n"
- "create table authors (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " alias VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table persons (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " name VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "alter table authors
-\n"
- " add constraint authorsFK0 foreign key (id) references persons
-\n"
- "alter table author_work
-\n"
- " add constraint author_workFK0 foreign key (author_id) references authors
-\n"
- "alter table author_work
-\n"
- " add constraint author_workFK1 foreign key (work_id) references works]]>"
-#: index.docbook:100
+#. Tag: title
+#: example_mappings.xml:100
+#, no-c-format
msgid "Customer/Order/Product"
msgstr "顧客/注æ/製å"
-#: index.docbook:102
-msgid "Now consider a model of the relationships between <literal>Customer</literal>, <literal>Order</literal> and <literal>LineItem</literal> and <literal>Product</literal>. There is a one-to-many association between <literal>Customer</literal> and <literal>Order</literal>, but how should we represent <literal>Order</literal> / <literal>LineItem</literal> / <literal>Product</literal>? I've chosen to map <literal>LineItem</literal> as an association class representing the many-to-many association between <literal>Order</literal> and <literal>Product</literal>. In Hibernate, this is called a composite element."
-msgstr "ãã¦ã <literal>Customer</literal> , <literal>Order</literal> , <literal>LineItem</literal> <literal>Product</literal> ã®é¢ä¿ã表ãã¢ãã«ãèãã¦ã¿ã¾ãããã <literal>Customer</literal> 㨠<literal>Order</literal> ã¯ä¸å¯¾å¤ã®é¢é£ã§ããã <literal>Order</literal> / <literal>LineItem</literal> / <literal>Product</literal> ã¯ã©ã®ããã«è¡¨ç¾ããã¹ãã§ããããï¼ <literal>LineItem</literal> ãã<literal>Order</literal> 㨠<literal>Product</literal> ã®å¤å¯¾å¤é¢é£ã表ç¾ããé¢é£ã¯ã©ã¹ã¨ãã¦ãããã³ã°ãã¾ããã Hibernateã§ã¯ãããã³ã³ãã¸ããè¦ç´ ã¨å¼ã³ã¾ãã"
+#. Tag: para
+#: example_mappings.xml:102
+#, no-c-format
+msgid ""
+"Now consider a model of the relationships between <literal>Customer</"
+"literal>, <literal>Order</literal> and <literal>LineItem</literal> and "
+"<literal>Product</literal>. There is a one-to-many association between "
+"<literal>Customer</literal> and <literal>Order</literal>, but how should we "
+"represent <literal>Order</literal> / <literal>LineItem</literal> / "
+"<literal>Product</literal>? I've chosen to map <literal>LineItem</literal> "
+"as an association class representing the many-to-many association between "
+"<literal>Order</literal> and <literal>Product</literal>. In Hibernate, this "
+"is called a composite element."
+msgstr ""
+"ãã¦ã <literal>Customer</literal> , <literal>Order</literal> , "
+"<literal>LineItem</literal><literal>Product</literal> ã®é¢ä¿ã表ãã¢ãã«ãè"
+"ãã¦ã¿ã¾ãããã <literal>Customer</literal> 㨠<literal>Order</literal> ã¯ä¸"
+"対å¤ã®é¢é£ã§ããã <literal>Order</literal> / <literal>LineItem</literal> / "
+"<literal>Product</literal> ã¯ã©ã®ããã«è¡¨ç¾ããã¹ãã§ããããï¼ "
+"<literal>LineItem</literal> ãã<literal>Order</literal> 㨠"
+"<literal>Product</literal> ã®å¤å¯¾å¤é¢é£ã表ç¾ããé¢é£ã¯ã©ã¹ã¨ãã¦ãããã³ã°ã"
+"ã¾ããã Hibernateã§ã¯ãããã³ã³ãã¸ããè¦ç´ ã¨å¼ã³ã¾ãã"
-#: index.docbook:122
+#. Tag: para
+#: example_mappings.xml:122
+#, no-c-format
msgid "The mapping document:"
msgstr "ãããã³ã°ããã¥ã¡ã³ãï¼"
-#: index.docbook:126
+#. Tag: programlisting
+#: example_mappings.xml:126
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"Customer\" table=\"customers\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"name\"/>\n"
- " <set name=\"orders\" inverse=\"true\">\n"
- " <key column=\"customer_id\"/>\n"
- " <one-to-many class=\"Order\"/>\n"
- " </set>\n"
- " </class>\n"
- "\n"
- " <class name=\"Order\" table=\"orders\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"date\"/>\n"
- " <many-to-one name=\"customer\" column=\"customer_id\"/>\n"
- " <list name=\"lineItems\" table=\"line_items\">\n"
- " <key column=\"order_id\"/>\n"
- " <list-index column=\"line_number\"/>\n"
- " <composite-element class=\"LineItem\">\n"
- " <property name=\"quantity\"/>\n"
- " <many-to-one name=\"product\" column=\"product_id\"/>\n"
- " </composite-element>\n"
- " </list>\n"
- " </class>\n"
- "\n"
- " <class name=\"Product\" table=\"products\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"serialNumber\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"Customer\" table=\"customers\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"name\"/>\n"
+" <set name=\"orders\" inverse=\"true\">\n"
+" <key column=\"customer_id\"/>\n"
+" <one-to-many class=\"Order\"/>\n"
+" </set>\n"
+" </class>\n"
+"\n"
+" <class name=\"Order\" table=\"orders\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"date\"/>\n"
+" <many-to-one name=\"customer\" column=\"customer_id\"/>\n"
+" <list name=\"lineItems\" table=\"line_items\">\n"
+" <key column=\"order_id\"/>\n"
+" <list-index column=\"line_number\"/>\n"
+" <composite-element class=\"LineItem\">\n"
+" <property name=\"quantity\"/>\n"
+" <many-to-one name=\"product\" column=\"product_id\"/>\n"
+" </composite-element>\n"
+" </list>\n"
+" </class>\n"
+"\n"
+" <class name=\"Product\" table=\"products\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"serialNumber\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"Customer\" table=\"customers\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"name\"/>
-\n"
- " <set name=\"orders\" inverse=\"true\">
-\n"
- " <key column=\"customer_id\"/>
-\n"
- " <one-to-many class=\"Order\"/>
-\n"
- " </set>
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Order\" table=\"orders\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"date\"/>
-\n"
- " <many-to-one name=\"customer\" column=\"customer_id\"/>
-\n"
- " <list name=\"lineItems\" table=\"line_items\">
-\n"
- " <key column=\"order_id\"/>
-\n"
- " <list-index column=\"line_number\"/>
-\n"
- " <composite-element class=\"LineItem\">
-\n"
- " <property name=\"quantity\"/>
-\n"
- " <many-to-one name=\"product\" column=\"product_id\"/>
-\n"
- " </composite-element>
-\n"
- " </list>
-\n"
- " </class>
-\n"
- "
-\n"
- " <class name=\"Product\" table=\"products\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"serialNumber\"/>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:128
-msgid "<literal>customers</literal>, <literal>orders</literal>, <literal>line_items</literal> and <literal>products</literal> hold customer, order, order line item and product data respectively. <literal>line_items</literal> also acts as an association table linking orders with products."
-msgstr "<literal>customers</literal> , <literal>orders</literal> , <literal>line_items</literal> , <literal>products</literal> ã¯ãããããé¡§å®¢ãæ³¨æã注ææç´°ã製åã®ãã¼ã¿ãä¿æãã¾ãã <literal>line_items</literal> ã¯æ³¨æã¨è£½åããªã³ã¯ããé¢é£ãã¼ãã«ã¨ãã¦ãåãã¾ãã"
+#. Tag: para
+#: example_mappings.xml:128
+#, no-c-format
+msgid ""
+"<literal>customers</literal>, <literal>orders</literal>, "
+"<literal>line_items</literal> and <literal>products</literal> hold customer, "
+"order, order line item and product data respectively. <literal>line_items</"
+"literal> also acts as an association table linking orders with products."
+msgstr ""
+"<literal>customers</literal> , <literal>orders</literal> , "
+"<literal>line_items</literal> , <literal>products</literal> ã¯ãããããé¡§"
+"å®¢ãæ³¨æã注ææç´°ã製åã®ãã¼ã¿ãä¿æãã¾ãã <literal>line_items</literal> "
+"ã¯æ³¨æã¨è£½åããªã³ã¯ããé¢é£ãã¼ãã«ã¨ãã¦ãåãã¾ãã"
-#: index.docbook:135
+#. Tag: programlisting
+#: example_mappings.xml:135
+#, no-c-format
msgid ""
- "<![CDATA[create table customers (\n"
- " id BIGINT not null generated by default as identity, \n"
- " name VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table orders (\n"
- " id BIGINT not null generated by default as identity, \n"
- " customer_id BIGINT, \n"
- " date TIMESTAMP, \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "create table line_items (\n"
- " line_number INTEGER not null, \n"
- " order_id BIGINT not null, \n"
- " product_id BIGINT, \n"
- " quantity INTEGER, \n"
- " primary key (order_id, line_number)\n"
- ")\n"
- "\n"
- "create table products (\n"
- " id BIGINT not null generated by default as identity, \n"
- " serialNumber VARCHAR(255), \n"
- " primary key (id)\n"
- ")\n"
- "\n"
- "alter table orders \n"
- " add constraint ordersFK0 foreign key (customer_id) references customers\n"
- "alter table line_items\n"
- " add constraint line_itemsFK0 foreign key (product_id) references products\n"
- "alter table line_items\n"
- " add constraint line_itemsFK1 foreign key (order_id) references orders]]>"
+"<![CDATA[create table customers (\n"
+" id BIGINT not null generated by default as identity, \n"
+" name VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table orders (\n"
+" id BIGINT not null generated by default as identity, \n"
+" customer_id BIGINT, \n"
+" date TIMESTAMP, \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"create table line_items (\n"
+" line_number INTEGER not null, \n"
+" order_id BIGINT not null, \n"
+" product_id BIGINT, \n"
+" quantity INTEGER, \n"
+" primary key (order_id, line_number)\n"
+")\n"
+"\n"
+"create table products (\n"
+" id BIGINT not null generated by default as identity, \n"
+" serialNumber VARCHAR(255), \n"
+" primary key (id)\n"
+")\n"
+"\n"
+"alter table orders \n"
+" add constraint ordersFK0 foreign key (customer_id) references customers\n"
+"alter table line_items\n"
+" add constraint line_itemsFK0 foreign key (product_id) references "
+"products\n"
+"alter table line_items\n"
+" add constraint line_itemsFK1 foreign key (order_id) references orders]]>"
msgstr ""
- "<![CDATA[create table customers (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " name VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table orders (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " customer_id BIGINT,
-\n"
- " date TIMESTAMP,
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "create table line_items (
-\n"
- " line_number INTEGER not null,
-\n"
- " order_id BIGINT not null,
-\n"
- " product_id BIGINT,
-\n"
- " quantity INTEGER,
-\n"
- " primary key (order_id, line_number)
-\n"
- ")
-\n"
- "
-\n"
- "create table products (
-\n"
- " id BIGINT not null generated by default as identity,
-\n"
- " serialNumber VARCHAR(255),
-\n"
- " primary key (id)
-\n"
- ")
-\n"
- "
-\n"
- "alter table orders
-\n"
- " add constraint ordersFK0 foreign key (customer_id) references customers
-\n"
- "alter table line_items
-\n"
- " add constraint line_itemsFK0 foreign key (product_id) references products
-\n"
- "alter table line_items
-\n"
- " add constraint line_itemsFK1 foreign key (order_id) references orders]]>"
-#: index.docbook:140
+#. Tag: title
+#: example_mappings.xml:140
+#, no-c-format
msgid "Miscellaneous example mappings"
msgstr "種ã
éå¤ãªãããã³ã°ä¾"
-#: index.docbook:142
-msgid "These examples are all taken from the Hibernate test suite. You will find many other useful example mappings there. Look in the <literal>test</literal> folder of the Hibernate distribution."
-msgstr "ããã«ããä¾ã¯ãã¹ã¦Hibernateã®ãã¹ãã¹ã¤ã¼ãããåãã¾ããã ããã«ã¯ãä»ã«ãããããã®ãããã³ã°ã®ä¾ãããã¾ãã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>test</literal> ãã©ã«ããè¦ã¦ãã ããã"
+#. Tag: para
+#: example_mappings.xml:142
+#, no-c-format
+msgid ""
+"These examples are all taken from the Hibernate test suite. You will find "
+"many other useful example mappings there. Look in the <literal>test</"
+"literal> folder of the Hibernate distribution."
+msgstr ""
+"ããã«ããä¾ã¯ãã¹ã¦Hibernateã®ãã¹ãã¹ã¤ã¼ãããåãã¾ããã ããã«ã¯ãä»ã«"
+"ãããããã®ãããã³ã°ã®ä¾ãããã¾ãã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® "
+"<literal>test</literal> ãã©ã«ããè¦ã¦ãã ããã"
-#: index.docbook:148
+#. Tag: para
+#: example_mappings.xml:148
+#, no-c-format
msgid "TODO: put words around this stuff"
msgstr "TODO: ããã«æç« ãåãã"
-#: index.docbook:151
+#. Tag: title
+#: example_mappings.xml:151
+#, no-c-format
msgid "\"Typed\" one-to-one association"
msgstr "ãåä»ãããããä¸å¯¾ä¸é¢é£"
-#: index.docbook:152
+#. Tag: programlisting
+#: example_mappings.xml:152
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"name\"/>\n"
- " <one-to-one name=\"address\" \n"
- " cascade=\"all\">\n"
- " <formula>name</formula>\n"
- " <formula>'HOME'</formula>\n"
- " </one-to-one>\n"
- " <one-to-one name=\"mailingAddress\" \n"
- " cascade=\"all\">\n"
- " <formula>name</formula>\n"
- " <formula>'MAILING'</formula>\n"
- " </one-to-one>\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\" batch-size=\"2\" \n"
- " check=\"addressType in ('MAILING', 'HOME', 'BUSINESS')\">\n"
- " <composite-id>\n"
- " <key-many-to-one name=\"person\" \n"
- " column=\"personName\"/>\n"
- " <key-property name=\"type\" \n"
- " column=\"addressType\"/>\n"
- " </composite-id>\n"
- " <property name=\"street\" type=\"text\"/>\n"
- " <property name=\"state\"/>\n"
- " <property name=\"zip\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"name\"/>\n"
+" <one-to-one name=\"address\" \n"
+" cascade=\"all\">\n"
+" <formula>name</formula>\n"
+" <formula>'HOME'</formula>\n"
+" </one-to-one>\n"
+" <one-to-one name=\"mailingAddress\" \n"
+" cascade=\"all\">\n"
+" <formula>name</formula>\n"
+" <formula>'MAILING'</formula>\n"
+" </one-to-one>\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\" batch-size=\"2\" \n"
+" check=\"addressType in ('MAILING', 'HOME', 'BUSINESS')\">\n"
+" <composite-id>\n"
+" <key-many-to-one name=\"person\" \n"
+" column=\"personName\"/>\n"
+" <key-property name=\"type\" \n"
+" column=\"addressType\"/>\n"
+" </composite-id>\n"
+" <property name=\"street\" type=\"text\"/>\n"
+" <property name=\"state\"/>\n"
+" <property name=\"zip\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <id name=\"name\"/>
-\n"
- " <one-to-one name=\"address\"
-\n"
- " cascade=\"all\">
-\n"
- " <formula>name</formula>
-\n"
- " <formula>'HOME'</formula>
-\n"
- " </one-to-one>
-\n"
- " <one-to-one name=\"mailingAddress\"
-\n"
- " cascade=\"all\">
-\n"
- " <formula>name</formula>
-\n"
- " <formula>'MAILING'</formula>
-\n"
- " </one-to-one>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\" batch-size=\"2\"
-\n"
- " check=\"addressType in ('MAILING', 'HOME', 'BUSINESS')\">
-\n"
- " <composite-id>
-\n"
- " <key-many-to-one name=\"person\"
-\n"
- " column=\"personName\"/>
-\n"
- " <key-property name=\"type\"
-\n"
- " column=\"addressType\"/>
-\n"
- " </composite-id>
-\n"
- " <property name=\"street\" type=\"text\"/>
-\n"
- " <property name=\"state\"/>
-\n"
- " <property name=\"zip\"/>
-\n"
- "</class>]]>"
-#: index.docbook:156
+#. Tag: title
+#: example_mappings.xml:156
+#, no-c-format
msgid "Composite key example"
msgstr "è¤åãã¼ã®ä¾"
-#: index.docbook:157
+#. Tag: programlisting
+#: example_mappings.xml:157
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Customer\">\n"
- "\n"
- " <id name=\"customerId\"\n"
- " length=\"10\">\n"
- " <generator class=\"assigned\"/>\n"
- " </id>\n"
- "\n"
- " <property name=\"name\" not-null=\"true\" length=\"100\"/>\n"
- " <property name=\"address\" not-null=\"true\" length=\"200\"/>\n"
- "\n"
- " <list name=\"orders\"\n"
- " inverse=\"true\"\n"
- " cascade=\"save-update\">\n"
- " <key column=\"customerId\"/>\n"
- " <index column=\"orderNumber\"/>\n"
- " <one-to-many class=\"Order\"/>\n"
- " </list>\n"
- "\n"
- "</class>\n"
- "\n"
- "<class name=\"Order\" table=\"CustomerOrder\" lazy=\"true\">\n"
- " <synchronize table=\"LineItem\"/>\n"
- " <synchronize table=\"Product\"/>\n"
- " \n"
- " <composite-id name=\"id\" \n"
- " class=\"Order$Id\">\n"
- " <key-property name=\"customerId\" length=\"10\"/>\n"
- " <key-property name=\"orderNumber\"/>\n"
- " </composite-id>\n"
- " \n"
- " <property name=\"orderDate\" \n"
- " type=\"calendar_date\"\n"
- " not-null=\"true\"/>\n"
- " \n"
- " <property name=\"total\">\n"
- " <formula>\n"
- " ( select sum(li.quantity*p.price) \n"
- " from LineItem li, Product p \n"
- " where li.productId = p.productId \n"
- " and li.customerId = customerId \n"
- " and li.orderNumber = orderNumber )\n"
- " </formula>\n"
- " </property>\n"
- " \n"
- " <many-to-one name=\"customer\"\n"
- " column=\"customerId\"\n"
- " insert=\"false\"\n"
- " update=\"false\" \n"
- " not-null=\"true\"/>\n"
- " \n"
- " <bag name=\"lineItems\"\n"
- " fetch=\"join\" \n"
- " inverse=\"true\"\n"
- " cascade=\"save-update\">\n"
- " <key>\n"
- " <column name=\"customerId\"/>\n"
- " <column name=\"orderNumber\"/>\n"
- " </key>\n"
- " <one-to-many class=\"LineItem\"/>\n"
- " </bag>\n"
- " \n"
- "</class>\n"
- " \n"
- "<class name=\"LineItem\">\n"
- " \n"
- " <composite-id name=\"id\" \n"
- " class=\"LineItem$Id\">\n"
- " <key-property name=\"customerId\" length=\"10\"/>\n"
- " <key-property name=\"orderNumber\"/>\n"
- " <key-property name=\"productId\" length=\"10\"/>\n"
- " </composite-id>\n"
- " \n"
- " <property name=\"quantity\"/>\n"
- " \n"
- " <many-to-one name=\"order\"\n"
- " insert=\"false\"\n"
- " update=\"false\" \n"
- " not-null=\"true\">\n"
- " <column name=\"customerId\"/>\n"
- " <column name=\"orderNumber\"/>\n"
- " </many-to-one>\n"
- " \n"
- " <many-to-one name=\"product\"\n"
- " insert=\"false\"\n"
- " update=\"false\" \n"
- " not-null=\"true\"\n"
- " column=\"productId\"/>\n"
- " \n"
- "</class>\n"
- "\n"
- "<class name=\"Product\">\n"
- " <synchronize table=\"LineItem\"/>\n"
- "\n"
- " <id name=\"productId\"\n"
- " length=\"10\">\n"
- " <generator class=\"assigned\"/>\n"
- " </id>\n"
- " \n"
- " <property name=\"description\" \n"
- " not-null=\"true\" \n"
- " length=\"200\"/>\n"
- " <property name=\"price\" length=\"3\"/>\n"
- " <property name=\"numberAvailable\"/>\n"
- " \n"
- " <property name=\"numberOrdered\">\n"
- " <formula>\n"
- " ( select sum(li.quantity) \n"
- " from LineItem li \n"
- " where li.productId = productId )\n"
- " </formula>\n"
- " </property>\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"Customer\">\n"
+"\n"
+" <id name=\"customerId\"\n"
+" length=\"10\">\n"
+" <generator class=\"assigned\"/>\n"
+" </id>\n"
+"\n"
+" <property name=\"name\" not-null=\"true\" length=\"100\"/>\n"
+" <property name=\"address\" not-null=\"true\" length=\"200\"/>\n"
+"\n"
+" <list name=\"orders\"\n"
+" inverse=\"true\"\n"
+" cascade=\"save-update\">\n"
+" <key column=\"customerId\"/>\n"
+" <index column=\"orderNumber\"/>\n"
+" <one-to-many class=\"Order\"/>\n"
+" </list>\n"
+"\n"
+"</class>\n"
+"\n"
+"<class name=\"Order\" table=\"CustomerOrder\" lazy=\"true\">\n"
+" <synchronize table=\"LineItem\"/>\n"
+" <synchronize table=\"Product\"/>\n"
+" \n"
+" <composite-id name=\"id\" \n"
+" class=\"Order$Id\">\n"
+" <key-property name=\"customerId\" length=\"10\"/>\n"
+" <key-property name=\"orderNumber\"/>\n"
+" </composite-id>\n"
+" \n"
+" <property name=\"orderDate\" \n"
+" type=\"calendar_date\"\n"
+" not-null=\"true\"/>\n"
+" \n"
+" <property name=\"total\">\n"
+" <formula>\n"
+" ( select sum(li.quantity*p.price) \n"
+" from LineItem li, Product p \n"
+" where li.productId = p.productId \n"
+" and li.customerId = customerId \n"
+" and li.orderNumber = orderNumber )\n"
+" </formula>\n"
+" </property>\n"
+" \n"
+" <many-to-one name=\"customer\"\n"
+" column=\"customerId\"\n"
+" insert=\"false\"\n"
+" update=\"false\" \n"
+" not-null=\"true\"/>\n"
+" \n"
+" <bag name=\"lineItems\"\n"
+" fetch=\"join\" \n"
+" inverse=\"true\"\n"
+" cascade=\"save-update\">\n"
+" <key>\n"
+" <column name=\"customerId\"/>\n"
+" <column name=\"orderNumber\"/>\n"
+" </key>\n"
+" <one-to-many class=\"LineItem\"/>\n"
+" </bag>\n"
+" \n"
+"</class>\n"
+" \n"
+"<class name=\"LineItem\">\n"
+" \n"
+" <composite-id name=\"id\" \n"
+" class=\"LineItem$Id\">\n"
+" <key-property name=\"customerId\" length=\"10\"/>\n"
+" <key-property name=\"orderNumber\"/>\n"
+" <key-property name=\"productId\" length=\"10\"/>\n"
+" </composite-id>\n"
+" \n"
+" <property name=\"quantity\"/>\n"
+" \n"
+" <many-to-one name=\"order\"\n"
+" insert=\"false\"\n"
+" update=\"false\" \n"
+" not-null=\"true\">\n"
+" <column name=\"customerId\"/>\n"
+" <column name=\"orderNumber\"/>\n"
+" </many-to-one>\n"
+" \n"
+" <many-to-one name=\"product\"\n"
+" insert=\"false\"\n"
+" update=\"false\" \n"
+" not-null=\"true\"\n"
+" column=\"productId\"/>\n"
+" \n"
+"</class>\n"
+"\n"
+"<class name=\"Product\">\n"
+" <synchronize table=\"LineItem\"/>\n"
+"\n"
+" <id name=\"productId\"\n"
+" length=\"10\">\n"
+" <generator class=\"assigned\"/>\n"
+" </id>\n"
+" \n"
+" <property name=\"description\" \n"
+" not-null=\"true\" \n"
+" length=\"200\"/>\n"
+" <property name=\"price\" length=\"3\"/>\n"
+" <property name=\"numberAvailable\"/>\n"
+" \n"
+" <property name=\"numberOrdered\">\n"
+" <formula>\n"
+" ( select sum(li.quantity) \n"
+" from LineItem li \n"
+" where li.productId = productId )\n"
+" </formula>\n"
+" </property>\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Customer\">
-\n"
- "
-\n"
- " <id name=\"customerId\"
-\n"
- " length=\"10\">
-\n"
- " <generator class=\"assigned\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"name\" not-null=\"true\" length=\"100\"/>
-\n"
- " <property name=\"address\" not-null=\"true\" length=\"200\"/>
-\n"
- "
-\n"
- " <list name=\"orders\"
-\n"
- " inverse=\"true\"
-\n"
- " cascade=\"save-update\">
-\n"
- " <key column=\"customerId\"/>
-\n"
- " <index column=\"orderNumber\"/>
-\n"
- " <one-to-many class=\"Order\"/>
-\n"
- " </list>
-\n"
- "
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Order\" table=\"CustomerOrder\" lazy=\"true\">
-\n"
- " <synchronize table=\"LineItem\"/>
-\n"
- " <synchronize table=\"Product\"/>
-\n"
- "
-\n"
- " <composite-id name=\"id\"
-\n"
- " class=\"Order$Id\">
-\n"
- " <key-property name=\"customerId\" length=\"10\"/>
-\n"
- " <key-property name=\"orderNumber\"/>
-\n"
- " </composite-id>
-\n"
- "
-\n"
- " <property name=\"orderDate\"
-\n"
- " type=\"calendar_date\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " <property name=\"total\">
-\n"
- " <formula>
-\n"
- " ( select sum(li.quantity*p.price)
-\n"
- " from LineItem li, Product p
-\n"
- " where li.productId = p.productId
-\n"
- " and li.customerId = customerId
-\n"
- " and li.orderNumber = orderNumber )
-\n"
- " </formula>
-\n"
- " </property>
-\n"
- "
-\n"
- " <many-to-one name=\"customer\"
-\n"
- " column=\"customerId\"
-\n"
- " insert=\"false\"
-\n"
- " update=\"false\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " <bag name=\"lineItems\"
-\n"
- " fetch=\"join\"
-\n"
- " inverse=\"true\"
-\n"
- " cascade=\"save-update\">
-\n"
- " <key>
-\n"
- " <column name=\"customerId\"/>
-\n"
- " <column name=\"orderNumber\"/>
-\n"
- " </key>
-\n"
- " <one-to-many class=\"LineItem\"/>
-\n"
- " </bag>
-\n"
- "
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"LineItem\">
-\n"
- "
-\n"
- " <composite-id name=\"id\"
-\n"
- " class=\"LineItem$Id\">
-\n"
- " <key-property name=\"customerId\" length=\"10\"/>
-\n"
- " <key-property name=\"orderNumber\"/>
-\n"
- " <key-property name=\"productId\" length=\"10\"/>
-\n"
- " </composite-id>
-\n"
- "
-\n"
- " <property name=\"quantity\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"order\"
-\n"
- " insert=\"false\"
-\n"
- " update=\"false\"
-\n"
- " not-null=\"true\">
-\n"
- " <column name=\"customerId\"/>
-\n"
- " <column name=\"orderNumber\"/>
-\n"
- " </many-to-one>
-\n"
- "
-\n"
- " <many-to-one name=\"product\"
-\n"
- " insert=\"false\"
-\n"
- " update=\"false\"
-\n"
- " not-null=\"true\"
-\n"
- " column=\"productId\"/>
-\n"
- "
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Product\">
-\n"
- " <synchronize table=\"LineItem\"/>
-\n"
- "
-\n"
- " <id name=\"productId\"
-\n"
- " length=\"10\">
-\n"
- " <generator class=\"assigned\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"description\"
-\n"
- " not-null=\"true\"
-\n"
- " length=\"200\"/>
-\n"
- " <property name=\"price\" length=\"3\"/>
-\n"
- " <property name=\"numberAvailable\"/>
-\n"
- "
-\n"
- " <property name=\"numberOrdered\">
-\n"
- " <formula>
-\n"
- " ( select sum(li.quantity)
-\n"
- " from LineItem li
-\n"
- " where li.productId = productId )
-\n"
- " </formula>
-\n"
- " </property>
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:161
+#. Tag: title
+#: example_mappings.xml:161
+#, no-c-format
msgid "Many-to-many with shared composite key attribute"
msgstr "è¤åãã¼å±æ§ãå
±æããå¤å¯¾å¤"
-#: index.docbook:162
+#. Tag: programlisting
+#: example_mappings.xml:162
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"User\" table=\"`User`\">\n"
- " <composite-id>\n"
- " <key-property name=\"name\"/>\n"
- " <key-property name=\"org\"/>\n"
- " </composite-id>\n"
- " <set name=\"groups\" table=\"UserGroup\">\n"
- " <key>\n"
- " <column name=\"userName\"/>\n"
- " <column name=\"org\"/>\n"
- " </key>\n"
- " <many-to-many class=\"Group\">\n"
- " <column name=\"groupName\"/>\n"
- " <formula>org</formula>\n"
- " </many-to-many>\n"
- " </set>\n"
- "</class>\n"
- " \n"
- "<class name=\"Group\" table=\"`Group`\">\n"
- " <composite-id>\n"
- " <key-property name=\"name\"/>\n"
- " <key-property name=\"org\"/>\n"
- " </composite-id>\n"
- " <property name=\"description\"/>\n"
- " <set name=\"users\" table=\"UserGroup\" inverse=\"true\">\n"
- " <key>\n"
- " <column name=\"groupName\"/>\n"
- " <column name=\"org\"/>\n"
- " </key>\n"
- " <many-to-many class=\"User\">\n"
- " <column name=\"userName\"/>\n"
- " <formula>org</formula>\n"
- " </many-to-many>\n"
- " </set>\n"
- "</class>\n"
- "]]>"
+"<![CDATA[<class name=\"User\" table=\"`User`\">\n"
+" <composite-id>\n"
+" <key-property name=\"name\"/>\n"
+" <key-property name=\"org\"/>\n"
+" </composite-id>\n"
+" <set name=\"groups\" table=\"UserGroup\">\n"
+" <key>\n"
+" <column name=\"userName\"/>\n"
+" <column name=\"org\"/>\n"
+" </key>\n"
+" <many-to-many class=\"Group\">\n"
+" <column name=\"groupName\"/>\n"
+" <formula>org</formula>\n"
+" </many-to-many>\n"
+" </set>\n"
+"</class>\n"
+" \n"
+"<class name=\"Group\" table=\"`Group`\">\n"
+" <composite-id>\n"
+" <key-property name=\"name\"/>\n"
+" <key-property name=\"org\"/>\n"
+" </composite-id>\n"
+" <property name=\"description\"/>\n"
+" <set name=\"users\" table=\"UserGroup\" inverse=\"true\">\n"
+" <key>\n"
+" <column name=\"groupName\"/>\n"
+" <column name=\"org\"/>\n"
+" </key>\n"
+" <many-to-many class=\"User\">\n"
+" <column name=\"userName\"/>\n"
+" <formula>org</formula>\n"
+" </many-to-many>\n"
+" </set>\n"
+"</class>\n"
+"]]>"
msgstr ""
- "<![CDATA[<class name=\"User\" table=\"`User`\">
-\n"
- " <composite-id>
-\n"
- " <key-property name=\"name\"/>
-\n"
- " <key-property name=\"org\"/>
-\n"
- " </composite-id>
-\n"
- " <set name=\"groups\" table=\"UserGroup\">
-\n"
- " <key>
-\n"
- " <column name=\"userName\"/>
-\n"
- " <column name=\"org\"/>
-\n"
- " </key>
-\n"
- " <many-to-many class=\"Group\">
-\n"
- " <column name=\"groupName\"/>
-\n"
- " <formula>org</formula>
-\n"
- " </many-to-many>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Group\" table=\"`Group`\">
-\n"
- " <composite-id>
-\n"
- " <key-property name=\"name\"/>
-\n"
- " <key-property name=\"org\"/>
-\n"
- " </composite-id>
-\n"
- " <property name=\"description\"/>
-\n"
- " <set name=\"users\" table=\"UserGroup\" inverse=\"true\">
-\n"
- " <key>
-\n"
- " <column name=\"groupName\"/>
-\n"
- " <column name=\"org\"/>
-\n"
- " </key>
-\n"
- " <many-to-many class=\"User\">
-\n"
- " <column name=\"userName\"/>
-\n"
- " <formula>org</formula>
-\n"
- " </many-to-many>
-\n"
- " </set>
-\n"
- "</class>
-\n"
- "]]>"
-#: index.docbook:166
+#. Tag: title
+#: example_mappings.xml:166
+#, no-c-format
msgid "Content based discrimination"
msgstr "discriminationã«åºã¥ãå
容"
-#: index.docbook:167
+#. Tag: programlisting
+#: example_mappings.xml:167
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\"\n"
- " discriminator-value=\"P\">\n"
- " \n"
- " <id name=\"id\" \n"
- " column=\"person_id\" \n"
- " unsaved-value=\"0\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " \n"
- " \n"
- " <discriminator \n"
- " type=\"character\">\n"
- " <formula>\n"
- " case \n"
- " when title is not null then 'E' \n"
- " when salesperson is not null then 'C' \n"
- " else 'P' \n"
- " end\n"
- " </formula>\n"
- " </discriminator>\n"
- "\n"
- " <property name=\"name\" \n"
- " not-null=\"true\"\n"
- " length=\"80\"/>\n"
- " \n"
- " <property name=\"sex\" \n"
- " not-null=\"true\"\n"
- " update=\"false\"/>\n"
- " \n"
- " <component name=\"address\">\n"
- " <property name=\"address\"/>\n"
- " <property name=\"zip\"/>\n"
- " <property name=\"country\"/>\n"
- " </component>\n"
- " \n"
- " <subclass name=\"Employee\" \n"
- " discriminator-value=\"E\">\n"
- " <property name=\"title\"\n"
- " length=\"20\"/>\n"
- " <property name=\"salary\"/>\n"
- " <many-to-one name=\"manager\"/>\n"
- " </subclass>\n"
- " \n"
- " <subclass name=\"Customer\" \n"
- " discriminator-value=\"C\">\n"
- " <property name=\"comments\"/>\n"
- " <many-to-one name=\"salesperson\"/>\n"
- " </subclass>\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\"\n"
+" discriminator-value=\"P\">\n"
+" \n"
+" <id name=\"id\" \n"
+" column=\"person_id\" \n"
+" unsaved-value=\"0\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" \n"
+" \n"
+" <discriminator \n"
+" type=\"character\">\n"
+" <formula>\n"
+" case \n"
+" when title is not null then 'E' \n"
+" when salesperson is not null then 'C' \n"
+" else 'P' \n"
+" end\n"
+" </formula>\n"
+" </discriminator>\n"
+"\n"
+" <property name=\"name\" \n"
+" not-null=\"true\"\n"
+" length=\"80\"/>\n"
+" \n"
+" <property name=\"sex\" \n"
+" not-null=\"true\"\n"
+" update=\"false\"/>\n"
+" \n"
+" <component name=\"address\">\n"
+" <property name=\"address\"/>\n"
+" <property name=\"zip\"/>\n"
+" <property name=\"country\"/>\n"
+" </component>\n"
+" \n"
+" <subclass name=\"Employee\" \n"
+" discriminator-value=\"E\">\n"
+" <property name=\"title\"\n"
+" length=\"20\"/>\n"
+" <property name=\"salary\"/>\n"
+" <many-to-one name=\"manager\"/>\n"
+" </subclass>\n"
+" \n"
+" <subclass name=\"Customer\" \n"
+" discriminator-value=\"C\">\n"
+" <property name=\"comments\"/>\n"
+" <many-to-one name=\"salesperson\"/>\n"
+" </subclass>\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\"
-\n"
- " discriminator-value=\"P\">
-\n"
- "
-\n"
- " <id name=\"id\"
-\n"
- " column=\"person_id\"
-\n"
- " unsaved-value=\"0\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- "
-\n"
- " <discriminator
-\n"
- " type=\"character\">
-\n"
- " <formula>
-\n"
- " case
-\n"
- " when title is not null then 'E'
-\n"
- " when salesperson is not null then 'C'
-\n"
- " else 'P'
-\n"
- " end
-\n"
- " </formula>
-\n"
- " </discriminator>
-\n"
- "
-\n"
- " <property name=\"name\"
-\n"
- " not-null=\"true\"
-\n"
- " length=\"80\"/>
-\n"
- "
-\n"
- " <property name=\"sex\"
-\n"
- " not-null=\"true\"
-\n"
- " update=\"false\"/>
-\n"
- "
-\n"
- " <component name=\"address\">
-\n"
- " <property name=\"address\"/>
-\n"
- " <property name=\"zip\"/>
-\n"
- " <property name=\"country\"/>
-\n"
- " </component>
-\n"
- "
-\n"
- " <subclass name=\"Employee\"
-\n"
- " discriminator-value=\"E\">
-\n"
- " <property name=\"title\"
-\n"
- " length=\"20\"/>
-\n"
- " <property name=\"salary\"/>
-\n"
- " <many-to-one name=\"manager\"/>
-\n"
- " </subclass>
-\n"
- "
-\n"
- " <subclass name=\"Customer\"
-\n"
- " discriminator-value=\"C\">
-\n"
- " <property name=\"comments\"/>
-\n"
- " <many-to-one name=\"salesperson\"/>
-\n"
- " </subclass>
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:171
+#. Tag: title
+#: example_mappings.xml:171
+#, no-c-format
msgid "Associations on alternate keys"
msgstr "代æ¿ãã¼ã®é¢é£"
-#: index.docbook:172
+#. Tag: programlisting
+#: example_mappings.xml:172
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " \n"
- " <id name=\"id\">\n"
- " <generator class=\"hilo\"/>\n"
- " </id>\n"
- " \n"
- " <property name=\"name\" length=\"100\"/>\n"
- " \n"
- " <one-to-one name=\"address\" \n"
- " property-ref=\"person\"\n"
- " cascade=\"all\"\n"
- " fetch=\"join\"/>\n"
- " \n"
- " <set name=\"accounts\" \n"
- " inverse=\"true\">\n"
- " <key column=\"userId\"\n"
- " property-ref=\"userId\"/>\n"
- " <one-to-many class=\"Account\"/>\n"
- " </set>\n"
- " \n"
- " <property name=\"userId\" length=\"8\"/>\n"
- "\n"
- "</class>\n"
- "\n"
- "<class name=\"Address\">\n"
- "\n"
- " <id name=\"id\">\n"
- " <generator class=\"hilo\"/>\n"
- " </id>\n"
- "\n"
- " <property name=\"address\" length=\"300\"/>\n"
- " <property name=\"zip\" length=\"5\"/>\n"
- " <property name=\"country\" length=\"25\"/>\n"
- " <many-to-one name=\"person\" unique=\"true\" not-null=\"true\"/>\n"
- "\n"
- "</class>\n"
- "\n"
- "<class name=\"Account\">\n"
- " <id name=\"accountId\" length=\"32\">\n"
- " <generator class=\"uuid\"/>\n"
- " </id>\n"
- " \n"
- " <many-to-one name=\"user\"\n"
- " column=\"userId\"\n"
- " property-ref=\"userId\"/>\n"
- " \n"
- " <property name=\"type\" not-null=\"true\"/>\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" \n"
+" <id name=\"id\">\n"
+" <generator class=\"hilo\"/>\n"
+" </id>\n"
+" \n"
+" <property name=\"name\" length=\"100\"/>\n"
+" \n"
+" <one-to-one name=\"address\" \n"
+" property-ref=\"person\"\n"
+" cascade=\"all\"\n"
+" fetch=\"join\"/>\n"
+" \n"
+" <set name=\"accounts\" \n"
+" inverse=\"true\">\n"
+" <key column=\"userId\"\n"
+" property-ref=\"userId\"/>\n"
+" <one-to-many class=\"Account\"/>\n"
+" </set>\n"
+" \n"
+" <property name=\"userId\" length=\"8\"/>\n"
+"\n"
+"</class>\n"
+"\n"
+"<class name=\"Address\">\n"
+"\n"
+" <id name=\"id\">\n"
+" <generator class=\"hilo\"/>\n"
+" </id>\n"
+"\n"
+" <property name=\"address\" length=\"300\"/>\n"
+" <property name=\"zip\" length=\"5\"/>\n"
+" <property name=\"country\" length=\"25\"/>\n"
+" <many-to-one name=\"person\" unique=\"true\" not-null=\"true\"/>\n"
+"\n"
+"</class>\n"
+"\n"
+"<class name=\"Account\">\n"
+" <id name=\"accountId\" length=\"32\">\n"
+" <generator class=\"uuid\"/>\n"
+" </id>\n"
+" \n"
+" <many-to-one name=\"user\"\n"
+" column=\"userId\"\n"
+" property-ref=\"userId\"/>\n"
+" \n"
+" <property name=\"type\" not-null=\"true\"/>\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- "
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"hilo\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"name\" length=\"100\"/>
-\n"
- "
-\n"
- " <one-to-one name=\"address\"
-\n"
- " property-ref=\"person\"
-\n"
- " cascade=\"all\"
-\n"
- " fetch=\"join\"/>
-\n"
- "
-\n"
- " <set name=\"accounts\"
-\n"
- " inverse=\"true\">
-\n"
- " <key column=\"userId\"
-\n"
- " property-ref=\"userId\"/>
-\n"
- " <one-to-many class=\"Account\"/>
-\n"
- " </set>
-\n"
- "
-\n"
- " <property name=\"userId\" length=\"8\"/>
-\n"
- "
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Address\">
-\n"
- "
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"hilo\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"address\" length=\"300\"/>
-\n"
- " <property name=\"zip\" length=\"5\"/>
-\n"
- " <property name=\"country\" length=\"25\"/>
-\n"
- " <many-to-one name=\"person\" unique=\"true\" not-null=\"true\"/>
-\n"
- "
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Account\">
-\n"
- " <id name=\"accountId\" length=\"32\">
-\n"
- " <generator class=\"uuid\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <many-to-one name=\"user\"
-\n"
- " column=\"userId\"
-\n"
- " property-ref=\"userId\"/>
-\n"
- "
-\n"
- " <property name=\"type\" not-null=\"true\"/>
-\n"
- "
-\n"
- "</class>]]>"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/example_parentchild.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/example_parentchild.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/example_parentchild.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,401 +1,603 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: example_parentchild.xml:5
+#, no-c-format
msgid "Example: Parent/Child"
msgstr "ä¾ï¼è¦ª/åä¾"
-#: index.docbook:7
-msgid "One of the very first things that new users try to do with Hibernate is to model a parent / child type relationship. There are two different approaches to this. For various reasons the most convenient approach, especially for new users, is to model both <literal>Parent</literal> and <literal>Child</literal> as entity classes with a <literal><one-to-many></literal> association from <literal>Parent</literal> to <literal>Child</literal>. (The alternative approach is to declare the <literal>Child</literal> as a <literal><composite-element></literal>.) Now, it turns out that default semantics of a one to many association (in Hibernate) are much less close to the usual semantics of a parent / child relationship than those of a composite element mapping. We will explain how to use a <emphasis>bidirectional one to many association with cascades</emphasis> to model a parent / child relationship efficiently and elegantly. It's not at all difficult!"
-msgstr "æ°è¦ã¦ã¼ã¶ãHibernateã使ã£ã¦ã¾ãæåã«æ±ãã¢ãã«ã®ä¸ã¤ã«ã親ååã®ã¢ãã«åãããã¾ãã ãã®ã¢ãã«åã«ã¯äºã¤ã®ã¢ããã¼ããåå¨ãã¾ããã¨ãããæ°è¦ã¦ã¼ã¶ã«ã¨ã£ã¦ã ãã¾ãã¾ãªçç±ããæã便å©ã ã¨æãããã¢ããã¼ãã¯ã<literal>親</literal> ãã <literal>åä¾</literal> ã¸ã® <literal><one-to-many></literal> é¢é£ã«ãã <literal>親</literal> 㨠<literal>åä¾</literal> ã®ä¸¡æ¹ãã¨ã³ãã£ãã£ã¯ã©ã¹ã¨ãã¦ã¢ããªã³ã°ããæ¹æ³ã§ã ï¼ããä¸ã¤ã®æ¹æ³ã¯ã<literal>åä¾</literal> ã <literal><composite-element></literal> ã¨ãã¦å®ç¾©ãããã®ã§ãï¼ã ããã§ï¼Hibernateã«ãããï¼ä¸å¯¾å¤é¢é£ã®ããã©ã«ãã®ã»ãã³ãã£ã¯ã¹ããé常ã®è¤åè¦ç´ ã®ãããã³ã°ãããã 親åé¢ä¿ã®ã»ãã³ãã£ã¯ã¹ããé ããã¨ããããã¾ãã ããã§ã¯è¦ªåé¢ä¿ãå¹ççã!
ã¤ã¨ã¬ã¬ã³ãã«ã¢ããªã³ã°ããããã«ã <emphasis>ã«ã¹ã±ã¼ãæä½ã使ã£ãåæ¹åä¸å¯¾å¤é¢é£</emphasis> ã®æ±ãæ¹ã説æãã¾ããããã¯ã¾ã£ããé£ãããã®ã§ã¯ããã¾ããã"
+#. Tag: para
+#: example_parentchild.xml:7
+#, no-c-format
+msgid ""
+"One of the very first things that new users try to do with Hibernate is to "
+"model a parent / child type relationship. There are two different approaches "
+"to this. For various reasons the most convenient approach, especially for "
+"new users, is to model both <literal>Parent</literal> and <literal>Child</"
+"literal> as entity classes with a <literal><one-to-many></literal> "
+"association from <literal>Parent</literal> to <literal>Child</literal>. (The "
+"alternative approach is to declare the <literal>Child</literal> as a "
+"<literal><composite-element></literal>.) Now, it turns out that "
+"default semantics of a one to many association (in Hibernate) are much less "
+"close to the usual semantics of a parent / child relationship than those of "
+"a composite element mapping. We will explain how to use a "
+"<emphasis>bidirectional one to many association with cascades</emphasis> to "
+"model a parent / child relationship efficiently and elegantly. It's not at "
+"all difficult!"
+msgstr ""
+"æ°è¦ã¦ã¼ã¶ãHibernateã使ã£ã¦ã¾ãæåã«æ±ãã¢ãã«ã®ä¸ã¤ã«ã親ååã®ã¢ãã«åã"
+"ããã¾ãã ãã®ã¢ãã«åã«ã¯äºã¤ã®ã¢ããã¼ããåå¨ãã¾ããã¨ãããæ°è¦ã¦ã¼ã¶ã«"
+"ã¨ã£ã¦ã ãã¾ãã¾ãªçç±ããæã便å©ã ã¨æãããã¢ããã¼ãã¯ã<literal>親</"
+"literal> ãã <literal>åä¾</literal> ã¸ã® <literal><one-to-many></"
+"literal> é¢é£ã«ãã <literal>親</literal> 㨠<literal>åä¾</literal> ã®ä¸¡æ¹ã"
+"ã¨ã³ãã£ãã£ã¯ã©ã¹ã¨ãã¦ã¢ããªã³ã°ããæ¹æ³ã§ã ï¼ããä¸ã¤ã®æ¹æ³ã¯ã<literal>"
+"åä¾</literal> ã <literal><composite-element></literal> ã¨ãã¦å®ç¾©ãã"
+"ãã®ã§ãï¼ã ããã§ï¼Hibernateã«ãããï¼ä¸å¯¾å¤é¢é£ã®ããã©ã«ãã®ã»ãã³ãã£ã¯"
+"ã¹ããé常ã®è¤åè¦ç´ ã®ãããã³ã°ãããã 親åé¢ä¿ã®ã»ãã³ãã£ã¯ã¹ããé ããã¨"
+"ããããã¾ãã ããã§ã¯è¦ªåé¢ä¿ãå¹ççãã¤ã¨ã¬ã¬ã³ãã«ã¢ããªã³ã°ãããã"
+"ã«ã <emphasis>ã«ã¹ã±ã¼ãæä½ã使ã£ãåæ¹åä¸å¯¾å¤é¢é£</emphasis> ã®æ±ãæ¹ã説"
+"æãã¾ããããã¯ã¾ã£ããé£ãããã®ã§ã¯ããã¾ããã"
-#: index.docbook:21
+#. Tag: title
+#: example_parentchild.xml:21
+#, no-c-format
msgid "A note about collections"
msgstr "ã³ã¬ã¯ã·ã§ã³ã«é¢ããæ³¨æ"
-#: index.docbook:23
-msgid "Hibernate collections are considered to be a logical part of their owning entity; never of the contained entities. This is a crucial distinction! It has the following consequences:"
-msgstr "Hibernateã®ã³ã¬ã¯ã·ã§ã³ã¯èªèº«ã®ã¨ã³ãã£ãã£ã®è«ççãªé¨åã¨èãããã æ±ºãã¦å
å«ããã¨ã³ãã£ãã£ã®ãã®ã§ã¯ããã¾ãããããã¯è´å½çãªéãã§ãï¼ ããã¯ä»¥ä¸ã®ãããªçµæã«ãªãã¾ãï¼"
+#. Tag: para
+#: example_parentchild.xml:23
+#, no-c-format
+msgid ""
+"Hibernate collections are considered to be a logical part of their owning "
+"entity; never of the contained entities. This is a crucial distinction! It "
+"has the following consequences:"
+msgstr ""
+"Hibernateã®ã³ã¬ã¯ã·ã§ã³ã¯èªèº«ã®ã¨ã³ãã£ãã£ã®è«ççãªé¨åã¨èãããã æ±ºãã¦"
+"å
å«ããã¨ã³ãã£ãã£ã®ãã®ã§ã¯ããã¾ãããããã¯è´å½çãªéãã§ãï¼ ããã¯ä»¥ä¸"
+"ã®ãããªçµæã«ãªãã¾ãï¼"
-#: index.docbook:30
-msgid "When we remove / add an object from / to a collection, the version number of the collection owner is incremented."
-msgstr "ãªãã¸ã§ã¯ããã³ã¬ã¯ã·ã§ã³ããåé¤ãã¾ãã¯ã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¨ãã ã³ã¬ã¯ã·ã§ã³ã®ãªã¼ãã¼ã®ãã¼ã¸ã§ã³çªå·ã¯ã¤ã³ã¯ãªã¡ã³ãããã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:30
+#, no-c-format
+msgid ""
+"When we remove / add an object from / to a collection, the version number of "
+"the collection owner is incremented."
+msgstr ""
+"ãªãã¸ã§ã¯ããã³ã¬ã¯ã·ã§ã³ããåé¤ãã¾ãã¯ã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¨ãã ã³ã¬ã¯"
+"ã·ã§ã³ã®ãªã¼ãã¼ã®ãã¼ã¸ã§ã³çªå·ã¯ã¤ã³ã¯ãªã¡ã³ãããã¾ãã"
-#: index.docbook:36
-msgid "If an object that was removed from a collection is an instance of a value type (eg, a composite element), that object will cease to be persistent and its state will be completely removed from the database. Likewise, adding a value type instance to the collection will cause its state to be immediately persistent."
-msgstr "ããã³ã¬ã¯ã·ã§ã³ããåé¤ããããªãã¸ã§ã¯ããå¤åã®ã¤ã³ã¹ã¿ã³ã¹ ï¼ä¾ãã°ã³ã³ãã¸ããã¨ã¬ã¡ã³ã)ã ã£ããªãã°ããã®ãªãã¸ã§ã¯ãã¯æ°¸ç¶çã§ã¯ãªããªãã ãã®ç¶æ
ã¯ãã¼ã¿ãã¼ã¹ããå®å
¨ã«åé¤ããã¾ãã åãããã«ãå¤åã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¨ããã®ç¶æ
ã¯ããã«æ°¸ç¶çã«ãªãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:36
+#, no-c-format
+msgid ""
+"If an object that was removed from a collection is an instance of a value "
+"type (eg, a composite element), that object will cease to be persistent and "
+"its state will be completely removed from the database. Likewise, adding a "
+"value type instance to the collection will cause its state to be immediately "
+"persistent."
+msgstr ""
+"ããã³ã¬ã¯ã·ã§ã³ããåé¤ããããªãã¸ã§ã¯ããå¤åã®ã¤ã³ã¹ã¿ã³ã¹ ï¼ä¾ãã°ã³ã³ã"
+"ã¸ããã¨ã¬ã¡ã³ã)ã ã£ããªãã°ããã®ãªãã¸ã§ã¯ãã¯æ°¸ç¶çã§ã¯ãªããªãã ãã®ç¶"
+"æ
ã¯ãã¼ã¿ãã¼ã¹ããå®å
¨ã«åé¤ããã¾ãã åãããã«ãå¤åã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬"
+"ã¯ã·ã§ã³ã«è¿½å ããã¨ããã®ç¶æ
ã¯ããã«æ°¸ç¶çã«ãªãã¾ãã"
-#: index.docbook:44
-msgid "On the other hand, if an entity is removed from a collection (a one-to-many or many-to-many association), it will not be deleted, by default. This behaviour is completely consistent - a change to the internal state of another entity should not cause the associated entity to vanish! Likewise, adding an entity to a collection does not cause that entity to become persistent, by default."
-msgstr "䏿¹ãããã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ï¼ä¸å¯¾å¤ã¾ãã¯å¤å¯¾å¤é¢é£)ããåé¤ããã¦ãã ããã©ã«ãã§ã¯ããã¯åé¤ããã¾ããããã®åä½ã¯å®å
¨ã«ä¸è²«ãã¦ãã¾ãã ããªãã¡ãä»ã®ã¨ã³ãã£ãã£ã®å
é¨ç¶æ
ã夿´ãã¦ããé¢é£ããã¨ã³ãã£ãã£ãæ¶æ»
ãã¹ãã§ã¯ãªãã¨ãããã¨ã§ãã åæ§ã«ãã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¦ããããã©ã«ãã§ã¯ãã®ã¨ã³ãã£ãã£ã¯æ°¸ç¶çã«ã¯ãªãã¾ããã"
+#. Tag: para
+#: example_parentchild.xml:44
+#, no-c-format
+msgid ""
+"On the other hand, if an entity is removed from a collection (a one-to-many "
+"or many-to-many association), it will not be deleted, by default. This "
+"behaviour is completely consistent - a change to the internal state of "
+"another entity should not cause the associated entity to vanish! Likewise, "
+"adding an entity to a collection does not cause that entity to become "
+"persistent, by default."
+msgstr ""
+"䏿¹ãããã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ï¼ä¸å¯¾å¤ã¾ãã¯å¤å¯¾å¤é¢é£)ããåé¤ããã¦"
+"ãã ããã©ã«ãã§ã¯ããã¯åé¤ããã¾ããããã®åä½ã¯å®å
¨ã«ä¸è²«ãã¦ãã¾ãã ã"
+"ãªãã¡ãä»ã®ã¨ã³ãã£ãã£ã®å
é¨ç¶æ
ã夿´ãã¦ããé¢é£ããã¨ã³ãã£ãã£ãæ¶æ»
ã"
+"ã¹ãã§ã¯ãªãã¨ãããã¨ã§ãã åæ§ã«ãã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¦"
+"ããããã©ã«ãã§ã¯ãã®ã¨ã³ãã£ãã£ã¯æ°¸ç¶çã«ã¯ãªãã¾ããã"
-#: index.docbook:54
-msgid "Instead, the default behaviour is that adding an entity to a collection merely creates a link between the two entities, while removing it removes the link. This is very appropriate for all sorts of cases. Where it is not appropriate at all is the case of a parent / child relationship, where the life of the child is bound to the life cycle of the parent."
-msgstr "ãã®ä»£ããã«ãããã©ã«ãã®åä½ã§ã¯ãã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¨åã«äºã¤ã®ã¨ã³ãã£ãã£éã®ãªã³ã¯ã使ãã 䏿¹ã¨ã³ãã£ãã£ãåé¤ããã¨ãªã³ã¯ãåé¤ãã¾ããããã¯ãã¹ã¦ã®ã±ã¼ã¹ã«ããã¦é常ã«é©åã§ãã ãããé©åã§ãªãã®ã¯è¦ª/åé¢ä¿ã®å ´åã§ãããã®å ´ååä¾ã®çåã¯è¦ªã®ã©ã¤ããµã¤ã¯ã«ã«å¶éãããããã§ãã"
+#. Tag: para
+#: example_parentchild.xml:54
+#, no-c-format
+msgid ""
+"Instead, the default behaviour is that adding an entity to a collection "
+"merely creates a link between the two entities, while removing it removes "
+"the link. This is very appropriate for all sorts of cases. Where it is not "
+"appropriate at all is the case of a parent / child relationship, where the "
+"life of the child is bound to the life cycle of the parent."
+msgstr ""
+"ãã®ä»£ããã«ãããã©ã«ãã®åä½ã§ã¯ãã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã«è¿½å ããã¨å"
+"ã«äºã¤ã®ã¨ã³ãã£ãã£éã®ãªã³ã¯ã使ãã 䏿¹ã¨ã³ãã£ãã£ãåé¤ããã¨ãªã³ã¯ã"
+"åé¤ãã¾ããããã¯ãã¹ã¦ã®ã±ã¼ã¹ã«ããã¦é常ã«é©åã§ãã ãããé©åã§ãªãã®ã¯"
+"親/åé¢ä¿ã®å ´åã§ãããã®å ´ååä¾ã®çåã¯è¦ªã®ã©ã¤ããµã¤ã¯ã«ã«å¶éãããããã§"
+"ãã"
-#: index.docbook:64
+#. Tag: title
+#: example_parentchild.xml:64
+#, no-c-format
msgid "Bidirectional one-to-many"
msgstr "åæ¹åä¸å¯¾å¤"
-#: index.docbook:66
-msgid "Suppose we start with a simple <literal><one-to-many></literal> association from <literal>Parent</literal> to <literal>Child</literal>."
-msgstr "<literal>Parent</literal> ãã <literal>Child</literal> ã¸ã®åç´ãª <literal><one-to-many></literal> é¢é£ããå§ããã¨ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:66
+#, no-c-format
+msgid ""
+"Suppose we start with a simple <literal><one-to-many></literal> "
+"association from <literal>Parent</literal> to <literal>Child</literal>."
+msgstr ""
+"<literal>Parent</literal> ãã <literal>Child</literal> ã¸ã®åç´ãª "
+"<literal><one-to-many></literal> é¢é£ããå§ããã¨ãã¾ãã"
-#: index.docbook:71
+#. Tag: programlisting
+#: example_parentchild.xml:71
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"children\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"children\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"children\">
-\n"
- " <key column=\"parent_id\"/>
-\n"
- " <one-to-many class=\"Child\"/>
-\n"
- "</set>]]>"
-#: index.docbook:73
+#. Tag: para
+#: example_parentchild.xml:73
+#, no-c-format
msgid "If we were to execute the following code"
msgstr "以ä¸ã®ã³ã¼ããå®è¡ããã¨ã"
-#: index.docbook:77
+#. Tag: programlisting
+#: example_parentchild.xml:77
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = .....;\n"
- "Child c = new Child();\n"
- "p.getChildren().add(c);\n"
- "session.save(c);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = .....;\n"
+"Child c = new Child();\n"
+"p.getChildren().add(c);\n"
+"session.save(c);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = .....;
-\n"
- "Child c = new Child();
-\n"
- "p.getChildren().add(c);
-\n"
- "session.save(c);
-\n"
- "session.flush();]]>"
-#: index.docbook:79
+#. Tag: para
+#: example_parentchild.xml:79
+#, no-c-format
msgid "Hibernate would issue two SQL statements:"
msgstr "Hibernateã¯äºã¤ã®SQLæãçºè¡ãã¾ã:"
-#: index.docbook:85
-msgid "an <literal>INSERT</literal> to create the record for <literal>c</literal>"
-msgstr "<literal>c</literal>ã«å¯¾ããã¬ã³ã¼ããçæãã<literal>INSERT</literal>"
+#. Tag: para
+#: example_parentchild.xml:85
+#, no-c-format
+msgid ""
+"an <literal>INSERT</literal> to create the record for <literal>c</literal>"
+msgstr ""
+"<literal>c</literal>ã«å¯¾ããã¬ã³ã¼ããçæãã<literal>INSERT</literal>"
-#: index.docbook:88
-msgid "an <literal>UPDATE</literal> to create the link from <literal>p</literal> to <literal>c</literal>"
-msgstr "<literal>p</literal>ãã<literal>c</literal>ã¸ã®ãªã³ã¯ã使ãã<literal>UPDATE</literal>"
+#. Tag: para
+#: example_parentchild.xml:88
+#, no-c-format
+msgid ""
+"an <literal>UPDATE</literal> to create the link from <literal>p</literal> to "
+"<literal>c</literal>"
+msgstr ""
+"<literal>p</literal>ãã<literal>c</literal>ã¸ã®ãªã³ã¯ã使ãã"
+"<literal>UPDATE</literal>"
-#: index.docbook:95
-msgid "This is not only inefficient, but also violates any <literal>NOT NULL</literal> constraint on the <literal>parent_id</literal> column. We can fix the nullability constraint violation by specifying <literal>not-null=\"true\"</literal> in the collection mapping:"
-msgstr "ããã¯éå¹ççãªã ãã§ã¯ãªãã<literal>parent_id</literal> ã«ã©ã ã«ãã㦠<literal>NOT NULL</literal> å¶ç´ã«éåãã¾ãã ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã§ <literal>not-null=\"true\"</literal> ã¨æå®ãããã¨ã§ãnullå¶ç´éåã解決ãããã¨ãã§ãã¾ã:"
+#. Tag: para
+#: example_parentchild.xml:95
+#, no-c-format
+msgid ""
+"This is not only inefficient, but also violates any <literal>NOT NULL</"
+"literal> constraint on the <literal>parent_id</literal> column. We can fix "
+"the nullability constraint violation by specifying <literal>not-null=\"true"
+"\"</literal> in the collection mapping:"
+msgstr ""
+"ããã¯éå¹ççãªã ãã§ã¯ãªãã<literal>parent_id</literal> ã«ã©ã ã«ãã㦠"
+"<literal>NOT NULL</literal> å¶ç´ã«éåãã¾ãã ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã§ "
+"<literal>not-null=\"true\"</literal> ã¨æå®ãããã¨ã§ãnullå¶ç´éåã解決ãã"
+"ãã¨ãã§ãã¾ã:"
-#: index.docbook:101
+#. Tag: programlisting
+#: example_parentchild.xml:101
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"children\">\n"
- " <key column=\"parent_id\" not-null=\"true\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"children\">\n"
+" <key column=\"parent_id\" not-null=\"true\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"children\">
-\n"
- " <key column=\"parent_id\" not-null=\"true\"/>
-\n"
- " <one-to-many class=\"Child\"/>
-\n"
- "</set>]]>"
-#: index.docbook:103
+#. Tag: para
+#: example_parentchild.xml:103
+#, no-c-format
msgid "However, this is not the recommended solution."
msgstr "ããããã®è§£æ±ºçã¯æ¨å¥¨ã§ãã¾ããã"
-#: index.docbook:106
-msgid "The underlying cause of this behaviour is that the link (the foreign key <literal>parent_id</literal>) from <literal>p</literal> to <literal>c</literal> is not considered part of the state of the <literal>Child</literal> object and is therefore not created in the <literal>INSERT</literal>. So the solution is to make the link part of the <literal>Child</literal> mapping."
-msgstr "ãã®åä½ã®æ ¹æ¬çãªåå ã¯ã<literal>p</literal> ãã <literal>c</literal> ã¸ã®ãªã³ã¯ ï¼å¤é¨ãã¼ <literal>parent_id</literal>)㯠<literal>Child</literal> ãªãã¸ã§ã¯ãã®ç¶æ
ã®ä¸é¨ã¨ã¯èããããã ãã®ãã <literal>INSERT</literal> ã«ãã£ã¦ãªã³ã¯ãçæãããªããã¨ã§ãã ã§ãããã解決çã¯ãªã³ã¯ãChildãããã³ã°ã®ä¸é¨ã«ãããã¨ã§ãã"
+#. Tag: para
+#: example_parentchild.xml:106
+#, no-c-format
+msgid ""
+"The underlying cause of this behaviour is that the link (the foreign key "
+"<literal>parent_id</literal>) from <literal>p</literal> to <literal>c</"
+"literal> is not considered part of the state of the <literal>Child</literal> "
+"object and is therefore not created in the <literal>INSERT</literal>. So the "
+"solution is to make the link part of the <literal>Child</literal> mapping."
+msgstr ""
+"ãã®åä½ã®æ ¹æ¬çãªåå ã¯ã<literal>p</literal> ãã <literal>c</literal> ã¸ã®"
+"ãªã³ã¯ ï¼å¤é¨ãã¼ <literal>parent_id</literal>)㯠<literal>Child</literal> ãª"
+"ãã¸ã§ã¯ãã®ç¶æ
ã®ä¸é¨ã¨ã¯èããããã ãã®ãã <literal>INSERT</literal> ã«"
+"ãã£ã¦ãªã³ã¯ãçæãããªããã¨ã§ãã ã§ãããã解決çã¯ãªã³ã¯ãChildãããã³"
+"ã°ã®ä¸é¨ã«ãããã¨ã§ãã"
-#: index.docbook:113
-msgid "<![CDATA[<many-to-one name=\"parent\" column=\"parent_id\" not-null=\"true\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"parent\" column=\"parent_id\" not-null=\"true\"/>]]>"
+#. Tag: programlisting
+#: example_parentchild.xml:113
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"parent\" column=\"parent_id\" not-null=\"true\"/"
+">]]>"
+msgstr ""
-#: index.docbook:115
-msgid "(We also need to add the <literal>parent</literal> property to the <literal>Child</literal> class.)"
-msgstr "(ã¾ã <literal>Child</literal> ã¯ã©ã¹ã« <literal>parent</literal> ããããã£ã追å ããå¿
è¦ãããã¾ãã)"
+#. Tag: para
+#: example_parentchild.xml:115
+#, no-c-format
+msgid ""
+"(We also need to add the <literal>parent</literal> property to the "
+"<literal>Child</literal> class.)"
+msgstr ""
+"(ã¾ã <literal>Child</literal> ã¯ã©ã¹ã« <literal>parent</literal> ããããã£"
+"ã追å ããå¿
è¦ãããã¾ãã)"
-#: index.docbook:119
-msgid "Now that the <literal>Child</literal> entity is managing the state of the link, we tell the collection not to update the link. We use the <literal>inverse</literal> attribute."
-msgstr "ããã§ã¯ <literal>Child</literal> ã¨ã³ãã£ãã£ããªã³ã¯ã®ç¶æ
ãå¶å¾¡ããããã«ãªã£ãã®ã§ã ã³ã¬ã¯ã·ã§ã³ããªã³ã¯ãæ´æ°ããªãããã«ãã¾ããããããã«ã¯ <literal>inverse</literal> 屿§ã使ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:119
+#, no-c-format
+msgid ""
+"Now that the <literal>Child</literal> entity is managing the state of the "
+"link, we tell the collection not to update the link. We use the "
+"<literal>inverse</literal> attribute."
+msgstr ""
+"ããã§ã¯ <literal>Child</literal> ã¨ã³ãã£ãã£ããªã³ã¯ã®ç¶æ
ãå¶å¾¡ããããã«"
+"ãªã£ãã®ã§ã ã³ã¬ã¯ã·ã§ã³ããªã³ã¯ãæ´æ°ããªãããã«ãã¾ããããããã«ã¯ "
+"<literal>inverse</literal> 屿§ã使ãã¾ãã"
-#: index.docbook:124
+#. Tag: programlisting
+#: example_parentchild.xml:124
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"children\" inverse=\"true\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"children\" inverse=\"true\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"children\" inverse=\"true\">
-\n"
- " <key column=\"parent_id\"/>
-\n"
- " <one-to-many class=\"Child\"/>
-\n"
- "</set>]]>"
-#: index.docbook:126
+#. Tag: para
+#: example_parentchild.xml:126
+#, no-c-format
msgid "The following code would be used to add a new <literal>Child</literal>"
-msgstr "以ä¸ã®ã³ã¼ãã使ãã°ãæ°ãã <literal>Child</literal> ã追å ãããã¨ãã§ãã¾ãã"
+msgstr ""
+"以ä¸ã®ã³ã¼ãã使ãã°ãæ°ãã <literal>Child</literal> ã追å ãããã¨ãã§ãã¾"
+"ãã"
-#: index.docbook:130
+#. Tag: programlisting
+#: example_parentchild.xml:130
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "Child c = new Child();\n"
- "c.setParent(p);\n"
- "p.getChildren().add(c);\n"
- "session.save(c);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"Child c = new Child();\n"
+"c.setParent(p);\n"
+"p.getChildren().add(c);\n"
+"session.save(c);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "Child c = new Child();
-\n"
- "c.setParent(p);
-\n"
- "p.getChildren().add(c);
-\n"
- "session.save(c);
-\n"
- "session.flush();]]>"
-#: index.docbook:132
+#. Tag: para
+#: example_parentchild.xml:132
+#, no-c-format
msgid "And now, only one SQL <literal>INSERT</literal> would be issued!"
-msgstr "ããã«ãããSQLã® <literal>INSERT</literal> æãä¸ã¤ã ããçºè¡ãããããã«ãªãã¾ããï¼"
+msgstr ""
+"ããã«ãããSQLã® <literal>INSERT</literal> æãä¸ã¤ã ããçºè¡ãããããã«ãª"
+"ãã¾ããï¼"
-#: index.docbook:136
-msgid "To tighten things up a bit, we could create an <literal>addChild()</literal> method of <literal>Parent</literal>."
-msgstr "ããå°ãå¼·åããã«ã¯ã<literal>Parent</literal> ã® <literal>addChild()</literal> ã¡ã½ããã使ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:136
+#, no-c-format
+msgid ""
+"To tighten things up a bit, we could create an <literal>addChild()</literal> "
+"method of <literal>Parent</literal>."
+msgstr ""
+"ããå°ãå¼·åããã«ã¯ã<literal>Parent</literal> ã® <literal>addChild()</"
+"literal> ã¡ã½ããã使ãã¾ãã"
-#: index.docbook:141
+#. Tag: programlisting
+#: example_parentchild.xml:141
+#, no-c-format
msgid ""
- "<![CDATA[public void addChild(Child c) {\n"
- " c.setParent(this);\n"
- " children.add(c);\n"
- "}]]>"
+"<![CDATA[public void addChild(Child c) {\n"
+" c.setParent(this);\n"
+" children.add(c);\n"
+"}]]>"
msgstr ""
- "<![CDATA[public void addChild(Child c) {
-\n"
- " c.setParent(this);
-\n"
- " children.add(c);
-\n"
- "}]]>"
-#: index.docbook:143
+#. Tag: para
+#: example_parentchild.xml:143
+#, no-c-format
msgid "Now, the code to add a <literal>Child</literal> looks like"
msgstr "<literal>Child</literal> ã追å ããã³ã¼ãã¯ãã®ããã«ãªãã¾ãã"
-#: index.docbook:147
+#. Tag: programlisting
+#: example_parentchild.xml:147
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "Child c = new Child();\n"
- "p.addChild(c);\n"
- "session.save(c);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"Child c = new Child();\n"
+"p.addChild(c);\n"
+"session.save(c);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "Child c = new Child();
-\n"
- "p.addChild(c);
-\n"
- "session.save(c);
-\n"
- "session.flush();]]>"
-#: index.docbook:152
+#. Tag: title
+#: example_parentchild.xml:152
+#, no-c-format
msgid "Cascading life cycle"
msgstr "ã©ã¤ããµã¤ã¯ã«ã®ã«ã¹ã±ã¼ã"
-#: index.docbook:154
-msgid "The explicit call to <literal>save()</literal> is still annoying. We will address this by using cascades."
-msgstr "æç¤ºçã« <literal>save()</literal> ãã³ã¼ã«ããã®ã¯ã¾ã ç
©ããããã®ã§ãããããã«ã¹ã±ã¼ãã使ã£ã¦å¯¾å¦ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:154
+#, no-c-format
+msgid ""
+"The explicit call to <literal>save()</literal> is still annoying. We will "
+"address this by using cascades."
+msgstr ""
+"æç¤ºçã« <literal>save()</literal> ãã³ã¼ã«ããã®ã¯ã¾ã ç
©ããããã®ã§ãããã"
+"ãã«ã¹ã±ã¼ãã使ã£ã¦å¯¾å¦ãã¾ãã"
-#: index.docbook:159
+#. Tag: programlisting
+#: example_parentchild.xml:159
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all\">
-\n"
- " <key column=\"parent_id\"/>
-\n"
- " <one-to-many class=\"Child\"/>
-\n"
- "</set>]]>"
-#: index.docbook:161
+#. Tag: para
+#: example_parentchild.xml:161
+#, no-c-format
msgid "This simplifies the code above to"
msgstr "ããã«ããå
ã»ã©ã®ã³ã¼ãããã®ããã«åç´åãã¾ã"
-#: index.docbook:165
+#. Tag: programlisting
+#: example_parentchild.xml:165
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "Child c = new Child();\n"
- "p.addChild(c);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"Child c = new Child();\n"
+"p.addChild(c);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "Child c = new Child();
-\n"
- "p.addChild(c);
-\n"
- "session.flush();]]>"
-#: index.docbook:167
-msgid "Similarly, we don't need to iterate over the children when saving or deleting a <literal>Parent</literal>. The following removes <literal>p</literal> and all its children from the database."
-msgstr "åæ§ã« <literal>Parent</literal> ãä¿åã¾ãã¯åé¤ããã¨ãã«ãåä¾ãä¸ã¤ä¸ã¤åãåºãã¦æ±ãå¿
è¦ã¯ããã¾ããã 以ä¸ã®ã³ã¼ã㯠<literal>p</literal> ãåé¤ããããã¦ãã¼ã¿ãã¼ã¹ãããã®åä¾ããã¹ã¦åé¤ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:167
+#, no-c-format
+msgid ""
+"Similarly, we don't need to iterate over the children when saving or "
+"deleting a <literal>Parent</literal>. The following removes <literal>p</"
+"literal> and all its children from the database."
+msgstr ""
+"åæ§ã« <literal>Parent</literal> ãä¿åã¾ãã¯åé¤ããã¨ãã«ãåä¾ãä¸ã¤ä¸ã¤å"
+"ãåºãã¦æ±ãå¿
è¦ã¯ããã¾ããã 以ä¸ã®ã³ã¼ã㯠<literal>p</literal> ãåé¤ãã"
+"ããã¦ãã¼ã¿ãã¼ã¹ãããã®åä¾ããã¹ã¦åé¤ãã¾ãã"
-#: index.docbook:172
+#. Tag: programlisting
+#: example_parentchild.xml:172
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "session.delete(p);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"session.delete(p);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "session.delete(p);
-\n"
- "session.flush();]]>"
-#: index.docbook:174
+#. Tag: para
+#: example_parentchild.xml:174
+#, no-c-format
msgid "However, this code"
msgstr "ããããã®ã³ã¼ãã¯"
-#: index.docbook:178
+#. Tag: programlisting
+#: example_parentchild.xml:178
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "Child c = (Child) p.getChildren().iterator().next();\n"
- "p.getChildren().remove(c);\n"
- "c.setParent(null);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"Child c = (Child) p.getChildren().iterator().next();\n"
+"p.getChildren().remove(c);\n"
+"c.setParent(null);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "Child c = (Child) p.getChildren().iterator().next();
-\n"
- "p.getChildren().remove(c);
-\n"
- "c.setParent(null);
-\n"
- "session.flush();]]>"
-#: index.docbook:180
-msgid "will not remove <literal>c</literal> from the database; it will ony remove the link to <literal>p</literal> (and cause a <literal>NOT NULL</literal> constraint violation, in this case). You need to explicitly <literal>delete()</literal> the <literal>Child</literal>."
-msgstr "ãã¼ã¿ãã¼ã¹ãã <literal>c</literal> ãåé¤ãã¾ããã<literal>p</literal> ã¸ã®ãªã³ã¯ãåé¤ãã ï¼ããã¦ãã®ã±ã¼ã¹ã§ã¯ <literal>NOT NULL</literal> å¶ç´éåãå¼ãèµ·ããï¼ã ãã§ãã <literal>Child</literal> ã® <literal>delete()</literal> ãæç¤ºããå¿
è¦ãããã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:180
+#, no-c-format
+msgid ""
+"will not remove <literal>c</literal> from the database; it will ony remove "
+"the link to <literal>p</literal> (and cause a <literal>NOT NULL</literal> "
+"constraint violation, in this case). You need to explicitly <literal>delete()"
+"</literal> the <literal>Child</literal>."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ãã <literal>c</literal> ãåé¤ãã¾ããã<literal>p</literal> ã¸"
+"ã®ãªã³ã¯ãåé¤ãã ï¼ããã¦ãã®ã±ã¼ã¹ã§ã¯ <literal>NOT NULL</literal> å¶ç´é"
+"åãå¼ãèµ·ããï¼ã ãã§ãã <literal>Child</literal> ã® <literal>delete()</"
+"literal> ãæç¤ºããå¿
è¦ãããã¾ãã"
-#: index.docbook:186
+#. Tag: programlisting
+#: example_parentchild.xml:186
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
- "Child c = (Child) p.getChildren().iterator().next();\n"
- "p.getChildren().remove(c);\n"
- "session.delete(c);\n"
- "session.flush();]]>"
+"<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);\n"
+"Child c = (Child) p.getChildren().iterator().next();\n"
+"p.getChildren().remove(c);\n"
+"session.delete(c);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[Parent p = (Parent) session.load(Parent.class, pid);
-\n"
- "Child c = (Child) p.getChildren().iterator().next();
-\n"
- "p.getChildren().remove(c);
-\n"
- "session.delete(c);
-\n"
- "session.flush();]]>"
-#: index.docbook:188
-msgid "Now, in our case, a <literal>Child</literal> can't really exist without its parent. So if we remove a <literal>Child</literal> from the collection, we really do want it to be deleted. For this, we must use <literal>cascade=\"all-delete-orphan\"</literal>."
-msgstr "ä»ãã®ã±ã¼ã¹ã§ã¯å®éã« <literal>Child</literal> ã親ãªãã§ã¯åå¨ã§ããªãããã«ãªãã¾ããã ãã®ãããããã³ã¬ã¯ã·ã§ã³ãã <literal>Child</literal> ãåãé¤ãå ´åããããåé¤ãããã§ãã ãã®ããã«ã¯ <literal>cascade=\"all-delete-orphan\"</literal> ã使ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: example_parentchild.xml:188
+#, no-c-format
+msgid ""
+"Now, in our case, a <literal>Child</literal> can't really exist without its "
+"parent. So if we remove a <literal>Child</literal> from the collection, we "
+"really do want it to be deleted. For this, we must use <literal>cascade="
+"\"all-delete-orphan\"</literal>."
+msgstr ""
+"ä»ãã®ã±ã¼ã¹ã§ã¯å®éã« <literal>Child</literal> ã親ãªãã§ã¯åå¨ã§ããªããã"
+"ã«ãªãã¾ããã ãã®ãããããã³ã¬ã¯ã·ã§ã³ãã <literal>Child</literal> ãåã"
+"é¤ãå ´åããããåé¤ãããã§ãã ãã®ããã«ã¯ <literal>cascade=\"all-delete-"
+"orphan\"</literal> ã使ããªããã°ãªãã¾ããã"
-#: index.docbook:194
+#. Tag: programlisting
+#: example_parentchild.xml:194
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all-delete-orphan\">\n"
- " <key column=\"parent_id\"/>\n"
- " <one-to-many class=\"Child\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all-delete-orphan"
+"\">\n"
+" <key column=\"parent_id\"/>\n"
+" <one-to-many class=\"Child\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"children\" inverse=\"true\" cascade=\"all-delete-orphan\">
-\n"
- " <key column=\"parent_id\"/>
-\n"
- " <one-to-many class=\"Child\"/>
-\n"
- "</set>]]>"
-#: index.docbook:196
-msgid "Note: even though the collection mapping specifies <literal>inverse=\"true\"</literal>, cascades are still processed by iterating the collection elements. So if you require that an object be saved, deleted or updated by cascade, you must add it to the collection. It is not enough to simply call <literal>setParent()</literal>."
-msgstr "注æï¼ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã§ <literal>inverse=\"true\"</literal> ã¨æå®ãã¦ãã ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®ã¤ãã¬ã¼ã·ã§ã³ã«ãã£ã¦ãä¾ç¶ã«ã¹ã±ã¼ããå®è¡ããã¾ãã ãã®ããããã«ã¹ã±ã¼ãã§ãªãã¸ã§ã¯ããã»ã¼ããåé¤ãæ´æ°ããå¿
è¦ããããªãã ãããã³ã¬ã¯ã·ã§ã³ã«è¿½å ããªããã°ãªãã¾ãããåã« <literal>setParent()</literal> ãå¼ã¶ã ãã§ã¯ä¸ååã§ãã"
+#. Tag: para
+#: example_parentchild.xml:196
+#, no-c-format
+msgid ""
+"Note: even though the collection mapping specifies <literal>inverse=\"true"
+"\"</literal>, cascades are still processed by iterating the collection "
+"elements. So if you require that an object be saved, deleted or updated by "
+"cascade, you must add it to the collection. It is not enough to simply call "
+"<literal>setParent()</literal>."
+msgstr ""
+"注æï¼ã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã§ <literal>inverse=\"true\"</literal> ã¨æå®ã"
+"ã¦ãã ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®ã¤ãã¬ã¼ã·ã§ã³ã«ãã£ã¦ãä¾ç¶ã«ã¹ã±ã¼ããå®è¡ããã¾"
+"ãã ãã®ããããã«ã¹ã±ã¼ãã§ãªãã¸ã§ã¯ããã»ã¼ããåé¤ãæ´æ°ããå¿
è¦ããããª"
+"ãã ãããã³ã¬ã¯ã·ã§ã³ã«è¿½å ããªããã°ãªãã¾ãããåã« <literal>setParent()"
+"</literal> ãå¼ã¶ã ãã§ã¯ä¸ååã§ãã"
-#: index.docbook:206
+#. Tag: title
+#: example_parentchild.xml:206
+#, no-c-format
msgid "Cascades and <literal>unsaved-value</literal>"
msgstr "ã«ã¹ã±ã¼ã㨠<literal>unsaved-value</literal>"
-#: index.docbook:208
-msgid "Suppose we loaded up a <literal>Parent</literal> in one <literal>Session</literal>, made some changes in a UI action and wish to persist these changes in a new session by calling <literal>update()</literal>. The <literal>Parent</literal> will contain a collection of childen and, since cascading update is enabled, Hibernate needs to know which children are newly instantiated and which represent existing rows in the database. Lets assume that both <literal>Parent</literal> and <literal>Child</literal> have genenerated identifier properties of type <literal>Long</literal>. Hibernate will use the identifier and version/timestamp property value to determine which of the children are new. (See <xref linkend=\"objectstate-saveorupdate\"/>.) <emphasis>In Hibernate3, it is no longer necessary to specify an <literal>unsaved-value</literal> explicitly.</emphasis>"
-msgstr "<literal>Parent</literal> ãããã <literal>Session</literal> ã§ãã¼ããããUIã®ã¢ã¯ã·ã§ã³ã§å¤æ´ãå ãããã <literal>update()</literal> ãå¼ãã§ãã®å¤æ´ãæ°ããã»ãã·ã§ã³ã§æ°¸ç¶åãããã¨ãã¾ãã <literal>Parent</literal> ãåä¾ã®ã³ã¬ã¯ã·ã§ã³ãæã¡ãã«ã¹ã±ã¼ãæ´æ°ãæå¹ã«ãªã£ã¦ããããã Hibernateã¯ã©ã®åä¾ãæ°ããã¤ã³ã¹ã¿ã³ã¹åãããããã©ãããã¼ã¿ãã¼ã¹ã®æ¢åã®è¡ã«ç¸å½ããã®ããç¥ãå¿
è¦ãããã¾ãã <literal>Parent</literal> 㨠<literal>Child</literal> ã®ä¸¡æ¹ã <literal>java.lang.Long</literal> åã®èå¥ããããã£ãçæããã¨ãã¾ãããã Hibernateã¯ã©ã®åä¾ãæ°ãããã®ããæ±ºå®ããããã«èå¥ããããã£ã®å¤ã使ãã¾ã(versionãtimestampããããã£ã使ãã¾ãã <xref linkend=\"manipulatingdata-updating-detached\"/> åç
§)ãHibernate3ã«ãªã£ã¦ã æç¤ºçã«!
<literal>unsaved-value</literal> ãæå®ããå¿
è¦ã¯ãªããªãã¾ããã"
+#. Tag: para
+#: example_parentchild.xml:208
+#, no-c-format
+msgid ""
+"Suppose we loaded up a <literal>Parent</literal> in one <literal>Session</"
+"literal>, made some changes in a UI action and wish to persist these changes "
+"in a new session by calling <literal>update()</literal>. The "
+"<literal>Parent</literal> will contain a collection of childen and, since "
+"cascading update is enabled, Hibernate needs to know which children are "
+"newly instantiated and which represent existing rows in the database. Lets "
+"assume that both <literal>Parent</literal> and <literal>Child</literal> have "
+"genenerated identifier properties of type <literal>Long</literal>. Hibernate "
+"will use the identifier and version/timestamp property value to determine "
+"which of the children are new. (See <xref linkend=\"objectstate-saveorupdate"
+"\"/>.) <emphasis>In Hibernate3, it is no longer necessary to specify an "
+"<literal>unsaved-value</literal> explicitly.</emphasis>"
+msgstr ""
+"<literal>Parent</literal> ãããã <literal>Session</literal> ã§ãã¼ãããã"
+"UIã®ã¢ã¯ã·ã§ã³ã§å¤æ´ãå ãããã <literal>update()</literal> ãå¼ãã§ãã®å¤æ´"
+"ãæ°ããã»ãã·ã§ã³ã§æ°¸ç¶åãããã¨ãã¾ãã <literal>Parent</literal> ãåä¾ã®"
+"ã³ã¬ã¯ã·ã§ã³ãæã¡ãã«ã¹ã±ã¼ãæ´æ°ãæå¹ã«ãªã£ã¦ããããã Hibernateã¯ã©ã®å"
+"ä¾ãæ°ããã¤ã³ã¹ã¿ã³ã¹åãããããã©ãããã¼ã¿ãã¼ã¹ã®æ¢åã®è¡ã«ç¸å½ããã®ã"
+"ãç¥ãå¿
è¦ãããã¾ãã <literal>Parent</literal> 㨠<literal>Child</literal> "
+"ã®ä¸¡æ¹ã <literal>java.lang.Long</literal> åã®èå¥ããããã£ãçæããã¨ãã¾"
+"ãããã Hibernateã¯ã©ã®åä¾ãæ°ãããã®ããæ±ºå®ããããã«èå¥ããããã£ã®å¤"
+"ã使ãã¾ã(versionãtimestampããããã£ã使ãã¾ãã <xref linkend="
+"\"manipulatingdata-updating-detached\"/> åç
§)ãHibernate3ã«ãªã£ã¦ã æç¤ºç"
+"ã« <literal>unsaved-value</literal> ãæå®ããå¿
è¦ã¯ãªããªãã¾ããã"
-#: index.docbook:220
-msgid "The following code will update <literal>parent</literal> and <literal>child</literal> and insert <literal>newChild</literal>."
-msgstr "以ä¸ã®ã³ã¼ã㯠<literal>parent</literal> 㨠<literal>child</literal> ãæ´æ°ãã<literal>newChild</literal> ãæ¿å
¥ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:220
+#, no-c-format
+msgid ""
+"The following code will update <literal>parent</literal> and <literal>child</"
+"literal> and insert <literal>newChild</literal>."
+msgstr ""
+"以ä¸ã®ã³ã¼ã㯠<literal>parent</literal> 㨠<literal>child</literal> ãæ´æ°"
+"ãã<literal>newChild</literal> ãæ¿å
¥ãã¾ãã"
-#: index.docbook:225
+#. Tag: programlisting
+#: example_parentchild.xml:225
+#, no-c-format
msgid ""
- "<![CDATA[//parent and child were both loaded in a previous session\n"
- "parent.addChild(child);\n"
- "Child newChild = new Child();\n"
- "parent.addChild(newChild);\n"
- "session.update(parent);\n"
- "session.flush();]]>"
+"<![CDATA[//parent and child were both loaded in a previous session\n"
+"parent.addChild(child);\n"
+"Child newChild = new Child();\n"
+"parent.addChild(newChild);\n"
+"session.update(parent);\n"
+"session.flush();]]>"
msgstr ""
- "<![CDATA[//parent and child were both loaded in a previous session
-\n"
- "//parentã¨childã¯ä¸¡æ¹ã¨ãã以åã®Sessionã§ãã¼ãããã¦ãã¾ã
-\n"
- "parent.addChild(child);
-\n"
- "Child newChild = new Child();
-\n"
- "parent.addChild(newChild);
-\n"
- "session.update(parent);
-\n"
- "session.flush();]]>"
-#: index.docbook:227
-msgid "Well, that's all very well for the case of a generated identifier, but what about assigned identifiers and composite identifiers? This is more difficult, since Hibernate can't use the identifier property to distinguish between a newly instantiated object (with an identifier assigned by the user) and an object loaded in a previous session. In this case, Hibernate will either use the timestamp or version property, or will actually query the second-level cache or, worst case, the database, to see if the row exists."
-msgstr "ãããã¯çæãããèå¥åã®å ´åã«ã¯é常ã«è¯ãã®ã§ãããå²ãå½ã¦ãããèå¥åã¨è¤åèå¥åã®å ´åã¯ã©ãã§ããããï¼ ããã¯Hibernateããï¼ã¦ã¼ã¶ã«ããå²ãå½ã¦ãããèå¥åãæã¤ï¼æ°ããã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯ãã¨ã 以åã®Sessionã§ãã¼ãããããªãã¸ã§ã¯ããåºå¥ã§ããªããããããé£ããã§ãã ãã®å ´åãHibernateã¯ã¿ã¤ã ã¹ã¿ã³ãããã¼ã¸ã§ã³ã®ããããã£ã®ã©ã¡ããã使ãããäºæ¬¡ãã£ãã·ã¥ã«åãåããã¾ãã ææªã®å ´åãè¡ãåå¨ãããã©ãããã¼ã¿ãã¼ã¹ãè¦ã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:227
+#, no-c-format
+msgid ""
+"Well, that's all very well for the case of a generated identifier, but what "
+"about assigned identifiers and composite identifiers? This is more "
+"difficult, since Hibernate can't use the identifier property to distinguish "
+"between a newly instantiated object (with an identifier assigned by the "
+"user) and an object loaded in a previous session. In this case, Hibernate "
+"will either use the timestamp or version property, or will actually query "
+"the second-level cache or, worst case, the database, to see if the row "
+"exists."
+msgstr ""
+"ãããã¯çæãããèå¥åã®å ´åã«ã¯é常ã«è¯ãã®ã§ãããå²ãå½ã¦ãããèå¥åã¨"
+"è¤åèå¥åã®å ´åã¯ã©ãã§ããããï¼ ããã¯Hibernateããï¼ã¦ã¼ã¶ã«ããå²ãå½ã¦"
+"ãããèå¥åãæã¤ï¼æ°ããã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯ãã¨ã 以åã®Session"
+"ã§ãã¼ãããããªãã¸ã§ã¯ããåºå¥ã§ããªããããããé£ããã§ãã ãã®å ´åã"
+"Hibernateã¯ã¿ã¤ã ã¹ã¿ã³ãããã¼ã¸ã§ã³ã®ããããã£ã®ã©ã¡ããã使ãããäºæ¬¡"
+"ãã£ãã·ã¥ã«åãåããã¾ãã ææªã®å ´åãè¡ãåå¨ãããã©ãããã¼ã¿ãã¼ã¹ãè¦"
+"ã¾ãã"
-#: index.docbook:260
+#. Tag: title
+#: example_parentchild.xml:260
+#, no-c-format
msgid "Conclusion"
-msgstr "<title>çµè«</title>"
+msgstr "çµè«"
-#: index.docbook:262
-msgid "There is quite a bit to digest here and it might look confusing first time around. However, in practice, it all works out very nicely. Most Hibernate applications use the parent / child pattern in many places."
-msgstr "ããã§ã¯ããªãã®éãè¦ç´ããã®ã§ãæåã®é ã¯æ··ä¹±ãã¦ããããã«æãããããããã¾ããã ãããå®éã¯ããã¹ã¦é常ã«è¯ãåä½ãã¾ããã»ã¨ãã©ã®Hibernateã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãå¤ãã®å ´é¢ã§è¦ªåãã¿ã¼ã³ã使ç¨ãã¾ãã"
+#. Tag: para
+#: example_parentchild.xml:262
+#, no-c-format
+msgid ""
+"There is quite a bit to digest here and it might look confusing first time "
+"around. However, in practice, it all works out very nicely. Most Hibernate "
+"applications use the parent / child pattern in many places."
+msgstr ""
+"ããã§ã¯ããªãã®éãè¦ç´ããã®ã§ãæåã®é ã¯æ··ä¹±ãã¦ããããã«æãããããã"
+"ãã¾ããã ãããå®éã¯ããã¹ã¦é常ã«è¯ãåä½ãã¾ããã»ã¨ãã©ã®Hibernateã¢ã"
+"ãªã±ã¼ã·ã§ã³ã§ã¯ãå¤ãã®å ´é¢ã§è¦ªåãã¿ã¼ã³ã使ç¨ãã¾ãã"
-#: index.docbook:267
-msgid "We mentioned an alternative in the first paragraph. None of the above issues exist in the case of <literal><composite-element></literal> mappings, which have exactly the semantics of a parent / child relationship. Unfortunately, there are two big limitations to composite element classes: composite elements may not own collections, and they should not be the child of any entity other than the unique parent."
-msgstr "æåã®æ®µè½ã§ä»£æ¿æ¹æ³ã«ã¤ãã¦è§¦ãã¾ãããä¸è¨ã®ãããªåé¡ã¯ <literal><composite-element></literal> ãããã³ã°ã®å ´åã¯åå¨ããã ã«ããããããããã¯ç¢ºãã«è¦ªåé¢ä¿ã®ã»ãã³ãã£ã¯ã¹ãæã¡ã¾ãã ãããæ®å¿µãªãããè¤åè¦ç´ ã¯ã©ã¹ã«ã¯äºã¤ã®å¤§ããªå¶éãããã¾ãï¼ 1ã¤ã¯è¤åè¦ç´ ã¯ã³ã¬ã¯ã·ã§ã³ãæã¤ãã¨ãã§ããªããã¨ã§ããããã²ã¨ã¤ã¯ã ã¦ãã¼ã¯ãªè¦ªã§ã¯ãªãã¨ã³ãã£ãã£ã®åä¾ã¨ãªãã¹ãã§ã¯ãªãã¨ãããã¨ã§ã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: example_parentchild.xml:267
+#, no-c-format
+msgid ""
+"We mentioned an alternative in the first paragraph. None of the above issues "
+"exist in the case of <literal><composite-element></literal> mappings, "
+"which have exactly the semantics of a parent / child relationship. "
+"Unfortunately, there are two big limitations to composite element classes: "
+"composite elements may not own collections, and they should not be the child "
+"of any entity other than the unique parent."
+msgstr ""
+"æåã®æ®µè½ã§ä»£æ¿æ¹æ³ã«ã¤ãã¦è§¦ãã¾ãããä¸è¨ã®ãããªåé¡ã¯ <literal><"
+"composite-element></literal> ãããã³ã°ã®å ´åã¯åå¨ããã ã«ããããããã"
+"ãã¯ç¢ºãã«è¦ªåé¢ä¿ã®ã»ãã³ãã£ã¯ã¹ãæã¡ã¾ãã ãããæ®å¿µãªãããè¤åè¦ç´ ã¯ã©"
+"ã¹ã«ã¯äºã¤ã®å¤§ããªå¶éãããã¾ãï¼ 1ã¤ã¯è¤åè¦ç´ ã¯ã³ã¬ã¯ã·ã§ã³ãæã¤ãã¨ãã§"
+"ããªããã¨ã§ããããã²ã¨ã¤ã¯ã ã¦ãã¼ã¯ãªè¦ªã§ã¯ãªãã¨ã³ãã£ãã£ã®åä¾ã¨ãªãã¹"
+"ãã§ã¯ãªãã¨ãããã¨ã§ã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/example_weblog.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/example_weblog.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/example_weblog.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1225 +1,484 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: example_weblog.xml:5
+#, no-c-format
msgid "Example: Weblog Application"
msgstr "ä¾: Weblogã¢ããªã±ã¼ã·ã§ã³"
-#: index.docbook:8
+#. Tag: title
+#: example_weblog.xml:8
+#, no-c-format
msgid "Persistent Classes"
msgstr "æ°¸ç¶ã¯ã©ã¹"
-#: index.docbook:10
-msgid "The persistent classes represent a weblog, and an item posted in a weblog. They are to be modelled as a standard parent/child relationship, but we will use an ordered bag, instead of a set."
-msgstr "æ°¸ç¶ã¯ã©ã¹ãã¦ã§ããã°ã¨ãã¦ã§ããã°ã«æ²ç¤ºãããé
ç®ã表ãã¦ãã¾ãã ãããã¯é常ã®è¦ªåé¢ä¿ã¨ãã¦ã¢ããªã³ã°ããã¾ããã setã§ã¯ãªãé åºãæã£ãbagã使ç¨ãããã¨ã«ãã¾ãã"
+#. Tag: para
+#: example_weblog.xml:10
+#, no-c-format
+msgid ""
+"The persistent classes represent a weblog, and an item posted in a weblog. "
+"They are to be modelled as a standard parent/child relationship, but we will "
+"use an ordered bag, instead of a set."
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ãã¦ã§ããã°ã¨ãã¦ã§ããã°ã«æ²ç¤ºãããé
ç®ã表ãã¦ãã¾ãã ãããã¯"
+"é常ã®è¦ªåé¢ä¿ã¨ãã¦ã¢ããªã³ã°ããã¾ããã setã§ã¯ãªãé åºãæã£ãbagã使ç¨ã"
+"ããã¨ã«ãã¾ãã"
-#: index.docbook:16
+#. Tag: programlisting
+#: example_weblog.xml:16
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "\n"
- "import java.util.List;\n"
- "\n"
- "public class Blog {\n"
- " private Long _id;\n"
- " private String _name;\n"
- " private List _items;\n"
- "\n"
- " public Long getId() {\n"
- " return _id;\n"
- " }\n"
- " public List getItems() {\n"
- " return _items;\n"
- " }\n"
- " public String getName() {\n"
- " return _name;\n"
- " }\n"
- " public void setId(Long long1) {\n"
- " _id = long1;\n"
- " }\n"
- " public void setItems(List list) {\n"
- " _items = list;\n"
- " }\n"
- " public void setName(String string) {\n"
- " _name = string;\n"
- " }\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"\n"
+"import java.util.List;\n"
+"\n"
+"public class Blog {\n"
+" private Long _id;\n"
+" private String _name;\n"
+" private List _items;\n"
+"\n"
+" public Long getId() {\n"
+" return _id;\n"
+" }\n"
+" public List getItems() {\n"
+" return _items;\n"
+" }\n"
+" public String getName() {\n"
+" return _name;\n"
+" }\n"
+" public void setId(Long long1) {\n"
+" _id = long1;\n"
+" }\n"
+" public void setItems(List list) {\n"
+" _items = list;\n"
+" }\n"
+" public void setName(String string) {\n"
+" _name = string;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[package eg;
-\n"
- "
-\n"
- "import java.util.List;
-\n"
- "
-\n"
- "public class Blog {
-\n"
- " private Long _id;
-\n"
- " private String _name;
-\n"
- " private List _items;
-\n"
- "
-\n"
- " public Long getId() {
-\n"
- " return _id;
-\n"
- " }
-\n"
- " public List getItems() {
-\n"
- " return _items;
-\n"
- " }
-\n"
- " public String getName() {
-\n"
- " return _name;
-\n"
- " }
-\n"
- " public void setId(Long long1) {
-\n"
- " _id = long1;
-\n"
- " }
-\n"
- " public void setItems(List list) {
-\n"
- " _items = list;
-\n"
- " }
-\n"
- " public void setName(String string) {
-\n"
- " _name = string;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:18
+#. Tag: programlisting
+#: example_weblog.xml:18
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "\n"
- "import java.text.DateFormat;\n"
- "import java.util.Calendar;\n"
- "\n"
- "public class BlogItem {\n"
- " private Long _id;\n"
- " private Calendar _datetime;\n"
- " private String _text;\n"
- " private String _title;\n"
- " private Blog _blog;\n"
- "\n"
- " public Blog getBlog() {\n"
- " return _blog;\n"
- " }\n"
- " public Calendar getDatetime() {\n"
- " return _datetime;\n"
- " }\n"
- " public Long getId() {\n"
- " return _id;\n"
- " }\n"
- " public String getText() {\n"
- " return _text;\n"
- " }\n"
- " public String getTitle() {\n"
- " return _title;\n"
- " }\n"
- " public void setBlog(Blog blog) {\n"
- " _blog = blog;\n"
- " }\n"
- " public void setDatetime(Calendar calendar) {\n"
- " _datetime = calendar;\n"
- " }\n"
- " public void setId(Long long1) {\n"
- " _id = long1;\n"
- " }\n"
- " public void setText(String string) {\n"
- " _text = string;\n"
- " }\n"
- " public void setTitle(String string) {\n"
- " _title = string;\n"
- " }\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"\n"
+"import java.text.DateFormat;\n"
+"import java.util.Calendar;\n"
+"\n"
+"public class BlogItem {\n"
+" private Long _id;\n"
+" private Calendar _datetime;\n"
+" private String _text;\n"
+" private String _title;\n"
+" private Blog _blog;\n"
+"\n"
+" public Blog getBlog() {\n"
+" return _blog;\n"
+" }\n"
+" public Calendar getDatetime() {\n"
+" return _datetime;\n"
+" }\n"
+" public Long getId() {\n"
+" return _id;\n"
+" }\n"
+" public String getText() {\n"
+" return _text;\n"
+" }\n"
+" public String getTitle() {\n"
+" return _title;\n"
+" }\n"
+" public void setBlog(Blog blog) {\n"
+" _blog = blog;\n"
+" }\n"
+" public void setDatetime(Calendar calendar) {\n"
+" _datetime = calendar;\n"
+" }\n"
+" public void setId(Long long1) {\n"
+" _id = long1;\n"
+" }\n"
+" public void setText(String string) {\n"
+" _text = string;\n"
+" }\n"
+" public void setTitle(String string) {\n"
+" _title = string;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[package eg;
-\n"
- "
-\n"
- "import java.text.DateFormat;
-\n"
- "import java.util.Calendar;
-\n"
- "
-\n"
- "public class BlogItem {
-\n"
- " private Long _id;
-\n"
- " private Calendar _datetime;
-\n"
- " private String _text;
-\n"
- " private String _title;
-\n"
- " private Blog _blog;
-\n"
- "
-\n"
- " public Blog getBlog() {
-\n"
- " return _blog;
-\n"
- " }
-\n"
- " public Calendar getDatetime() {
-\n"
- " return _datetime;
-\n"
- " }
-\n"
- " public Long getId() {
-\n"
- " return _id;
-\n"
- " }
-\n"
- " public String getText() {
-\n"
- " return _text;
-\n"
- " }
-\n"
- " public String getTitle() {
-\n"
- " return _title;
-\n"
- " }
-\n"
- " public void setBlog(Blog blog) {
-\n"
- " _blog = blog;
-\n"
- " }
-\n"
- " public void setDatetime(Calendar calendar) {
-\n"
- " _datetime = calendar;
-\n"
- " }
-\n"
- " public void setId(Long long1) {
-\n"
- " _id = long1;
-\n"
- " }
-\n"
- " public void setText(String string) {
-\n"
- " _text = string;
-\n"
- " }
-\n"
- " public void setTitle(String string) {
-\n"
- " _title = string;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:23
+#. Tag: title
+#: example_weblog.xml:23
+#, no-c-format
msgid "Hibernate Mappings"
msgstr "Hibernateã®ãããã³ã°"
-#: index.docbook:25
+#. Tag: para
+#: example_weblog.xml:25
+#, no-c-format
msgid "The XML mappings should now be quite straightforward."
msgstr "XMLãããã³ã°ã¯ãä»ã§ã¯ã¨ã¦ãç°¡åãªã¯ãã§ãã"
-#: index.docbook:29
+#. Tag: programlisting
+#: example_weblog.xml:29
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
- "\n"
- "<hibernate-mapping package=\"eg\">\n"
- "\n"
- " <class\n"
- " name=\"Blog\"\n"
- " table=\"BLOGS\">\n"
- "\n"
- " <id\n"
- " name=\"id\"\n"
- " column=\"BLOG_ID\">\n"
- "\n"
- " <generator class=\"native\"/>\n"
- "\n"
- " </id>\n"
- "\n"
- " <property\n"
- " name=\"name\"\n"
- " column=\"NAME\"\n"
- " not-null=\"true\"\n"
- " unique=\"true\"/>\n"
- "\n"
- " <bag\n"
- " name=\"items\"\n"
- " inverse=\"true\"\n"
- " order-by=\"DATE_TIME\"\n"
- " cascade=\"all\">\n"
- "\n"
- " <key column=\"BLOG_ID\"/>\n"
- " <one-to-many class=\"BlogItem\"/>\n"
- "\n"
- " </bag>\n"
- "\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+"\n"
+"<hibernate-mapping package=\"eg\">\n"
+"\n"
+" <class\n"
+" name=\"Blog\"\n"
+" table=\"BLOGS\">\n"
+"\n"
+" <id\n"
+" name=\"id\"\n"
+" column=\"BLOG_ID\">\n"
+"\n"
+" <generator class=\"native\"/>\n"
+"\n"
+" </id>\n"
+"\n"
+" <property\n"
+" name=\"name\"\n"
+" column=\"NAME\"\n"
+" not-null=\"true\"\n"
+" unique=\"true\"/>\n"
+"\n"
+" <bag\n"
+" name=\"items\"\n"
+" inverse=\"true\"\n"
+" order-by=\"DATE_TIME\"\n"
+" cascade=\"all\">\n"
+"\n"
+" <key column=\"BLOG_ID\"/>\n"
+" <one-to-many class=\"BlogItem\"/>\n"
+"\n"
+" </bag>\n"
+"\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\"?>
-\n"
- "<!DOCTYPE hibernate-mapping PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">
-\n"
- "
-\n"
- "<hibernate-mapping package=\"eg\">
-\n"
- "
-\n"
- " <class
-\n"
- " name=\"Blog\"
-\n"
- " table=\"BLOGS\">
-\n"
- "
-\n"
- " <id
-\n"
- " name=\"id\"
-\n"
- " column=\"BLOG_ID\">
-\n"
- "
-\n"
- " <generator class=\"native\"/>
-\n"
- "
-\n"
- " </id>
-\n"
- "
-\n"
- " <property
-\n"
- " name=\"name\"
-\n"
- " column=\"NAME\"
-\n"
- " not-null=\"true\"
-\n"
- " unique=\"true\"/>
-\n"
- "
-\n"
- " <bag
-\n"
- " name=\"items\"
-\n"
- " inverse=\"true\"
-\n"
- " order-by=\"DATE_TIME\"
-\n"
- " cascade=\"all\">
-\n"
- "
-\n"
- " <key column=\"BLOG_ID\"/>
-\n"
- " <one-to-many class=\"BlogItem\"/>
-\n"
- "
-\n"
- " </bag>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:31
+#. Tag: programlisting
+#: example_weblog.xml:31
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
- "\n"
- "<hibernate-mapping package=\"eg\">\n"
- "\n"
- " <class\n"
- " name=\"BlogItem\"\n"
- " table=\"BLOG_ITEMS\"\n"
- " dynamic-update=\"true\">\n"
- "\n"
- " <id\n"
- " name=\"id\"\n"
- " column=\"BLOG_ITEM_ID\">\n"
- "\n"
- " <generator class=\"native\"/>\n"
- "\n"
- " </id>\n"
- "\n"
- " <property\n"
- " name=\"title\"\n"
- " column=\"TITLE\"\n"
- " not-null=\"true\"/>\n"
- "\n"
- " <property\n"
- " name=\"text\"\n"
- " column=\"TEXT\"\n"
- " not-null=\"true\"/>\n"
- "\n"
- " <property\n"
- " name=\"datetime\"\n"
- " column=\"DATE_TIME\"\n"
- " not-null=\"true\"/>\n"
- "\n"
- " <many-to-one\n"
- " name=\"blog\"\n"
- " column=\"BLOG_ID\"\n"
- " not-null=\"true\"/>\n"
- "\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+"\n"
+"<hibernate-mapping package=\"eg\">\n"
+"\n"
+" <class\n"
+" name=\"BlogItem\"\n"
+" table=\"BLOG_ITEMS\"\n"
+" dynamic-update=\"true\">\n"
+"\n"
+" <id\n"
+" name=\"id\"\n"
+" column=\"BLOG_ITEM_ID\">\n"
+"\n"
+" <generator class=\"native\"/>\n"
+"\n"
+" </id>\n"
+"\n"
+" <property\n"
+" name=\"title\"\n"
+" column=\"TITLE\"\n"
+" not-null=\"true\"/>\n"
+"\n"
+" <property\n"
+" name=\"text\"\n"
+" column=\"TEXT\"\n"
+" not-null=\"true\"/>\n"
+"\n"
+" <property\n"
+" name=\"datetime\"\n"
+" column=\"DATE_TIME\"\n"
+" not-null=\"true\"/>\n"
+"\n"
+" <many-to-one\n"
+" name=\"blog\"\n"
+" column=\"BLOG_ID\"\n"
+" not-null=\"true\"/>\n"
+"\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\"?>
-\n"
- "<!DOCTYPE hibernate-mapping PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">
-\n"
- "
-\n"
- "<hibernate-mapping package=\"eg\">
-\n"
- "
-\n"
- " <class
-\n"
- " name=\"BlogItem\"
-\n"
- " table=\"BLOG_ITEMS\"
-\n"
- " dynamic-update=\"true\">
-\n"
- "
-\n"
- " <id
-\n"
- " name=\"id\"
-\n"
- " column=\"BLOG_ITEM_ID\">
-\n"
- "
-\n"
- " <generator class=\"native\"/>
-\n"
- "
-\n"
- " </id>
-\n"
- "
-\n"
- " <property
-\n"
- " name=\"title\"
-\n"
- " column=\"TITLE\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " <property
-\n"
- " name=\"text\"
-\n"
- " column=\"TEXT\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " <property
-\n"
- " name=\"datetime\"
-\n"
- " column=\"DATE_TIME\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " <many-to-one
-\n"
- " name=\"blog\"
-\n"
- " column=\"BLOG_ID\"
-\n"
- " not-null=\"true\"/>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:36
+#. Tag: title
+#: example_weblog.xml:36
+#, no-c-format
msgid "Hibernate Code"
msgstr "Hibernateã®ã³ã¼ã"
-#: index.docbook:38
-msgid "The following class demonstrates some of the kinds of things we can do with these classes, using Hibernate."
-msgstr "以ä¸ã®ã¯ã©ã¹ã¯ã Hibernateã§ãããã®ã¯ã©ã¹ã使ã£ã¦ã§ãããã¨ãããã¤ã示ãã¦ãã¾ãã"
-
-#: index.docbook:43
+#. Tag: para
+#: example_weblog.xml:38
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "\n"
- "import java.util.ArrayList;\n"
- "import java.util.Calendar;\n"
- "import java.util.Iterator;\n"
- "import java.util.List;\n"
- "\n"
- "import org.hibernate.HibernateException;\n"
- "import org.hibernate.Query;\n"
- "import org.hibernate.Session;\n"
- "import org.hibernate.SessionFactory;\n"
- "import org.hibernate.Transaction;\n"
- "import org.hibernate.cfg.Configuration;\n"
- "import org.hibernate.tool.hbm2ddl.SchemaExport;\n"
- "\n"
- "public class BlogMain {\n"
- " \n"
- " private SessionFactory _sessions;\n"
- " \n"
- " public void configure() throws HibernateException {\n"
- " _sessions = new Configuration()\n"
- " .addClass(Blog.class)\n"
- " .addClass(BlogItem.class)\n"
- " .buildSessionFactory();\n"
- " }\n"
- " \n"
- " public void exportTables() throws HibernateException {\n"
- " Configuration cfg = new Configuration()\n"
- " .addClass(Blog.class)\n"
- " .addClass(BlogItem.class);\n"
- " new SchemaExport(cfg).create(true, true);\n"
- " }\n"
- " \n"
- " public Blog createBlog(String name) throws HibernateException {\n"
- " \n"
- " Blog blog = new Blog();\n"
- " blog.setName(name);\n"
- " blog.setItems( new ArrayList() );\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " session.persist(blog);\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return blog;\n"
- " }\n"
- " \n"
- " public BlogItem createBlogItem(Blog blog, String title, String text)\n"
- " throws HibernateException {\n"
- " \n"
- " BlogItem item = new BlogItem();\n"
- " item.setTitle(title);\n"
- " item.setText(text);\n"
- " item.setBlog(blog);\n"
- " item.setDatetime( Calendar.getInstance() );\n"
- " blog.getItems().add(item);\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " session.update(blog);\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return item;\n"
- " }\n"
- " \n"
- " public BlogItem createBlogItem(Long blogid, String title, String text)\n"
- " throws HibernateException {\n"
- " \n"
- " BlogItem item = new BlogItem();\n"
- " item.setTitle(title);\n"
- " item.setText(text);\n"
- " item.setDatetime( Calendar.getInstance() );\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " Blog blog = (Blog) session.load(Blog.class, blogid);\n"
- " item.setBlog(blog);\n"
- " blog.getItems().add(item);\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return item;\n"
- " }\n"
- " \n"
- " public void updateBlogItem(BlogItem item, String text)\n"
- " throws HibernateException {\n"
- " \n"
- " item.setText(text);\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " session.update(item);\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " }\n"
- " \n"
- " public void updateBlogItem(Long itemid, String text)\n"
- " throws HibernateException {\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " BlogItem item = (BlogItem) session.load(BlogItem.class, itemid);\n"
- " item.setText(text);\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " }\n"
- " \n"
- " public List listAllBlogNamesAndItemCounts(int max)\n"
- " throws HibernateException {\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " List result = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " Query q = session.createQuery(\n"
- " \"select blog.id, blog.name, count(blogItem) \" +\n"
- " \"from Blog as blog \" +\n"
- " \"left outer join blog.items as blogItem \" +\n"
- " \"group by blog.name, blog.id \" +\n"
- " \"order by max(blogItem.datetime)\"\n"
- " );\n"
- " q.setMaxResults(max);\n"
- " result = q.list();\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return result;\n"
- " }\n"
- " \n"
- " public Blog getBlogAndAllItems(Long blogid)\n"
- " throws HibernateException {\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " Blog blog = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " Query q = session.createQuery(\n"
- " \"from Blog as blog \" +\n"
- " \"left outer join fetch blog.items \" +\n"
- " \"where blog.id = :blogid\"\n"
- " );\n"
- " q.setParameter(\"blogid\", blogid);\n"
- " blog = (Blog) q.uniqueResult();\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return blog;\n"
- " }\n"
- " \n"
- " public List listBlogsAndRecentItems() throws HibernateException {\n"
- " \n"
- " Session session = _sessions.openSession();\n"
- " Transaction tx = null;\n"
- " List result = null;\n"
- " try {\n"
- " tx = session.beginTransaction();\n"
- " Query q = session.createQuery(\n"
- " \"from Blog as blog \" +\n"
- " \"inner join blog.items as blogItem \" +\n"
- " \"where blogItem.datetime > :minDate\"\n"
- " );\n"
- "\n"
- " Calendar cal = Calendar.getInstance();\n"
- " cal.roll(Calendar.MONTH, false);\n"
- " q.setCalendar(\"minDate\", cal);\n"
- " \n"
- " result = q.list();\n"
- " tx.commit();\n"
- " }\n"
- " catch (HibernateException he) {\n"
- " if (tx!=null) tx.rollback();\n"
- " throw he;\n"
- " }\n"
- " finally {\n"
- " session.close();\n"
- " }\n"
- " return result;\n"
- " }\n"
- "}]]>"
+"The following class demonstrates some of the kinds of things we can do with "
+"these classes, using Hibernate."
msgstr ""
- "<![CDATA[package eg;
-\n"
- "
-\n"
- "import java.util.ArrayList;
-\n"
- "import java.util.Calendar;
-\n"
- "import java.util.Iterator;
-\n"
- "import java.util.List;
-\n"
- "
-\n"
- "import org.hibernate.HibernateException;
-\n"
- "import org.hibernate.Query;
-\n"
- "import org.hibernate.Session;
-\n"
- "import org.hibernate.SessionFactory;
-\n"
- "import org.hibernate.Transaction;
-\n"
- "import org.hibernate.cfg.Configuration;
-\n"
- "import org.hibernate.tool.hbm2ddl.SchemaExport;
-\n"
- "
-\n"
- "public class BlogMain {
-\n"
- "
-\n"
- " private SessionFactory _sessions;
-\n"
- "
-\n"
- " public void configure() throws HibernateException {
-\n"
- " _sessions = new Configuration()
-\n"
- " .addClass(Blog.class)
-\n"
- " .addClass(BlogItem.class)
-\n"
- " .buildSessionFactory();
-\n"
- " }
-\n"
- "
-\n"
- " public void exportTables() throws HibernateException {
-\n"
- " Configuration cfg = new Configuration()
-\n"
- " .addClass(Blog.class)
-\n"
- " .addClass(BlogItem.class);
-\n"
- " new SchemaExport(cfg).create(true, true);
-\n"
- " }
-\n"
- "
-\n"
- " public Blog createBlog(String name) throws HibernateException {
-\n"
- "
-\n"
- " Blog blog = new Blog();
-\n"
- " blog.setName(name);
-\n"
- " blog.setItems( new ArrayList() );
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " session.persist(blog);
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return blog;
-\n"
- " }
-\n"
- "
-\n"
- " public BlogItem createBlogItem(Blog blog, String title, String text)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " BlogItem item = new BlogItem();
-\n"
- " item.setTitle(title);
-\n"
- " item.setText(text);
-\n"
- " item.setBlog(blog);
-\n"
- " item.setDatetime( Calendar.getInstance() );
-\n"
- " blog.getItems().add(item);
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " session.update(blog);
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return item;
-\n"
- " }
-\n"
- "
-\n"
- " public BlogItem createBlogItem(Long blogid, String title, String text)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " BlogItem item = new BlogItem();
-\n"
- " item.setTitle(title);
-\n"
- " item.setText(text);
-\n"
- " item.setDatetime( Calendar.getInstance() );
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " Blog blog = (Blog) session.load(Blog.class, blogid);
-\n"
- " item.setBlog(blog);
-\n"
- " blog.getItems().add(item);
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return item;
-\n"
- " }
-\n"
- "
-\n"
- " public void updateBlogItem(BlogItem item, String text)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " item.setText(text);
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " session.update(item);
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " }
-\n"
- "
-\n"
- " public void updateBlogItem(Long itemid, String text)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " BlogItem item = (BlogItem) session.load(BlogItem.class, itemid);
-\n"
- " item.setText(text);
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " }
-\n"
- "
-\n"
- " public List listAllBlogNamesAndItemCounts(int max)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " List result = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " Query q = session.createQuery(
-\n"
- " \"select blog.id, blog.name, count(blogItem) \" +
-\n"
- " \"from Blog as blog \" +
-\n"
- " \"left outer join blog.items as blogItem \" +
-\n"
- " \"group by blog.name, blog.id \" +
-\n"
- " \"order by max(blogItem.datetime)\"
-\n"
- " );
-\n"
- " q.setMaxResults(max);
-\n"
- " result = q.list();
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return result;
-\n"
- " }
-\n"
- "
-\n"
- " public Blog getBlogAndAllItems(Long blogid)
-\n"
- " throws HibernateException {
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " Blog blog = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " Query q = session.createQuery(
-\n"
- " \"from Blog as blog \" +
-\n"
- " \"left outer join fetch blog.items \" +
-\n"
- " \"where blog.id = :blogid\"
-\n"
- " );
-\n"
- " q.setParameter(\"blogid\", blogid);
-\n"
- " blog = (Blog) q.uniqueResult();
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return blog;
-\n"
- " }
-\n"
- "
-\n"
- " public List listBlogsAndRecentItems() throws HibernateException {
-\n"
- "
-\n"
- " Session session = _sessions.openSession();
-\n"
- " Transaction tx = null;
-\n"
- " List result = null;
-\n"
- " try {
-\n"
- " tx = session.beginTransaction();
-\n"
- " Query q = session.createQuery(
-\n"
- " \"from Blog as blog \" +
-\n"
- " \"inner join blog.items as blogItem \" +
-\n"
- " \"where blogItem.datetime > :minDate\"
-\n"
- " );
-\n"
- "
-\n"
- " Calendar cal = Calendar.getInstance();
-\n"
- " cal.roll(Calendar.MONTH, false);
-\n"
- " q.setCalendar(\"minDate\", cal);
-\n"
- "
-\n"
- " result = q.list();
-\n"
- " tx.commit();
-\n"
- " }
-\n"
- " catch (HibernateException he) {
-\n"
- " if (tx!=null) tx.rollback();
-\n"
- " throw he;
-\n"
- " }
-\n"
- " finally {
-\n"
- " session.close();
-\n"
- " }
-\n"
- " return result;
-\n"
- " }
-\n"
- "}]]>"
+"以ä¸ã®ã¯ã©ã¹ã¯ã Hibernateã§ãããã®ã¯ã©ã¹ã使ã£ã¦ã§ãããã¨ãããã¤ã示ãã¦"
+"ãã¾ãã"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: programlisting
+#: example_weblog.xml:43
+#, no-c-format
+msgid ""
+"<![CDATA[package eg;\n"
+"\n"
+"import java.util.ArrayList;\n"
+"import java.util.Calendar;\n"
+"import java.util.Iterator;\n"
+"import java.util.List;\n"
+"\n"
+"import org.hibernate.HibernateException;\n"
+"import org.hibernate.Query;\n"
+"import org.hibernate.Session;\n"
+"import org.hibernate.SessionFactory;\n"
+"import org.hibernate.Transaction;\n"
+"import org.hibernate.cfg.Configuration;\n"
+"import org.hibernate.tool.hbm2ddl.SchemaExport;\n"
+"\n"
+"public class BlogMain {\n"
+" \n"
+" private SessionFactory _sessions;\n"
+" \n"
+" public void configure() throws HibernateException {\n"
+" _sessions = new Configuration()\n"
+" .addClass(Blog.class)\n"
+" .addClass(BlogItem.class)\n"
+" .buildSessionFactory();\n"
+" }\n"
+" \n"
+" public void exportTables() throws HibernateException {\n"
+" Configuration cfg = new Configuration()\n"
+" .addClass(Blog.class)\n"
+" .addClass(BlogItem.class);\n"
+" new SchemaExport(cfg).create(true, true);\n"
+" }\n"
+" \n"
+" public Blog createBlog(String name) throws HibernateException {\n"
+" \n"
+" Blog blog = new Blog();\n"
+" blog.setName(name);\n"
+" blog.setItems( new ArrayList() );\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" session.persist(blog);\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return blog;\n"
+" }\n"
+" \n"
+" public BlogItem createBlogItem(Blog blog, String title, String text)\n"
+" throws HibernateException {\n"
+" \n"
+" BlogItem item = new BlogItem();\n"
+" item.setTitle(title);\n"
+" item.setText(text);\n"
+" item.setBlog(blog);\n"
+" item.setDatetime( Calendar.getInstance() );\n"
+" blog.getItems().add(item);\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" session.update(blog);\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return item;\n"
+" }\n"
+" \n"
+" public BlogItem createBlogItem(Long blogid, String title, String text)\n"
+" throws HibernateException {\n"
+" \n"
+" BlogItem item = new BlogItem();\n"
+" item.setTitle(title);\n"
+" item.setText(text);\n"
+" item.setDatetime( Calendar.getInstance() );\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" Blog blog = (Blog) session.load(Blog.class, blogid);\n"
+" item.setBlog(blog);\n"
+" blog.getItems().add(item);\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return item;\n"
+" }\n"
+" \n"
+" public void updateBlogItem(BlogItem item, String text)\n"
+" throws HibernateException {\n"
+" \n"
+" item.setText(text);\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" session.update(item);\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" }\n"
+" \n"
+" public void updateBlogItem(Long itemid, String text)\n"
+" throws HibernateException {\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" BlogItem item = (BlogItem) session.load(BlogItem.class, "
+"itemid);\n"
+" item.setText(text);\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" }\n"
+" \n"
+" public List listAllBlogNamesAndItemCounts(int max)\n"
+" throws HibernateException {\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" List result = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" Query q = session.createQuery(\n"
+" \"select blog.id, blog.name, count(blogItem) \" +\n"
+" \"from Blog as blog \" +\n"
+" \"left outer join blog.items as blogItem \" +\n"
+" \"group by blog.name, blog.id \" +\n"
+" \"order by max(blogItem.datetime)\"\n"
+" );\n"
+" q.setMaxResults(max);\n"
+" result = q.list();\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return result;\n"
+" }\n"
+" \n"
+" public Blog getBlogAndAllItems(Long blogid)\n"
+" throws HibernateException {\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" Blog blog = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" Query q = session.createQuery(\n"
+" \"from Blog as blog \" +\n"
+" \"left outer join fetch blog.items \" +\n"
+" \"where blog.id = :blogid\"\n"
+" );\n"
+" q.setParameter(\"blogid\", blogid);\n"
+" blog = (Blog) q.uniqueResult();\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return blog;\n"
+" }\n"
+" \n"
+" public List listBlogsAndRecentItems() throws HibernateException {\n"
+" \n"
+" Session session = _sessions.openSession();\n"
+" Transaction tx = null;\n"
+" List result = null;\n"
+" try {\n"
+" tx = session.beginTransaction();\n"
+" Query q = session.createQuery(\n"
+" \"from Blog as blog \" +\n"
+" \"inner join blog.items as blogItem \" +\n"
+" \"where blogItem.datetime > :minDate\"\n"
+" );\n"
+"\n"
+" Calendar cal = Calendar.getInstance();\n"
+" cal.roll(Calendar.MONTH, false);\n"
+" q.setCalendar(\"minDate\", cal);\n"
+" \n"
+" result = q.list();\n"
+" tx.commit();\n"
+" }\n"
+" catch (HibernateException he) {\n"
+" if (tx!=null) tx.rollback();\n"
+" throw he;\n"
+" }\n"
+" finally {\n"
+" session.close();\n"
+" }\n"
+" return result;\n"
+" }\n"
+"}]]>"
+msgstr ""
Modified: core/trunk/documentation/manual/translations/ja-JP/content/filters.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/filters.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/filters.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,234 +1,286 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: filters.xml:5
+#, no-c-format
msgid "Filtering data"
msgstr "ãã¼ã¿ã®ãã£ã«ã¿ãªã³ã°"
-#: index.docbook:7
-msgid "Hibernate3 provides an innovative new approach to handling data with \"visibility\" rules. A <emphasis>Hibernate filter</emphasis> is a global, named, parameterized filter that may be enabled or disabled for a particular Hibernate session."
-msgstr "Hibernate3ã§ã¯ãå¯è¦æ§ãã«ã¼ã«ã«åºã¥ãã¦ãã¼ã¿ãæ±ãããã®ç»æçãªæ¹æ³ãç¨æãã¦ãã¾ãã <emphasis>Hibernate filter</emphasis> ã¯ã°ãã¼ãã«ã§ãååä»ãã§ããã©ã¡ã¼ã¿åããããã£ã«ã¿ã§ãã ããã¯Hibernateã»ãã·ã§ã³ãã¨ã«æå¹ç¡å¹ãåãæ¿ãããã¾ãã"
+#. Tag: para
+#: filters.xml:7
+#, no-c-format
+msgid ""
+"Hibernate3 provides an innovative new approach to handling data with "
+"\"visibility\" rules. A <emphasis>Hibernate filter</emphasis> is a global, "
+"named, parameterized filter that may be enabled or disabled for a particular "
+"Hibernate session."
+msgstr ""
+"Hibernate3ã§ã¯ãå¯è¦æ§ãã«ã¼ã«ã«åºã¥ãã¦ãã¼ã¿ãæ±ãããã®ç»æçãªæ¹æ³ãç¨æ"
+"ãã¦ãã¾ãã <emphasis>Hibernate filter</emphasis> ã¯ã°ãã¼ãã«ã§ãååä»ã"
+"ã§ããã©ã¡ã¼ã¿åããããã£ã«ã¿ã§ãã ããã¯Hibernateã»ãã·ã§ã³ãã¨ã«æå¹ç¡å¹"
+"ãåãæ¿ãããã¾ãã"
-#: index.docbook:14
+#. Tag: title
+#: filters.xml:14
+#, no-c-format
msgid "Hibernate filters"
msgstr "Hibernateã®ãã£ã«ã¿"
-#: index.docbook:16
-msgid "Hibernate3 adds the ability to pre-define filter criteria and attach those filters at both a class and a collection level. A filter criteria is the ability to define a restriction clause very similiar to the existing \"where\" attribute available on the class and various collection elements. Except these filter conditions can be parameterized. The application can then make the decision at runtime whether given filters should be enabled and what their parameter values should be. Filters can be used like database views, but parameterized inside the application."
-msgstr "Hibernate3ã¯ãã£ã«ã¿ã¯ã©ã¤ããªã¢ããããããå®ç¾©ãã ãããã®ãã£ã«ã¿ãã¯ã©ã¹ãã³ã¬ã¯ã·ã§ã³ã¬ãã«ã«å ããæ©è½ãå ãã¾ããã ãã£ã«ã¿ã¯ã©ã¤ããªã¢ã¯å¶ç´ç¯ãå®ç¾©ããæ©è½ã§ãã ãããã®ãã£ã«ã¿æ¡ä»¶ã¯ãã©ã¡ã¼ã¿åã§ããã¨ãããã¨ãé¤ãã ã¯ã©ã¹ããã¾ãã¾ãªã³ã¬ã¯ã·ã§ã³è¦ç´ ã§å©ç¨å¯è½ãªï½¢whereï½£å¥ã«é常ã«ããä¼¼ã¦ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãä¸ãããããã£ã«ã¿ãå¯è½ã«ãã¹ããã ããã¦ãã®ãã©ã¡ã¼ã¿å¤ãä½ã«ãã¹ãããå®è¡æã«æ±ºå®ãããã¨ãã§ãã¾ãã ãã£ã«ã¿ã¯ãã¼ã¿ãã¼ã¹ãã¥ã¼ã®ããã«ä½¿ç¨ããã¾ãããã¢ããªã±ã¼ã·ã§ã³å
ã§ã¯ãã©ã¡ã¼ã¿åããã¾ãã"
+#. Tag: para
+#: filters.xml:16
+#, no-c-format
+msgid ""
+"Hibernate3 adds the ability to pre-define filter criteria and attach those "
+"filters at both a class and a collection level. A filter criteria is the "
+"ability to define a restriction clause very similiar to the existing \"where"
+"\" attribute available on the class and various collection elements. Except "
+"these filter conditions can be parameterized. The application can then make "
+"the decision at runtime whether given filters should be enabled and what "
+"their parameter values should be. Filters can be used like database views, "
+"but parameterized inside the application."
+msgstr ""
+"Hibernate3ã¯ãã£ã«ã¿ã¯ã©ã¤ããªã¢ããããããå®ç¾©ãã ãããã®ãã£ã«ã¿ãã¯ã©ã¹"
+"ãã³ã¬ã¯ã·ã§ã³ã¬ãã«ã«å ããæ©è½ãå ãã¾ããã ãã£ã«ã¿ã¯ã©ã¤ããªã¢ã¯å¶ç´ç¯ã"
+"å®ç¾©ããæ©è½ã§ãã ãããã®ãã£ã«ã¿æ¡ä»¶ã¯ãã©ã¡ã¼ã¿åã§ããã¨ãããã¨ãé¤"
+"ãã ã¯ã©ã¹ããã¾ãã¾ãªã³ã¬ã¯ã·ã§ã³è¦ç´ ã§å©ç¨å¯è½ãªï½¢whereï½£å¥ã«é常ã«ããä¼¼ã¦"
+"ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãä¸ãããããã£ã«ã¿ãå¯è½ã«ãã¹ããã ããã¦ãã®"
+"ãã©ã¡ã¼ã¿å¤ãä½ã«ãã¹ãããå®è¡æã«æ±ºå®ãããã¨ãã§ãã¾ãã ãã£ã«ã¿ã¯ãã¼ã¿"
+"ãã¼ã¹ãã¥ã¼ã®ããã«ä½¿ç¨ããã¾ãããã¢ããªã±ã¼ã·ã§ã³å
ã§ã¯ãã©ã¡ã¼ã¿åããã¾"
+"ãã"
-#: index.docbook:26
-msgid "In order to use filters, they must first be defined and then attached to the appropriate mapping elements. To define a filter, use the <literal><filter-def/></literal> element within a <literal><hibernate-mapping/></literal> element:"
-msgstr "ãã£ã«ã¿ã使ãããã«ã¯ã¾ããé©åãªãããã³ã°è¦ç´ ã«å®ç¾©ã追å ããªãã¦ã¯ãªãã¾ããã ãã£ã«ã¿ãå®ç¾©ããããã«ã¯ã <literal><hibernate-mapping/></literal> è¦ç´ å
ã§ <literal><filter-def/></literal> è¦ç´ ã使ç¨ãã¾ããï¼"
+#. Tag: para
+#: filters.xml:26
+#, no-c-format
+msgid ""
+"In order to use filters, they must first be defined and then attached to the "
+"appropriate mapping elements. To define a filter, use the <literal><"
+"filter-def/></literal> element within a <literal><hibernate-mapping/"
+"></literal> element:"
+msgstr ""
+"ãã£ã«ã¿ã使ãããã«ã¯ã¾ããé©åãªãããã³ã°è¦ç´ ã«å®ç¾©ã追å ããªãã¦ã¯ãªãã¾"
+"ããã ãã£ã«ã¿ãå®ç¾©ããããã«ã¯ã <literal><hibernate-mapping/></"
+"literal> è¦ç´ å
ã§ <literal><filter-def/></literal> è¦ç´ ã使ç¨ãã¾ããï¼"
-#: index.docbook:32
+#. Tag: programlisting
+#: filters.xml:32
+#, no-c-format
msgid ""
- "<![CDATA[<filter-def name=\"myFilter\">\n"
- " <filter-param name=\"myFilterParam\" type=\"string\"/>\n"
- "</filter-def>]]>"
+"<![CDATA[<filter-def name=\"myFilter\">\n"
+" <filter-param name=\"myFilterParam\" type=\"string\"/>\n"
+"</filter-def>]]>"
msgstr ""
- "<![CDATA[<filter-def name=\"myFilter\">
-\n"
- " <filter-param name=\"myFilterParam\" type=\"string\"/>
-\n"
- "</filter-def>]]>"
-#: index.docbook:34
+#. Tag: para
+#: filters.xml:34
+#, no-c-format
msgid "Then, this filter can be attached to a class:"
msgstr "ãããã¦ãã£ã«ã¿ã¯ã¯ã©ã¹ã¸ã¨çµã³ä»ãããã¾ããï¼"
-#: index.docbook:38
+#. Tag: programlisting
+#: filters.xml:38
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"myClass\" ...>\n"
- " ...\n"
- " <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"myClass\" ...>\n"
+" ...\n"
+" <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN"
+"\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"myClass\" ...>
-\n"
- " ...
-\n"
- " <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN\"/>
-\n"
- "</class>]]>"
-#: index.docbook:40
+#. Tag: para
+#: filters.xml:40
+#, no-c-format
msgid "or, to a collection:"
msgstr "ã¾ããã³ã¬ã¯ã·ã§ã³ã«å¯¾ãã¦ã¯æ¬¡ã®ããã«ãªãã¾ããï¼"
-#: index.docbook:44
+#. Tag: programlisting
+#: filters.xml:44
+#, no-c-format
msgid ""
- "<![CDATA[<set ...>\n"
- " <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN\"/>\n"
- "</set>]]>"
+"<![CDATA[<set ...>\n"
+" <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN"
+"\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set ...>
-\n"
- " <filter name=\"myFilter\" condition=\":myFilterParam = MY_FILTERED_COLUMN\"/>
-\n"
- "</set>]]>"
-#: index.docbook:46
+#. Tag: para
+#: filters.xml:46
+#, no-c-format
msgid "or, even to both (or multiples of each) at the same time."
msgstr "ã©ã¡ãã«å¯¾ãã¦ã(ã¾ãããããããè¤æ°)åæã«è¨å®ãããã¨ãã§ãã¾ãã"
-#: index.docbook:50
-msgid "The methods on <literal>Session</literal> are: <literal>enableFilter(String filterName)</literal>, <literal>getEnabledFilter(String filterName)</literal>, and <literal>disableFilter(String filterName)</literal>. By default, filters are <emphasis>not</emphasis> enabled for a given session; they must be explcitly enabled through use of the <literal>Session.enabledFilter()</literal> method, which returns an instance of the <literal>Filter</literal> interface. Using the simple filter defined above, this would look like:"
-msgstr "<literal>Session</literal> ä¸ã®ã¡ã½ãã㯠<literal>enableFilter(String filterName)</literal>, <literal>getEnabledFilter(String filterName)</literal>, <literal>disableFilter(String filterName)</literal> ã§ãã ããã©ã«ãã§ã¯ããã£ã«ã¿ã¯ä¸ããããã»ãã·ã§ã³ã«å¯¾ãã¦ä½¿ç¨ <emphasis>ã§ãã¾ãã</emphasis> ã <literal>Filter</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿ãå¤ã¨ãã <literal>Session.enabledFilter()</literal> ã¡ã½ããã使ããã¨ã§ã ãã£ã«ã¿ã¯æç¤ºçã«ä½¿ç¨å¯è½ã¨ãªãã¾ãã ä¸ã§å®ç¾©ããåç´ãªãã£ã«ã¿ã®ä½¿ç¨ã¯ããã®ããã«ãªãã¾ããï¼"
+#. Tag: para
+#: filters.xml:50
+#, no-c-format
+msgid ""
+"The methods on <literal>Session</literal> are: <literal>enableFilter(String "
+"filterName)</literal>, <literal>getEnabledFilter(String filterName)</"
+"literal>, and <literal>disableFilter(String filterName)</literal>. By "
+"default, filters are <emphasis>not</emphasis> enabled for a given session; "
+"they must be explcitly enabled through use of the <literal>Session."
+"enabledFilter()</literal> method, which returns an instance of the "
+"<literal>Filter</literal> interface. Using the simple filter defined above, "
+"this would look like:"
+msgstr ""
+"<literal>Session</literal> ä¸ã®ã¡ã½ãã㯠<literal>enableFilter(String "
+"filterName)</literal>, <literal>getEnabledFilter(String filterName)</"
+"literal>, <literal>disableFilter(String filterName)</literal> ã§ãã ããã©ã«"
+"ãã§ã¯ããã£ã«ã¿ã¯ä¸ããããã»ãã·ã§ã³ã«å¯¾ãã¦ä½¿ç¨ <emphasis>ã§ãã¾ãã</"
+"emphasis> ã <literal>Filter</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿ãå¤ã¨ãã "
+"<literal>Session.enabledFilter()</literal> ã¡ã½ããã使ããã¨ã§ã ãã£ã«ã¿ã¯"
+"æç¤ºçã«ä½¿ç¨å¯è½ã¨ãªãã¾ãã ä¸ã§å®ç¾©ããåç´ãªãã£ã«ã¿ã®ä½¿ç¨ã¯ããã®ããã«ãª"
+"ãã¾ããï¼"
-#: index.docbook:59
-msgid "<![CDATA[session.enableFilter(\"myFilter\").setParameter(\"myFilterParam\", \"some-value\");]]>"
-msgstr "<![CDATA[session.enableFilter(\"myFilter\").setParameter(\"myFilterParam\", \"some-value\");]]>"
+#. Tag: programlisting
+#: filters.xml:59
+#, no-c-format
+msgid ""
+"<![CDATA[session.enableFilter(\"myFilter\").setParameter(\"myFilterParam\", "
+"\"some-value\");]]>"
+msgstr ""
-#: index.docbook:61
-msgid "Note that methods on the org.hibernate.Filter interface do allow the method-chaining common to much of Hibernate."
-msgstr "org.hibernate.Filterã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¡ã½ããã¯ã Hibernateã®å¤ãã«å
±éãã¦ããã¡ã½ããé£éã許ãã¦ãããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: filters.xml:61
+#, no-c-format
+msgid ""
+"Note that methods on the org.hibernate.Filter interface do allow the method-"
+"chaining common to much of Hibernate."
+msgstr ""
+"org.hibernate.Filterã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¡ã½ããã¯ã Hibernateã®å¤ãã«å
±éãã¦"
+"ããã¡ã½ããé£éã許ãã¦ãããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:65
-msgid "A full example, using temporal data with an effective record date pattern:"
+#. Tag: para
+#: filters.xml:65
+#, no-c-format
+msgid ""
+"A full example, using temporal data with an effective record date pattern:"
msgstr "æå¹ãªã¬ã³ã¼ããã¼ã¿ãã¿ã¼ã³ãæã¤ä¸æãã¼ã¿ã使ã£ãå®å
¨ãªä¾ã§ãï¼"
-#: index.docbook:69
+#. Tag: programlisting
+#: filters.xml:69
+#, no-c-format
msgid ""
- "<![CDATA[<filter-def name=\"effectiveDate\">\n"
- " <filter-param name=\"asOfDate\" type=\"date\"/>\n"
- "</filter-def>\n"
- "\n"
- "<class name=\"Employee\" ...>\n"
- "...\n"
- " <many-to-one name=\"department\" column=\"dept_id\" class=\"Department\"/>\n"
- " <property name=\"effectiveStartDate\" type=\"date\" column=\"eff_start_dt\"/>\n"
- " <property name=\"effectiveEndDate\" type=\"date\" column=\"eff_end_dt\"/>\n"
- "...\n"
- " <!--\n"
- " Note that this assumes non-terminal records have an eff_end_dt set to\n"
- " a max db date for simplicity-sake\n"
- " -->\n"
- " <filter name=\"effectiveDate\"\n"
- " condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"Department\" ...>\n"
- "...\n"
- " <set name=\"employees\" lazy=\"true\">\n"
- " <key column=\"dept_id\"/>\n"
- " <one-to-many class=\"Employee\"/>\n"
- " <filter name=\"effectiveDate\"\n"
- " condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/>\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<filter-def name=\"effectiveDate\">\n"
+" <filter-param name=\"asOfDate\" type=\"date\"/>\n"
+"</filter-def>\n"
+"\n"
+"<class name=\"Employee\" ...>\n"
+"...\n"
+" <many-to-one name=\"department\" column=\"dept_id\" class=\"Department\"/"
+">\n"
+" <property name=\"effectiveStartDate\" type=\"date\" column=\"eff_start_dt"
+"\"/>\n"
+" <property name=\"effectiveEndDate\" type=\"date\" column=\"eff_end_dt\"/"
+">\n"
+"...\n"
+" <!--\n"
+" Note that this assumes non-terminal records have an eff_end_dt set "
+"to\n"
+" a max db date for simplicity-sake\n"
+" -->\n"
+" <filter name=\"effectiveDate\"\n"
+" condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"Department\" ...>\n"
+"...\n"
+" <set name=\"employees\" lazy=\"true\">\n"
+" <key column=\"dept_id\"/>\n"
+" <one-to-many class=\"Employee\"/>\n"
+" <filter name=\"effectiveDate\"\n"
+" condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/"
+">\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<filter-def name=\"effectiveDate\">
-\n"
- " <filter-param name=\"asOfDate\" type=\"date\"/>
-\n"
- "</filter-def>
-\n"
- "
-\n"
- "<class name=\"Employee\" ...>
-\n"
- "...
-\n"
- " <many-to-one name=\"department\" column=\"dept_id\" class=\"Department\"/>
-\n"
- " <property name=\"effectiveStartDate\" type=\"date\" column=\"eff_start_dt\"/>
-\n"
- " <property name=\"effectiveEndDate\" type=\"date\" column=\"eff_end_dt\"/>
-\n"
- "...
-\n"
- " <!--
-\n"
- " Note that this assumes non-terminal records have an eff_end_dt set to
-\n"
- " a max db date for simplicity-sake
-\n"
- "
-\n"
- "
-\n"
- " -->
-\n"
- " <filter name=\"effectiveDate\"
-\n"
- " condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/>
-\n"
- "</class>
-\n"
- "
-\n"
- "<class name=\"Department\" ...>
-\n"
- "...
-\n"
- " <set name=\"employees\" lazy=\"true\">
-\n"
- " <key column=\"dept_id\"/>
-\n"
- " <one-to-many class=\"Employee\"/>
-\n"
- " <filter name=\"effectiveDate\"
-\n"
- " condition=\":asOfDate BETWEEN eff_start_dt and eff_end_dt\"/>
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:71
-msgid "Then, in order to ensure that you always get back currently effective records, simply enable the filter on the session prior to retrieving employee data:"
-msgstr "常ã«ç¾å¨ã®æå¹ã¬ã³ã¼ããè¿å´ãããã¨ãä¿è¨¼ããããã«ã åç´ã«ã社å¡ãã¼ã¿ã®æ¤ç´¢ããåã«ã»ãã·ã§ã³ä¸ã®ãã£ã«ã¿ãæå¹ã«ãã¾ãã"
-
-#: index.docbook:76
+#. Tag: para
+#: filters.xml:71
+#, no-c-format
msgid ""
- "<![CDATA[Session session = ...;\n"
- "session.enabledFilter(\"effectiveDate\").setParameter(\"asOfDate\", new Date());\n"
- "List results = session.createQuery(\"from Employee as e where e.salary > :targetSalary\")\n"
- " .setLong(\"targetSalary\", new Long(1000000))\n"
- " .list();\n"
- "]]>"
+"Then, in order to ensure that you always get back currently effective "
+"records, simply enable the filter on the session prior to retrieving "
+"employee data:"
msgstr ""
- "<![CDATA[Session session = ...;
-\n"
- "session.enabledFilter(\"effectiveDate\").setParameter(\"asOfDate\", new Date());
-\n"
- "List results = session.createQuery(\"from Employee as e where e.salary > :targetSalary\")
-\n"
- " .setLong(\"targetSalary\", new Long(1000000))
-\n"
- " .list();
-\n"
- "]]>"
+"常ã«ç¾å¨ã®æå¹ã¬ã³ã¼ããè¿å´ãããã¨ãä¿è¨¼ããããã«ã åç´ã«ã社å¡ãã¼ã¿ã®æ¤"
+"ç´¢ããåã«ã»ãã·ã§ã³ä¸ã®ãã£ã«ã¿ãæå¹ã«ãã¾ãã"
-#: index.docbook:78
-msgid "In the HQL above, even though we only explicitly mentioned a salary constraint on the results, because of the enabled filter the query will return only currently active employees who have a salary greater than a million dollars."
-msgstr "ä¸è¨ã®HQLã§ã¯ãçµæã®çµ¦æã®å¶ç´ã«ã¤ãã¦æç¤ºçã«è§¦ããã ãã§ããã æå¹ã«ãªã£ã¦ãããã£ã«ã¿ã®ãããã§ããã®ã¯ã¨ãªã¯çµ¦æã100ä¸ãã«ä»¥ä¸ã®ç¾å½¹ã®ç¤¾å¡ã ããè¿ãã¾ãã"
-
-#: index.docbook:84
-msgid "Note: if you plan on using filters with outer joining (either through HQL or load fetching) be careful of the direction of the condition expression. Its safest to set this up for left outer joining; in general, place the parameter first followed by the column name(s) after the operator."
-msgstr "(HQLããã¼ããã§ããã§ï¼å¤é¨çµåãæã¤ãã£ã«ã¿ã使ãã¤ãããªãã æ¡ä»¶å¼ã®æ¹åã«æ³¨æãã¦ãã ããã ããã¯å·¦å¤é¨çµåã®ããã«è¨å®ããã®ãæãå®å
¨ã§ãã ä¸è¬çã«ãæ¼ç®åã®å¾ã«ã©ã åã«ç¶ãã¦æåã®ãã©ã¡ã¼ã¿ãé
ç½®ãã¦ãã ããã"
-
-#: index.docbook:91
-msgid "After being defined a filter might be attached to multiple entities and/or collections each with its own condition. That can be tedious when the conditions are the same each time. Thus <literal><filter-def/></literal> allows defining a default condition, either as an attribute or CDATA:"
+#. Tag: programlisting
+#: filters.xml:76
+#, no-c-format
+msgid ""
+"<![CDATA[Session session = ...;\n"
+"session.enabledFilter(\"effectiveDate\").setParameter(\"asOfDate\", new Date"
+"());\n"
+"List results = session.createQuery(\"from Employee as e where e.salary > :"
+"targetSalary\")\n"
+" .setLong(\"targetSalary\", new Long(1000000))\n"
+" .list();\n"
+"]]>"
msgstr ""
-#: index.docbook:98
+#. Tag: para
+#: filters.xml:78
+#, no-c-format
msgid ""
- "<![CDATA[<filter-def name=\"myFilter\" condition=\"abc > xyz\">...</filter-def>\n"
- "<filter-def name=\"myOtherFilter\">abc=xyz</filter-def>]]>"
+"In the HQL above, even though we only explicitly mentioned a salary "
+"constraint on the results, because of the enabled filter the query will "
+"return only currently active employees who have a salary greater than a "
+"million dollars."
msgstr ""
+"ä¸è¨ã®HQLã§ã¯ãçµæã®çµ¦æã®å¶ç´ã«ã¤ãã¦æç¤ºçã«è§¦ããã ãã§ããã æå¹ã«ãªã£"
+"ã¦ãããã£ã«ã¿ã®ãããã§ããã®ã¯ã¨ãªã¯çµ¦æã100ä¸ãã«ä»¥ä¸ã®ç¾å½¹ã®ç¤¾å¡ã ããè¿"
+"ãã¾ãã"
-#: index.docbook:100
-msgid "This default condition will then be used whenever the filter is attached to something without specifying a condition. Note that this means you can give a specific condition as part of the attachment of the filter which overrides the default condition in that particular case."
+#. Tag: para
+#: filters.xml:84
+#, no-c-format
+msgid ""
+"Note: if you plan on using filters with outer joining (either through HQL or "
+"load fetching) be careful of the direction of the condition expression. Its "
+"safest to set this up for left outer joining; in general, place the "
+"parameter first followed by the column name(s) after the operator."
msgstr ""
+"(HQLããã¼ããã§ããã§ï¼å¤é¨çµåãæã¤ãã£ã«ã¿ã使ãã¤ãããªãã æ¡ä»¶å¼ã®æ¹å"
+"ã«æ³¨æãã¦ãã ããã ããã¯å·¦å¤é¨çµåã®ããã«è¨å®ããã®ãæãå®å
¨ã§ãã ä¸è¬"
+"çã«ãæ¼ç®åã®å¾ã«ã©ã åã«ç¶ãã¦æåã®ãã©ã¡ã¼ã¿ãé
ç½®ãã¦ãã ããã"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#. Tag: para
+#: filters.xml:91
+#, no-c-format
+msgid ""
+"After being defined a filter might be attached to multiple entities and/or "
+"collections each with its own condition. That can be tedious when the "
+"conditions are the same each time. Thus <literal><filter-def/></"
+"literal> allows defining a default condition, either as an attribute or "
+"CDATA:"
+msgstr "translator-credits"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#. Tag: programlisting
+#: filters.xml:98
+#, no-c-format
+msgid ""
+"<![CDATA[<filter-def name=\"myFilter\" condition=\"abc > xyz\">...</filter-"
+"def>\n"
+"<filter-def name=\"myOtherFilter\">abc=xyz</filter-def>]]>"
+msgstr ""
+#. Tag: para
+#: filters.xml:100
+#, no-c-format
+msgid ""
+"This default condition will then be used whenever the filter is attached to "
+"something without specifying a condition. Note that this means you can give "
+"a specific condition as part of the attachment of the filter which overrides "
+"the default condition in that particular case."
+msgstr ""
Modified: core/trunk/documentation/manual/translations/ja-JP/content/inheritance_mapping.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/inheritance_mapping.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/inheritance_mapping.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,642 +1,842 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: inheritance_mapping.xml:5
+#, no-c-format
msgid "Inheritance Mapping"
msgstr "ç¶æ¿ãããã³ã°"
-#: index.docbook:8
+#. Tag: title
+#: inheritance_mapping.xml:8
+#, no-c-format
msgid "The Three Strategies"
msgstr "3ã¤ã®æ¦ç¥"
-#: index.docbook:10
+#. Tag: para
+#: inheritance_mapping.xml:10
+#, no-c-format
msgid "Hibernate supports the three basic inheritance mapping strategies:"
msgstr "Hibernateã¯3ã¤ã®åºæ¬çãªç¶æ¿ã®ãããã³ã°æ¦ç¥ããµãã¼ããã¾ãã"
-#: index.docbook:16
+#. Tag: para
+#: inheritance_mapping.xml:16
+#, no-c-format
msgid "table per class hierarchy"
-msgstr "<para>ã¯ã©ã¹é層ãã¨ã®ãã¼ãã«ï¼table-per-class-hierarchyï¼</para>"
+msgstr "ã¯ã©ã¹é層ãã¨ã®ãã¼ãã«ï¼table-per-class-hierarchyï¼"
-#: index.docbook:21
+#. Tag: para
+#: inheritance_mapping.xml:21
+#, fuzzy, no-c-format
msgid "<para>table per subclass</para>"
-msgstr "<para>ãµãã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-subclassï¼</para>"
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ãµãã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-subclassï¼\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"table per subclass"
-#: index.docbook:26
+#. Tag: para
+#: inheritance_mapping.xml:26
+#, no-c-format
msgid "table per concrete class"
-msgstr "<para>å
·è±¡ã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-concrete-classï¼</para>"
+msgstr "å
·è±¡ã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-concrete-classï¼"
-#: index.docbook:32
-msgid "In addition, Hibernate supports a fourth, slightly different kind of polymorphism:"
-msgstr "å ãã¦4ã¤ç®ã«ãHibernateã¯ãããã«ç°ãªãæ§è³ªãæã£ãããªã¢ã¼ãã£ãºã ããµãã¼ããã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:32
+#, no-c-format
+msgid ""
+"In addition, Hibernate supports a fourth, slightly different kind of "
+"polymorphism:"
+msgstr ""
+"å ãã¦4ã¤ç®ã«ãHibernateã¯ãããã«ç°ãªãæ§è³ªãæã£ãããªã¢ã¼ãã£ãºã ããµãã¼"
+"ããã¾ãã"
-#: index.docbook:39
+#. Tag: para
+#: inheritance_mapping.xml:39
+#, no-c-format
msgid "implicit polymorphism"
msgstr "æé»çããªã¢ã¼ãã£ãºã "
-#: index.docbook:45
-msgid "It is possible to use different mapping strategies for different branches of the same inheritance hierarchy, and then make use of implicit polymorphism to achieve polymorphism across the whole hierarchy. However, Hibernate does not support mixing <literal><subclass></literal>, and <literal><joined-subclass></literal> and <literal><union-subclass></literal> mappings under the same root <literal><class></literal> element. It is possible to mix together the table per hierarchy and table per subclass strategies, under the the same <literal><class></literal> element, by combining the <literal><subclass></literal> and <literal><join></literal> elements (see below)."
-msgstr "åä¸ã®ç¶æ¿é層ã®ç°ãªããã©ã³ãã«å¯¾ãã¦ç°ãªããããã³ã°æ¦ç¥ã使ããã¨ãã§ãã¾ãã ãã®å ´åã«ã¯å
¨ä½ã®éå±¤ã«æ¸¡ãããªã¢ã¼ãã£ãºã ãå®ç¾ããããã«æé»çããªã¢ã¼ãã£ãºã ã使ç¨ãã¾ãã ããããHibernateã¯åãã«ã¼ã <literal><class></literal> è¦ç´ å
ã§ <literal><subclass></literal> ãããã³ã°ã<literal><joined-subclass></literal> ãããã³ã°ã <literal><union-subclass></literal> ãããã³ã°ã®åæä½¿ç¨ããµãã¼ããã¦ãã¾ããã <literal><subclass></literal> è¦ç´ 㨠<literal><join></literal> è¦ç´ ãçµã¿åããããã¨ã§ã åä¸ <literal><class></literal> è¦ç´ å
ã§ã® table-per-hierarchy æ¦ç¥ã¨ table-per-subclass æ¦ç¥ã®åæä½¿ç¨ã¯å¯è½ã§ããæ¬¡ã®ä¾ãè¦ã¦ãã ããã"
+#. Tag: para
+#: inheritance_mapping.xml:45
+#, no-c-format
+msgid ""
+"It is possible to use different mapping strategies for different branches of "
+"the same inheritance hierarchy, and then make use of implicit polymorphism "
+"to achieve polymorphism across the whole hierarchy. However, Hibernate does "
+"not support mixing <literal><subclass></literal>, and <literal><"
+"joined-subclass></literal> and <literal><union-subclass></literal> "
+"mappings under the same root <literal><class></literal> element. It is "
+"possible to mix together the table per hierarchy and table per subclass "
+"strategies, under the the same <literal><class></literal> element, by "
+"combining the <literal><subclass></literal> and <literal><join></"
+"literal> elements (see below)."
+msgstr ""
+"åä¸ã®ç¶æ¿é層ã®ç°ãªããã©ã³ãã«å¯¾ãã¦ç°ãªããããã³ã°æ¦ç¥ã使ããã¨ãã§ãã¾"
+"ãã ãã®å ´åã«ã¯å
¨ä½ã®éå±¤ã«æ¸¡ãããªã¢ã¼ãã£ãºã ãå®ç¾ããããã«æé»çããª"
+"ã¢ã¼ãã£ãºã ã使ç¨ãã¾ãã ããããHibernateã¯åãã«ã¼ã <literal><"
+"class></literal> è¦ç´ å
ã§ <literal><subclass></literal> ãããã³ã°ã"
+"<literal><joined-subclass></literal> ãããã³ã°ã <literal><union-"
+"subclass></literal> ãããã³ã°ã®åæä½¿ç¨ããµãã¼ããã¦ãã¾ããã "
+"<literal><subclass></literal> è¦ç´ 㨠<literal><join></literal> è¦"
+"ç´ ãçµã¿åããããã¨ã§ã åä¸ <literal><class></literal> è¦ç´ å
ã§ã® "
+"table-per-hierarchy æ¦ç¥ã¨ table-per-subclass æ¦ç¥ã®åæä½¿ç¨ã¯å¯è½ã§ããæ¬¡ã®"
+"ä¾ãè¦ã¦ãã ããã"
-#: index.docbook:59
-msgid "It is possible to define <literal>subclass</literal>, <literal>union-subclass</literal>, and <literal>joined-subclass</literal> mappings in separate mapping documents, directly beneath <literal>hibernate-mapping</literal>. This allows you to extend a class hierachy just by adding a new mapping file. You must specify an <literal>extends</literal> attribute in the subclass mapping, naming a previously mapped superclass. Note: Previously this feature made the ordering of the mapping documents important. Since Hibernate3, the ordering of mapping files does not matter when using the extends keyword. The ordering inside a single mapping file still needs to be defined as superclasses before subclasses."
-msgstr "<literal>subclass</literal>, <literal>union-subclass</literal> 㨠<literal>joined-subclass</literal> ãããã³ã°ãè¤æ°ã®ãããã³ã°ããã¥ã¡ã³ãã«å®ç¾©ãããã¨ãåºæ¥ã <literal>hibernate-mapping</literal> ã®ç´ä¸ã«é
ç½®ãã¾ãã ããã¯æ°ãããããã³ã°ãã¡ã¤ã«ã追å ããã ãã§ãã¯ã©ã¹éå±¤ãæ¡å¼µã§ããã¨ãããã¨ã§ãã ããããããããããã¹ã¼ãã¼ã¯ã©ã¹ãæå®ãã¦ããµãã¯ã©ã¹ãããã³ã°ã« <literal>extends</literal> 屿§ãè¨è¿°ããªããã°ãªãã¾ããã æ³¨æï¼ãã®ç¹å¾´ã«ããã以åã¯ãããã³ã°ã»ããã¥ã¡ã³ãã®é çªãéè¦ã§ããã Hibernate3ããã¯ãextendsãã¼ã¯ã¼ãã使ãå ´åããããã³ã°ããã¥ã¡ã³ãã®é çªã¯åé¡ã«ãªãã¾ããã ï¼ã¤ã®ãããã³ã°ãã¡ã¤ã«å
ã§é çªä»ããè¡ãã¨ãã¯ã ä¾ç¶ã¨ãã¦ããµãã¯ã©ã¹ãå®ç¾©ããåã«ã¹ã¼ãã¼ã¯ã©ã¹ãå®ç¾©ã!
ãå¿
è¦ãããã¾ãã)"
+#. Tag: para
+#: inheritance_mapping.xml:59
+#, no-c-format
+msgid ""
+"It is possible to define <literal>subclass</literal>, <literal>union-"
+"subclass</literal>, and <literal>joined-subclass</literal> mappings in "
+"separate mapping documents, directly beneath <literal>hibernate-mapping</"
+"literal>. This allows you to extend a class hierachy just by adding a new "
+"mapping file. You must specify an <literal>extends</literal> attribute in "
+"the subclass mapping, naming a previously mapped superclass. Note: "
+"Previously this feature made the ordering of the mapping documents "
+"important. Since Hibernate3, the ordering of mapping files does not matter "
+"when using the extends keyword. The ordering inside a single mapping file "
+"still needs to be defined as superclasses before subclasses."
+msgstr ""
+"<literal>subclass</literal>, <literal>union-subclass</literal> 㨠"
+"<literal>joined-subclass</literal> ãããã³ã°ãè¤æ°ã®ãããã³ã°ããã¥ã¡ã³ãã«"
+"å®ç¾©ãããã¨ãåºæ¥ã <literal>hibernate-mapping</literal> ã®ç´ä¸ã«é
ç½®ãã¾"
+"ãã ããã¯æ°ãããããã³ã°ãã¡ã¤ã«ã追å ããã ãã§ãã¯ã©ã¹éå±¤ãæ¡å¼µã§ããã¨"
+"ãããã¨ã§ãã ããããããããããã¹ã¼ãã¼ã¯ã©ã¹ãæå®ãã¦ããµãã¯ã©ã¹ããã"
+"ã³ã°ã« <literal>extends</literal> 屿§ãè¨è¿°ããªããã°ãªãã¾ããã æ³¨æï¼ãã®"
+"ç¹å¾´ã«ããã以åã¯ãããã³ã°ã»ããã¥ã¡ã³ãã®é çªãéè¦ã§ããã Hibernate3ãã"
+"ã¯ãextendsãã¼ã¯ã¼ãã使ãå ´åããããã³ã°ããã¥ã¡ã³ãã®é çªã¯åé¡ã«ãªãã¾ã"
+"ãã ï¼ã¤ã®ãããã³ã°ãã¡ã¤ã«å
ã§é çªä»ããè¡ãã¨ãã¯ã ä¾ç¶ã¨ãã¦ããµãã¯ã©"
+"ã¹ãå®ç¾©ããåã«ã¹ã¼ãã¼ã¯ã©ã¹ãå®ç¾©ããå¿
è¦ãããã¾ãã)"
-#: index.docbook:70
+#. Tag: programlisting
+#: inheritance_mapping.xml:70
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- " <hibernate-mapping>\n"
- " <subclass name=\"DomesticCat\" extends=\"Cat\" discriminator-value=\"D\">\n"
- " <property name=\"name\" type=\"string\"/>\n"
- " </subclass>\n"
- " </hibernate-mapping>]]>"
+"<![CDATA[\n"
+" <hibernate-mapping>\n"
+" <subclass name=\"DomesticCat\" extends=\"Cat\" discriminator-value=\"D"
+"\">\n"
+" <property name=\"name\" type=\"string\"/>\n"
+" </subclass>\n"
+" </hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[\n"
- " <hibernate-mapping>\n"
- " <subclass name=\"DomesticCat\" extends=\"Cat\" discriminator-value=\"D\">\n"
- " <property name=\"name\" type=\"string\"/>\n"
- " </subclass>\n"
- " </hibernate-mapping>]]>"
-#: index.docbook:74
+#. Tag: title
+#: inheritance_mapping.xml:74
+#, no-c-format
msgid "Table per class hierarchy"
-msgstr "<title>ã¯ã©ã¹é層ãã¨ã®ãã¼ãã«ï¼table-per-class-hierarchyï¼</title>"
+msgstr "ã¯ã©ã¹é層ãã¨ã®ãã¼ãã«ï¼table-per-class-hierarchyï¼"
-#: index.docbook:76
-msgid "Suppose we have an interface <literal>Payment</literal>, with implementors <literal>CreditCardPayment</literal>, <literal>CashPayment</literal>, <literal>ChequePayment</literal>. The table per hierarchy mapping would look like:"
-msgstr "ä¾ãã°ãã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>Payment</literal> ã¨ããããå®è£
ãã <literal>CreditCardPayment</literal>ã<literal>CashPayment</literal>ã <literal>ChequePayment</literal> ãããã¨ãã¾ããé層ãã¨ã®ãã¼ãã«ãããã³ã°ã¯ 以ä¸ã®ããã«ãªãã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:76
+#, no-c-format
+msgid ""
+"Suppose we have an interface <literal>Payment</literal>, with implementors "
+"<literal>CreditCardPayment</literal>, <literal>CashPayment</literal>, "
+"<literal>ChequePayment</literal>. The table per hierarchy mapping would look "
+"like:"
+msgstr ""
+"ä¾ãã°ãã¤ã³ã¿ã¼ãã§ã¤ã¹ <literal>Payment</literal> ã¨ããããå®è£
ãã "
+"<literal>CreditCardPayment</literal>ã<literal>CashPayment</literal>ã "
+"<literal>ChequePayment</literal> ãããã¨ãã¾ããé層ãã¨ã®ãã¼ãã«ãããã³ã°"
+"㯠以ä¸ã®ããã«ãªãã¾ãã"
-#: index.docbook:83
+#. Tag: programlisting
+#: inheritance_mapping.xml:83
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " ...\n"
- " </subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
+" <property name=\"amount\" column=\"AMOUNT\"/>\n"
+" ...\n"
+" <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
+" <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
+" ...\n"
+" </subclass>\n"
+" <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
+" ...\n"
+" </subclass>\n"
+" <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
+" ...\n"
+" </subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " ...\n"
- " </subclass>\n"
- "</class>]]>"
-#: index.docbook:85
-msgid "Exactly one table is required. There is one big limitation of this mapping strategy: columns declared by the subclasses, such as <literal>CCTYPE</literal>, may not have <literal>NOT NULL</literal> constraints."
-msgstr "ã¡ããã©ä¸ã¤ã®ãã¼ãã«ãå¿
è¦ã§ãã ãã®ãããã³ã°æ¦ç¥ã«ã¯ä¸ã¤å¤§ããªå¶éãããã¾ãã <literal>CCTYPE</literal> ã®ãããªããµãã¯ã©ã¹ã§å®£è¨ãããã«ã©ã 㯠<literal>NOT NULL</literal> å¶ç´ãæã¦ã¾ããã"
+#. Tag: para
+#: inheritance_mapping.xml:85
+#, no-c-format
+msgid ""
+"Exactly one table is required. There is one big limitation of this mapping "
+"strategy: columns declared by the subclasses, such as <literal>CCTYPE</"
+"literal>, may not have <literal>NOT NULL</literal> constraints."
+msgstr ""
+"ã¡ããã©ä¸ã¤ã®ãã¼ãã«ãå¿
è¦ã§ãã ãã®ãããã³ã°æ¦ç¥ã«ã¯ä¸ã¤å¤§ããªå¶éããã"
+"ã¾ãã <literal>CCTYPE</literal> ã®ãããªããµãã¯ã©ã¹ã§å®£è¨ãããã«ã©ã 㯠"
+"<literal>NOT NULL</literal> å¶ç´ãæã¦ã¾ããã"
-#: index.docbook:94
+#. Tag: title
+#: inheritance_mapping.xml:94
+#, no-c-format
msgid "Table per subclass"
-msgstr "<title>ãµãã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-subclassï¼</title>"
+msgstr "ãµãã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-subclassï¼"
-#: index.docbook:96
+#. Tag: para
+#: inheritance_mapping.xml:96
+#, no-c-format
msgid "A table per subclass mapping would look like:"
msgstr "table-per-subclass ãããã³ã°ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã"
-#: index.docbook:100
+#. Tag: programlisting
+#: inheritance_mapping.xml:100
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <joined-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"amount\" column=\"AMOUNT\"/>\n"
+" ...\n"
+" <joined-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
+" ...\n"
+" </joined-subclass>\n"
+" <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" ...\n"
+" </joined-subclass>\n"
+" <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" ...\n"
+" </joined-subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <joined-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- "</class>]]>"
-#: index.docbook:102
-msgid "Four tables are required. The three subclass tables have primary key associations to the superclass table (so the relational model is actually a one-to-one association)."
-msgstr "ãã®ãããã³ã°ã«ã¯4ã¤ã®ãã¼ãã«ãå¿
è¦ã§ãã3ã¤ã®ãµãã¯ã©ã¹ãã¼ãã«ã¯ ã¹ã¼ãã¼ã¯ã©ã¹ãã¼ãã«ã¨ã®é¢é£ã示ã主ãã¼ãæã£ã¦ãã¾ã ï¼å®éãé¢ä¿ã¢ãã«ä¸ã¯ä¸å¯¾ä¸é¢é£ã§ãï¼ã"
+#. Tag: para
+#: inheritance_mapping.xml:102
+#, no-c-format
+msgid ""
+"Four tables are required. The three subclass tables have primary key "
+"associations to the superclass table (so the relational model is actually a "
+"one-to-one association)."
+msgstr ""
+"ãã®ãããã³ã°ã«ã¯4ã¤ã®ãã¼ãã«ãå¿
è¦ã§ãã3ã¤ã®ãµãã¯ã©ã¹ãã¼ãã«ã¯ ã¹ã¼ãã¼"
+"ã¯ã©ã¹ãã¼ãã«ã¨ã®é¢é£ã示ã主ãã¼ãæã£ã¦ãã¾ã ï¼å®éãé¢ä¿ã¢ãã«ä¸ã¯ä¸å¯¾ä¸"
+"é¢é£ã§ãï¼ã"
-#: index.docbook:111
+#. Tag: title
+#: inheritance_mapping.xml:111
+#, no-c-format
msgid "Table per subclass, using a discriminator"
msgstr "å¼å¥åãç¨ãã table-per-subclass"
-#: index.docbook:113
-msgid "Note that Hibernate's implementation of table per subclass requires no discriminator column. Other object/relational mappers use a different implementation of table per subclass which requires a type discriminator column in the superclass table. The approach taken by Hibernate is much more difficult to implement but arguably more correct from a relational point of view. If you would like to use a discriminator column with the table per subclass strategy, you may combine the use of <literal><subclass></literal> and <literal><join></literal>, as follow:"
-msgstr "Hibernateã® table-per-subclass å®è£
ã¯ãdiscriminatorã«ã©ã ãå¿
è¦ã¨ããªããã¨ãè¦ãã¦ããã¦ãã ããã Hibernate以å¤ã®O/Rãããã¼ã¯ãtable-per-subclass ã«ç°ãªãå®è£
ãç¨ãã¾ãã ããã¯ãã¹ã¼ãã¼ã¯ã©ã¹ã®ãã¼ãã«ã«ã¿ã¤ãdiscriminatorã«ã©ã ãå¿
è¦ã¨ãã¾ãã ãã®ã¢ããã¼ãã¯å®è£
ãå°é£ã«ãªãã¾ãããé¢ä¿ã®è¦ç¹ããè¦ãã¨ãããæ£ç¢ºãªãã®ã§ãã table-per-subclass æ¦ç¥ã§discriminatorã«ã©ã ã使ããããã°ã <literal><subclass></literal> 㨠<literal><join></literal> ã以ä¸ã®ããã«çµã¿åããã¦ä½¿ã£ã¦ãã ããã"
+#. Tag: para
+#: inheritance_mapping.xml:113
+#, no-c-format
+msgid ""
+"Note that Hibernate's implementation of table per subclass requires no "
+"discriminator column. Other object/relational mappers use a different "
+"implementation of table per subclass which requires a type discriminator "
+"column in the superclass table. The approach taken by Hibernate is much more "
+"difficult to implement but arguably more correct from a relational point of "
+"view. If you would like to use a discriminator column with the table per "
+"subclass strategy, you may combine the use of <literal><subclass></"
+"literal> and <literal><join></literal>, as follow:"
+msgstr ""
+"Hibernateã® table-per-subclass å®è£
ã¯ãdiscriminatorã«ã©ã ãå¿
è¦ã¨ããªããã¨"
+"ãè¦ãã¦ããã¦ãã ããã Hibernate以å¤ã®O/Rãããã¼ã¯ãtable-per-subclass ã«"
+"ç°ãªãå®è£
ãç¨ãã¾ãã ããã¯ãã¹ã¼ãã¼ã¯ã©ã¹ã®ãã¼ãã«ã«ã¿ã¤ãdiscriminator"
+"ã«ã©ã ãå¿
è¦ã¨ãã¾ãã ãã®ã¢ããã¼ãã¯å®è£
ãå°é£ã«ãªãã¾ãããé¢ä¿ã®è¦ç¹ãã"
+"è¦ãã¨ãããæ£ç¢ºãªãã®ã§ãã table-per-subclass æ¦ç¥ã§discriminatorã«ã©ã ã使"
+"ããããã°ã <literal><subclass></literal> 㨠<literal><join></"
+"literal> ã以ä¸ã®ããã«çµã¿åããã¦ä½¿ã£ã¦ãã ããã"
-#: index.docbook:125
+#. Tag: programlisting
+#: inheritance_mapping.xml:125
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <join table=\"CREDIT_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " <join table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " <join table=\"CHEQUE_PAYMENT\" fetch=\"select\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
+" <property name=\"amount\" column=\"AMOUNT\"/>\n"
+" ...\n"
+" <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
+" <join table=\"CREDIT_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
+" ...\n"
+" </join>\n"
+" </subclass>\n"
+" <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
+" <join table=\"CASH_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" ...\n"
+" </join>\n"
+" </subclass>\n"
+" <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
+" <join table=\"CHEQUE_PAYMENT\" fetch=\"select\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" ...\n"
+" </join>\n"
+" </subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <join table=\"CREDIT_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " <join table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " <join table=\"CHEQUE_PAYMENT\" fetch=\"select\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- "</class>]]>"
-#: index.docbook:127
-msgid "The optional <literal>fetch=\"select\"</literal> declaration tells Hibernate not to fetch the <literal>ChequePayment</literal> subclass data using an outer join when querying the superclass."
-msgstr "ãªãã·ã§ã³ã® <literal>fetch=\"select\"</literal> 宣è¨ã¯ã ã¹ã¼ãã¼ã¯ã©ã¹ã®ã¯ã¨ãªå®è¡æã«å¤é¨çµåã使ã£ã¦ã ãµãã¯ã©ã¹ã® <literal>ChequePayment</literal> ãã¼ã¿ãåå¾ããªãããã«æå®ããããã®ãã®ã§ãã"
+#. Tag: para
+#: inheritance_mapping.xml:127
+#, no-c-format
+msgid ""
+"The optional <literal>fetch=\"select\"</literal> declaration tells Hibernate "
+"not to fetch the <literal>ChequePayment</literal> subclass data using an "
+"outer join when querying the superclass."
+msgstr ""
+"ãªãã·ã§ã³ã® <literal>fetch=\"select\"</literal> 宣è¨ã¯ã ã¹ã¼ãã¼ã¯ã©ã¹ã®ã¯"
+"ã¨ãªå®è¡æã«å¤é¨çµåã使ã£ã¦ã ãµãã¯ã©ã¹ã® <literal>ChequePayment</literal> "
+"ãã¼ã¿ãåå¾ããªãããã«æå®ããããã®ãã®ã§ãã"
-#: index.docbook:136
+#. Tag: title
+#: inheritance_mapping.xml:136
+#, no-c-format
msgid "Mixing table per class hierarchy with table per subclass"
msgstr "table-per-subclass 㨠table-per-class-hierarchy ã®æ··å"
-#: index.docbook:138
-msgid "You may even mix the table per hierarchy and table per subclass strategies using this approach:"
-msgstr "ãã®ã¢ããã¼ãã使ç¨ããã¨ãtable-per-hierarchy 㨠table-per-subclass æ¦ç¥ã çµã¿åãããäºãå¯è½ã§ãã"
+#. Tag: para
+#: inheritance_mapping.xml:138
+#, no-c-format
+msgid ""
+"You may even mix the table per hierarchy and table per subclass strategies "
+"using this approach:"
+msgstr ""
+"ãã®ã¢ããã¼ãã使ç¨ããã¨ãtable-per-hierarchy 㨠table-per-subclass æ¦ç¥ã "
+"çµã¿åãããäºãå¯è½ã§ãã"
-#: index.docbook:143
+#. Tag: programlisting
+#: inheritance_mapping.xml:143
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <join table=\"CREDIT_PAYMENT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " ...\n"
- " </subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
+" <property name=\"amount\" column=\"AMOUNT\"/>\n"
+" ...\n"
+" <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
+" <join table=\"CREDIT_PAYMENT\">\n"
+" <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
+" ...\n"
+" </join>\n"
+" </subclass>\n"
+" <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
+" ...\n"
+" </subclass>\n"
+" <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
+" ...\n"
+" </subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Payment\" table=\"PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"PAYMENT_TYPE\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"CreditCardPayment\" discriminator-value=\"CREDIT\">\n"
- " <join table=\"CREDIT_PAYMENT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </join>\n"
- " </subclass>\n"
- " <subclass name=\"CashPayment\" discriminator-value=\"CASH\">\n"
- " ...\n"
- " </subclass>\n"
- " <subclass name=\"ChequePayment\" discriminator-value=\"CHEQUE\">\n"
- " ...\n"
- " </subclass>\n"
- "</class>]]>"
-#: index.docbook:145
-msgid "For any of these mapping strategies, a polymorphic association to the root <literal>Payment</literal> class is mapped using <literal><many-to-one></literal>."
-msgstr "ãããã®ãããã³ã°æ¦ç¥ã§ãã£ã¦ããã«ã¼ãã§ãã <literal>Payment</literal> ã¯ã©ã¹ã¸ã® ããªã¢ã¼ãã£ãã¯ãªé¢é£ã¯ <literal><many-to-one></literal> ã使ã£ã¦ãããã³ã°ãã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:145
+#, no-c-format
+msgid ""
+"For any of these mapping strategies, a polymorphic association to the root "
+"<literal>Payment</literal> class is mapped using <literal><many-to-one>"
+"</literal>."
+msgstr ""
+"ãããã®ãããã³ã°æ¦ç¥ã§ãã£ã¦ããã«ã¼ãã§ãã <literal>Payment</literal> ã¯"
+"ã©ã¹ã¸ã® ããªã¢ã¼ãã£ãã¯ãªé¢é£ã¯ <literal><many-to-one></literal> ã"
+"使ã£ã¦ãããã³ã°ãã¾ãã"
-#: index.docbook:151
-msgid "<![CDATA[<many-to-one name=\"payment\" column=\"PAYMENT_ID\" class=\"Payment\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"payment\" column=\"PAYMENT_ID\" class=\"Payment\"/>]]>"
+#. Tag: programlisting
+#: inheritance_mapping.xml:151
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"payment\" column=\"PAYMENT_ID\" class=\"Payment"
+"\"/>]]>"
+msgstr ""
-#: index.docbook:156
+#. Tag: title
+#: inheritance_mapping.xml:156
+#, no-c-format
msgid "Table per concrete class"
-msgstr "<title>å
·è±¡ã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-concrete-classï¼</title>"
+msgstr "å
·è±¡ã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-concrete-classï¼"
-#: index.docbook:158
-msgid "There are two ways we could go about mapping the table per concrete class strategy. The first is to use <literal><union-subclass></literal>."
-msgstr "table-per-concrete-class æ¦ç¥ã®ãããã³ã°ã«å¯¾ããã¢ããã¼ãã¯ã2ã¤ããã¾ãã 1ã¤ç®ã¯ <literal><union-subclass></literal> ãå©ç¨ããæ¹æ³ã§ãã"
+#. Tag: para
+#: inheritance_mapping.xml:158
+#, no-c-format
+msgid ""
+"There are two ways we could go about mapping the table per concrete class "
+"strategy. The first is to use <literal><union-subclass></literal>."
+msgstr ""
+"table-per-concrete-class æ¦ç¥ã®ãããã³ã°ã«å¯¾ããã¢ããã¼ãã¯ã2ã¤ããã¾ãã "
+"1ã¤ç®ã¯ <literal><union-subclass></literal> ãå©ç¨ããæ¹æ³ã§ãã"
-#: index.docbook:163
+#. Tag: programlisting
+#: inheritance_mapping.xml:163
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Payment\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <union-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </union-subclass>\n"
- " <union-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " ...\n"
- " </union-subclass>\n"
- " <union-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " ...\n"
- " </union-subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Payment\">\n"
+" <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+" <property name=\"amount\" column=\"AMOUNT\"/>\n"
+" ...\n"
+" <union-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
+" <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
+" ...\n"
+" </union-subclass>\n"
+" <union-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
+" ...\n"
+" </union-subclass>\n"
+" <union-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
+" ...\n"
+" </union-subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Payment\">\n"
- " <id name=\"id\" type=\"long\" column=\"PAYMENT_ID\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"AMOUNT\"/>\n"
- " ...\n"
- " <union-subclass name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <property name=\"creditCardType\" column=\"CCTYPE\"/>\n"
- " ...\n"
- " </union-subclass>\n"
- " <union-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " ...\n"
- " </union-subclass>\n"
- " <union-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " ...\n"
- " </union-subclass>\n"
- "</class>]]>"
-#: index.docbook:165
-msgid "Three tables are involved for the subclasses. Each table defines columns for all properties of the class, including inherited properties."
-msgstr "ãµãã¯ã©ã¹ãã¨ã«3ã¤ã®ãã¼ãã«ãå¿
è¦ã§ããããããã®ãã¼ãã«ã¯ãç¶æ¿ããããã£ãå«ãã ã ã¯ã©ã¹ã®å
¨ã¦ã®ããããã£ã«å¯¾ããã«ã©ã ãå®ç¾©ãã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:165
+#, no-c-format
+msgid ""
+"Three tables are involved for the subclasses. Each table defines columns for "
+"all properties of the class, including inherited properties."
+msgstr ""
+"ãµãã¯ã©ã¹ãã¨ã«3ã¤ã®ãã¼ãã«ãå¿
è¦ã§ããããããã®ãã¼ãã«ã¯ãç¶æ¿ããããã£"
+"ãå«ãã ã ã¯ã©ã¹ã®å
¨ã¦ã®ããããã£ã«å¯¾ããã«ã©ã ãå®ç¾©ãã¾ãã"
-#: index.docbook:170
-msgid "The limitation of this approach is that if a property is mapped on the superclass, the column name must be the same on all subclass tables. (We might relax this in a future release of Hibernate.) The identity generator strategy is not allowed in union subclass inheritance, indeed the primary key seed has to be shared accross all unioned subclasses of a hierarchy."
-msgstr "ãã®ã¢ããã¼ãã«ã¯å¶éãããã¾ãã ããã¯ãããããã£ãã¹ã¼ãã¼ã¯ã©ã¹ã«ãããã³ã°ããã¦ããå ´åã å
¨ã¦ã®ãµãã¯ã©ã¹ã«ããã¦ã«ã©ã åãåãã§ãªããã°ãªããªãã¨ãããã®ã§ãã ï¼Hibernateã®ä»å¾ã®ãªãªã¼ã¹ã§ç·©åãããããããã¾ããï¼ã <union-subclass> ã使ã£ã table-per-concrete-class æ¦ç¥ã§ã¯èå¥åçææ¦ç¥ã使ç¨ã§ãã¾ããã 主ãã¼ãçæããããã®ã·ã¼ãã¯ãå
¨ã¦ã® union subclass ã®é層å
ã§å
±æããå¿
è¦ãããããã§ãã"
+#. Tag: para
+#: inheritance_mapping.xml:170
+#, no-c-format
+msgid ""
+"The limitation of this approach is that if a property is mapped on the "
+"superclass, the column name must be the same on all subclass tables. (We "
+"might relax this in a future release of Hibernate.) The identity generator "
+"strategy is not allowed in union subclass inheritance, indeed the primary "
+"key seed has to be shared accross all unioned subclasses of a hierarchy."
+msgstr ""
+"ãã®ã¢ããã¼ãã«ã¯å¶éãããã¾ãã ããã¯ãããããã£ãã¹ã¼ãã¼ã¯ã©ã¹ã«ããã"
+"ã³ã°ããã¦ããå ´åã å
¨ã¦ã®ãµãã¯ã©ã¹ã«ããã¦ã«ã©ã åãåãã§ãªããã°ãªããªã"
+"ã¨ãããã®ã§ãã ï¼Hibernateã®ä»å¾ã®ãªãªã¼ã¹ã§ç·©åãããããããã¾ããï¼ã "
+"<union-subclass> ã使ã£ã table-per-concrete-class æ¦ç¥ã§ã¯èå¥åçææ¦"
+"ç¥ã使ç¨ã§ãã¾ããã 主ãã¼ãçæããããã®ã·ã¼ãã¯ãå
¨ã¦ã® union subclass ã®"
+"é層å
ã§å
±æããå¿
è¦ãããããã§ãã"
-#: index.docbook:179
-msgid "If your superclass is abstract, map it with <literal>abstract=\"true\"</literal>. Of course, if it is not abstract, an additional table (defaults to <literal>PAYMENT</literal> in the example above) is needed to hold instances of the superclass."
-msgstr "ããã¹ã¼ãã¼ã¯ã©ã¹ãæ½è±¡ã¯ã©ã¹ãªãã<literal>abstract=\"true\"</literal>ã¨ãããã³ã°ãã¾ãã ãã¡ãããã¹ã¼ãã¼ã¯ã©ã¹ãæ½è±¡ã¯ã©ã¹ã§ãªããªããã¹ã¼ãã¼ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã ä¿æããããã®ãã¼ãã«ã®è¿½å ãå¿
è¦ã¨ãªãã¾ã(ä¸ã®ä¾ã§ã®ããã©ã«ã㯠<literal>PAYMENT</literal> )ã"
+#. Tag: para
+#: inheritance_mapping.xml:179
+#, no-c-format
+msgid ""
+"If your superclass is abstract, map it with <literal>abstract=\"true\"</"
+"literal>. Of course, if it is not abstract, an additional table (defaults to "
+"<literal>PAYMENT</literal> in the example above) is needed to hold instances "
+"of the superclass."
+msgstr ""
+"ããã¹ã¼ãã¼ã¯ã©ã¹ãæ½è±¡ã¯ã©ã¹ãªãã<literal>abstract=\"true\"</literal>ã¨"
+"ãããã³ã°ãã¾ãã ãã¡ãããã¹ã¼ãã¼ã¯ã©ã¹ãæ½è±¡ã¯ã©ã¹ã§ãªããªããã¹ã¼ãã¼ã¯"
+"ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã ä¿æããããã®ãã¼ãã«ã®è¿½å ãå¿
è¦ã¨ãªãã¾ã(ä¸ã®ä¾ã§ã®"
+"ããã©ã«ã㯠<literal>PAYMENT</literal> )ã"
-#: index.docbook:189
+#. Tag: title
+#: inheritance_mapping.xml:189
+#, no-c-format
msgid "Table per concrete class, using implicit polymorphism"
msgstr "æé»çããªã¢ã¼ãã£ãºã ãç¨ãã table-per-concrete-class"
-#: index.docbook:191
+#. Tag: para
+#: inheritance_mapping.xml:191
+#, no-c-format
msgid "An alternative approach is to make use of implicit polymorphism:"
msgstr "ããä¸ã¤ã®ã¢ããã¼ãã¯æé»çããªã¢ã¼ãã£ãºã ã®ä½¿ç¨ã§ãã"
-#: index.docbook:195
+#. Tag: programlisting
+#: inheritance_mapping.xml:195
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
- " ...\n"
- "</class>\n"
- "\n"
- "<class name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CASH_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
- " ...\n"
- "</class>\n"
- "\n"
- "<class name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CHEQUE_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
- " ...\n"
- "</class>]]>"
+"<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
+" ...\n"
+"</class>\n"
+"\n"
+"<class name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"CASH_PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
+" ...\n"
+"</class>\n"
+"\n"
+"<class name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"CHEQUE_PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
+" ...\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
- " ...\n"
- "</class>\n"
- "\n"
- "<class name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CASH_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
- " ...\n"
- "</class>\n"
- "\n"
- "<class name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CHEQUE_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
- " ...\n"
- "</class>]]>"
-#: index.docbook:197
-msgid "Notice that nowhere do we mention the <literal>Payment</literal> interface explicitly. Also notice that properties of <literal>Payment</literal> are mapped in each of the subclasses. If you want to avoid duplication, consider using XML entities (e.g. <literal>[ <!ENTITY allproperties SYSTEM \"allproperties.xml\"> ]</literal> in the <literal>DOCTYPE</literal> declartion and <literal>&allproperties;</literal> in the mapping)."
-msgstr "<literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ãã©ãã«ãæç¤ºçã«ç¤ºããã¦ããªããã¨ã«æ³¨æãã¦ãã ããã ããã¦ã<literal>Payment</literal> ããããã£ãããããã®ãµãã¯ã©ã¹ã«ãããã³ã°ããã¦ãããã¨ã«ã注æãã¦ãã ããã ããéè¤ãé¿ãããã®ã§ããã°ãXMLã¨ã³ãã£ãã£ã®å©ç¨ãèãã¦ãã ããã ï¼ä¾ï¼ <literal>DOCTYPE</literal> 宣è¨ã«ããã <literal>[ <!ENTITY allproperties SYSTEM \"allproperties.xml\"> ]</literal> ã¨ããããã³ã°ã«ããã <literal>&allproperties;</literal>ï¼"
+#. Tag: para
+#: inheritance_mapping.xml:197
+#, no-c-format
+msgid ""
+"Notice that nowhere do we mention the <literal>Payment</literal> interface "
+"explicitly. Also notice that properties of <literal>Payment</literal> are "
+"mapped in each of the subclasses. If you want to avoid duplication, consider "
+"using XML entities (e.g. <literal>[ <!ENTITY allproperties SYSTEM "
+"\"allproperties.xml\"> ]</literal> in the <literal>DOCTYPE</literal> "
+"declartion and <literal>&allproperties;</literal> in the mapping)."
+msgstr ""
+"<literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ãã©ãã«ãæç¤ºçã«ç¤ºããã¦ããªãã"
+"ã¨ã«æ³¨æãã¦ãã ããã ããã¦ã<literal>Payment</literal> ããããã£ãããã"
+"ãã®ãµãã¯ã©ã¹ã«ãããã³ã°ããã¦ãããã¨ã«ã注æãã¦ãã ããã ããéè¤ãé¿ã"
+"ããã®ã§ããã°ãXMLã¨ã³ãã£ãã£ã®å©ç¨ãèãã¦ãã ããã ï¼ä¾ï¼ "
+"<literal>DOCTYPE</literal> 宣è¨ã«ããã <literal>[ <!ENTITY allproperties "
+"SYSTEM \"allproperties.xml\"> ]</literal> ã¨ããããã³ã°ã«ããã "
+"<literal>&allproperties;</literal>ï¼"
-#: index.docbook:207
-msgid "The disadvantage of this approach is that Hibernate does not generate SQL <literal>UNION</literal>s when performing polymorphic queries."
-msgstr "ãã®ã¢ããã¼ãã®æ¬ ç¹ã¯ãHibernateãããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãªã®å®è¡æã«SQL <literal>UNION</literal> ãçæããªãç¹ã§ãã"
+#. Tag: para
+#: inheritance_mapping.xml:207
+#, no-c-format
+msgid ""
+"The disadvantage of this approach is that Hibernate does not generate SQL "
+"<literal>UNION</literal>s when performing polymorphic queries."
+msgstr ""
+"ãã®ã¢ããã¼ãã®æ¬ ç¹ã¯ãHibernateãããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãªã®å®è¡æã«SQL "
+"<literal>UNION</literal> ãçæããªãç¹ã§ãã"
-#: index.docbook:212
-msgid "For this mapping strategy, a polymorphic association to <literal>Payment</literal> is usually mapped using <literal><any></literal>."
-msgstr "ãã®ãããã³ã°æ¦ç¥ã«å¯¾ãã¦ã¯ã<literal>Payment</literal> ã¸ã®ããªã¢ã¼ãã£ãã¯ãªé¢é£ã¯ é常ã<literal><any></literal> ã使ã£ã¦ãããã³ã°ããã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:212
+#, no-c-format
+msgid ""
+"For this mapping strategy, a polymorphic association to <literal>Payment</"
+"literal> is usually mapped using <literal><any></literal>."
+msgstr ""
+"ãã®ãããã³ã°æ¦ç¥ã«å¯¾ãã¦ã¯ã<literal>Payment</literal> ã¸ã®ããªã¢ã¼ãã£ãã¯"
+"ãªé¢é£ã¯ é常ã<literal><any></literal> ã使ã£ã¦ãããã³ã°ããã¾ãã"
-#: index.docbook:217
+#. Tag: programlisting
+#: inheritance_mapping.xml:217
+#, no-c-format
msgid ""
- "<![CDATA[<any name=\"payment\" meta-type=\"string\" id-type=\"long\">\n"
- " <meta-value value=\"CREDIT\" class=\"CreditCardPayment\"/>\n"
- " <meta-value value=\"CASH\" class=\"CashPayment\"/>\n"
- " <meta-value value=\"CHEQUE\" class=\"ChequePayment\"/>\n"
- " <column name=\"PAYMENT_CLASS\"/>\n"
- " <column name=\"PAYMENT_ID\"/>\n"
- "</any>]]>"
+"<![CDATA[<any name=\"payment\" meta-type=\"string\" id-type=\"long\">\n"
+" <meta-value value=\"CREDIT\" class=\"CreditCardPayment\"/>\n"
+" <meta-value value=\"CASH\" class=\"CashPayment\"/>\n"
+" <meta-value value=\"CHEQUE\" class=\"ChequePayment\"/>\n"
+" <column name=\"PAYMENT_CLASS\"/>\n"
+" <column name=\"PAYMENT_ID\"/>\n"
+"</any>]]>"
msgstr ""
- "<![CDATA[<any name=\"payment\" meta-type=\"string\" id-type=\"long\">\n"
- " <meta-value value=\"CREDIT\" class=\"CreditCardPayment\"/>\n"
- " <meta-value value=\"CASH\" class=\"CashPayment\"/>\n"
- " <meta-value value=\"CHEQUE\" class=\"ChequePayment\"/>\n"
- " <column name=\"PAYMENT_CLASS\"/>\n"
- " <column name=\"PAYMENT_ID\"/>\n"
- "</any>]]>"
-#: index.docbook:222
+#. Tag: title
+#: inheritance_mapping.xml:222
+#, no-c-format
msgid "Mixing implicit polymorphism with other inheritance mappings"
msgstr "ä»ã®ç¶æ¿ãããã³ã°ã¨æé»çããªã¢ã¼ãã£ãºã ã®çµã¿åãã"
-#: index.docbook:224
-msgid "There is one further thing to notice about this mapping. Since the subclasses are each mapped in their own <literal><class></literal> element (and since <literal>Payment</literal> is just an interface), each of the subclasses could easily be part of another inheritance hierarchy! (And you can still use polymorphic queries against the <literal>Payment</literal> interface.)"
-msgstr "ãã®ãããã³ã°ã«ã¤ãã¦ã®æ´ãªã注æç¹ãããã¾ãã ãµãã¯ã©ã¹ãèªèº«ã <literal><class></literal> è¦ç´ ã¨ãã¦ãããã³ã°ãã¦ããã®ã§ã ï¼ã㤠<literal>Payment</literal> ã¯åãªãã¤ã³ã¿ã¼ãã§ã¤ã¹ãªã®ã§ï¼ã ããããã®ãµãã¯ã©ã¹ã¯ç°¡åã«ãã®ä»ã®ç¶æ¿é層ã®ä¸é¨ã¨ãªãã¾ãã ï¼ããããä»ã¾ã§ã©ãã <literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«å¯¾ããããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãª ã使ç¨ãããã¨ãã§ãã¾ãï¼"
+#. Tag: para
+#: inheritance_mapping.xml:224
+#, no-c-format
+msgid ""
+"There is one further thing to notice about this mapping. Since the "
+"subclasses are each mapped in their own <literal><class></literal> "
+"element (and since <literal>Payment</literal> is just an interface), each of "
+"the subclasses could easily be part of another inheritance hierarchy! (And "
+"you can still use polymorphic queries against the <literal>Payment</literal> "
+"interface.)"
+msgstr ""
+"ãã®ãããã³ã°ã«ã¤ãã¦ã®æ´ãªã注æç¹ãããã¾ãã ãµãã¯ã©ã¹ãèªèº«ã "
+"<literal><class></literal> è¦ç´ ã¨ãã¦ãããã³ã°ãã¦ããã®ã§ã ï¼ã㤠"
+"<literal>Payment</literal> ã¯åãªãã¤ã³ã¿ã¼ãã§ã¤ã¹ãªã®ã§ï¼ã ããããã®ãµã"
+"ã¯ã©ã¹ã¯ç°¡åã«ãã®ä»ã®ç¶æ¿é層ã®ä¸é¨ã¨ãªãã¾ãã ï¼ããããä»ã¾ã§ã©ãã "
+"<literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«å¯¾ããããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãª "
+"ã使ç¨ãããã¨ãã§ãã¾ãï¼"
-#: index.docbook:232
+#. Tag: programlisting
+#: inheritance_mapping.xml:232
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"CREDIT_CARD\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"MasterCardPayment\" discriminator-value=\"MDC\"/>\n"
- " <subclass name=\"VisaPayment\" discriminator-value=\"VISA\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"NonelectronicTransaction\" table=\"NONELECTRONIC_TXN\">\n"
- " <id name=\"id\" type=\"long\" column=\"TXN_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " ...\n"
- " <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
+" <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <discriminator column=\"CREDIT_CARD\" type=\"string\"/>\n"
+" <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
+" ...\n"
+" <subclass name=\"MasterCardPayment\" discriminator-value=\"MDC\"/>\n"
+" <subclass name=\"VisaPayment\" discriminator-value=\"VISA\"/>\n"
+"</class>\n"
+"\n"
+"<class name=\"NonelectronicTransaction\" table=\"NONELECTRONIC_TXN\">\n"
+" <id name=\"id\" type=\"long\" column=\"TXN_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" ...\n"
+" <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
+" ...\n"
+" </joined-subclass>\n"
+" <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
+" <key column=\"PAYMENT_ID\"/>\n"
+" <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
+" ...\n"
+" </joined-subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"CreditCardPayment\" table=\"CREDIT_PAYMENT\">\n"
- " <id name=\"id\" type=\"long\" column=\"CREDIT_PAYMENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <discriminator column=\"CREDIT_CARD\" type=\"string\"/>\n"
- " <property name=\"amount\" column=\"CREDIT_AMOUNT\"/>\n"
- " ...\n"
- " <subclass name=\"MasterCardPayment\" discriminator-value=\"MDC\"/>\n"
- " <subclass name=\"VisaPayment\" discriminator-value=\"VISA\"/>\n"
- "</class>\n"
- "\n"
- "<class name=\"NonelectronicTransaction\" table=\"NONELECTRONIC_TXN\">\n"
- " <id name=\"id\" type=\"long\" column=\"TXN_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " ...\n"
- " <joined-subclass name=\"CashPayment\" table=\"CASH_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"amount\" column=\"CASH_AMOUNT\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- " <joined-subclass name=\"ChequePayment\" table=\"CHEQUE_PAYMENT\">\n"
- " <key column=\"PAYMENT_ID\"/>\n"
- " <property name=\"amount\" column=\"CHEQUE_AMOUNT\"/>\n"
- " ...\n"
- " </joined-subclass>\n"
- "</class>]]>"
-#: index.docbook:234
-msgid "Once again, we don't mention <literal>Payment</literal> explicitly. If we execute a query against the <literal>Payment</literal> interface - for example, <literal>from Payment</literal> - Hibernate automatically returns instances of <literal>CreditCardPayment</literal> (and its subclasses, since they also implement <literal>Payment</literal>), <literal>CashPayment</literal> and <literal>ChequePayment</literal> but not instances of <literal>NonelectronicTransaction</literal>."
-msgstr "ããä¸åº¦è¿°ã¹ã¾ããã<literal>Payment</literal> ã¯æç¤ºçã«å®ç¾©ããã¾ããã ããã<literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«å¯¾ãã¦ã¯ã¨ãªãå®è¡ãããªã ï¼ä¾ãã° <literal>from Payment</literal> ç¯ã使ã£ã¦ï¼ã Hibernateã¯èªåçã« <literal>CreditCardPayment</literal> ï¼ã¨CreditCardPaymentã®ãµãã¯ã©ã¹ã<literal>Payment</literal> ã®å®è£
ã§ããããï¼ã ããã³ã<literal>CashPayment</literal> ã<literal>ChequePayment</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã <literal>NonelectronicTransaction</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯è¿ãã¾ããã"
+#. Tag: para
+#: inheritance_mapping.xml:234
+#, no-c-format
+msgid ""
+"Once again, we don't mention <literal>Payment</literal> explicitly. If we "
+"execute a query against the <literal>Payment</literal> interface - for "
+"example, <literal>from Payment</literal> - Hibernate automatically returns "
+"instances of <literal>CreditCardPayment</literal> (and its subclasses, since "
+"they also implement <literal>Payment</literal>), <literal>CashPayment</"
+"literal> and <literal>ChequePayment</literal> but not instances of "
+"<literal>NonelectronicTransaction</literal>."
+msgstr ""
+"ããä¸åº¦è¿°ã¹ã¾ããã<literal>Payment</literal> ã¯æç¤ºçã«å®ç¾©ããã¾ããã ã"
+"ãã<literal>Payment</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«å¯¾ãã¦ã¯ã¨ãªãå®è¡ãããªã "
+"ï¼ä¾ãã° <literal>from Payment</literal> ç¯ã使ã£ã¦ï¼ã Hibernateã¯èªåçã« "
+"<literal>CreditCardPayment</literal> ï¼ã¨CreditCardPaymentã®ãµãã¯ã©ã¹ã"
+"<literal>Payment</literal> ã®å®è£
ã§ããããï¼ã ããã³ã"
+"<literal>CashPayment</literal> ã<literal>ChequePayment</literal> ã®ã¤ã³ã¹ã¿"
+"ã³ã¹ãè¿ãã¾ãã <literal>NonelectronicTransaction</literal> ã¤ã³ã¹ã¿ã³ã¹ã¯è¿"
+"ãã¾ããã"
-#: index.docbook:249
+#. Tag: title
+#: inheritance_mapping.xml:249
+#, no-c-format
msgid "Limitations"
-msgstr "<title>å¶é</title>"
+msgstr "å¶é"
-#: index.docbook:251
-msgid "There are certain limitations to the \"implicit polymorphism\" approach to the table per concrete-class mapping strategy. There are somewhat less restrictive limitations to <literal><union-subclass></literal> mappings."
-msgstr "table-per-concrete-class ãããã³ã°æ¦ç¥ã¸ã®ãæé»çããªã¢ã¼ãã£ãºã ãã¢ããã¼ãã«ã¯ ããã¤ãã®å¶éãããã¾ãã<literal><union-subclass></literal> ãããã³ã°ã«å¯¾ãã¦ã å°ãå¼±ãã®å¶éãããã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:251
+#, no-c-format
+msgid ""
+"There are certain limitations to the \"implicit polymorphism\" approach to "
+"the table per concrete-class mapping strategy. There are somewhat less "
+"restrictive limitations to <literal><union-subclass></literal> "
+"mappings."
+msgstr ""
+"table-per-concrete-class ãããã³ã°æ¦ç¥ã¸ã®ãæé»çããªã¢ã¼ãã£ãºã ãã¢ããã¼"
+"ãã«ã¯ ããã¤ãã®å¶éãããã¾ãã<literal><union-subclass></literal> "
+"ãããã³ã°ã«å¯¾ãã¦ã å°ãå¼±ãã®å¶éãããã¾ãã"
-#: index.docbook:258
-msgid "The following table shows the limitations of table per concrete-class mappings, and of implicit polymorphism, in Hibernate."
-msgstr "次ã®ãã¼ãã«ã«ãHibernateã«ãããtable-per-concrete-classãããã³ã°ã® å¶éãæé»çããªã¢ã¼ãã£ãºã ã®å¶éã示ãã¾ãã"
+#. Tag: para
+#: inheritance_mapping.xml:258
+#, no-c-format
+msgid ""
+"The following table shows the limitations of table per concrete-class "
+"mappings, and of implicit polymorphism, in Hibernate."
+msgstr ""
+"次ã®ãã¼ãã«ã«ãHibernateã«ãããtable-per-concrete-classãããã³ã°ã® å¶éã"
+"æé»çããªã¢ã¼ãã£ãºã ã®å¶éã示ãã¾ãã"
-#: index.docbook:264
+#. Tag: title
+#: inheritance_mapping.xml:264
+#, no-c-format
msgid "Features of inheritance mappings"
msgstr "ç¶æ¿ãããã³ã°ã®æ©è½"
-#: index.docbook:276
+#. Tag: entry
+#: inheritance_mapping.xml:276
+#, no-c-format
msgid "Inheritance strategy"
msgstr "ç¶æ¿æ¦ç¥"
-#: index.docbook:277
+#. Tag: entry
+#: inheritance_mapping.xml:277
+#, no-c-format
msgid "Polymorphic many-to-one"
msgstr "å¤å¯¾ä¸ã®ããªã¢ã¼ãã£ãºã "
-#: index.docbook:278
+#. Tag: entry
+#: inheritance_mapping.xml:278
+#, no-c-format
msgid "Polymorphic one-to-one"
msgstr "ä¸å¯¾ä¸ã®ããªã¢ã¼ãã£ãºã "
-#: index.docbook:279
+#. Tag: entry
+#: inheritance_mapping.xml:279
+#, no-c-format
msgid "Polymorphic one-to-many"
msgstr "ä¸å¯¾å¤ã®ããªã¢ã¼ãã£ãºã "
-#: index.docbook:280
+#. Tag: entry
+#: inheritance_mapping.xml:280
+#, no-c-format
msgid "Polymorphic many-to-many"
msgstr "å¤å¯¾å¤ã®ããªã¢ã¼ãã£ãºã "
-#: index.docbook:281
+#. Tag: entry
+#: inheritance_mapping.xml:281
+#, no-c-format
msgid "Polymorphic <literal>load()/get()</literal>"
-msgstr "ããªã¢ã¼ãã£ãºã ã使ã£ã<literal>load()/get()</literal>"
+msgstr ""
-#: index.docbook:282
+#. Tag: entry
+#: inheritance_mapping.xml:282
+#, no-c-format
msgid "Polymorphic queries"
msgstr "ããªã¢ã¼ãã£ãºã ã使ã£ãã¯ã¨ãª"
-#: index.docbook:283
+#. Tag: entry
+#: inheritance_mapping.xml:283
+#, no-c-format
msgid "Polymorphic joins"
msgstr "ããªã¢ã¼ãã£ãºã ã使ã£ãçµå"
-#: index.docbook:284
+#. Tag: entry
+#: inheritance_mapping.xml:284
+#, no-c-format
msgid "Outer join fetching"
msgstr "å¤é¨çµåã«ãããã§ãã"
-#: index.docbook:289
+#. Tag: entry
+#: inheritance_mapping.xml:289
+#, no-c-format
msgid "table per class-hierarchy"
msgstr "table per class-hierarchy"
-#: index.docbook:290, index.docbook:301, index.docbook:312
+#. Tag: literal
+#: inheritance_mapping.xml:290 inheritance_mapping.xml:301
+#: inheritance_mapping.xml:312
+#, no-c-format
msgid "<many-to-one>"
msgstr "<many-to-one>"
-#: index.docbook:291, index.docbook:302, index.docbook:313
+#. Tag: literal
+#: inheritance_mapping.xml:291 inheritance_mapping.xml:302
+#: inheritance_mapping.xml:313
+#, no-c-format
msgid "<one-to-one>"
msgstr "<one-to-one>"
-#: index.docbook:292, index.docbook:303
+#. Tag: literal
+#: inheritance_mapping.xml:292 inheritance_mapping.xml:303
+#, no-c-format
msgid "<one-to-many>"
msgstr "<one-to-many>"
-#: index.docbook:293, index.docbook:304, index.docbook:315
+#. Tag: literal
+#: inheritance_mapping.xml:293 inheritance_mapping.xml:304
+#: inheritance_mapping.xml:315
+#, no-c-format
msgid "<many-to-many>"
msgstr "<many-to-many>"
-#: index.docbook:294, index.docbook:305, index.docbook:316
+#. Tag: literal
+#: inheritance_mapping.xml:294 inheritance_mapping.xml:305
+#: inheritance_mapping.xml:316
+#, no-c-format
msgid "s.get(Payment.class, id)"
msgstr "s.get(Payment.class, id)"
-#: index.docbook:295, index.docbook:306, index.docbook:317, index.docbook:328
+#. Tag: literal
+#: inheritance_mapping.xml:295 inheritance_mapping.xml:306
+#: inheritance_mapping.xml:317 inheritance_mapping.xml:328
+#, no-c-format
msgid "from Payment p"
msgstr "from Payment p"
-#: index.docbook:296, index.docbook:307, index.docbook:318
+#. Tag: literal
+#: inheritance_mapping.xml:296 inheritance_mapping.xml:307
+#: inheritance_mapping.xml:318
+#, no-c-format
msgid "from Order o join o.payment p"
msgstr "from Order o join o.payment p"
-#: index.docbook:297, index.docbook:308, index.docbook:319
+#. Tag: emphasis
+#: inheritance_mapping.xml:297 inheritance_mapping.xml:308
+#: inheritance_mapping.xml:319
+#, no-c-format
msgid "supported"
msgstr "ãµãã¼ã"
-#: index.docbook:300
+#. Tag: entry
+#: inheritance_mapping.xml:300
+#, fuzzy, no-c-format
msgid "<entry>table per subclass</entry>"
-msgstr "table per subclass"
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ãµãã¯ã©ã¹ãã¨ã®ãã¼ãã«ï¼table-per-subclassï¼\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"table per subclass"
-#: index.docbook:311
+#. Tag: entry
+#: inheritance_mapping.xml:311
+#, no-c-format
msgid "table per concrete-class (union-subclass)"
msgstr "table per concrete-class (union-subclass)"
-#: index.docbook:314
-msgid "<literal><one-to-many></literal> (for <literal>inverse=\"true\"</literal> only)"
-msgstr "<literal><one-to-many></literal> (for <literal>inverse=\"true\"</literal> only)"
+#. Tag: entry
+#: inheritance_mapping.xml:314
+#, no-c-format
+msgid ""
+"<literal><one-to-many></literal> (for <literal>inverse=\"true\"</"
+"literal> only)"
+msgstr ""
-#: index.docbook:322
+#. Tag: entry
+#: inheritance_mapping.xml:322
+#, no-c-format
msgid "table per concrete class (implicit polymorphism)"
msgstr "table per concrete class (implicit polymorphism)"
-#: index.docbook:323
+#. Tag: literal
+#: inheritance_mapping.xml:323
+#, no-c-format
msgid "<any>"
msgstr "<any>"
-#: index.docbook:324, index.docbook:325, index.docbook:329, index.docbook:330
+#. Tag: emphasis
+#: inheritance_mapping.xml:324 inheritance_mapping.xml:325
+#: inheritance_mapping.xml:329 inheritance_mapping.xml:330
+#, no-c-format
msgid "not supported"
msgstr "ãµãã¼ããã¦ãã¾ãã"
-#: index.docbook:326
+#. Tag: literal
+#: inheritance_mapping.xml:326
+#, no-c-format
msgid "<many-to-any>"
msgstr "<many-to-any>"
-#: index.docbook:327
-msgid "s.createCriteria(Payment.class).add( Restrictions.idEq(id) ).uniqueResult()"
-msgstr "s.createCriteria(Payment.class).add( Restrictions.idEq(id) ).uniqueResult()"
+#. Tag: literal
+#: inheritance_mapping.xml:327
+#, no-c-format
+msgid ""
+"s.createCriteria(Payment.class).add( Restrictions.idEq(id) ).uniqueResult()"
+msgstr ""
+"s.createCriteria(Payment.class).add( Restrictions.idEq(id) ).uniqueResult()"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid "load()/get()"
+#~ msgstr "load()/get()"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid "Polymorphic <placeholder-1/>"
+#~ msgstr "ããªã¢ã¼ãã£ãºã ã使ã£ã<placeholder-1/>"
+#~ msgid "inverse=\"true\""
+#~ msgstr "inverse=\"true\""
+
+#~ msgid "<placeholder-1/> (for <placeholder-2/> only)"
+#~ msgstr "<placeholder-1/> (for <placeholder-2/> only)"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/performance.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/performance.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/performance.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1348 +1,2553 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: performance.xml:5
+#, no-c-format
msgid "Improving performance"
msgstr "ããã©ã¼ãã³ã¹ã®æ¹å"
-#: index.docbook:8
+#. Tag: title
+#: performance.xml:8
+#, no-c-format
msgid "Fetching strategies"
msgstr "ãã§ããæ¦ç¥"
-#: index.docbook:10
-msgid "A <emphasis>fetching strategy</emphasis> is the strategy Hibernate will use for retrieving associated objects if the application needs to navigate the association. Fetch strategies may be declared in the O/R mapping metadata, or over-ridden by a particular HQL or <literal>Criteria</literal> query."
-msgstr "<emphasis>ãã§ããæ¦ç¥</emphasis> ã¯ãã¢ããªã±ã¼ã·ã§ã³ãé¢é£ãããã²ã¼ãããå¿
è¦ããã ã¨ãã«ãHibernateãé¢é£ãªãã¸ã§ã¯ãã復å
ããããã«ä½¿ç¨ããæ¦ç¥ã§ãããã§ããæ¦ç¥ã¯O/Rãããã³ã°ã® ã¡ã¿ãã¼ã¿ã«å®£è¨ããããç¹å®ã®HQLã <literal>Criteria</literal> ã¯ã¨ãªã§ãªã¼ãã¼ã©ã¤ããã¾ãã"
+#. Tag: para
+#: performance.xml:10
+#, no-c-format
+msgid ""
+"A <emphasis>fetching strategy</emphasis> is the strategy Hibernate will use "
+"for retrieving associated objects if the application needs to navigate the "
+"association. Fetch strategies may be declared in the O/R mapping metadata, "
+"or over-ridden by a particular HQL or <literal>Criteria</literal> query."
+msgstr ""
+"<emphasis>ãã§ããæ¦ç¥</emphasis> ã¯ãã¢ããªã±ã¼ã·ã§ã³ãé¢é£ãããã²ã¼ããã"
+"å¿
è¦ããã ã¨ãã«ãHibernateãé¢é£ãªãã¸ã§ã¯ãã復å
ããããã«ä½¿ç¨ããæ¦ç¥ã§"
+"ãããã§ããæ¦ç¥ã¯O/Rãããã³ã°ã® ã¡ã¿ãã¼ã¿ã«å®£è¨ããããç¹å®ã®HQLã "
+"<literal>Criteria</literal> ã¯ã¨ãªã§ãªã¼ãã¼ã©ã¤ããã¾ãã"
-#: index.docbook:17
+#. Tag: para
+#: performance.xml:17
+#, no-c-format
msgid "Hibernate3 defines the following fetching strategies:"
msgstr "Hibernate3ã¯æ¬¡ã«ç¤ºããã§ããæ¦ç¥ãå®ç¾©ãã¦ãã¾ãã"
-#: index.docbook:23
-msgid "<emphasis>Join fetching</emphasis> - Hibernate retrieves the associated instance or collection in the same <literal>SELECT</literal>, using an <literal>OUTER JOIN</literal>."
-msgstr "<emphasis>çµåãã§ãã</emphasis> - Hibernate㯠<literal>OUTER JOIN</literal> ã使ã£ã¦ã é¢é£ããã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³ãï¼ã¤ã® <literal>SELECT</literal> ã§å¾©å
ãã¾ãã"
+#. Tag: para
+#: performance.xml:23
+#, no-c-format
+msgid ""
+"<emphasis>Join fetching</emphasis> - Hibernate retrieves the associated "
+"instance or collection in the same <literal>SELECT</literal>, using an "
+"<literal>OUTER JOIN</literal>."
+msgstr ""
+"<emphasis>çµåãã§ãã</emphasis> - Hibernate㯠<literal>OUTER JOIN</"
+"literal> ã使ã£ã¦ã é¢é£ããã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³ãï¼ã¤ã® "
+"<literal>SELECT</literal> ã§å¾©å
ãã¾ãã"
-#: index.docbook:30
-msgid "<emphasis>Select fetching</emphasis> - a second <literal>SELECT</literal> is used to retrieve the associated entity or collection. Unless you explicitly disable lazy fetching by specifying <literal>lazy=\"false\"</literal>, this second select will only be executed when you actually access the association."
-msgstr "<emphasis>ã»ã¬ã¯ããã§ãã</emphasis> - 2åç®ã® <literal>SELECT</literal> ã§é¢é£ããã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã復å
ãã¾ãã <literal>lazy=\"false\"</literal> ã§æç¤ºçã«é
å»¶ãã§ãããç¡å¹ã«ããªããã°ããã®2åç®ã®selectã¯å®éã« é¢é£ã«ã¢ã¯ã»ã¹ããã¨ãã®ã¿å®è¡ãããã§ãããã"
+#. Tag: para
+#: performance.xml:30
+#, no-c-format
+msgid ""
+"<emphasis>Select fetching</emphasis> - a second <literal>SELECT</literal> is "
+"used to retrieve the associated entity or collection. Unless you explicitly "
+"disable lazy fetching by specifying <literal>lazy=\"false\"</literal>, this "
+"second select will only be executed when you actually access the association."
+msgstr ""
+"<emphasis>ã»ã¬ã¯ããã§ãã</emphasis> - 2åç®ã® <literal>SELECT</literal> ã§"
+"é¢é£ããã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã復å
ãã¾ãã <literal>lazy=\"false\"</"
+"literal> ã§æç¤ºçã«é
å»¶ãã§ãããç¡å¹ã«ããªããã°ããã®2åç®ã®selectã¯å®éã« "
+"é¢é£ã«ã¢ã¯ã»ã¹ããã¨ãã®ã¿å®è¡ãããã§ãããã"
-#: index.docbook:39
-msgid "<emphasis>Subselect fetching</emphasis> - a second <literal>SELECT</literal> is used to retrieve the associated collections for all entities retrieved in a previous query or fetch. Unless you explicitly disable lazy fetching by specifying <literal>lazy=\"false\"</literal>, this second select will only be executed when you actually access the association."
-msgstr "<emphasis>ãµãã»ã¬ã¯ããã§ãã</emphasis> - 2åç®ã® <literal>SELECT</literal> ã§ãç´åã®ã¯ã¨ãªããã§ããã§å¾©å
ãããã¹ã¦ã®è¦ç´ ã«é¢é£ããã³ã¬ã¯ã·ã§ã³ã 復å
ãã¾ãã <literal>lazy=\"false\"</literal> ã§æç¤ºçã«é
å»¶ãã§ãããç¡å¹ã«ããªããã°ããã®2åç®ã®selectã¯å®éã« é¢é£ã«ã¢ã¯ã»ã¹ããã¨ãã®ã¿å®è¡ãããã§ãããã"
+#. Tag: para
+#: performance.xml:39
+#, no-c-format
+msgid ""
+"<emphasis>Subselect fetching</emphasis> - a second <literal>SELECT</literal> "
+"is used to retrieve the associated collections for all entities retrieved in "
+"a previous query or fetch. Unless you explicitly disable lazy fetching by "
+"specifying <literal>lazy=\"false\"</literal>, this second select will only "
+"be executed when you actually access the association."
+msgstr ""
+"<emphasis>ãµãã»ã¬ã¯ããã§ãã</emphasis> - 2åç®ã® <literal>SELECT</"
+"literal> ã§ãç´åã®ã¯ã¨ãªããã§ããã§å¾©å
ãããã¹ã¦ã®è¦ç´ ã«é¢é£ããã³ã¬ã¯ã·ã§"
+"ã³ã 復å
ãã¾ãã <literal>lazy=\"false\"</literal> ã§æç¤ºçã«é
å»¶ãã§ããã"
+"ç¡å¹ã«ããªããã°ããã®2åç®ã®selectã¯å®éã« é¢é£ã«ã¢ã¯ã»ã¹ããã¨ãã®ã¿å®è¡ã"
+"ããã§ãããã"
-#: index.docbook:48
-msgid "<emphasis>Batch fetching</emphasis> - an optimization strategy for select fetching - Hibernate retrieves a batch of entity instances or collections in a single <literal>SELECT</literal>, by specifying a list of primary keys or foreign keys."
-msgstr "<emphasis>ããããã§ãã</emphasis> - ã»ã¬ã¯ããã§ããã®ããã®æé©åãããæ¦ç¥ - Hibernateã¯ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³ã®ä¸ç¾¤ã1åã® <literal>SELECT</literal> ã§å¾©å
ãã¾ããããã¯ä¸»ãã¼ãå¤é¨ãã¼ã®ãªã¹ããæå®ãããã¨ã« ã«ããè¡ãã¾ãã"
+#. Tag: para
+#: performance.xml:48
+#, no-c-format
+msgid ""
+"<emphasis>Batch fetching</emphasis> - an optimization strategy for select "
+"fetching - Hibernate retrieves a batch of entity instances or collections in "
+"a single <literal>SELECT</literal>, by specifying a list of primary keys or "
+"foreign keys."
+msgstr ""
+"<emphasis>ããããã§ãã</emphasis> - ã»ã¬ã¯ããã§ããã®ããã®æé©åãããæ¦"
+"ç¥ - Hibernateã¯ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³ã®ä¸ç¾¤ã1åã® "
+"<literal>SELECT</literal> ã§å¾©å
ãã¾ããããã¯ä¸»ãã¼ãå¤é¨ãã¼ã®ãªã¹ããæå®"
+"ãããã¨ã« ã«ããè¡ãã¾ãã"
-#: index.docbook:57
+#. Tag: para
+#: performance.xml:57
+#, no-c-format
msgid "Hibernate also distinguishes between:"
msgstr "Hibernateã¯æ¬¡ã«ç¤ºãæ¦ç¥ã¨ãåºå¥ããã¾ãã"
-#: index.docbook:63
-msgid "<emphasis>Immediate fetching</emphasis> - an association, collection or attribute is fetched immediately, when the owner is loaded."
-msgstr "<emphasis>峿ãã§ãã</emphasis> - ææè
ã®ãªãã¸ã§ã¯ãããã¼ããããã¨ãã«ã é¢é£ãã³ã¬ã¯ã·ã§ã³ã¯å³æã«ãã§ããããã¾ãã"
+#. Tag: para
+#: performance.xml:63
+#, no-c-format
+msgid ""
+"<emphasis>Immediate fetching</emphasis> - an association, collection or "
+"attribute is fetched immediately, when the owner is loaded."
+msgstr ""
+"<emphasis>峿ãã§ãã</emphasis> - ææè
ã®ãªãã¸ã§ã¯ãããã¼ããããã¨ã"
+"ã«ã é¢é£ãã³ã¬ã¯ã·ã§ã³ã¯å³æã«ãã§ããããã¾ãã"
-#: index.docbook:69
-msgid "<emphasis>Lazy collection fetching</emphasis> - a collection is fetched when the application invokes an operation upon that collection. (This is the default for collections.)"
-msgstr "<emphasis>é
å»¶ã³ã¬ã¯ã·ã§ã³ãã§ãã</emphasis> - ã¢ããªã±ã¼ã·ã§ã³ãã³ã¬ã¯ã·ã§ã³ã« 対ãã¦æä½ãè¡ã£ãã¨ãã«ã³ã¬ã¯ã·ã§ã³ããã§ãããã¾ãã (ããã¯ã³ã¬ã¯ã·ã§ã³ã«å¯¾ããããã©ã«ãã®åä½ã§ã)"
+#. Tag: para
+#: performance.xml:69
+#, no-c-format
+msgid ""
+"<emphasis>Lazy collection fetching</emphasis> - a collection is fetched when "
+"the application invokes an operation upon that collection. (This is the "
+"default for collections.)"
+msgstr ""
+"<emphasis>é
å»¶ã³ã¬ã¯ã·ã§ã³ãã§ãã</emphasis> - ã¢ããªã±ã¼ã·ã§ã³ãã³ã¬ã¯ã·ã§"
+"ã³ã« 対ãã¦æä½ãè¡ã£ãã¨ãã«ã³ã¬ã¯ã·ã§ã³ããã§ãããã¾ãã (ããã¯ã³ã¬ã¯ã·ã§"
+"ã³ã«å¯¾ããããã©ã«ãã®åä½ã§ã)"
-#: index.docbook:76
-msgid "<emphasis>\"Extra-lazy\" collection fetching</emphasis> - individual elements of the collection are accessed from the database as needed. Hibernate tries not to fetch the whole collection into memory unless absolutely needed (suitable for very large collections)"
-msgstr "<emphasis>\"ç¹å¥ãªé
å»¶\"ã³ã¬ã¯ã·ã§ã³ãã§ãã</emphasis> - ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ï¼ã¤ï¼ã¤ãç¬ç«ãã¦ãå¿
è¦ãªã¨ãã«ãã¼ã¿ãã¼ã¹ããåå¾ããã¾ãã Hibernateã¯å¿
è¦ãªããªãã°ãã³ã¬ã¯ã·ã§ã³å
¨ä½ãã¡ã¢ãªã«ãã§ãããããã¨ã¯ é¿ãã¾ãï¼ã¨ã¦ã大ããªã³ã¬ã¯ã·ã§ã³ã«é©ãã¦ãã¾ãï¼ã"
+#. Tag: para
+#: performance.xml:76
+#, no-c-format
+msgid ""
+"<emphasis>\"Extra-lazy\" collection fetching</emphasis> - individual "
+"elements of the collection are accessed from the database as needed. "
+"Hibernate tries not to fetch the whole collection into memory unless "
+"absolutely needed (suitable for very large collections)"
+msgstr ""
+"<emphasis>\"ç¹å¥ãªé
å»¶\"ã³ã¬ã¯ã·ã§ã³ãã§ãã</emphasis> - ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ "
+"ï¼ã¤ï¼ã¤ãç¬ç«ãã¦ãå¿
è¦ãªã¨ãã«ãã¼ã¿ãã¼ã¹ããåå¾ããã¾ãã Hibernateã¯å¿
"
+"è¦ãªããªãã°ãã³ã¬ã¯ã·ã§ã³å
¨ä½ãã¡ã¢ãªã«ãã§ãããããã¨ã¯ é¿ãã¾ãï¼ã¨ã¦ã大"
+"ããªã³ã¬ã¯ã·ã§ã³ã«é©ãã¦ãã¾ãï¼ã"
-#: index.docbook:84
-msgid "<emphasis>Proxy fetching</emphasis> - a single-valued association is fetched when a method other than the identifier getter is invoked upon the associated object."
-msgstr "<emphasis>ãããã·ãã§ãã</emphasis> - åä¸å¤é¢é£ã¯ãèå¥åã®getter以å¤ã® ã¡ã½ãããé¢é£ãªãã¸ã§ã¯ãã§å¼ã³åºãããã¨ãã«ãã§ããããã¾ãã"
+#. Tag: para
+#: performance.xml:84
+#, no-c-format
+msgid ""
+"<emphasis>Proxy fetching</emphasis> - a single-valued association is fetched "
+"when a method other than the identifier getter is invoked upon the "
+"associated object."
+msgstr ""
+"<emphasis>ãããã·ãã§ãã</emphasis> - åä¸å¤é¢é£ã¯ãèå¥åã®getter以å¤ã® ã¡"
+"ã½ãããé¢é£ãªãã¸ã§ã¯ãã§å¼ã³åºãããã¨ãã«ãã§ããããã¾ãã"
-#: index.docbook:91
-msgid "<emphasis>\"No-proxy\" fetching</emphasis> - a single-valued association is fetched when the instance variable is accessed. Compared to proxy fetching, this approach is less lazy (the association is fetched even when only the identifier is accessed) but more transparent, since no proxy is visible to the application. This approach requires buildtime bytecode instrumentation and is rarely necessary."
-msgstr "<emphasis>\"ãããã·ãªã\"ãã§ãã</emphasis> - åä¸å¤é¢é£ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã« ã¢ã¯ã»ã¹ãããã¨ãã«ãã§ããããã¾ãããããã·ãã§ããã¨æ¯è¼ããã¨ããã®æ¹æ³ã¯ é
å»¶ã®åº¦åããå°ãªãï¼é¢é£ã¯èå¥åã«ã¢ã¯ã»ã¹ããã ãã§ããã§ããããã¾ãï¼ ã§ãããããééçã§ãã¢ããªã±ã¼ã·ã§ã³ã«ãããã·ãåå¨ããªãããã«è¦ãã¾ãã ãã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã«ãªãã使ãå ´é¢ã¯ã¾ãã§ãã"
+#. Tag: para
+#: performance.xml:91
+#, no-c-format
+msgid ""
+"<emphasis>\"No-proxy\" fetching</emphasis> - a single-valued association is "
+"fetched when the instance variable is accessed. Compared to proxy fetching, "
+"this approach is less lazy (the association is fetched even when only the "
+"identifier is accessed) but more transparent, since no proxy is visible to "
+"the application. This approach requires buildtime bytecode instrumentation "
+"and is rarely necessary."
+msgstr ""
+"<emphasis>\"ãããã·ãªã\"ãã§ãã</emphasis> - åä¸å¤é¢é£ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤"
+"æ°ã« ã¢ã¯ã»ã¹ãããã¨ãã«ãã§ããããã¾ãããããã·ãã§ããã¨æ¯è¼ããã¨ããã®"
+"æ¹æ³ã¯ é
å»¶ã®åº¦åããå°ãªãï¼é¢é£ã¯èå¥åã«ã¢ã¯ã»ã¹ããã ãã§ããã§ããããã¾"
+"ãï¼ ã§ãããããééçã§ãã¢ããªã±ã¼ã·ã§ã³ã«ãããã·ãåå¨ããªãããã«è¦ãã¾"
+"ãã ãã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã«ãªãã使ãå ´é¢ã¯ã¾ãã§"
+"ãã"
-#: index.docbook:101
-msgid "<emphasis>Lazy attribute fetching</emphasis> - an attribute or single valued association is fetched when the instance variable is accessed. This approach requires buildtime bytecode instrumentation and is rarely necessary."
-msgstr "<emphasis>é
延屿§ãã§ãã</emphasis> - 屿§ãåä¸å¤é¢é£ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã«ã¢ã¯ã»ã¹ãã ã¨ãã«ãã§ããããã¾ãããã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã«ãªãã 使ãå ´é¢ã¯ã¾ãã§ãã"
+#. Tag: para
+#: performance.xml:101
+#, no-c-format
+msgid ""
+"<emphasis>Lazy attribute fetching</emphasis> - an attribute or single valued "
+"association is fetched when the instance variable is accessed. This approach "
+"requires buildtime bytecode instrumentation and is rarely necessary."
+msgstr ""
+"<emphasis>é
延屿§ãã§ãã</emphasis> - 屿§ãåä¸å¤é¢é£ã¯ãã¤ã³ã¹ã¿ã³ã¹å¤æ°"
+"ã«ã¢ã¯ã»ã¹ãã ã¨ãã«ãã§ããããã¾ãããã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼"
+"ã¿ãå¿
è¦ã«ãªãã 使ãå ´é¢ã¯ã¾ãã§ãã"
-#: index.docbook:110
-msgid "We have two orthogonal notions here: <emphasis>when</emphasis> is the association fetched, and <emphasis>how</emphasis> is it fetched (what SQL is used). Don't confuse them! We use <literal>fetch</literal> to tune performance. We may use <literal>lazy</literal> to define a contract for what data is always available in any detached instance of a particular class."
-msgstr "äºã¤ã®ç´è¡ããæ¦å¿µãããã¾ã: <emphasis>ãã¤</emphasis> é¢é£ããã§ãããããã ããã¦ã <emphasis>ã©ããã£ã¦</emphasis> ãã§ãããããï¼ã©ããªSQLã使ã£ã¦ï¼ã ããããæ··åããªãã§ãã ããï¼ <literal>fetch</literal> ã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã«ä½¿ãã¾ãã <literal>lazy</literal> ã¯ããã¯ã©ã¹ã®åé¢ãããã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ãã©ã®ãã¼ã¿ã常㫠使ç¨å¯è½ã«ãããã®åãæ±ºããå®ç¾©ãã¾ãã"
+#. Tag: para
+#: performance.xml:110
+#, no-c-format
+msgid ""
+"We have two orthogonal notions here: <emphasis>when</emphasis> is the "
+"association fetched, and <emphasis>how</emphasis> is it fetched (what SQL is "
+"used). Don't confuse them! We use <literal>fetch</literal> to tune "
+"performance. We may use <literal>lazy</literal> to define a contract for "
+"what data is always available in any detached instance of a particular class."
+msgstr ""
+"äºã¤ã®ç´è¡ããæ¦å¿µãããã¾ã: <emphasis>ãã¤</emphasis> é¢é£ããã§ãããã"
+"ãã ããã¦ã <emphasis>ã©ããã£ã¦</emphasis> ãã§ãããããï¼ã©ããªSQLã使ã£"
+"ã¦ï¼ã ããããæ··åããªãã§ãã ããï¼ <literal>fetch</literal> ã¯ããã©ã¼ãã³"
+"ã¹ãã¥ã¼ãã³ã°ã«ä½¿ãã¾ãã <literal>lazy</literal> ã¯ããã¯ã©ã¹ã®åé¢ãããã¤"
+"ã³ã¹ã¿ã³ã¹ã®ãã¡ãã©ã®ãã¼ã¿ã常㫠使ç¨å¯è½ã«ãããã®åãæ±ºããå®ç¾©ãã¾ãã"
-#: index.docbook:119
+#. Tag: title
+#: performance.xml:119
+#, no-c-format
msgid "Working with lazy associations"
msgstr "é
å»¶é¢é£ã®åã"
-#: index.docbook:121
-msgid "By default, Hibernate3 uses lazy select fetching for collections and lazy proxy fetching for single-valued associations. These defaults make sense for almost all associations in almost all applications."
-msgstr "ããã©ã«ãã§ã¯ãHibernate3ã¯ã³ã¬ã¯ã·ã§ã³ã«å¯¾ãã¦ã¯é
å»¶ã»ã¬ã¯ããã§ããã使ãã åä¸å¤é¢é£ã«ã¯é
å»¶ãããã·ãã§ããã使ãã¾ãããããã®ããã©ã«ãåä½ã¯ã»ã¼ãã¹ã¦ã® ã¢ããªã±ã¼ã·ã§ã³ã®ã»ã¼ãã¹ã¦ã®é¢é£ã§æå³ãããã¾ãã"
+#. Tag: para
+#: performance.xml:121
+#, no-c-format
+msgid ""
+"By default, Hibernate3 uses lazy select fetching for collections and lazy "
+"proxy fetching for single-valued associations. These defaults make sense for "
+"almost all associations in almost all applications."
+msgstr ""
+"ããã©ã«ãã§ã¯ãHibernate3ã¯ã³ã¬ã¯ã·ã§ã³ã«å¯¾ãã¦ã¯é
å»¶ã»ã¬ã¯ããã§ããã使"
+"ãã åä¸å¤é¢é£ã«ã¯é
å»¶ãããã·ãã§ããã使ãã¾ãããããã®ããã©ã«ãåä½ã¯ã»"
+"ã¼ãã¹ã¦ã® ã¢ããªã±ã¼ã·ã§ã³ã®ã»ã¼ãã¹ã¦ã®é¢é£ã§æå³ãããã¾ãã"
-#: index.docbook:127
-msgid "<emphasis>Note:</emphasis> if you set <literal>hibernate.default_batch_fetch_size</literal>, Hibernate will use the batch fetch optimization for lazy fetching (this optimization may also be enabled at a more granular level)."
-msgstr "<emphasis>注:</emphasis> <literal>hibernate.default_batch_fetch_size</literal> ãã»ããããã¨ãã¯ãHibernate㯠é
å»¶ãã§ããã®ããã®ããããã§ããæé©åã使ãã§ããã ï¼ãã®æé©åã¯ããç´°ããã¬ãã«ã§æå¹ã«ãããã¨ãåºæ¥ã¾ãï¼ã"
+#. Tag: para
+#: performance.xml:127
+#, no-c-format
+msgid ""
+"<emphasis>Note:</emphasis> if you set <literal>hibernate."
+"default_batch_fetch_size</literal>, Hibernate will use the batch fetch "
+"optimization for lazy fetching (this optimization may also be enabled at a "
+"more granular level)."
+msgstr ""
+"<emphasis>注:</emphasis><literal>hibernate.default_batch_fetch_size</"
+"literal> ãã»ããããã¨ãã¯ãHibernate㯠é
å»¶ãã§ããã®ããã®ããããã§ããæ"
+"é©åã使ãã§ããã ï¼ãã®æé©åã¯ããç´°ããã¬ãã«ã§æå¹ã«ãããã¨ãåºæ¥ã¾"
+"ãï¼ã"
-#: index.docbook:134
-msgid "However, lazy fetching poses one problem that you must be aware of. Access to a lazy association outside of the context of an open Hibernate session will result in an exception. For example:"
-msgstr "ããããé
å»¶ãã§ããã¯ç¥ã£ã¦ãããªããã°ãªããªãä¸ã¤ã®åé¡ãããã¾ãã Hibernateã®sessionããªã¼ãã³ãã¦ããã³ã³ããã¹ãã®å¤ããé
å»¶é¢é£ã«ã¢ã¯ã»ã¹ããã¨ã ä¾å¤ãçºçãã¾ããä¾ï¼"
+#. Tag: para
+#: performance.xml:134
+#, no-c-format
+msgid ""
+"However, lazy fetching poses one problem that you must be aware of. Access "
+"to a lazy association outside of the context of an open Hibernate session "
+"will result in an exception. For example:"
+msgstr ""
+"ããããé
å»¶ãã§ããã¯ç¥ã£ã¦ãããªããã°ãªããªãä¸ã¤ã®åé¡ãããã¾ãã "
+"Hibernateã®sessionããªã¼ãã³ãã¦ããã³ã³ããã¹ãã®å¤ããé
å»¶é¢é£ã«ã¢ã¯ã»ã¹ã"
+"ãã¨ã ä¾å¤ãçºçãã¾ããä¾ï¼"
-#: index.docbook:140
+#. Tag: programlisting
+#: performance.xml:140
+#, no-c-format
msgid ""
- "<![CDATA[s = sessions.openSession();\n"
- "Transaction tx = s.beginTransaction();\n"
- " \n"
- "User u = (User) s.createQuery(\"from User u where u.name=:userName\")\n"
- " .setString(\"userName\", userName).uniqueResult();\n"
- "Map permissions = u.getPermissions();\n"
- "\n"
- "tx.commit();\n"
- "s.close();\n"
- "\n"
- "Integer accessLevel = (Integer) permissions.get(\"accounts\"); // Error!]]>"
+"<![CDATA[s = sessions.openSession();\n"
+"Transaction tx = s.beginTransaction();\n"
+" \n"
+"User u = (User) s.createQuery(\"from User u where u.name=:userName\")\n"
+" .setString(\"userName\", userName).uniqueResult();\n"
+"Map permissions = u.getPermissions();\n"
+"\n"
+"tx.commit();\n"
+"s.close();\n"
+"\n"
+"Integer accessLevel = (Integer) permissions.get(\"accounts\"); // Error!]]>"
msgstr ""
- "<![CDATA[s = sessions.openSession();
-\n"
- "Transaction tx = s.beginTransaction();
-\n"
- "
-\n"
- "User u = (User) s.createQuery(\"from User u where u.name=:userName\")
-\n"
- " .setString(\"userName\", userName).uniqueResult();
-\n"
- "Map permissions = u.getPermissions();
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "s.close();
-\n"
- "
-\n"
- "Integer accessLevel = (Integer) permissions.get(\"accounts\"); // Error!]]>"
-#: index.docbook:142
-msgid "Since the permissions collection was not initialized when the <literal>Session</literal> was closed, the collection will not be able to load its state. <emphasis>Hibernate does not support lazy initialization for detached objects</emphasis>. The fix is to move the code that reads from the collection to just before the transaction is committed."
-msgstr "<literal>Session</literal> ãã¯ãã¼ãºãããã¨ããpermissionsã³ã¬ã¯ã·ã§ã³ã¯ åæåããã¦ããªãããããã®ã³ã¬ã¯ã·ã§ã³ã¯èªèº«ã®ç¶æ
ããã¼ãã§ãã¾ããã <emphasis>Hibernateã¯åãé¢ããããªãã¸ã§ã¯ãã®é
å»¶åæåã¯ãµãã¼ã ãã¦ãã¾ãã</emphasis> ãä¿®æ£æ¹æ³ã¨ãã¦ãã³ã¬ã¯ã·ã§ã³ããèªã¿è¾¼ã¿ãè¡ãã³ã¼ãã ãã©ã³ã¶ã¯ã·ã§ã³ãã³ãããããç´åã«ç§»åããã¾ãã"
+#. Tag: para
+#: performance.xml:142
+#, no-c-format
+msgid ""
+"Since the permissions collection was not initialized when the "
+"<literal>Session</literal> was closed, the collection will not be able to "
+"load its state. <emphasis>Hibernate does not support lazy initialization for "
+"detached objects</emphasis>. The fix is to move the code that reads from the "
+"collection to just before the transaction is committed."
+msgstr ""
+"<literal>Session</literal> ãã¯ãã¼ãºãããã¨ããpermissionsã³ã¬ã¯ã·ã§ã³ã¯ å"
+"æåããã¦ããªãããããã®ã³ã¬ã¯ã·ã§ã³ã¯èªèº«ã®ç¶æ
ããã¼ãã§ãã¾ããã "
+"<emphasis>Hibernateã¯åãé¢ããããªãã¸ã§ã¯ãã®é
å»¶åæåã¯ãµãã¼ã ãã¦ãã¾"
+"ãã</emphasis> ãä¿®æ£æ¹æ³ã¨ãã¦ãã³ã¬ã¯ã·ã§ã³ããèªã¿è¾¼ã¿ãè¡ãã³ã¼ãã ãã©"
+"ã³ã¶ã¯ã·ã§ã³ãã³ãããããç´åã«ç§»åããã¾ãã"
-#: index.docbook:150
-msgid "Alternatively, we could use a non-lazy collection or association, by specifying <literal>lazy=\"false\"</literal> for the association mapping. However, it is intended that lazy initialization be used for almost all collections and associations. If you define too many non-lazy associations in your object model, Hibernate will end up needing to fetch the entire database into memory in every transaction!"
-msgstr "䏿¹ã§ã <literal>lazy=\"false\"</literal> ãé¢é£ãããã³ã°ã«æå®ãããã¨ã§ã é
å»¶å¦çãããªãã³ã¬ã¯ã·ã§ã³ãé¢é£ã使ããã¨ãåºæ¥ã¾ãã ããããªãããé
å»¶åæåã¯ã»ã¼ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ãé¢é£ã§ä½¿ããããã¨ã æå³ãã¦ãã¾ããããããªãã®ãªãã¸ã§ã¯ãã¢ãã«ã®ä¸ã«é
å»¶å¦çãããªãé¢é£ã å¤ãå®ç¾©ãã¦ãã¾ãã¨ãHibernateã¯æçµçã«ã¯ãã©ã³ã¶ã¯ã·ã§ã³æ¯ã« ã»ã¼å®å
¨ãªãã¼ã¿ãã¼ã¹ãã¡ã¢ãªã®ä¸ã«ãã§ãããããã¨ã«ãªãã§ãããï¼"
+#. Tag: para
+#: performance.xml:150
+#, no-c-format
+msgid ""
+"Alternatively, we could use a non-lazy collection or association, by "
+"specifying <literal>lazy=\"false\"</literal> for the association mapping. "
+"However, it is intended that lazy initialization be used for almost all "
+"collections and associations. If you define too many non-lazy associations "
+"in your object model, Hibernate will end up needing to fetch the entire "
+"database into memory in every transaction!"
+msgstr ""
+"䏿¹ã§ã <literal>lazy=\"false\"</literal> ãé¢é£ãããã³ã°ã«æå®ãããã¨"
+"ã§ã é
å»¶å¦çãããªãã³ã¬ã¯ã·ã§ã³ãé¢é£ã使ããã¨ãåºæ¥ã¾ãã ããããªããã"
+"é
å»¶åæåã¯ã»ã¼ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ãé¢é£ã§ä½¿ããããã¨ã æå³ãã¦ãã¾ããã"
+"ãããªãã®ãªãã¸ã§ã¯ãã¢ãã«ã®ä¸ã«é
å»¶å¦çãããªãé¢é£ã å¤ãå®ç¾©ãã¦ãã¾ã"
+"ã¨ãHibernateã¯æçµçã«ã¯ãã©ã³ã¶ã¯ã·ã§ã³æ¯ã« ã»ã¼å®å
¨ãªãã¼ã¿ãã¼ã¹ãã¡ã¢ãª"
+"ã®ä¸ã«ãã§ãããããã¨ã«ãªãã§ãããï¼"
-#: index.docbook:159
-msgid "On the other hand, we often want to choose join fetching (which is non-lazy by nature) instead of select fetching in a particular transaction. We'll now see how to customize the fetching strategy. In Hibernate3, the mechanisms for choosing a fetch strategy are identical for single-valued associations and collections."
-msgstr "仿¹ã§ã¯ãç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«ããã¦ã»ã¬ã¯ããã§ããã®ä»£ããã« çµåãã§ããï¼å½ç¶ããã¯é
å»¶å¦çã§ã¯ãªããªãã¾ãï¼ã鏿ããããã¨ã æã
ããã¾ãããããããã§ããæ¦ç¥ãã«ã¹ã¿ãã¤ãºããæ¹æ³ããè¦ããã¾ãã Hibernate3ã§ã¯ããã§ããæ¦ç¥ã鏿ããä»çµã¿ã¯åä¸å¤é¢é£ã¨ã³ã¬ã¯ã·ã§ã³ã§ å¤ããã¯ããã¾ããã"
+#. Tag: para
+#: performance.xml:159
+#, no-c-format
+msgid ""
+"On the other hand, we often want to choose join fetching (which is non-lazy "
+"by nature) instead of select fetching in a particular transaction. We'll now "
+"see how to customize the fetching strategy. In Hibernate3, the mechanisms "
+"for choosing a fetch strategy are identical for single-valued associations "
+"and collections."
+msgstr ""
+"仿¹ã§ã¯ãç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«ããã¦ã»ã¬ã¯ããã§ããã®ä»£ããã« çµåãã§ã"
+"ãï¼å½ç¶ããã¯é
å»¶å¦çã§ã¯ãªããªãã¾ãï¼ã鏿ããããã¨ã æã
ããã¾ãããã"
+"ãããã§ããæ¦ç¥ãã«ã¹ã¿ãã¤ãºããæ¹æ³ããè¦ããã¾ãã Hibernate3ã§ã¯ããã§ã"
+"ãæ¦ç¥ã鏿ããä»çµã¿ã¯åä¸å¤é¢é£ã¨ã³ã¬ã¯ã·ã§ã³ã§ å¤ããã¯ããã¾ããã"
-#: index.docbook:170
+#. Tag: title
+#: performance.xml:170
+#, no-c-format
msgid "Tuning fetch strategies"
msgstr "ãã§ããæ¦ç¥ã®ãã¥ã¼ãã³ã°"
-#: index.docbook:172
-msgid "Select fetching (the default) is extremely vulnerable to N+1 selects problems, so we might want to enable join fetching in the mapping document:"
-msgstr "ã»ã¬ã¯ããã§ããï¼ããã©ã«ãï¼ã¯N+1ã»ã¬ã¯ãåé¡ã¨ãã大ããªå¼±ç¹ãããããã ãããã³ã°å®ç¾©ã§çµåãã§ãããæå¹ã«ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: performance.xml:172
+#, no-c-format
+msgid ""
+"Select fetching (the default) is extremely vulnerable to N+1 selects "
+"problems, so we might want to enable join fetching in the mapping document:"
+msgstr ""
+"ã»ã¬ã¯ããã§ããï¼ããã©ã«ãï¼ã¯N+1ã»ã¬ã¯ãåé¡ã¨ãã大ããªå¼±ç¹ãããããã "
+"ãããã³ã°å®ç¾©ã§çµåãã§ãããæå¹ã«ãããã¨ãã§ãã¾ãã"
-#: index.docbook:177
+#. Tag: programlisting
+#: performance.xml:177
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"permissions\" \n"
- " fetch=\"join\">\n"
- " <key column=\"userId\"/>\n"
- " <one-to-many class=\"Permission\"/>\n"
- "</set]]>"
+"<![CDATA[<set name=\"permissions\" \n"
+" fetch=\"join\">\n"
+" <key column=\"userId\"/>\n"
+" <one-to-many class=\"Permission\"/>\n"
+"</set]]>"
msgstr ""
- "<![CDATA[<set name=\"permissions\"
-\n"
- " fetch=\"join\">
-\n"
- " <key column=\"userId\"/>
-\n"
- " <one-to-many class=\"Permission\"/>
-\n"
- "</set]]>"
-#: index.docbook:179
+#. Tag: programlisting
+#: performance.xml:179
+#, no-c-format
msgid "<![CDATA[<many-to-one name=\"mother\" class=\"Cat\" fetch=\"join\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"mother\" class=\"Cat\" fetch=\"join\"/>]]>"
+msgstr ""
-#: index.docbook:181
-msgid "The <literal>fetch</literal> strategy defined in the mapping document affects:"
-msgstr "ãããã³ã°å®ç¾©ã§å®ç¾©ãã <literal>ãã§ãã</literal> æ¦ç¥ã¯æ¬¡ã®ãã®ã«å½±é¿ãã¾ãã"
+#. Tag: para
+#: performance.xml:181
+#, no-c-format
+msgid ""
+"The <literal>fetch</literal> strategy defined in the mapping document "
+"affects:"
+msgstr ""
+"ãããã³ã°å®ç¾©ã§å®ç¾©ãã <literal>ãã§ãã</literal> æ¦ç¥ã¯æ¬¡ã®ãã®ã«å½±é¿ãã¾"
+"ãã"
-#: index.docbook:187
+#. Tag: para
+#: performance.xml:187
+#, no-c-format
msgid "retrieval via <literal>get()</literal> or <literal>load()</literal>"
msgstr "<literal>get()</literal> ã <literal>load()</literal> ã«ãã復å
"
-#: index.docbook:192
+#. Tag: para
+#: performance.xml:192
+#, no-c-format
msgid "retrieval that happens implicitly when an association is navigated"
msgstr "é¢é£ã«ããã²ã¼ãããã¨ãã«çºçããæé»çãªå¾©å
"
-#: index.docbook:197
+#. Tag: para
+#: performance.xml:197
+#, no-c-format
msgid "<literal>Criteria</literal> queries"
msgstr "<literal>Criteria</literal> ã¯ã¨ãª"
-#: index.docbook:202
+#. Tag: para
+#: performance.xml:202
+#, no-c-format
msgid "HQL queries if <literal>subselect</literal> fetching is used"
msgstr "<literal>ãµãã»ã¬ã¯ã</literal> ãã§ããã使ãHQLã¯ã¨ãª"
-#: index.docbook:208
-msgid "No matter what fetching strategy you use, the defined non-lazy graph is guaranteed to be loaded into memory. Note that this might result in several immediate selects being used to execute a particular HQL query."
-msgstr "ãã¨ãã©ããªãã§ããæ¦ç¥ã使ã£ãã¨ãã¦ããé
å»¶ã§ã¯ãªãã°ã©ãã¯ã¡ã¢ãªã«èªã¿è¾¼ã¾ãããã¨ã ä¿è¨¼ããã¾ããã¤ã¾ããç¹å®ã®HQLã¯ã¨ãªãå®è¡ããããã«ããã¤ãã®SELECTæã峿å®è¡ããã ãã¨ãããã®ã§æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: performance.xml:208
+#, no-c-format
+msgid ""
+"No matter what fetching strategy you use, the defined non-lazy graph is "
+"guaranteed to be loaded into memory. Note that this might result in several "
+"immediate selects being used to execute a particular HQL query."
+msgstr ""
+"ãã¨ãã©ããªãã§ããæ¦ç¥ã使ã£ãã¨ãã¦ããé
å»¶ã§ã¯ãªãã°ã©ãã¯ã¡ã¢ãªã«èªã¿è¾¼"
+"ã¾ãããã¨ã ä¿è¨¼ããã¾ããã¤ã¾ããç¹å®ã®HQLã¯ã¨ãªãå®è¡ããããã«ããã¤ãã®"
+"SELECTæã峿å®è¡ããã ãã¨ãããã®ã§æ³¨æãã¦ãã ããã"
-#: index.docbook:214
-msgid "Usually, we don't use the mapping document to customize fetching. Instead, we keep the default behavior, and override it for a particular transaction, using <literal>left join fetch</literal> in HQL. This tells Hibernate to fetch the association eagerly in the first select, using an outer join. In the <literal>Criteria</literal> query API, you would use <literal>setFetchMode(FetchMode.JOIN)</literal>."
-msgstr "é常ã¯ããããã³ã°å®ç¾©ã§ãã§ããã®ã«ã¹ã¿ãã¤ãºã¯è¡ãã¾ããã 代ããã«ãããã©ã«ãã®åä½ã®ã¾ã¾ã«ãã¦ããã¦ãHQLã§ <literal>left join fetch</literal> ã æå®ãããã¨ã§ç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã§åä½ããªã¼ãã¼ã©ã¤ããã¾ãã ããã¯Hibernateã«ååã®ã»ã¬ã¯ãã§å¤é¨çµåã使ã£ã¦é¢é£ãå
ã«ãã§ããããããã«æå®ãã¦ãã¾ãã <literal>Criteria</literal> ã¯ã¨ãªã®APIã§ã¯ã <literal>setFetchMode(FetchMode.JOIN)</literal> ã使ããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:214
+#, no-c-format
+msgid ""
+"Usually, we don't use the mapping document to customize fetching. Instead, "
+"we keep the default behavior, and override it for a particular transaction, "
+"using <literal>left join fetch</literal> in HQL. This tells Hibernate to "
+"fetch the association eagerly in the first select, using an outer join. In "
+"the <literal>Criteria</literal> query API, you would use "
+"<literal>setFetchMode(FetchMode.JOIN)</literal>."
+msgstr ""
+"é常ã¯ããããã³ã°å®ç¾©ã§ãã§ããã®ã«ã¹ã¿ãã¤ãºã¯è¡ãã¾ããã 代ããã«ãããã©"
+"ã«ãã®åä½ã®ã¾ã¾ã«ãã¦ããã¦ãHQLã§ <literal>left join fetch</literal> ã æ"
+"å®ãããã¨ã§ç¹å®ã®ãã©ã³ã¶ã¯ã·ã§ã³ã§åä½ããªã¼ãã¼ã©ã¤ããã¾ãã ããã¯"
+"Hibernateã«ååã®ã»ã¬ã¯ãã§å¤é¨çµåã使ã£ã¦é¢é£ãå
ã«ãã§ããããããã«æå®ã"
+"ã¦ãã¾ãã <literal>Criteria</literal> ã¯ã¨ãªã®APIã§ã¯ã "
+"<literal>setFetchMode(FetchMode.JOIN)</literal> ã使ããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:223
-msgid "If you ever feel like you wish you could change the fetching strategy used by <literal>get()</literal> or <literal>load()</literal>, simply use a <literal>Criteria</literal> query, for example:"
-msgstr "ãã <literal>get()</literal> ã <literal>load()</literal> ã§ä½¿ããã ãã§ããæ¦ç¥ãå¤ãããã¨æããã¨ãã«ã¯ãåç´ã« <literal>Criteria</literal> ã¯ã¨ãªã使ã£ã¦ãã ãããä¾ï¼"
+#. Tag: para
+#: performance.xml:223
+#, no-c-format
+msgid ""
+"If you ever feel like you wish you could change the fetching strategy used "
+"by <literal>get()</literal> or <literal>load()</literal>, simply use a "
+"<literal>Criteria</literal> query, for example:"
+msgstr ""
+"ãã <literal>get()</literal> ã <literal>load()</literal> ã§ä½¿ããã ãã§ã"
+"ãæ¦ç¥ãå¤ãããã¨æããã¨ãã«ã¯ãåç´ã« <literal>Criteria</literal> ã¯ã¨ãªã"
+"使ã£ã¦ãã ãããä¾ï¼"
-#: index.docbook:229
+#. Tag: programlisting
+#: performance.xml:229
+#, no-c-format
msgid ""
- "<![CDATA[User user = (User) session.createCriteria(User.class)\n"
- " .setFetchMode(\"permissions\", FetchMode.JOIN)\n"
- " .add( Restrictions.idEq(userId) )\n"
- " .uniqueResult();]]>"
+"<![CDATA[User user = (User) session.createCriteria(User.class)\n"
+" .setFetchMode(\"permissions\", FetchMode.JOIN)\n"
+" .add( Restrictions.idEq(userId) )\n"
+" .uniqueResult();]]>"
msgstr ""
- "<![CDATA[User user = (User) session.createCriteria(User.class)
-\n"
- " .setFetchMode(\"permissions\", FetchMode.JOIN)
-\n"
- " .add( Restrictions.idEq(userId) )
-\n"
- " .uniqueResult();]]>"
-#: index.docbook:231
-msgid "(This is Hibernate's equivalent of what some ORM solutions call a \"fetch plan\".)"
-msgstr "ï¼ããã¯ããã¤ãã®ORMã½ãªã¥ã¼ã·ã§ã³ã\"fetch plan\"ã¨å¼ãã§ãããã®ã¨åãã§ããï¼"
+#. Tag: para
+#: performance.xml:231
+#, no-c-format
+msgid ""
+"(This is Hibernate's equivalent of what some ORM solutions call a \"fetch "
+"plan\".)"
+msgstr ""
+"ï¼ããã¯ããã¤ãã®ORMã½ãªã¥ã¼ã·ã§ã³ã\"fetch plan\"ã¨å¼ãã§ãããã®ã¨åãã§"
+"ããï¼"
-#: index.docbook:235
-msgid "A completely different way to avoid problems with N+1 selects is to use the second-level cache."
-msgstr "N+1ã»ã¬ã¯ãåé¡ãé¿ããããã®ã¾ã£ããéãæ¹æ³ã¯ã第2ã¬ãã«ãã£ãã·ã¥ã使ããã¨ã§ãã"
+#. Tag: para
+#: performance.xml:235
+#, no-c-format
+msgid ""
+"A completely different way to avoid problems with N+1 selects is to use the "
+"second-level cache."
+msgstr ""
+"N+1ã»ã¬ã¯ãåé¡ãé¿ããããã®ã¾ã£ããéãæ¹æ³ã¯ã第2ã¬ãã«ãã£ãã·ã¥ã使ãã"
+"ã¨ã§ãã"
-#: index.docbook:243
+#. Tag: title
+#: performance.xml:243
+#, no-c-format
msgid "Single-ended association proxies"
msgstr "åä¸ç«¯é¢é£ãããã·"
-#: index.docbook:245
-msgid "Lazy fetching for collections is implemented using Hibernate's own implementation of persistent collections. However, a different mechanism is needed for lazy behavior in single-ended associations. The target entity of the association must be proxied. Hibernate implements lazy initializing proxies for persistent objects using runtime bytecode enhancement (via the excellent CGLIB library)."
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®é
å»¶ãã§ããã¯ãHibernateèªèº«ã®å®è£
ã«ããæ°¸ç¶ã³ã¬ã¯ã·ã§ã³ã使ã£ã¦ å®ç¾ãã¦ãã¾ããããããåä¸ç«¯é¢é£ã«ãããé
å»¶å¦çã§ã¯ãéãä»çµã¿ã å¿
è¦ã§ãã対象ã®é¢é£ã¨ã³ãã£ãã£ã¯ãããã·ã§ãªããã°ãªãã¾ãããHibernate㯠ï¼ãã°ãããCGLIBã©ã¤ãã©ãªã«ããï¼å®è¡æã®ãã¤ãã³ã¼ãæ¡å¼µã 使ã£ã¦æ°¸ç¶ãªãã¸ã§ã¯ãã®é
å»¶åæåãããã·ãå®ç¾ãã¦ãã¾ãã"
+#. Tag: para
+#: performance.xml:245
+#, no-c-format
+msgid ""
+"Lazy fetching for collections is implemented using Hibernate's own "
+"implementation of persistent collections. However, a different mechanism is "
+"needed for lazy behavior in single-ended associations. The target entity of "
+"the association must be proxied. Hibernate implements lazy initializing "
+"proxies for persistent objects using runtime bytecode enhancement (via the "
+"excellent CGLIB library)."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®é
å»¶ãã§ããã¯ãHibernateèªèº«ã®å®è£
ã«ããæ°¸ç¶ã³ã¬ã¯ã·ã§ã³ã使ã£"
+"㦠å®ç¾ãã¦ãã¾ããããããåä¸ç«¯é¢é£ã«ãããé
å»¶å¦çã§ã¯ãéãä»çµã¿ã å¿
è¦"
+"ã§ãã対象ã®é¢é£ã¨ã³ãã£ãã£ã¯ãããã·ã§ãªããã°ãªãã¾ãããHibernate㯠ï¼ã"
+"ã°ãããCGLIBã©ã¤ãã©ãªã«ããï¼å®è¡æã®ãã¤ãã³ã¼ãæ¡å¼µã 使ã£ã¦æ°¸ç¶ãªãã¸ã§"
+"ã¯ãã®é
å»¶åæåãããã·ãå®ç¾ãã¦ãã¾ãã"
-#: index.docbook:253
-msgid "By default, Hibernate3 generates proxies (at startup) for all persistent classes and uses them to enable lazy fetching of <literal>many-to-one</literal> and <literal>one-to-one</literal> associations."
-msgstr "ããã©ã«ãã§ã¯ãHibernate3ã¯ï¼éå§æã«ï¼ãã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã®ãããã·ãçæãã ãããã使ã£ã¦ã <literal>many-to-one</literal> ã <literal>one-to-one</literal> é¢é£ã® é
å»¶ãã§ãããå¯è½ã«ãã¦ãã¾ãã"
+#. Tag: para
+#: performance.xml:253
+#, no-c-format
+msgid ""
+"By default, Hibernate3 generates proxies (at startup) for all persistent "
+"classes and uses them to enable lazy fetching of <literal>many-to-one</"
+"literal> and <literal>one-to-one</literal> associations."
+msgstr ""
+"ããã©ã«ãã§ã¯ãHibernate3ã¯ï¼éå§æã«ï¼ãã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã®ãããã·ãçæ"
+"ãã ãããã使ã£ã¦ã <literal>many-to-one</literal> ã <literal>one-to-one</"
+"literal> é¢é£ã® é
å»¶ãã§ãããå¯è½ã«ãã¦ãã¾ãã"
-#: index.docbook:259
-msgid "The mapping file may declare an interface to use as the proxy interface for that class, with the <literal>proxy</literal> attribute. By default, Hibernate uses a subclass of the class. <emphasis>Note that the proxied class must implement a default constructor with at least package visibility. We recommend this constructor for all persistent classes!</emphasis>"
-msgstr "ãããã³ã°ãã¡ã¤ã«ã§ <literal>proxy</literal> 屿§ã«ãã£ã¦ãã¯ã©ã¹ã®ãããã·ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨ã㦠使ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã宣è¨ã§ãã¾ããããã©ã«ãã§ã¯ãHibernateã¯ãã®ã¯ã©ã¹ã®ãµãã¯ã©ã¹ã使ãã¾ãã <emphasis>ãããã·ã¯ã©ã¹ã¯å°ãªãã¨ãããã±ã¼ã¸å¯è¦ã§ããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ãå®è£
ããªããã° ãªããªããã¨ã«æ³¨æãã¦ãã ããããã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«ãã®ã³ã³ã¹ãã©ã¯ã¿ãæ¨å¥¨ãã¾ãï¼</emphasis>"
+#. Tag: para
+#: performance.xml:259
+#, no-c-format
+msgid ""
+"The mapping file may declare an interface to use as the proxy interface for "
+"that class, with the <literal>proxy</literal> attribute. By default, "
+"Hibernate uses a subclass of the class. <emphasis>Note that the proxied "
+"class must implement a default constructor with at least package visibility. "
+"We recommend this constructor for all persistent classes!</emphasis>"
+msgstr ""
+"ãããã³ã°ãã¡ã¤ã«ã§ <literal>proxy</literal> 屿§ã«ãã£ã¦ãã¯ã©ã¹ã®ãããã·"
+"ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨ã㦠使ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã宣è¨ã§ãã¾ããããã©ã«ãã§ã¯ã"
+"Hibernateã¯ãã®ã¯ã©ã¹ã®ãµãã¯ã©ã¹ã使ãã¾ãã <emphasis>ãããã·ã¯ã©ã¹ã¯å°ãª"
+"ãã¨ãããã±ã¼ã¸å¯è¦ã§ããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ãå®è£
ããªããã° ãªããªããã¨ã«"
+"注æãã¦ãã ããããã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«ãã®ã³ã³ã¹ãã©ã¯ã¿ãæ¨å¥¨ãã¾ãï¼</"
+"emphasis>"
-#: index.docbook:266
-msgid "There are some gotchas to be aware of when extending this approach to polymorphic classes, eg."
-msgstr "ããªã¢ã¼ãã£ãºã ã®ã¯ã©ã¹ã«å¯¾ãã¦ãã®æ¹æ³ãé©ç¨ããã¨ãã«ããã¤ãèæ
®ãããã¨ãããã¾ãã ä¾ï¼"
+#. Tag: para
+#: performance.xml:266
+#, no-c-format
+msgid ""
+"There are some gotchas to be aware of when extending this approach to "
+"polymorphic classes, eg."
+msgstr ""
+"ããªã¢ã¼ãã£ãºã ã®ã¯ã©ã¹ã«å¯¾ãã¦ãã®æ¹æ³ãé©ç¨ããã¨ãã«ããã¤ãèæ
®ãããã¨"
+"ãããã¾ãã ä¾ï¼"
-#: index.docbook:271
+#. Tag: programlisting
+#: performance.xml:271
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Cat\" proxy=\"Cat\">\n"
- " ......\n"
- " <subclass name=\"DomesticCat\">\n"
- " .....\n"
- " </subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Cat\" proxy=\"Cat\">\n"
+" ......\n"
+" <subclass name=\"DomesticCat\">\n"
+" .....\n"
+" </subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Cat\" proxy=\"Cat\">
-\n"
- " ......
-\n"
- " <subclass name=\"DomesticCat\">
-\n"
- " .....
-\n"
- " </subclass>
-\n"
- "</class>]]>"
-#: index.docbook:273
-msgid "Firstly, instances of <literal>Cat</literal> will never be castable to <literal>DomesticCat</literal>, even if the underlying instance is an instance of <literal>DomesticCat</literal>:"
-msgstr "第ä¸ã«ã <literal>Cat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ <literal>DomesticCat</literal> ã«ãã£ã¹ãã§ãã¾ããããã¨ãåºã¨ãªãã¤ã³ã¹ã¿ã³ã¹ã <literal>DomesticCat</literal> ã§ãã£ãã¨ãã¦ãã§ãã"
+#. Tag: para
+#: performance.xml:273
+#, no-c-format
+msgid ""
+"Firstly, instances of <literal>Cat</literal> will never be castable to "
+"<literal>DomesticCat</literal>, even if the underlying instance is an "
+"instance of <literal>DomesticCat</literal>:"
+msgstr ""
+"第ä¸ã«ã <literal>Cat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ <literal>DomesticCat</"
+"literal> ã«ãã£ã¹ãã§ãã¾ããããã¨ãåºã¨ãªãã¤ã³ã¹ã¿ã³ã¹ã "
+"<literal>DomesticCat</literal> ã§ãã£ãã¨ãã¦ãã§ãã"
-#: index.docbook:279
+#. Tag: programlisting
+#: performance.xml:279
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // instantiate a proxy (does not hit the db)\n"
- "if ( cat.isDomesticCat() ) { // hit the db to initialize the proxy\n"
- " DomesticCat dc = (DomesticCat) cat; // Error!\n"
- " ....\n"
- "}]]>"
+"<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // instantiate a "
+"proxy (does not hit the db)\n"
+"if ( cat.isDomesticCat() ) { // hit the db to initialize "
+"the proxy\n"
+" DomesticCat dc = (DomesticCat) cat; // Error!\n"
+" ....\n"
+"}]]>"
msgstr ""
- "<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // instantiate a proxy (does not hit the db)
-\n"
- "if ( cat.isDomesticCat() ) { // hit the db to initialize the proxy
-\n"
- " DomesticCat dc = (DomesticCat) cat; // Error!
-\n"
- " ....
-\n"
- "}]]>"
-#: index.docbook:281
+#. Tag: para
+#: performance.xml:281
+#, no-c-format
msgid "Secondly, it is possible to break proxy <literal>==</literal>."
msgstr "第äºã«ããããã·ã® <literal>==</literal> ã¯æç«ããªããã¨ãããã¾ãã"
-#: index.docbook:285
+#. Tag: programlisting
+#: performance.xml:285
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // instantiate a Cat proxy\n"
- "DomesticCat dc = \n"
- " (DomesticCat) session.load(DomesticCat.class, id); // acquire new DomesticCat proxy!\n"
- "System.out.println(cat==dc); // false]]>"
+"<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // "
+"instantiate a Cat proxy\n"
+"DomesticCat dc = \n"
+" (DomesticCat) session.load(DomesticCat.class, id); // acquire new "
+"DomesticCat proxy!\n"
+"System.out.println(cat==dc); // false]]>"
msgstr ""
- "<![CDATA[Cat cat = (Cat) session.load(Cat.class, id); // instantiate a Cat proxy
-\n"
- "DomesticCat dc =
-\n"
- " (DomesticCat) session.load(DomesticCat.class, id); // acquire new DomesticCat proxy!
-\n"
- "System.out.println(cat==dc); // false]]>"
-#: index.docbook:287
-msgid "However, the situation is not quite as bad as it looks. Even though we now have two references to different proxy objects, the underlying instance will still be the same object:"
-msgstr "ããããããã¯è¦ããã»ã©æªãç¶æ³ã¨ããããã§ã¯ããã¾ããããã¨ãç°ãªã£ããããã·ãªãã¸ã§ã¯ãã¸ã® äºã¤ã®åç
§ããã£ãã¨ãã¦ããåºã¨ãªãã¤ã³ã¹ã¿ã³ã¹ã¯åããªãã¸ã§ã¯ãã§ãã"
+#. Tag: para
+#: performance.xml:287
+#, no-c-format
+msgid ""
+"However, the situation is not quite as bad as it looks. Even though we now "
+"have two references to different proxy objects, the underlying instance will "
+"still be the same object:"
+msgstr ""
+"ããããããã¯è¦ããã»ã©æªãç¶æ³ã¨ããããã§ã¯ããã¾ããããã¨ãç°ãªã£ããã"
+"ãã·ãªãã¸ã§ã¯ãã¸ã® äºã¤ã®åç
§ããã£ãã¨ãã¦ããåºã¨ãªãã¤ã³ã¹ã¿ã³ã¹ã¯åããª"
+"ãã¸ã§ã¯ãã§ãã"
-#: index.docbook:292
+#. Tag: programlisting
+#: performance.xml:292
+#, no-c-format
msgid ""
- "<![CDATA[cat.setWeight(11.0); // hit the db to initialize the proxy\n"
- "System.out.println( dc.getWeight() ); // 11.0]]>"
+"<![CDATA[cat.setWeight(11.0); // hit the db to initialize the proxy\n"
+"System.out.println( dc.getWeight() ); // 11.0]]>"
msgstr ""
- "<![CDATA[cat.setWeight(11.0); // hit the db to initialize the proxy
-\n"
- "System.out.println( dc.getWeight() ); // 11.0]]>"
-#: index.docbook:294
-msgid "Third, you may not use a CGLIB proxy for a <literal>final</literal> class or a class with any <literal>final</literal> methods."
-msgstr "第ä¸ã«ã <literal>final</literal> ã¯ã©ã¹ã <literal>final</literal> ã¡ã½ãããæã¤ã¯ã©ã¹ã« CGLIBãããã·ã使ãã¾ããã"
+#. Tag: para
+#: performance.xml:294
+#, no-c-format
+msgid ""
+"Third, you may not use a CGLIB proxy for a <literal>final</literal> class or "
+"a class with any <literal>final</literal> methods."
+msgstr ""
+"第ä¸ã«ã <literal>final</literal> ã¯ã©ã¹ã <literal>final</literal> ã¡ã½ãã"
+"ãæã¤ã¯ã©ã¹ã« CGLIBãããã·ã使ãã¾ããã"
-#: index.docbook:299
-msgid "Finally, if your persistent object acquires any resources upon instantiation (eg. in initializers or default constructor), then those resources will also be acquired by the proxy. The proxy class is an actual subclass of the persistent class."
-msgstr "æå¾ã«ãããæ°¸ç¶ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹åæ(ä¾ãã°ãåæåå¦çãããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ã®ä¸ã§) ã«ãªãããã®ãªã½ã¼ã¹ãå¿
è¦ã¨ãªããªãããã®ãªã½ã¼ã¹ãã¾ããããã·ãéãã¦åå¾ããã¾ãã å®éã«ã¯ããããã·ã¯ã©ã¹ã¯æ°¸ç¶ã¯ã©ã¹ã®ãµãã¯ã©ã¹ã§ãã"
+#. Tag: para
+#: performance.xml:299
+#, no-c-format
+msgid ""
+"Finally, if your persistent object acquires any resources upon instantiation "
+"(eg. in initializers or default constructor), then those resources will also "
+"be acquired by the proxy. The proxy class is an actual subclass of the "
+"persistent class."
+msgstr ""
+"æå¾ã«ãããæ°¸ç¶ãªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹åæ(ä¾ãã°ãåæåå¦çãããã©ã«ã"
+"ã³ã³ã¹ãã©ã¯ã¿ã®ä¸ã§) ã«ãªãããã®ãªã½ã¼ã¹ãå¿
è¦ã¨ãªããªãããã®ãªã½ã¼ã¹ãã¾"
+"ããããã·ãéãã¦åå¾ããã¾ãã å®éã«ã¯ããããã·ã¯ã©ã¹ã¯æ°¸ç¶ã¯ã©ã¹ã®ãµãã¯"
+"ã©ã¹ã§ãã"
-#: index.docbook:305
-msgid "These problems are all due to fundamental limitations in Java's single inheritance model. If you wish to avoid these problems your persistent classes must each implement an interface that declares its business methods. You should specify these interfaces in the mapping file. eg."
-msgstr "ãããã®åé¡ã¯Javaã®åä¸ç¶æ¿ã¢ãã«ã®åçä¸ã®å¶éã®ããã§ãããããããã®åé¡ãé¿ãããã®ãªãã ãã¸ãã¹ã¡ã½ããã宣è¨ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãããããæ°¸ç¶ã¯ã©ã¹ã§å®è£
ããªããã°ãªãã¾ããã ãããã³ã°ãã¡ã¤ã«ã§ãããã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæå®ããå¿
è¦ãããã¾ããä¾ï¼"
+#. Tag: para
+#: performance.xml:305
+#, no-c-format
+msgid ""
+"These problems are all due to fundamental limitations in Java's single "
+"inheritance model. If you wish to avoid these problems your persistent "
+"classes must each implement an interface that declares its business methods. "
+"You should specify these interfaces in the mapping file. eg."
+msgstr ""
+"ãããã®åé¡ã¯Javaã®åä¸ç¶æ¿ã¢ãã«ã®åçä¸ã®å¶éã®ããã§ãããããããã®åé¡"
+"ãé¿ãããã®ãªãã ãã¸ãã¹ã¡ã½ããã宣è¨ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãããããæ°¸ç¶ã¯"
+"ã©ã¹ã§å®è£
ããªããã°ãªãã¾ããã ãããã³ã°ãã¡ã¤ã«ã§ãããã®ã¤ã³ã¿ã¼ãã§ã¤ã¹"
+"ãæå®ããå¿
è¦ãããã¾ããä¾ï¼"
-#: index.docbook:311
+#. Tag: programlisting
+#: performance.xml:311
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"CatImpl\" proxy=\"Cat\">\n"
- " ......\n"
- " <subclass name=\"DomesticCatImpl\" proxy=\"DomesticCat\">\n"
- " .....\n"
- " </subclass>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"CatImpl\" proxy=\"Cat\">\n"
+" ......\n"
+" <subclass name=\"DomesticCatImpl\" proxy=\"DomesticCat\">\n"
+" .....\n"
+" </subclass>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"CatImpl\" proxy=\"Cat\">
-\n"
- " ......
-\n"
- " <subclass name=\"DomesticCatImpl\" proxy=\"DomesticCat\">
-\n"
- " .....
-\n"
- " </subclass>
-\n"
- "</class>]]>"
-#: index.docbook:313
-msgid "where <literal>CatImpl</literal> implements the interface <literal>Cat</literal> and <literal>DomesticCatImpl</literal> implements the interface <literal>DomesticCat</literal>. Then proxies for instances of <literal>Cat</literal> and <literal>DomesticCat</literal> may be returned by <literal>load()</literal> or <literal>iterate()</literal>. (Note that <literal>list()</literal> does not usually return proxies.)"
-msgstr "<literal>CatImpl</literal> 㯠<literal>Cat</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããã®ã«å¯¾ãã <literal>DomesticCatImpl</literal> 㯠<literal>DomesticCat</literal> ãå®è£
ãã¾ãã ããã¨ã <literal>load()</literal> ã <literal>iterate()</literal> ã¯ã <literal>Cat</literal> ã <literal>DomesticCat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã®ãããã·ã è¿ãã¾ããï¼ <literal>list()</literal> ã¯é常ã¯ãããã·ãè¿ããªããã¨ã«æ³¨æãã¦ãã ãããï¼"
+#. Tag: para
+#: performance.xml:313
+#, no-c-format
+msgid ""
+"where <literal>CatImpl</literal> implements the interface <literal>Cat</"
+"literal> and <literal>DomesticCatImpl</literal> implements the interface "
+"<literal>DomesticCat</literal>. Then proxies for instances of <literal>Cat</"
+"literal> and <literal>DomesticCat</literal> may be returned by <literal>load"
+"()</literal> or <literal>iterate()</literal>. (Note that <literal>list()</"
+"literal> does not usually return proxies.)"
+msgstr ""
+"<literal>CatImpl</literal> 㯠<literal>Cat</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ã"
+"ãã®ã«å¯¾ãã <literal>DomesticCatImpl</literal> 㯠<literal>DomesticCat</"
+"literal> ãå®è£
ãã¾ãã ããã¨ã <literal>load()</literal> ã "
+"<literal>iterate()</literal> ã¯ã <literal>Cat</literal> ã "
+"<literal>DomesticCat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã®ãããã·ã è¿ãã¾ãã"
+"ï¼ <literal>list()</literal> ã¯é常ã¯ãããã·ãè¿ããªããã¨ã«æ³¨æãã¦ãã ã"
+"ããï¼"
-#: index.docbook:321
+#. Tag: programlisting
+#: performance.xml:321
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = (Cat) session.load(CatImpl.class, catid);\n"
- "Iterator iter = session.createQuery(\"from CatImpl as cat where cat.name='fritz'\").iterate();\n"
- "Cat fritz = (Cat) iter.next();]]>"
+"<![CDATA[Cat cat = (Cat) session.load(CatImpl.class, catid);\n"
+"Iterator iter = session.createQuery(\"from CatImpl as cat where cat."
+"name='fritz'\").iterate();\n"
+"Cat fritz = (Cat) iter.next();]]>"
msgstr ""
- "<![CDATA[Cat cat = (Cat) session.load(CatImpl.class, catid);
-\n"
- "Iterator iter = session.createQuery(\"from CatImpl as cat where cat.name='fritz'\").iterate();
-\n"
- "Cat fritz = (Cat) iter.next();]]>"
-#: index.docbook:323
-msgid "Relationships are also lazily initialized. This means you must declare any properties to be of type <literal>Cat</literal>, not <literal>CatImpl</literal>."
-msgstr "é¢é£ãé
å»¶åæåããã¾ããããã¯ããããã£ã <literal>Cat</literal> åã§å®£è¨ããªããã° ãªããªããã¨ãæå³ãã¾ãã <literal>CatImpl</literal> ã§ã¯ããã¾ããã"
+#. Tag: para
+#: performance.xml:323
+#, no-c-format
+msgid ""
+"Relationships are also lazily initialized. This means you must declare any "
+"properties to be of type <literal>Cat</literal>, not <literal>CatImpl</"
+"literal>."
+msgstr ""
+"é¢é£ãé
å»¶åæåããã¾ããããã¯ããããã£ã <literal>Cat</literal> åã§å®£è¨"
+"ããªããã° ãªããªããã¨ãæå³ãã¾ãã <literal>CatImpl</literal> ã§ã¯ããã¾ã"
+"ãã"
-#: index.docbook:328
-msgid "Certain operations do <emphasis>not</emphasis> require proxy initialization"
-msgstr "ãããã·ã®åæåã <emphasis>å¿
è¦ã¨ããªã</emphasis> æä½ãåå¨ãã¾ãã"
+#. Tag: para
+#: performance.xml:328
+#, no-c-format
+msgid ""
+"Certain operations do <emphasis>not</emphasis> require proxy initialization"
+msgstr ""
+"ãããã·ã®åæåã <emphasis>å¿
è¦ã¨ããªã</emphasis> æä½ãåå¨ãã¾ãã"
-#: index.docbook:334
-msgid "<literal>equals()</literal>, if the persistent class does not override <literal>equals()</literal>"
-msgstr "<literal>equals()</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã <literal>equals()</literal> ã ãªã¼ãã¼ã©ã¤ãããªãã¨ãï¼"
+#. Tag: para
+#: performance.xml:334
+#, no-c-format
+msgid ""
+"<literal>equals()</literal>, if the persistent class does not override "
+"<literal>equals()</literal>"
+msgstr ""
+"<literal>equals()</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã <literal>equals()</literal> ã "
+"ãªã¼ãã¼ã©ã¤ãããªãã¨ãï¼"
-#: index.docbook:340
-msgid "<literal>hashCode()</literal>, if the persistent class does not override <literal>hashCode()</literal>"
-msgstr "<literal>hashCode()</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã <literal>hashCode()</literal> ã ãªã¼ãã¼ã©ã¤ãããªãã¨ãï¼"
+#. Tag: para
+#: performance.xml:340
+#, no-c-format
+msgid ""
+"<literal>hashCode()</literal>, if the persistent class does not override "
+"<literal>hashCode()</literal>"
+msgstr ""
+"<literal>hashCode()</literal> ï¼æ°¸ç¶ã¯ã©ã¹ã <literal>hashCode()</literal> "
+"ã ãªã¼ãã¼ã©ã¤ãããªãã¨ãï¼"
-#: index.docbook:346
+#. Tag: para
+#: performance.xml:346
+#, no-c-format
msgid "The identifier getter method"
msgstr "èå¥åã®getterã¡ã½ãã"
-#: index.docbook:352
-msgid "Hibernate will detect persistent classes that override <literal>equals()</literal> or <literal>hashCode()</literal>."
-msgstr "Hibernate㯠<literal>equals()</literal> ã <literal>hashCode()</literal> ããªã¼ãã¼ã©ã¤ããã æ°¸ç¶ã¯ã©ã¹ãæ¤åºãã¾ãã"
+#. Tag: para
+#: performance.xml:352
+#, no-c-format
+msgid ""
+"Hibernate will detect persistent classes that override <literal>equals()</"
+"literal> or <literal>hashCode()</literal>."
+msgstr ""
+"Hibernate㯠<literal>equals()</literal> ã <literal>hashCode()</literal> ã"
+"ãªã¼ãã¼ã©ã¤ããã æ°¸ç¶ã¯ã©ã¹ãæ¤åºãã¾ãã"
-#: index.docbook:357
-msgid "By choosing <literal>lazy=\"no-proxy\"</literal> instead of the default <literal>lazy=\"proxy\"</literal>, we can avoid the problems associated with typecasting. However, we will require buildtime bytecode instrumentation, and all operations will result in immediate proxy initialization."
-msgstr "ããã©ã«ãã® <literal>lazy=\"proxy\"</literal> ã®ä»£ããã«ã <literal>lazy=\"no-proxy\"</literal> ã é¸ãã ãã¨ã§ãå夿ã«é¢é£ããåé¡ãåé¿ãããã¨ãåºæ¥ã¾ãã ãããããã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã«ãªããã©ã®ãããªæä½ã§ãã£ã¦ãã ãã ã¡ã«ãããã·ã®åæåãè¡ããã¨ã«ãªãã§ãããã"
+#. Tag: para
+#: performance.xml:357
+#, no-c-format
+msgid ""
+"By choosing <literal>lazy=\"no-proxy\"</literal> instead of the default "
+"<literal>lazy=\"proxy\"</literal>, we can avoid the problems associated with "
+"typecasting. However, we will require buildtime bytecode instrumentation, "
+"and all operations will result in immediate proxy initialization."
+msgstr ""
+"ããã©ã«ãã® <literal>lazy=\"proxy\"</literal> ã®ä»£ããã«ã <literal>lazy="
+"\"no-proxy\"</literal> ã é¸ãã ãã¨ã§ãå夿ã«é¢é£ããåé¡ãåé¿ãããã¨ã"
+"åºæ¥ã¾ãã ãããããã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã«ãªããã©ã®ãããªæä½"
+"ã§ãã£ã¦ãã ãã ã¡ã«ãããã·ã®åæåãè¡ããã¨ã«ãªãã§ãããã"
-#: index.docbook:367
+#. Tag: title
+#: performance.xml:367
+#, no-c-format
msgid "Initializing collections and proxies"
msgstr "ã³ã¬ã¯ã·ã§ã³ã¨ãããã·ã®åæå"
-#: index.docbook:369
-msgid "A <literal>LazyInitializationException</literal> will be thrown by Hibernate if an uninitialized collection or proxy is accessed outside of the scope of the <literal>Session</literal>, ie. when the entity owning the collection or having the reference to the proxy is in the detached state."
-msgstr "<literal>LazyInitializationException</literal> ã¯ã <literal>Session</literal> ã®ã¹ã³ã¼ãå¤ãã åæåãã¦ããªãã³ã¬ã¯ã·ã§ã³ããããã·ã«ã¢ã¯ã»ã¹ãããã¨ãã«ãHibernateã«ãã£ã¦ã¹ãã¼ããã¾ãã ããªãã¡ãã³ã¬ã¯ã·ã§ã³ããããã·ã¸ã®åç
§ãæã¤ã¨ã³ãã£ãã£ãåé¢ãããç¶æ
ã®æã§ãã"
+#. Tag: para
+#: performance.xml:369
+#, no-c-format
+msgid ""
+"A <literal>LazyInitializationException</literal> will be thrown by Hibernate "
+"if an uninitialized collection or proxy is accessed outside of the scope of "
+"the <literal>Session</literal>, ie. when the entity owning the collection or "
+"having the reference to the proxy is in the detached state."
+msgstr ""
+"<literal>LazyInitializationException</literal> ã¯ã <literal>Session</"
+"literal> ã®ã¹ã³ã¼ãå¤ãã åæåãã¦ããªãã³ã¬ã¯ã·ã§ã³ããããã·ã«ã¢ã¯ã»ã¹ã"
+"ããã¨ãã«ãHibernateã«ãã£ã¦ã¹ãã¼ããã¾ãã ããªãã¡ãã³ã¬ã¯ã·ã§ã³ãããã"
+"ã·ã¸ã®åç
§ãæã¤ã¨ã³ãã£ãã£ãåé¢ãããç¶æ
ã®æã§ãã"
-#: index.docbook:375
-msgid "Sometimes we need to ensure that a proxy or collection is initialized before closing the <literal>Session</literal>. Of course, we can alway force initialization by calling <literal>cat.getSex()</literal> or <literal>cat.getKittens().size()</literal>, for example. But that is confusing to readers of the code and is not convenient for generic code."
-msgstr "<literal>Session</literal> ãã¯ãã¼ãºããåã«ãããã·ãã³ã¬ã¯ã·ã§ã³ã®åæåã確å®ã« è¡ãããã¨ããããã¾ãããã¡ããã <literal>cat.getSex()</literal> ã <literal>cat.getKittens().size()</literal> ãªã©ã常ã«å¼ã³åºããã¨ã§åæåãå¼·å¶ãããã¨ã¯ã§ãã¾ãã ãããããã¯ã³ã¼ããèªãäººãæ··ä¹±ãããæ±ç¨çãªã³ã¼ãã¨ããç¹ãããä¸ä¾¿ã§ãã"
+#. Tag: para
+#: performance.xml:375
+#, no-c-format
+msgid ""
+"Sometimes we need to ensure that a proxy or collection is initialized before "
+"closing the <literal>Session</literal>. Of course, we can alway force "
+"initialization by calling <literal>cat.getSex()</literal> or <literal>cat."
+"getKittens().size()</literal>, for example. But that is confusing to readers "
+"of the code and is not convenient for generic code."
+msgstr ""
+"<literal>Session</literal> ãã¯ãã¼ãºããåã«ãããã·ãã³ã¬ã¯ã·ã§ã³ã®åæåã"
+"確å®ã« è¡ãããã¨ããããã¾ãããã¡ããã <literal>cat.getSex()</literal> ã "
+"<literal>cat.getKittens().size()</literal> ãªã©ã常ã«å¼ã³åºããã¨ã§åæåãå¼·"
+"å¶ãããã¨ã¯ã§ãã¾ãã ãããããã¯ã³ã¼ããèªãäººãæ··ä¹±ãããæ±ç¨çãªã³ã¼ãã¨"
+"ããç¹ãããä¸ä¾¿ã§ãã"
-#: index.docbook:382
-msgid "The static methods <literal>Hibernate.initialize()</literal> and <literal>Hibernate.isInitialized()</literal> provide the application with a convenient way of working with lazily initialized collections or proxies. <literal>Hibernate.initialize(cat)</literal> will force the initialization of a proxy, <literal>cat</literal>, as long as its <literal>Session</literal> is still open. <literal>Hibernate.initialize( cat.getKittens() )</literal> has a similar effect for the collection of kittens."
-msgstr "staticã¡ã½ããã® <literal>Hibernate.initialize()</literal> ã <literal>Hibernate.isInitialized()</literal> ã¯é
å»¶åæåã®ã³ã¬ã¯ã·ã§ã³ããããã·ãæ±ãã¨ãã«ä¾¿å©ãªæ¹æ³ãã¢ããªã±ã¼ã·ã§ã³ã«æä¾ãã¾ãã <literal>Hibernate.initialize(cat)</literal> ã¯ã <literal>Session</literal> ããªã¼ãã³ãã¦ããéã㯠<literal>cat</literal> ãããã·ãå¼·å¶çã«åæåãã¾ãã <literal>Hibernate.initialize( cat.getKittens() )</literal> ã¯kittensã³ã¬ã¯ã·ã§ã³ã«å¯¾ãã¦åæ§ã® 广ãããã¾ãã"
+#. Tag: para
+#: performance.xml:382
+#, no-c-format
+msgid ""
+"The static methods <literal>Hibernate.initialize()</literal> and "
+"<literal>Hibernate.isInitialized()</literal> provide the application with a "
+"convenient way of working with lazily initialized collections or proxies. "
+"<literal>Hibernate.initialize(cat)</literal> will force the initialization "
+"of a proxy, <literal>cat</literal>, as long as its <literal>Session</"
+"literal> is still open. <literal>Hibernate.initialize( cat.getKittens() )</"
+"literal> has a similar effect for the collection of kittens."
+msgstr ""
+"staticã¡ã½ããã® <literal>Hibernate.initialize()</literal> ã "
+"<literal>Hibernate.isInitialized()</literal> ã¯é
å»¶åæåã®ã³ã¬ã¯ã·ã§ã³ããã"
+"ãã·ãæ±ãã¨ãã«ä¾¿å©ãªæ¹æ³ãã¢ããªã±ã¼ã·ã§ã³ã«æä¾ãã¾ãã "
+"<literal>Hibernate.initialize(cat)</literal> ã¯ã <literal>Session</literal> "
+"ããªã¼ãã³ãã¦ããéã㯠<literal>cat</literal> ãããã·ãå¼·å¶çã«åæåãã¾"
+"ãã <literal>Hibernate.initialize( cat.getKittens() )</literal> ã¯kittensã³"
+"ã¬ã¯ã·ã§ã³ã«å¯¾ãã¦åæ§ã® 广ãããã¾ãã"
-#: index.docbook:391
-msgid "Another option is to keep the <literal>Session</literal> open until all needed collections and proxies have been loaded. In some application architectures, particularly where the code that accesses data using Hibernate, and the code that uses it are in different application layers or different physical processes, it can be a problem to ensure that the <literal>Session</literal> is open when a collection is initialized. There are two basic ways to deal with this issue:"
-msgstr "å¥ã®é¸æè¢ã¨ãã¦ãå¿
è¦ãªãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ããããã·ããã¼ããããã¾ã§ <literal>Session</literal> ããªã¼ãã³ã«ãã¦ããæ¹æ³ãããã¾ããããã¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã® ã¢ã¼ããã¯ãã£ã§ã¯ãç¹ã«Hibernateã«ãããã¼ã¿ã¢ã¯ã»ã¹ãè¡ãã³ã¼ãã¨ãããã使ã ã³ã¼ããç°ãªãã¢ããªã±ã¼ã·ã§ã³ã®ã¬ã¤ã¤ã¼ããç©ççã«ç°ãªãããã»ããµã®ã¨ãã«ã¯ã ã³ã¬ã¯ã·ã§ã³ãåæåãããã¨ãã« <literal>Session</literal> ããªã¼ãã³ãã¦ãããã¨ã ä¿è¨¼ããåé¡ãããã¾ãããã®åé¡ã«å¯¾ãã¦ã¯2ã¤ã®åºæ¬çãªæ¹æ³ãããã¾ãã"
+#. Tag: para
+#: performance.xml:391
+#, no-c-format
+msgid ""
+"Another option is to keep the <literal>Session</literal> open until all "
+"needed collections and proxies have been loaded. In some application "
+"architectures, particularly where the code that accesses data using "
+"Hibernate, and the code that uses it are in different application layers or "
+"different physical processes, it can be a problem to ensure that the "
+"<literal>Session</literal> is open when a collection is initialized. There "
+"are two basic ways to deal with this issue:"
+msgstr ""
+"å¥ã®é¸æè¢ã¨ãã¦ãå¿
è¦ãªãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ããããã·ããã¼ããããã¾ã§ "
+"<literal>Session</literal> ããªã¼ãã³ã«ãã¦ããæ¹æ³ãããã¾ããããã¤ãã®ã¢ã"
+"ãªã±ã¼ã·ã§ã³ã® ã¢ã¼ããã¯ãã£ã§ã¯ãç¹ã«Hibernateã«ãããã¼ã¿ã¢ã¯ã»ã¹ãè¡ã"
+"ã³ã¼ãã¨ãããã使ã ã³ã¼ããç°ãªãã¢ããªã±ã¼ã·ã§ã³ã®ã¬ã¤ã¤ã¼ããç©ççã«ç°ãª"
+"ãããã»ããµã®ã¨ãã«ã¯ã ã³ã¬ã¯ã·ã§ã³ãåæåãããã¨ãã« <literal>Session</"
+"literal> ããªã¼ãã³ãã¦ãããã¨ã ä¿è¨¼ããåé¡ãããã¾ãããã®åé¡ã«å¯¾ãã¦ã¯2"
+"ã¤ã®åºæ¬çãªæ¹æ³ãããã¾ãã"
-#: index.docbook:402
-msgid "In a web-based application, a servlet filter can be used to close the <literal>Session</literal> only at the very end of a user request, once the rendering of the view is complete (the <emphasis>Open Session in View</emphasis> pattern). Of course, this places heavy demands on the correctness of the exception handling of your application infrastructure. It is vitally important that the <literal>Session</literal> is closed and the transaction ended before returning to the user, even when an exception occurs during rendering of the view. See the Hibernate Wiki for examples of this \"Open Session in View\" pattern."
-msgstr "Webãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã ãã¥ã¼ã®ã¬ã³ããªã³ã°ãå®äºãããªã¯ã¨ã¹ããçµããä¸çªæå¾ã§ <literal>Session</literal> ãã¯ãã¼ãºããããã«ããµã¼ãã¬ãããã£ã«ã¿ã使ããã¨ãã§ãã¾ãï¼ <emphasis>Open Session in View</emphasis> ãã¿ã¼ã³ã§ãï¼ããã¡ãããã¢ããªã±ã¼ã·ã§ã³åºç¤ã®ä¾å¤å¦çã®æ£ç¢ºæ§ãé常ã«éè¦ã«ãªãã¾ãã ãã¥ã¼ã®ã¬ã³ããªã³ã°ä¸ã«ä¾å¤ãçºçããã¨ãã§ãããã¦ã¼ã¶ã«å¦çãæ»ãåã« <literal>Session</literal> ã®ã¯ãã¼ãºã¨ãã©ã³ã¶ã¯ã·ã§ã³ã®çµäºãè¡ã ãã¨ãä¸å¯æ¬ ã«ãªãã¾ãã Hibernateã®Wikiã«è¼ã£ã¦ãã\"Open Session in View\"ãã¿ã¼ã³ã®ä¾ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: performance.xml:402
+#, no-c-format
+msgid ""
+"In a web-based application, a servlet filter can be used to close the "
+"<literal>Session</literal> only at the very end of a user request, once the "
+"rendering of the view is complete (the <emphasis>Open Session in View</"
+"emphasis> pattern). Of course, this places heavy demands on the correctness "
+"of the exception handling of your application infrastructure. It is vitally "
+"important that the <literal>Session</literal> is closed and the transaction "
+"ended before returning to the user, even when an exception occurs during "
+"rendering of the view. See the Hibernate Wiki for examples of this \"Open "
+"Session in View\" pattern."
+msgstr ""
+"Webãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã ãã¥ã¼ã®ã¬ã³ããªã³ã°ãå®äºãããªã¯ã¨ã¹ãã"
+"çµããä¸çªæå¾ã§ <literal>Session</literal> ãã¯ãã¼ãºããããã«ããµã¼ãã¬ã"
+"ããã£ã«ã¿ã使ããã¨ãã§ãã¾ãï¼ <emphasis>Open Session in View</emphasis> ã"
+"ã¿ã¼ã³ã§ãï¼ããã¡ãããã¢ããªã±ã¼ã·ã§ã³åºç¤ã®ä¾å¤å¦çã®æ£ç¢ºæ§ãé常ã«éè¦ã«"
+"ãªãã¾ãã ãã¥ã¼ã®ã¬ã³ããªã³ã°ä¸ã«ä¾å¤ãçºçããã¨ãã§ãããã¦ã¼ã¶ã«å¦çãæ»"
+"ãåã« <literal>Session</literal> ã®ã¯ãã¼ãºã¨ãã©ã³ã¶ã¯ã·ã§ã³ã®çµäºãè¡ã ã"
+"ã¨ãä¸å¯æ¬ ã«ãªãã¾ãã Hibernateã®Wikiã«è¼ã£ã¦ãã\"Open Session in View\"ã"
+"ã¿ã¼ã³ã®ä¾ãåç
§ãã¦ãã ããã"
-#: index.docbook:415
-msgid "In an application with a separate business tier, the business logic must \"prepare\" all collections that will be needed by the web tier before returning. This means that the business tier should load all the data and return all the data already initialized to the presentation/web tier that is required for a particular use case. Usually, the application calls <literal>Hibernate.initialize()</literal> for each collection that will be needed in the web tier (this call must occur before the session is closed) or retrieves the collection eagerly using a Hibernate query with a <literal>FETCH</literal> clause or a <literal>FetchMode.JOIN</literal> in <literal>Criteria</literal>. This is usually easier if you adopt the <emphasis>Command</emphasis> pattern instead of a <emphasis>Session Facade</emphasis>."
-msgstr "ãã¸ãã¹å±¤ãåé¢ãã¦ããã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããã¸ãã¹ãã¸ãã¯ã¯ Web層ã§å¿
è¦ã«ãªããã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ãäºåã«\"æºå\"ããå¿
è¦ãããã¾ãã ããã¯ç¹å®ã®ã¦ã¼ã¹ã±ã¼ã¹ã§å¿
è¦ã¨ãªããã¬ã¼ã³ãã¼ã·ã§ã³/Web層ã«å¯¾ãã ãã¸ãã¹å±¤ããã¹ã¦ã®ãã¼ã¿ããã¼ããããã¹ã¦ã®ãã¼ã¿ãåæåãã¦è¿ãã¹ã㨠ãããã¨ãæå³ãã¦ãã¾ããé常ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¯Web層ã§å¿
è¦ãªã³ã¬ã¯ã·ã§ã³ ããããã«å¯¾ã㦠<literal>Hibernate.initialize()</literal> ãå¼ã³åºãã ï¼ãã®å¼ã³åºãã¯ã»ãã·ã§ã³ãã¯ãã¼ãºããåã«è¡ãå¿
è¦ãããã¾ãï¼ã Hibernateã¯ã¨ãªã® <literal>FETCH</literal> ç¯ã <literal>Criteria</literal> ã® <literal>FetchMode.JOIN</literal> ã使ã£ã¦ã³ã¬ã¯ã·ã§ã³ãå
ã«å¾©å
ãã¾ãã æ®é㯠<emphasis>Session Facade</emphasis> ãã¿ã¼ã³ã®ä»£ããã« <emphasis>!
Command</emphasis> ãã¿ã¼ã³ãæ¡ç¨ããã»ããããç°¡åã§ãã"
+#. Tag: para
+#: performance.xml:415
+#, no-c-format
+msgid ""
+"In an application with a separate business tier, the business logic must "
+"\"prepare\" all collections that will be needed by the web tier before "
+"returning. This means that the business tier should load all the data and "
+"return all the data already initialized to the presentation/web tier that is "
+"required for a particular use case. Usually, the application calls "
+"<literal>Hibernate.initialize()</literal> for each collection that will be "
+"needed in the web tier (this call must occur before the session is closed) "
+"or retrieves the collection eagerly using a Hibernate query with a "
+"<literal>FETCH</literal> clause or a <literal>FetchMode.JOIN</literal> in "
+"<literal>Criteria</literal>. This is usually easier if you adopt the "
+"<emphasis>Command</emphasis> pattern instead of a <emphasis>Session Facade</"
+"emphasis>."
+msgstr ""
+"ãã¸ãã¹å±¤ãåé¢ãã¦ããã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããã¸ãã¹ãã¸ãã¯ã¯ Web層ã§å¿
è¦"
+"ã«ãªããã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ãäºåã«\"æºå\"ããå¿
è¦ãããã¾ãã ããã¯ç¹å®ã®"
+"ã¦ã¼ã¹ã±ã¼ã¹ã§å¿
è¦ã¨ãªããã¬ã¼ã³ãã¼ã·ã§ã³/Web層ã«å¯¾ãã ãã¸ãã¹å±¤ããã¹ã¦ã®"
+"ãã¼ã¿ããã¼ããããã¹ã¦ã®ãã¼ã¿ãåæåãã¦è¿ãã¹ã㨠ãããã¨ãæå³ãã¦ãã¾"
+"ããé常ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¯Web層ã§å¿
è¦ãªã³ã¬ã¯ã·ã§ã³ ããããã«å¯¾ã㦠"
+"<literal>Hibernate.initialize()</literal> ãå¼ã³åºãã ï¼ãã®å¼ã³åºãã¯ã»ã"
+"ã·ã§ã³ãã¯ãã¼ãºããåã«è¡ãå¿
è¦ãããã¾ãï¼ã Hibernateã¯ã¨ãªã® "
+"<literal>FETCH</literal> ç¯ã <literal>Criteria</literal> ã® "
+"<literal>FetchMode.JOIN</literal> ã使ã£ã¦ã³ã¬ã¯ã·ã§ã³ãå
ã«å¾©å
ãã¾ãã æ®é"
+"㯠<emphasis>Session Facade</emphasis> ãã¿ã¼ã³ã®ä»£ããã« <emphasis>Command</"
+"emphasis> ãã¿ã¼ã³ãæ¡ç¨ããã»ããããç°¡åã§ãã"
-#: index.docbook:430
-msgid "You may also attach a previously loaded object to a new <literal>Session</literal> with <literal>merge()</literal> or <literal>lock()</literal> before accessing uninitialized collections (or other proxies). No, Hibernate does not, and certainly <emphasis>should</emphasis> not do this automatically, since it would introduce ad hoc transaction semantics!"
-msgstr "åæåããã¦ããªãã³ã¬ã¯ã·ã§ã³ï¼ãããã¯ä»ã®ãããã·ï¼ã«ã¢ã¯ã»ã¹ããåã«ã <literal>merge()</literal> ã <literal>lock()</literal> ã使ã£ã¦æ°ãã <literal>Session</literal> ã«ä»¥åã«ãã¼ãããããªãã¸ã§ã¯ãã追å ãããã¨ãåºæ¥ã¾ãã ã¢ãããã¯ãªãã©ã³ã¶ã¯ã·ã§ã³ã®ã»ãã³ãã£ã¯ã¹ãå°å
¥ããã®ã§ãHibernate㯠ãããèªåçã«è¡ããã <emphasis>è¡ãã¹ãã§ãããã¾ãã</emphasis> ï¼"
+#. Tag: para
+#: performance.xml:430
+#, no-c-format
+msgid ""
+"You may also attach a previously loaded object to a new <literal>Session</"
+"literal> with <literal>merge()</literal> or <literal>lock()</literal> before "
+"accessing uninitialized collections (or other proxies). No, Hibernate does "
+"not, and certainly <emphasis>should</emphasis> not do this automatically, "
+"since it would introduce ad hoc transaction semantics!"
+msgstr ""
+"åæåããã¦ããªãã³ã¬ã¯ã·ã§ã³ï¼ãããã¯ä»ã®ãããã·ï¼ã«ã¢ã¯ã»ã¹ããåã«ã "
+"<literal>merge()</literal> ã <literal>lock()</literal> ã使ã£ã¦æ°ãã "
+"<literal>Session</literal> ã«ä»¥åã«ãã¼ãããããªãã¸ã§ã¯ãã追å ãããã¨ãåº"
+"æ¥ã¾ãã ã¢ãããã¯ãªãã©ã³ã¶ã¯ã·ã§ã³ã®ã»ãã³ãã£ã¯ã¹ãå°å
¥ããã®ã§ã"
+"Hibernate㯠ãããèªåçã«è¡ããã <emphasis>è¡ãã¹ãã§ãããã¾ãã</"
+"emphasis> ï¼"
-#: index.docbook:440
-msgid "Sometimes you don't want to initialize a large collection, but still need some information about it (like its size) or a subset of the data."
-msgstr "大ããªã³ã¬ã¯ã·ã§ã³ãåæåãããã¯ãªãããã³ã¬ã¯ã·ã§ã³ã«ã¤ãã¦ã®ãªãããã®æ
å ±ï¼ãµã¤ãºã®ãããªï¼ ããã¼ã¿ã®ãµãã»ãããå¿
è¦ã¨ãããã¨ãããã¾ãã"
+#. Tag: para
+#: performance.xml:440
+#, no-c-format
+msgid ""
+"Sometimes you don't want to initialize a large collection, but still need "
+"some information about it (like its size) or a subset of the data."
+msgstr ""
+"大ããªã³ã¬ã¯ã·ã§ã³ãåæåãããã¯ãªãããã³ã¬ã¯ã·ã§ã³ã«ã¤ãã¦ã®ãªãããã®æ
"
+"å ±ï¼ãµã¤ãºã®ãããªï¼ ããã¼ã¿ã®ãµãã»ãããå¿
è¦ã¨ãããã¨ãããã¾ãã"
-#: index.docbook:445
-msgid "You can use a collection filter to get the size of a collection without initializing it:"
-msgstr "ã³ã¬ã¯ã·ã§ã³ãã£ã«ã¿ã使ããã¨ã§ãåæåããã«ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºãåå¾ãããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:445
+#, no-c-format
+msgid ""
+"You can use a collection filter to get the size of a collection without "
+"initializing it:"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ãã£ã«ã¿ã使ããã¨ã§ãåæåããã«ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºãåå¾ãã"
+"ãã¨ãåºæ¥ã¾ãã"
-#: index.docbook:449
-msgid "<![CDATA[( (Integer) s.createFilter( collection, \"select count(*)\" ).list().get(0) ).intValue()]]>"
-msgstr "<![CDATA[( (Integer) s.createFilter( collection, \"select count(*)\" ).list().get(0) ).intValue()]]>"
+#. Tag: programlisting
+#: performance.xml:449
+#, no-c-format
+msgid ""
+"<![CDATA[( (Integer) s.createFilter( collection, \"select count(*)\" ).list"
+"().get(0) ).intValue()]]>"
+msgstr ""
-#: index.docbook:451
-msgid "The <literal>createFilter()</literal> method is also used to efficiently retrieve subsets of a collection without needing to initialize the whole collection:"
-msgstr "<literal>createFilter()</literal> ã¡ã½ããã¯ãã³ã¬ã¯ã·ã§ã³å
¨ä½ãåæåããå¿
è¦ãªãã«ãã³ã¬ã¯ã·ã§ã³ã® ãµãã»ããã復å
ããããã«å¹æçã«ä½¿ãã¾ãã"
+#. Tag: para
+#: performance.xml:451
+#, no-c-format
+msgid ""
+"The <literal>createFilter()</literal> method is also used to efficiently "
+"retrieve subsets of a collection without needing to initialize the whole "
+"collection:"
+msgstr ""
+"<literal>createFilter()</literal> ã¡ã½ããã¯ãã³ã¬ã¯ã·ã§ã³å
¨ä½ãåæåããå¿
"
+"è¦ãªãã«ãã³ã¬ã¯ã·ã§ã³ã® ãµãã»ããã復å
ããããã«å¹æçã«ä½¿ãã¾ãã"
-#: index.docbook:456
-msgid "<![CDATA[s.createFilter( lazyCollection, \"\").setFirstResult(0).setMaxResults(10).list();]]>"
-msgstr "<![CDATA[s.createFilter( lazyCollection, \"\").setFirstResult(0).setMaxResults(10).list();]]>"
+#. Tag: programlisting
+#: performance.xml:456
+#, no-c-format
+msgid ""
+"<![CDATA[s.createFilter( lazyCollection, \"\").setFirstResult(0)."
+"setMaxResults(10).list();]]>"
+msgstr ""
-#: index.docbook:461
+#. Tag: title
+#: performance.xml:461
+#, no-c-format
msgid "Using batch fetching"
msgstr "ããããã§ããã®ä½¿ç¨"
-#: index.docbook:463
-msgid "Hibernate can make efficient use of batch fetching, that is, Hibernate can load several uninitialized proxies if one proxy is accessed (or collections. Batch fetching is an optimization of the lazy select fetching strategy. There are two ways you can tune batch fetching: on the class and the collection level."
-msgstr "Hibernateã¯ããããã§ãããå¹ççã«ä½¿ç¨ã§ãã¾ããä¸ã¤ã®ãããã·ï¼ãããã¯ã³ã¬ã¯ã·ã§ã³ï¼ãã¢ã¯ã»ã¹ ãããã¨ãHibernateã¯ããã¤ãã®åæåãã¦ããªããããã·ããã¼ããããã¨ãã§ãã¾ããããããã§ãã㯠é
å»¶ã»ã¬ã¯ããã§ããæ¦ç¥ã«å¯¾ããæé©åã§ããããããã§ããã®èª¿æ´ã«ã¯ï¼ã¤ã®æ¹æ³ãããã¾ãã ã¯ã©ã¹ã¬ãã«ã¨ã³ã¬ã¯ã·ã§ã³ã¬ãã«ã§ãã"
+#. Tag: para
+#: performance.xml:463
+#, no-c-format
+msgid ""
+"Hibernate can make efficient use of batch fetching, that is, Hibernate can "
+"load several uninitialized proxies if one proxy is accessed (or collections. "
+"Batch fetching is an optimization of the lazy select fetching strategy. "
+"There are two ways you can tune batch fetching: on the class and the "
+"collection level."
+msgstr ""
+"Hibernateã¯ããããã§ãããå¹ççã«ä½¿ç¨ã§ãã¾ããä¸ã¤ã®ãããã·ï¼ãããã¯ã³ã¬"
+"ã¯ã·ã§ã³ï¼ãã¢ã¯ã»ã¹ ãããã¨ãHibernateã¯ããã¤ãã®åæåãã¦ããªããããã·"
+"ããã¼ããããã¨ãã§ãã¾ããããããã§ãã㯠é
å»¶ã»ã¬ã¯ããã§ããæ¦ç¥ã«å¯¾ãã"
+"æé©åã§ããããããã§ããã®èª¿æ´ã«ã¯ï¼ã¤ã®æ¹æ³ãããã¾ãã ã¯ã©ã¹ã¬ãã«ã¨ã³ã¬"
+"ã¯ã·ã§ã³ã¬ãã«ã§ãã"
-#: index.docbook:469
-msgid "Batch fetching for classes/entities is easier to understand. Imagine you have the following situation at runtime: You have 25 <literal>Cat</literal> instances loaded in a <literal>Session</literal>, each <literal>Cat</literal> has a reference to its <literal>owner</literal>, a <literal>Person</literal>. The <literal>Person</literal> class is mapped with a proxy, <literal>lazy=\"true\"</literal>. If you now iterate through all cats and call <literal>getOwner()</literal> on each, Hibernate will by default execute 25 <literal>SELECT</literal> statements, to retrieve the proxied owners. You can tune this behavior by specifying a <literal>batch-size</literal> in the mapping of <literal>Person</literal>:"
-msgstr "ã¯ã©ã¹ãè¦ç´ ã®ããããã§ããã¯çè§£ãç°¡åã§ããå®è¡æã®æ¬¡ã®å ´é¢ãæ³åãã¦ãã ããã <literal>Session</literal> ã«ãã¼ãããã25åã® <literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ãåå¨ãã ããããã® <literal>Cat</literal> 㯠<literal>owner</literal> ã§ãã <literal>Person</literal> ã¸ã®é¢é£ãæã¡ã¾ãã <literal>Person</literal> ã¯ã©ã¹ã¯ <literal>lazy=\"true\"</literal> ã®ãããã·ã§ãããã³ã°ããã¦ãã¾ãã ããä»ãã¹ã¦ã®Catã«å¯¾ãã¦ç¹°ãè¿ã <literal>getOwner()</literal> ãå¼ã³åºãã¨ãHibernate㯠ããã©ã«ãã§ã¯25åã® <literal>SELECT</literal> ãå®è¡ããownerãããã·ã®å¾©å
ããã¾ãã ãã®æ¯ãèãã <literal>Person</literal> ã®ãããã³ã°ã® <literal>batch-size</literal> ã®æå®ã§èª¿æ´ã§ãã¾ãã"
+#. Tag: para
+#: performance.xml:469
+#, no-c-format
+msgid ""
+"Batch fetching for classes/entities is easier to understand. Imagine you "
+"have the following situation at runtime: You have 25 <literal>Cat</literal> "
+"instances loaded in a <literal>Session</literal>, each <literal>Cat</"
+"literal> has a reference to its <literal>owner</literal>, a <literal>Person</"
+"literal>. The <literal>Person</literal> class is mapped with a proxy, "
+"<literal>lazy=\"true\"</literal>. If you now iterate through all cats and "
+"call <literal>getOwner()</literal> on each, Hibernate will by default "
+"execute 25 <literal>SELECT</literal> statements, to retrieve the proxied "
+"owners. You can tune this behavior by specifying a <literal>batch-size</"
+"literal> in the mapping of <literal>Person</literal>:"
+msgstr ""
+"ã¯ã©ã¹ãè¦ç´ ã®ããããã§ããã¯çè§£ãç°¡åã§ããå®è¡æã®æ¬¡ã®å ´é¢ãæ³åãã¦ãã "
+"ããã <literal>Session</literal> ã«ãã¼ãããã25åã® <literal>Cat</"
+"literal> ã¤ã³ã¹ã¿ã³ã¹ãåå¨ãã ããããã® <literal>Cat</literal> 㯠"
+"<literal>owner</literal> ã§ãã <literal>Person</literal> ã¸ã®é¢é£ãæã¡ã¾"
+"ãã <literal>Person</literal> ã¯ã©ã¹ã¯ <literal>lazy=\"true\"</literal> ã®ã"
+"ããã·ã§ãããã³ã°ããã¦ãã¾ãã ããä»ãã¹ã¦ã®Catã«å¯¾ãã¦ç¹°ãè¿ã "
+"<literal>getOwner()</literal> ãå¼ã³åºãã¨ãHibernate㯠ããã©ã«ãã§ã¯25åã® "
+"<literal>SELECT</literal> ãå®è¡ããownerãããã·ã®å¾©å
ããã¾ãã ãã®æ¯ãè"
+"ãã <literal>Person</literal> ã®ãããã³ã°ã® <literal>batch-size</literal> "
+"ã®æå®ã§èª¿æ´ã§ãã¾ãã"
-#: index.docbook:479
+#. Tag: programlisting
+#: performance.xml:479
+#, no-c-format
msgid "<![CDATA[<class name=\"Person\" batch-size=\"10\">...</class>]]>"
-msgstr "<![CDATA[<class name=\"Person\" batch-size=\"10\">...</class>]]>"
+msgstr ""
-#: index.docbook:481
-msgid "Hibernate will now execute only three queries, the pattern is 10, 10, 5."
-msgstr "Hibernateã¯ã¯ã¨ãªãï¼åã ããå®è¡ããããã«ãªãã¾ãããã¿ã¼ã³ã¯10, 10, 5ã§ãã"
+#. Tag: para
+#: performance.xml:481
+#, no-c-format
+msgid ""
+"Hibernate will now execute only three queries, the pattern is 10, 10, 5."
+msgstr ""
+"Hibernateã¯ã¯ã¨ãªãï¼åã ããå®è¡ããããã«ãªãã¾ãããã¿ã¼ã³ã¯10, 10, 5ã§"
+"ãã"
-#: index.docbook:485
-msgid "You may also enable batch fetching of collections. For example, if each <literal>Person</literal> has a lazy collection of <literal>Cat</literal>s, and 10 persons are currently loaded in the <literal>Sesssion</literal>, iterating through all persons will generate 10 <literal>SELECT</literal>s, one for every call to <literal>getCats()</literal>. If you enable batch fetching for the <literal>cats</literal> collection in the mapping of <literal>Person</literal>, Hibernate can pre-fetch collections:"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ããããã§ãããæå¹ã«ãããã¨ãåºæ¥ã¾ããä¾ã¨ãã¦ãããããã® <literal>Person</literal> ã <literal>Cat</literal> ã®é
å»¶ã³ã¬ã¯ã·ã§ã³ãæã£ã¦ããã 10åã®Personã <literal>Sesssion</literal> ã«ãã¼ããããã¨ããã¨ããã¹ã¦ã®Person㫠対ãã¦ç¹°ãè¿ã <literal>getCats()</literal> ãå¼ã³åºããã¨ã§ãè¨10åã® <literal>SELECT</literal> ãçºçãã¾ãããã <literal>Person</literal> ã®ãããã³ã°ã§ <literal>cats</literal> ã³ã¬ã¯ã·ã§ã³ã®ããããã§ãããæå¹ã«ããã°ãHibernateã¯ã³ã¬ã¯ã·ã§ã³ã®äºåãã§ãããåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:485
+#, no-c-format
+msgid ""
+"You may also enable batch fetching of collections. For example, if each "
+"<literal>Person</literal> has a lazy collection of <literal>Cat</literal>s, "
+"and 10 persons are currently loaded in the <literal>Sesssion</literal>, "
+"iterating through all persons will generate 10 <literal>SELECT</literal>s, "
+"one for every call to <literal>getCats()</literal>. If you enable batch "
+"fetching for the <literal>cats</literal> collection in the mapping of "
+"<literal>Person</literal>, Hibernate can pre-fetch collections:"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®ããããã§ãããæå¹ã«ãããã¨ãåºæ¥ã¾ããä¾ã¨ãã¦ãããããã® "
+"<literal>Person</literal> ã <literal>Cat</literal> ã®é
å»¶ã³ã¬ã¯ã·ã§ã³ãæã£"
+"ã¦ããã 10åã®Personã <literal>Sesssion</literal> ã«ãã¼ããããã¨ããã¨ã"
+"ãã¹ã¦ã®Person㫠対ãã¦ç¹°ãè¿ã <literal>getCats()</literal> ãå¼ã³åºããã¨"
+"ã§ãè¨10åã® <literal>SELECT</literal> ãçºçãã¾ãããã <literal>Person</"
+"literal> ã®ãããã³ã°ã§ <literal>cats</literal> ã³ã¬ã¯ã·ã§ã³ã®ããããã§ãã"
+"ãæå¹ã«ããã°ãHibernateã¯ã³ã¬ã¯ã·ã§ã³ã®äºåãã§ãããåºæ¥ã¾ãã"
-#: index.docbook:494
+#. Tag: programlisting
+#: performance.xml:494
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <set name=\"cats\" batch-size=\"3\">\n"
- " ...\n"
- " </set>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <set name=\"cats\" batch-size=\"3\">\n"
+" ...\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">
-\n"
- " <set name=\"cats\" batch-size=\"3\">
-\n"
- " ...
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:496
-msgid "With a <literal>batch-size</literal> of 3, Hibernate will load 3, 3, 3, 1 collections in four <literal>SELECT</literal>s. Again, the value of the attribute depends on the expected number of uninitialized collections in a particular <literal>Session</literal>."
-msgstr "<literal>batch-size</literal> ã3ãªã®ã§ãHibernateã¯4åã® <literal>SELECT</literal> ã§3åã3åã3åã1åããã¼ããã¾ããç¹°ãè¿ãã¨ã屿§ã®å¤ã¯ç¹å®ã® <literal>Session</literal> ã®ä¸ã®åæåããã¦ããªãã³ã¬ã¯ã·ã§ã³ã®æå¾
æ°ã«ä¾åãã¾ãã"
+#. Tag: para
+#: performance.xml:496
+#, no-c-format
+msgid ""
+"With a <literal>batch-size</literal> of 3, Hibernate will load 3, 3, 3, 1 "
+"collections in four <literal>SELECT</literal>s. Again, the value of the "
+"attribute depends on the expected number of uninitialized collections in a "
+"particular <literal>Session</literal>."
+msgstr ""
+"<literal>batch-size</literal> ã3ãªã®ã§ãHibernateã¯4åã® <literal>SELECT</"
+"literal> ã§3åã3åã3åã1åããã¼ããã¾ããç¹°ãè¿ãã¨ã屿§ã®å¤ã¯ç¹å®ã® "
+"<literal>Session</literal> ã®ä¸ã®åæåããã¦ããªãã³ã¬ã¯ã·ã§ã³ã®æå¾
æ°ã«ä¾å"
+"ãã¾ãã"
-#: index.docbook:502
-msgid "Batch fetching of collections is particularly useful if you have a nested tree of items, ie. the typical bill-of-materials pattern. (Although a <emphasis>nested set</emphasis> or a <emphasis>materialized path</emphasis> might be a better option for read-mostly trees.)"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ããããã§ããã¯ã¢ã¤ãã ã®ãã¹ãããããªã¼ã ããªãã¡ã代表çãªé¨å表ã®ãã¿ã¼ã³ã ããå ´åã«ç¹ã«æç¨ã§ããï¼ããããèªã¿è¾¼ã¿ãå¤ãããªã¼ã§ã¯ <emphasis>ãã¹ãããset</emphasis> ã <emphasis>å
·ä½åãããã¹</emphasis> ããããã鏿ã«ãªãã¾ããï¼"
+#. Tag: para
+#: performance.xml:502
+#, no-c-format
+msgid ""
+"Batch fetching of collections is particularly useful if you have a nested "
+"tree of items, ie. the typical bill-of-materials pattern. (Although a "
+"<emphasis>nested set</emphasis> or a <emphasis>materialized path</emphasis> "
+"might be a better option for read-mostly trees.)"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®ããããã§ããã¯ã¢ã¤ãã ã®ãã¹ãããããªã¼ã ããªãã¡ã代表çãª"
+"é¨å表ã®ãã¿ã¼ã³ã ããå ´åã«ç¹ã«æç¨ã§ããï¼ããããèªã¿è¾¼ã¿ãå¤ãããªã¼ã§"
+"㯠<emphasis>ãã¹ãããset</emphasis> ã <emphasis>å
·ä½åãããã¹</emphasis> "
+"ããããã鏿ã«ãªãã¾ããï¼"
-#: index.docbook:511
+#. Tag: title
+#: performance.xml:511
+#, no-c-format
msgid "Using subselect fetching"
msgstr "ãµãã»ã¬ã¯ããã§ããã®ä½¿ç¨"
-#: index.docbook:513
-msgid "If one lazy collection or single-valued proxy has to be fetched, Hibernate loads all of them, re-running the original query in a subselect. This works in the same way as batch-fetching, without the piecemeal loading."
-msgstr "ä¸ã¤ã®é
å»¶ã³ã¬ã¯ã·ã§ã³ãåä¸å¤ãããã·ããã§ãããããªããã°ãããªãã¨ããHibernate㯠ããããã¹ã¦ããã¼ããããµãã»ã¬ã¯ãã®ãªãªã¸ãã«ã¯ã¨ãªãå度å®è¡ããã¾ãããã㯠ããããã§ããã¨åãæ¹æ³ã§åããå°ããã¤ã®ãã¼ãã¯è¡ãã¾ããã"
+#. Tag: para
+#: performance.xml:513
+#, no-c-format
+msgid ""
+"If one lazy collection or single-valued proxy has to be fetched, Hibernate "
+"loads all of them, re-running the original query in a subselect. This works "
+"in the same way as batch-fetching, without the piecemeal loading."
+msgstr ""
+"ä¸ã¤ã®é
å»¶ã³ã¬ã¯ã·ã§ã³ãåä¸å¤ãããã·ããã§ãããããªããã°ãããªãã¨ãã"
+"Hibernate㯠ããããã¹ã¦ããã¼ããããµãã»ã¬ã¯ãã®ãªãªã¸ãã«ã¯ã¨ãªãå度å®è¡"
+"ããã¾ãããã㯠ããããã§ããã¨åãæ¹æ³ã§åããå°ããã¤ã®ãã¼ãã¯è¡ãã¾ã"
+"ãã"
-#: index.docbook:524
+#. Tag: title
+#: performance.xml:524
+#, no-c-format
msgid "Using lazy property fetching"
msgstr "é
å»¶ããããã£ãã§ããã®ä½¿ç¨"
-#: index.docbook:526
-msgid "Hibernate3 supports the lazy fetching of individual properties. This optimization technique is also known as <emphasis>fetch groups</emphasis>. Please note that this is mostly a marketing feature, as in practice, optimizing row reads is much more important than optimization of column reads. However, only loading some properties of a class might be useful in extreme cases, when legacy tables have hundreds of columns and the data model can not be improved."
-msgstr "Hibernate3ã¯ããããã£ãã¨ã®é
å»¶ãã§ããããµãã¼ããã¦ãã¾ãããã®æé©åææ³ã¯ <emphasis>ã°ã«ã¼ãã®ãã§ãã</emphasis> ã¨ãã¦ãç¥ããã¦ãã¾ããããã¯ã»ã¨ãã© è¦æããåºãæ©è½ã§ãããã¨ã«æ³¨æãã¦ãã ãããå®éã«ã¯åèªã¿è¾¼ã¿ã®æé©åãããã è¡èªã¿è¾¼ã¿ã®æé©åãé常ã«éè¦ã§ãã ããããã¯ã©ã¹ã®ããã¤ãã®ããããã£ã ããèªã¿è¾¼ããã¨ã¯ãæ¢åã®ãã¼ãã«ãä½ç¾ãã®åãæã¡ã ãã¼ã¿ã¢ãã«ãæ¹åã§ããªããªã©ã®æ¥µç«¯ãªå ´åã«ã¯æç¨ã§ãã"
+#. Tag: para
+#: performance.xml:526
+#, no-c-format
+msgid ""
+"Hibernate3 supports the lazy fetching of individual properties. This "
+"optimization technique is also known as <emphasis>fetch groups</emphasis>. "
+"Please note that this is mostly a marketing feature, as in practice, "
+"optimizing row reads is much more important than optimization of column "
+"reads. However, only loading some properties of a class might be useful in "
+"extreme cases, when legacy tables have hundreds of columns and the data "
+"model can not be improved."
+msgstr ""
+"Hibernate3ã¯ããããã£ãã¨ã®é
å»¶ãã§ããããµãã¼ããã¦ãã¾ãããã®æé©åææ³"
+"㯠<emphasis>ã°ã«ã¼ãã®ãã§ãã</emphasis> ã¨ãã¦ãç¥ããã¦ãã¾ããããã¯ã»ã¨"
+"ãã© è¦æããåºãæ©è½ã§ãããã¨ã«æ³¨æãã¦ãã ãããå®éã«ã¯åèªã¿è¾¼ã¿ã®æé©å"
+"ãããã è¡èªã¿è¾¼ã¿ã®æé©åãé常ã«éè¦ã§ãã ããããã¯ã©ã¹ã®ããã¤ãã®ãã"
+"ããã£ã ããèªã¿è¾¼ããã¨ã¯ãæ¢åã®ãã¼ãã«ãä½ç¾ãã®åãæã¡ã ãã¼ã¿ã¢ãã«ã"
+"æ¹åã§ããªããªã©ã®æ¥µç«¯ãªå ´åã«ã¯æç¨ã§ãã"
-#: index.docbook:535
-msgid "To enable lazy property loading, set the <literal>lazy</literal> attribute on your particular property mappings:"
-msgstr "é
å»¶ããããã£èªã¿è¾¼ã¿ãæå¹ã«ããã«ã¯ã対象ã®ããããã£ã®ãããã³ã°ã§ <literal>lazy</literal> 屿§ãã»ãããã¦ãã ããã"
+#. Tag: para
+#: performance.xml:535
+#, no-c-format
+msgid ""
+"To enable lazy property loading, set the <literal>lazy</literal> attribute "
+"on your particular property mappings:"
+msgstr ""
+"é
å»¶ããããã£èªã¿è¾¼ã¿ãæå¹ã«ããã«ã¯ã対象ã®ããããã£ã®ãããã³ã°ã§ "
+"<literal>lazy</literal> 屿§ãã»ãããã¦ãã ããã"
-#: index.docbook:540
+#. Tag: programlisting
+#: performance.xml:540
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Document\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\" length=\"50\"/>\n"
- " <property name=\"summary\" not-null=\"true\" length=\"200\" lazy=\"true\"/>\n"
- " <property name=\"text\" not-null=\"true\" length=\"2000\" lazy=\"true\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Document\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"name\" not-null=\"true\" length=\"50\"/>\n"
+" <property name=\"summary\" not-null=\"true\" length=\"200\" lazy=\"true"
+"\"/>\n"
+" <property name=\"text\" not-null=\"true\" length=\"2000\" lazy=\"true\"/"
+">\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Document\">
-\n"
- " <id name=\"id\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"name\" not-null=\"true\" length=\"50\"/>
-\n"
- " <property name=\"summary\" not-null=\"true\" length=\"200\" lazy=\"true\"/>
-\n"
- " <property name=\"text\" not-null=\"true\" length=\"2000\" lazy=\"true\"/>
-\n"
- "</class>]]>"
-#: index.docbook:542
-msgid "Lazy property loading requires buildtime bytecode instrumentation! If your persistent classes are not enhanced, Hibernate will silently ignore lazy property settings and fall back to immediate fetching."
-msgstr "é
å»¶ããããã£èªã¿è¾¼ã¿ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã¨ãã¾ãï¼ãã æ°¸ç¶ã¯ã©ã¹ã«çµã¿è¾¼ã¿ãããã¦ããªããªããHibernateã¯é»ã£ã¦é
å»¶ããããã£ã®è¨å®ãç¡è¦ãã¦ã 峿ãã§ããã«æ»ãã¾ãã"
+#. Tag: para
+#: performance.xml:542
+#, no-c-format
+msgid ""
+"Lazy property loading requires buildtime bytecode instrumentation! If your "
+"persistent classes are not enhanced, Hibernate will silently ignore lazy "
+"property settings and fall back to immediate fetching."
+msgstr ""
+"é
å»¶ããããã£èªã¿è¾¼ã¿ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãå¿
è¦ã¨ãã¾ãï¼ãã æ°¸"
+"ç¶ã¯ã©ã¹ã«çµã¿è¾¼ã¿ãããã¦ããªããªããHibernateã¯é»ã£ã¦é
å»¶ããããã£ã®è¨å®ã"
+"ç¡è¦ãã¦ã 峿ãã§ããã«æ»ãã¾ãã"
-#: index.docbook:548
+#. Tag: para
+#: performance.xml:548
+#, no-c-format
msgid "For bytecode instrumentation, use the following Ant task:"
msgstr "ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ã¯ä»¥ä¸ã®Antã¿ã¹ã¯ã使ã£ã¦ãã ããã"
-#: index.docbook:552
+#. Tag: programlisting
+#: performance.xml:552
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"instrument\" depends=\"compile\">\n"
- " <taskdef name=\"instrument\" classname=\"org.hibernate.tool.instrument.InstrumentTask\">\n"
- " <classpath path=\"${jar.path}\"/>\n"
- " <classpath path=\"${classes.dir}\"/>\n"
- " <classpath refid=\"lib.class.path\"/>\n"
- " </taskdef>\n"
- "\n"
- " <instrument verbose=\"true\">\n"
- " <fileset dir=\"${testclasses.dir}/org/hibernate/auction/model\">\n"
- " <include name=\"*.class\"/>\n"
- " </fileset>\n"
- " </instrument>\n"
- "</target>]]>"
+"<![CDATA[<target name=\"instrument\" depends=\"compile\">\n"
+" <taskdef name=\"instrument\" classname=\"org.hibernate.tool.instrument."
+"InstrumentTask\">\n"
+" <classpath path=\"${jar.path}\"/>\n"
+" <classpath path=\"${classes.dir}\"/>\n"
+" <classpath refid=\"lib.class.path\"/>\n"
+" </taskdef>\n"
+"\n"
+" <instrument verbose=\"true\">\n"
+" <fileset dir=\"${testclasses.dir}/org/hibernate/auction/model\">\n"
+" <include name=\"*.class\"/>\n"
+" </fileset>\n"
+" </instrument>\n"
+"</target>]]>"
msgstr ""
- "<![CDATA[<target name=\"instrument\" depends=\"compile\">
-\n"
- " <taskdef name=\"instrument\" classname=\"org.hibernate.tool.instrument.InstrumentTask\">
-\n"
- " <classpath path=\"${jar.path}\"/>
-\n"
- " <classpath path=\"${classes.dir}\"/>
-\n"
- " <classpath refid=\"lib.class.path\"/>
-\n"
- " </taskdef>
-\n"
- "
-\n"
- " <instrument verbose=\"true\">
-\n"
- " <fileset dir=\"${testclasses.dir}/org/hibernate/auction/model\">
-\n"
- " <include name=\"*.class\"/>
-\n"
- " </fileset>
-\n"
- " </instrument>
-\n"
- "</target>]]>"
-#: index.docbook:554
-msgid "A different (better?) way to avoid unnecessary column reads, at least for read-only transactions is to use the projection features of HQL or Criteria queries. This avoids the need for buildtime bytecode processing and is certainly a prefered solution."
-msgstr "ä¸è¦ãªåãèªã¿è¾¼ã¾ãªãããã®ãå¥ã®ï¼ããããï¼ï¼æ¹æ³ã¯ãå°ãªãã¨ã èªã¿è¾¼ã¿ã®ã¿ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«ããã¦ã¯ãHQLãCriteriaã¯ã¨ãªã®å°å½± æ©è½ã使ããã¨ã§ãããã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãä¸è¦ã«ãªãã ããè¯ãè§£æ±ºæ¹æ³ã§ãã"
+#. Tag: para
+#: performance.xml:554
+#, no-c-format
+msgid ""
+"A different (better?) way to avoid unnecessary column reads, at least for "
+"read-only transactions is to use the projection features of HQL or Criteria "
+"queries. This avoids the need for buildtime bytecode processing and is "
+"certainly a prefered solution."
+msgstr ""
+"ä¸è¦ãªåãèªã¿è¾¼ã¾ãªãããã®ãå¥ã®ï¼ããããï¼ï¼æ¹æ³ã¯ãå°ãªãã¨ã èªã¿è¾¼ã¿ã®"
+"ã¿ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«ããã¦ã¯ãHQLãCriteriaã¯ã¨ãªã®å°å½± æ©è½ã使ããã¨ã§"
+"ãããã®æ¹æ³ã¯ãã«ãæã®ãã¤ãã³ã¼ãçµã¿è¾¼ã¿ãä¸è¦ã«ãªãã ããè¯ãè§£æ±ºæ¹æ³ã§"
+"ãã"
-#: index.docbook:561
-msgid "You may force the usual eager fetching of properties using <literal>fetch all properties</literal> in HQL."
-msgstr "HQLã§ <literal>fetch all properties</literal> ã使ããã¨ã§ãæ®éã©ããã® ããããã£ã®å³æãã§ããã³ã°ãå¼·å¶ãããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:561
+#, no-c-format
+msgid ""
+"You may force the usual eager fetching of properties using <literal>fetch "
+"all properties</literal> in HQL."
+msgstr ""
+"HQLã§ <literal>fetch all properties</literal> ã使ããã¨ã§ãæ®éã©ããã® ãã"
+"ããã£ã®å³æãã§ããã³ã°ãå¼·å¶ãããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:571
+#. Tag: title
+#: performance.xml:571
+#, no-c-format
msgid "The Second Level Cache"
msgstr "第2ã¬ãã«ãã£ãã·ã¥"
-#: index.docbook:573
-msgid "A Hibernate <literal>Session</literal> is a transaction-level cache of persistent data. It is possible to configure a cluster or JVM-level (<literal>SessionFactory</literal>-level) cache on a class-by-class and collection-by-collection basis. You may even plug in a clustered cache. Be careful. Caches are never aware of changes made to the persistent store by another application (though they may be configured to regularly expire cached data)."
-msgstr "Hibernateã® <literal>Session</literal> ã¯æ°¸ç¶ãã¼ã¿ã®ãã©ã³ã¶ã¯ã·ã§ã³ã¬ãã«ã®ãã£ãã·ã¥ã§ãã class-by-classã¨collection-by-collectionãã¨ã®ãã¯ã©ã¹ã¿ã¬ãã«ãJVMã¬ãã« ï¼ <literal>SessionFactory</literal> ã¬ãã«ï¼ã®ãã£ãã·ã¥ãè¨å®ãããã¨ãåºæ¥ã¾ãã ã¯ã©ã¹ã¿åããããã£ãã·ã¥ã«ã¤ãªããã¨ããåºæ¥ã¾ãããããæ³¨æãã¦ãã ããã ãã£ãã·ã¥ã¯ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ããæ°¸ç¶å±¤ã®å¤æ´ã èæ
®ãã¾ããï¼ãã£ãã·ã¥ãã¼ã¿ã宿çã«æéåãã«ããè¨å®ã¯åºæ¥ã¾ãï¼ã"
+#. Tag: para
+#: performance.xml:573
+#, no-c-format
+msgid ""
+"A Hibernate <literal>Session</literal> is a transaction-level cache of "
+"persistent data. It is possible to configure a cluster or JVM-level "
+"(<literal>SessionFactory</literal>-level) cache on a class-by-class and "
+"collection-by-collection basis. You may even plug in a clustered cache. Be "
+"careful. Caches are never aware of changes made to the persistent store by "
+"another application (though they may be configured to regularly expire "
+"cached data)."
+msgstr ""
+"Hibernateã® <literal>Session</literal> ã¯æ°¸ç¶ãã¼ã¿ã®ãã©ã³ã¶ã¯ã·ã§ã³ã¬ãã«ã®"
+"ãã£ãã·ã¥ã§ãã class-by-classã¨collection-by-collectionãã¨ã®ãã¯ã©ã¹ã¿ã¬ã"
+"ã«ãJVMã¬ãã« ï¼ <literal>SessionFactory</literal> ã¬ãã«ï¼ã®ãã£ãã·ã¥ãè¨å®"
+"ãããã¨ãåºæ¥ã¾ãã ã¯ã©ã¹ã¿åããããã£ãã·ã¥ã«ã¤ãªããã¨ããåºæ¥ã¾ãããã"
+"ãæ³¨æãã¦ãã ããã ãã£ãã·ã¥ã¯ä»ã®ã¢ããªã±ã¼ã·ã§ã³ã«ããæ°¸ç¶å±¤ã®å¤æ´ã è"
+"æ
®ãã¾ããï¼ãã£ãã·ã¥ãã¼ã¿ã宿çã«æéåãã«ããè¨å®ã¯åºæ¥ã¾ãï¼ã"
-#: index.docbook:581
-msgid "You have the option to tell Hibernate which caching implementation to use by specifying the name of a class that implements <literal>org.hibernate.cache.CacheProvider</literal> using the property <literal>hibernate.cache.provider_class</literal>. Hibernate comes bundled with a number of built-in integrations with open-source cache providers (listed below); additionally, you could implement your own and plug it in as outlined above. Note that versions prior to 3.2 defaulted to use EhCache as the default cache provider; that is no longer the case as of 3.2."
-msgstr "Hibernateã使ç¨ãããã£ãã·ã¥å®è£
ã¯ã<literal>hibernate.cache.provider_class</literal> ããããã£ã« <literal>org.hibernate.cache.CacheProvider</literal> ãå®è£
ããã¯ã©ã¹åãæå®ãããã¨ã§å¤æ´ã§ãã¾ãã Hibernateã¯å¤ãã®ãªã¼ãã³ã½ã¼ã¹ã®ãã£ãã·ã¥ãããã¤ãããã«ãã¤ã³å®è£
ã§æã£ã¦ãã¾ãï¼å¾ã«ãªã¹ããããã¾ãï¼ã å ãã¦ãåã«èª¬æããããã«ãããªãèªèº«ãç¬èªã®å®è£
ããã¦ããããçµã¿è¾¼ããã¨ãåºæ¥ã¾ãã ãã¼ã¸ã§ã³3.2ããåã§ã¯EhCacheãããã©ã«ãã®ãã£ãã·ã¥ãããã¤ãã§ãããã¨ã«æ³¨æãã¦ãã ããã ãã¼ã¸ã§ã³3.2ã§ã¯ããã¯å½ã¦ã¯ã¾ãã¾ããã"
+#. Tag: para
+#: performance.xml:581
+#, no-c-format
+msgid ""
+"You have the option to tell Hibernate which caching implementation to use by "
+"specifying the name of a class that implements <literal>org.hibernate.cache."
+"CacheProvider</literal> using the property <literal>hibernate.cache."
+"provider_class</literal>. Hibernate comes bundled with a number of built-in "
+"integrations with open-source cache providers (listed below); additionally, "
+"you could implement your own and plug it in as outlined above. Note that "
+"versions prior to 3.2 defaulted to use EhCache as the default cache "
+"provider; that is no longer the case as of 3.2."
+msgstr ""
+"Hibernateã使ç¨ãããã£ãã·ã¥å®è£
ã¯ã<literal>hibernate.cache."
+"provider_class</literal> ããããã£ã« <literal>org.hibernate.cache."
+"CacheProvider</literal> ãå®è£
ããã¯ã©ã¹åãæå®ãããã¨ã§å¤æ´ã§ãã¾ãã "
+"Hibernateã¯å¤ãã®ãªã¼ãã³ã½ã¼ã¹ã®ãã£ãã·ã¥ãããã¤ãããã«ãã¤ã³å®è£
ã§æã£ã¦"
+"ãã¾ãï¼å¾ã«ãªã¹ããããã¾ãï¼ã å ãã¦ãåã«èª¬æããããã«ãããªãèªèº«ãç¬èª"
+"ã®å®è£
ããã¦ããããçµã¿è¾¼ããã¨ãåºæ¥ã¾ãã ãã¼ã¸ã§ã³3.2ããåã§ã¯EhCacheã"
+"ããã©ã«ãã®ãã£ãã·ã¥ãããã¤ãã§ãããã¨ã«æ³¨æãã¦ãã ããã ãã¼ã¸ã§ã³3.2"
+"ã§ã¯ããã¯å½ã¦ã¯ã¾ãã¾ããã"
-#: index.docbook:592
+#. Tag: title
+#: performance.xml:592
+#, no-c-format
msgid "Cache Providers"
msgstr "ãã£ãã·ã¥ãããã¤ã"
-#: index.docbook:601, index.docbook:774
+#. Tag: entry
+#: performance.xml:601 performance.xml:774
+#, no-c-format
msgid "Cache"
msgstr "ãã£ãã·ã¥"
-#: index.docbook:602
+#. Tag: entry
+#: performance.xml:602
+#, no-c-format
msgid "Provider class"
msgstr "ãããã¤ãã¯ã©ã¹"
-#: index.docbook:603
+#. Tag: entry
+#: performance.xml:603
+#, no-c-format
msgid "Type"
-msgstr "<entry>ã¿ã¤ã</entry>"
+msgstr "ã¿ã¤ã"
-#: index.docbook:604
+#. Tag: entry
+#: performance.xml:604
+#, no-c-format
msgid "Cluster Safe"
msgstr "ã¯ã©ã¹ã¿ã»ã¼ã"
-#: index.docbook:605
+#. Tag: entry
+#: performance.xml:605
+#, no-c-format
msgid "Query Cache Supported"
msgstr "ã¯ã¨ãªãã£ãã·ã¥ã®ãµãã¼ã"
-#: index.docbook:610, index.docbook:783
+#. Tag: entry
+#: performance.xml:610 performance.xml:783
+#, no-c-format
msgid "Hashtable (not intended for production use)"
msgstr "Hashtableï¼è£½åç¨ã¨ãã¦æå³ãã¦ãã¾ããï¼"
-#: index.docbook:611
+#. Tag: literal
+#: performance.xml:611
+#, no-c-format
msgid "org.hibernate.cache.HashtableCacheProvider"
msgstr "org.hibernate.cache.HashtableCacheProvider"
-#: index.docbook:612
+#. Tag: entry
+#: performance.xml:612
+#, no-c-format
msgid "memory"
-msgstr "<entry>ã¡ã¢ãª</entry>"
+msgstr "ã¡ã¢ãª"
-#: index.docbook:614, index.docbook:621, index.docbook:628, index.docbook:784, index.docbook:785, index.docbook:786, index.docbook:791, index.docbook:792, index.docbook:793, index.docbook:798, index.docbook:799, index.docbook:800, index.docbook:805, index.docbook:806, index.docbook:812, index.docbook:815
+#. Tag: entry
+#: performance.xml:614 performance.xml:621 performance.xml:628
+#: performance.xml:784 performance.xml:785 performance.xml:786
+#: performance.xml:791 performance.xml:792 performance.xml:793
+#: performance.xml:798 performance.xml:799 performance.xml:800
+#: performance.xml:805 performance.xml:806 performance.xml:812
+#: performance.xml:815
+#, no-c-format
msgid "<entry>yes</entry>"
-msgstr "<entry>yes</entry>"
+msgstr ""
-#: index.docbook:617, index.docbook:790
+#. Tag: entry
+#: performance.xml:617 performance.xml:790
+#, no-c-format
msgid "EHCache"
msgstr "EHCache"
-#: index.docbook:618
+#. Tag: literal
+#: performance.xml:618
+#, no-c-format
msgid "org.hibernate.cache.EhCacheProvider"
msgstr "org.hibernate.cache.EhCacheProvider"
-#: index.docbook:619, index.docbook:626
+#. Tag: entry
+#: performance.xml:619 performance.xml:626
+#, no-c-format
msgid "memory, disk"
msgstr "ã¡ã¢ãªããã£ã¹ã¯"
-#: index.docbook:624, index.docbook:797
+#. Tag: entry
+#: performance.xml:624 performance.xml:797
+#, no-c-format
msgid "OSCache"
msgstr "OSCache"
-#: index.docbook:625
+#. Tag: literal
+#: performance.xml:625
+#, no-c-format
msgid "org.hibernate.cache.OSCacheProvider"
msgstr "org.hibernate.cache.OSCacheProvider"
-#: index.docbook:631, index.docbook:804
+#. Tag: entry
+#: performance.xml:631 performance.xml:804
+#, no-c-format
msgid "SwarmCache"
-msgstr "<entry>yes</entry>"
+msgstr "SwarmCache"
-#: index.docbook:632
+#. Tag: literal
+#: performance.xml:632
+#, no-c-format
msgid "org.hibernate.cache.SwarmCacheProvider"
-msgstr "SwarmCache"
+msgstr "org.hibernate.cache.SwarmCacheProvider"
-#: index.docbook:633
+#. Tag: entry
+#: performance.xml:633
+#, no-c-format
msgid "clustered (ip multicast)"
-msgstr "org.hibernate.cache.SwarmCacheProvider"
+msgstr "ã¯ã©ã¹ã¿ï¼ipãã«ããã£ã¹ãï¼"
-#: index.docbook:634
+#. Tag: entry
+#: performance.xml:634
+#, no-c-format
msgid "yes (clustered invalidation)"
-msgstr "ã¯ã©ã¹ã¿ï¼ipãã«ããã£ã¹ãï¼"
+msgstr "yesï¼ã¯ã©ã¹ã¿ç¡å¹åï¼"
-#: index.docbook:638, index.docbook:811
+#. Tag: entry
+#: performance.xml:638 performance.xml:811
+#, no-c-format
msgid "JBoss TreeCache"
-msgstr "yesï¼ã¯ã©ã¹ã¿ç¡å¹åï¼"
+msgstr "JBoss TreeCache"
-#: index.docbook:639
+#. Tag: literal
+#: performance.xml:639
+#, no-c-format
msgid "org.hibernate.cache.TreeCacheProvider"
-msgstr "JBoss TreeCache"
+msgstr "org.hibernate.cache.TreeCacheProvider"
-#: index.docbook:640
+#. Tag: entry
+#: performance.xml:640
+#, no-c-format
msgid "clustered (ip multicast), transactional"
-msgstr "org.hibernate.cache.TreeCacheProvider"
+msgstr "ã¯ã©ã¹ã¿ï¼ipãã«ããã£ã¹ãï¼ããã©ã³ã¶ã¯ã·ã§ãã«"
-#: index.docbook:641
+#. Tag: entry
+#: performance.xml:641
+#, no-c-format
msgid "yes (replication)"
-msgstr "ã¯ã©ã¹ã¿ï¼ipãã«ããã£ã¹ãï¼ããã©ã³ã¶ã¯ã·ã§ãã«"
+msgstr "yesï¼è¤è£½ï¼"
-#: index.docbook:642
+#. Tag: entry
+#: performance.xml:642
+#, no-c-format
msgid "yes (clock sync req.)"
-msgstr "yesï¼è¤è£½ï¼"
+msgstr "yesï¼æå»åæãå¿
è¦ï¼"
-#: index.docbook:649
+#. Tag: title
+#: performance.xml:649
+#, no-c-format
msgid "Cache mappings"
-msgstr "yesï¼æå»åæãå¿
è¦ï¼"
-
-#: index.docbook:651
-msgid "The <literal><cache></literal> element of a class or collection mapping has the following form:"
msgstr "ãã£ãã·ã¥ã®ãããã³ã°"
-#: index.docbook:662
+#. Tag: para
+#: performance.xml:651
+#, no-c-format
msgid ""
- "<![CDATA[<cache \n"
- " usage=\"transactional|read-write|nonstrict-read-write|read-only\"\n"
- " region=\"RegionName\"\n"
- " include=\"all|non-lazy\"\n"
- "/>]]>"
-msgstr "ã¯ã©ã¹ãã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã® <literal><cache></literal> è¦ç´ ã¯ä»¥ä¸ã®å½¢å¼ã§ãã"
+"The <literal><cache></literal> element of a class or collection "
+"mapping has the following form:"
+msgstr ""
+"ã¯ã©ã¹ãã³ã¬ã¯ã·ã§ã³ã®ãããã³ã°ã® <literal><cache></literal> è¦ç´ ã¯ä»¥"
+"ä¸ã®å½¢å¼ã§ãã"
-#: index.docbook:665
-msgid "<literal>usage</literal> (required) specifies the caching strategy: <literal>transactional</literal>, <literal>read-write</literal>, <literal>nonstrict-read-write</literal> or <literal>read-only</literal>"
+#. Tag: programlisting
+#: performance.xml:662
+#, no-c-format
+msgid ""
+"<![CDATA[<cache \n"
+" usage=\"transactional|read-write|nonstrict-read-write|read-only\"\n"
+" region=\"RegionName\"\n"
+" include=\"all|non-lazy\"\n"
+"/>]]>"
msgstr ""
- "<![CDATA[<cache
-\n"
- " usage=\"transactional|read-write|nonstrict-read-write|read-only\"
-\n"
- " region=\"RegionName\"
-\n"
- " include=\"all|non-lazy\"
-\n"
- "/>]]>"
-#: index.docbook:674
-msgid "<literal>region</literal> (optional, defaults to the class or collection role name) specifies the name of the second level cache region"
-msgstr "<literal>usage</literal> (required) specifies the caching strategy: <literal>transactional</literal>, <literal>read-write</literal>, <literal>nonstrict-read-write</literal> or <literal>read-only</literal>"
+#. Tag: para
+#: performance.xml:665
+#, no-c-format
+msgid ""
+"<literal>usage</literal> (required) specifies the caching strategy: "
+"<literal>transactional</literal>, <literal>read-write</literal>, "
+"<literal>nonstrict-read-write</literal> or <literal>read-only</literal>"
+msgstr ""
+"<literal>usage</literal> (required) specifies the caching strategy: "
+"<literal>transactional</literal>, <literal>read-write</literal>, "
+"<literal>nonstrict-read-write</literal> or <literal>read-only</literal>"
-#: index.docbook:681
-msgid "<literal>include</literal> (optional, defaults to <literal>all</literal>) <literal>non-lazy</literal> specifies that properties of the entity mapped with <literal>lazy=\"true\"</literal> may not be cached when attribute-level lazy fetching is enabled"
-msgstr "<literal>region</literal> (optional, defaults to the class or collection role name) specifies the name of the second level cache region"
+#. Tag: para
+#: performance.xml:674
+#, no-c-format
+msgid ""
+"<literal>region</literal> (optional, defaults to the class or collection "
+"role name) specifies the name of the second level cache region"
+msgstr ""
+"<literal>region</literal> (optional, defaults to the class or collection "
+"role name) specifies the name of the second level cache region"
-#: index.docbook:691
-msgid "Alternatively (preferrably?), you may specify <literal><class-cache></literal> and <literal><collection-cache></literal> elements in <literal>hibernate.cfg.xml</literal>."
-msgstr "<literal>include</literal> (optional, defaults to <literal>all</literal>) <literal>non-lazy</literal> specifies that properties of the entity mapped with <literal>lazy=\"true\"</literal> may not be cached when attribute-level lazy fetching is enabled"
+#. Tag: para
+#: performance.xml:681
+#, no-c-format
+msgid ""
+"<literal>include</literal> (optional, defaults to <literal>all</literal>) "
+"<literal>non-lazy</literal> specifies that properties of the entity mapped "
+"with <literal>lazy=\"true\"</literal> may not be cached when attribute-level "
+"lazy fetching is enabled"
+msgstr ""
+"<literal>include</literal> (optional, defaults to <literal>all</literal>) "
+"<literal>non-lazy</literal> specifies that properties of the entity mapped "
+"with <literal>lazy=\"true\"</literal> may not be cached when attribute-level "
+"lazy fetching is enabled"
-#: index.docbook:696
-msgid "The <literal>usage</literal> attribute specifies a <emphasis>cache concurrency strategy</emphasis>."
-msgstr "ã¾ãã¯ï¼ããããæ¹æ³ã¨ãã¦ï¼ï¼ã <literal>hibernate.cfg.xml</literal> ã« <literal><class-cache></literal> 㨠<literal><collection-cache></literal> è¦ç´ ãæå®ãããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:691
+#, no-c-format
+msgid ""
+"Alternatively (preferrably?), you may specify <literal><class-cache></"
+"literal> and <literal><collection-cache></literal> elements in "
+"<literal>hibernate.cfg.xml</literal>."
+msgstr ""
+"ã¾ãã¯ï¼ããããæ¹æ³ã¨ãã¦ï¼ï¼ã <literal>hibernate.cfg.xml</literal> ã« "
+"<literal><class-cache></literal> 㨠<literal><collection-cache></"
+"literal> è¦ç´ ãæå®ãããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:703
+#. Tag: para
+#: performance.xml:696
+#, no-c-format
+msgid ""
+"The <literal>usage</literal> attribute specifies a <emphasis>cache "
+"concurrency strategy</emphasis>."
+msgstr ""
+"<literal>usage</literal> 屿§ã¯ <emphasis>ãã£ãã·ã¥ã®ä¸¦åæ§æ¦ç¥</emphasis> "
+"ãæå®ãã¾ãã"
+
+#. Tag: title
+#: performance.xml:703
+#, no-c-format
msgid "Strategy: read only"
-msgstr "<literal>usage</literal> 屿§ã¯ <emphasis>ãã£ãã·ã¥ã®ä¸¦åæ§æ¦ç¥</emphasis> ãæå®ãã¾ãã"
-
-#: index.docbook:705
-msgid "If your application needs to read but never modify instances of a persistent class, a <literal>read-only</literal> cache may be used. This is the simplest and best performing strategy. It's even perfectly safe for use in a cluster."
msgstr "read onlyæ¦ç¥"
-#: index.docbook:711
+#. Tag: para
+#: performance.xml:705
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Immutable\" mutable=\"false\">\n"
- " <cache usage=\"read-only\"/>\n"
- " ....\n"
- "</class>]]>"
-msgstr "ããã¢ããªã±ã¼ã·ã§ã³ãèªã¿è¾¼ã¿ã®ã¿å¿
è¦ã§ãæ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã夿´ããªããªãã <literal>read-only</literal> ãã£ãã·ã¥ã使ããã¨ãåºæ¥ã¾ããããã¯ãã£ã¨ãåç´ã§ ãã£ã¨ãããã©ã¼ãã³ã¹ã®è¯ãæ¦ç¥ã§ããã¯ã©ã¹ã¿ã§ã®ä½¿ç¨ãå®å
¨ã«å®å
¨ã§ãã"
+"If your application needs to read but never modify instances of a persistent "
+"class, a <literal>read-only</literal> cache may be used. This is the "
+"simplest and best performing strategy. It's even perfectly safe for use in a "
+"cluster."
+msgstr ""
+"ããã¢ããªã±ã¼ã·ã§ã³ãèªã¿è¾¼ã¿ã®ã¿å¿
è¦ã§ãæ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã夿´ããª"
+"ããªãã <literal>read-only</literal> ãã£ãã·ã¥ã使ããã¨ãåºæ¥ã¾ããããã¯"
+"ãã£ã¨ãåç´ã§ ãã£ã¨ãããã©ã¼ãã³ã¹ã®è¯ãæ¦ç¥ã§ããã¯ã©ã¹ã¿ã§ã®ä½¿ç¨ãå®å
¨ã«"
+"å®å
¨ã§ãã"
-#: index.docbook:717
-msgid "Strategy: read/write"
+#. Tag: programlisting
+#: performance.xml:711
+#, no-c-format
+msgid ""
+"<![CDATA[<class name=\"eg.Immutable\" mutable=\"false\">\n"
+" <cache usage=\"read-only\"/>\n"
+" ....\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Immutable\" mutable=\"false\">
-\n"
- " <cache usage=\"read-only\"/>
-\n"
- " ....
-\n"
- "</class>]]>"
-#: index.docbook:719
-msgid "If the application needs to update data, a <literal>read-write</literal> cache might be appropriate. This cache strategy should never be used if serializable transaction isolation level is required. If the cache is used in a JTA environment, you must specify the property <literal>hibernate.transaction.manager_lookup_class</literal>, naming a strategy for obtaining the JTA <literal>TransactionManager</literal>. In other environments, you should ensure that the transaction is completed when <literal>Session.close()</literal> or <literal>Session.disconnect()</literal> is called. If you wish to use this strategy in a cluster, you should ensure that the underlying cache implementation supports locking. The built-in cache providers do <emphasis>not</emphasis>."
+#. Tag: title
+#: performance.xml:717
+#, no-c-format
+msgid "Strategy: read/write"
msgstr "read/writeæ¦ç¥"
-#: index.docbook:730
+#. Tag: para
+#: performance.xml:719
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"eg.Cat\" .... >\n"
- " <cache usage=\"read-write\"/>\n"
- " ....\n"
- " <set name=\"kittens\" ... >\n"
- " <cache usage=\"read-write\"/>\n"
- " ....\n"
- " </set>\n"
- "</class>]]>"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ããã¼ã¿ãæ´æ°ããå¿
è¦ããããªãã <literal>read-write</literal> ãã£ãã·ã¥ãé©å½ãã ããã¾ããããã®ãã£ãã·ã¥æ¦ç¥ã¯ãã·ãªã¢ã©ã¤ã¶ãã«ãªãã©ã³ã¶ã¯ã·ã§ã³åé¢ã¬ãã«ãè¦æ±ããããªãã æ±ºãã¦ä½¿ãã¹ãã§ã¯ããã¾ããããããã£ãã·ã¥ãJTAç°å¢ã§ä½¿ããããªããJTA <literal>TransactionManager</literal> ãåå¾ããããã®æ¹æ³ã示ã <literal>hibernate.transaction.manager_lookup_class</literal> ããããã£ãæå®ããªããã°ãªãã¾ãããä»ã®ç°å¢ã§ã¯ã <literal>Session.close()</literal> ã <literal>Session.disconnect()</literal> ãå¼ã°ããã¨ãã«ã確å®ã«ãã©ã³ã¶ã¯ã·ã§ã³ãå®äº ãã¦ããªããã°ãªãã¾ããã ããã¯ã©ã¹ã¿ã§ãã®æ¦ç¥ã使ããããªããåºã¨ãªããã£ãã·ã¥ã®å®è£
ãããã¯ããµãã¼ã ãã¦ãããã¨ãä¿è¨¼ããªããã°ãªãã¾ããã çµ!
ã¿è¾¼ã¿ã®ãã£ãã·ã¥ãããã¤ã㯠<emphasis>ãµãã¼ããã¦ãã¾ãã</emphasis> ã"
+"If the application needs to update data, a <literal>read-write</literal> "
+"cache might be appropriate. This cache strategy should never be used if "
+"serializable transaction isolation level is required. If the cache is used "
+"in a JTA environment, you must specify the property <literal>hibernate."
+"transaction.manager_lookup_class</literal>, naming a strategy for obtaining "
+"the JTA <literal>TransactionManager</literal>. In other environments, you "
+"should ensure that the transaction is completed when <literal>Session.close()"
+"</literal> or <literal>Session.disconnect()</literal> is called. If you wish "
+"to use this strategy in a cluster, you should ensure that the underlying "
+"cache implementation supports locking. The built-in cache providers do "
+"<emphasis>not</emphasis>."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ããã¼ã¿ãæ´æ°ããå¿
è¦ããããªãã <literal>read-write</"
+"literal> ãã£ãã·ã¥ãé©å½ãã ããã¾ããããã®ãã£ãã·ã¥æ¦ç¥ã¯ãã·ãªã¢ã©ã¤ã¶"
+"ãã«ãªãã©ã³ã¶ã¯ã·ã§ã³åé¢ã¬ãã«ãè¦æ±ããããªãã æ±ºãã¦ä½¿ãã¹ãã§ã¯ããã¾ã"
+"ãããããã£ãã·ã¥ãJTAç°å¢ã§ä½¿ããããªããJTA <literal>TransactionManager</"
+"literal> ãåå¾ããããã®æ¹æ³ã示ã <literal>hibernate.transaction."
+"manager_lookup_class</literal> ããããã£ãæå®ããªããã°ãªãã¾ãããä»ã®ç°å¢"
+"ã§ã¯ã <literal>Session.close()</literal> ã <literal>Session.disconnect()</"
+"literal> ãå¼ã°ããã¨ãã«ã確å®ã«ãã©ã³ã¶ã¯ã·ã§ã³ãå®äº ãã¦ããªããã°ãªãã¾"
+"ããã ããã¯ã©ã¹ã¿ã§ãã®æ¦ç¥ã使ããããªããåºã¨ãªããã£ãã·ã¥ã®å®è£
ãããã¯"
+"ããµãã¼ã ãã¦ãããã¨ãä¿è¨¼ããªããã°ãªãã¾ããã çµã¿è¾¼ã¿ã®ãã£ãã·ã¥ãã"
+"ãã¤ã㯠<emphasis>ãµãã¼ããã¦ãã¾ãã</emphasis> ã"
-#: index.docbook:735
-msgid "Strategy: nonstrict read/write"
+#. Tag: programlisting
+#: performance.xml:730
+#, no-c-format
+msgid ""
+"<![CDATA[<class name=\"eg.Cat\" .... >\n"
+" <cache usage=\"read-write\"/>\n"
+" ....\n"
+" <set name=\"kittens\" ... >\n"
+" <cache usage=\"read-write\"/>\n"
+" ....\n"
+" </set>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"eg.Cat\" .... >
-\n"
- " <cache usage=\"read-write\"/>
-\n"
- " ....
-\n"
- " <set name=\"kittens\" ... >
-\n"
- " <cache usage=\"read-write\"/>
-\n"
- " ....
-\n"
- " </set>
-\n"
- "</class>]]>"
-#: index.docbook:737
-msgid "If the application only occasionally needs to update data (ie. if it is extremely unlikely that two transactions would try to update the same item simultaneously) and strict transaction isolation is not required, a <literal>nonstrict-read-write</literal> cache might be appropriate. If the cache is used in a JTA environment, you must specify <literal>hibernate.transaction.manager_lookup_class</literal>. In other environments, you should ensure that the transaction is completed when <literal>Session.close()</literal> or <literal>Session.disconnect()</literal> is called."
+#. Tag: title
+#: performance.xml:735
+#, no-c-format
+msgid "Strategy: nonstrict read/write"
msgstr "å³å¯ã§ã¯ãªãread/writeæ¦ç¥"
-#: index.docbook:749
+#. Tag: para
+#: performance.xml:737
+#, no-c-format
+msgid ""
+"If the application only occasionally needs to update data (ie. if it is "
+"extremely unlikely that two transactions would try to update the same item "
+"simultaneously) and strict transaction isolation is not required, a "
+"<literal>nonstrict-read-write</literal> cache might be appropriate. If the "
+"cache is used in a JTA environment, you must specify <literal>hibernate."
+"transaction.manager_lookup_class</literal>. In other environments, you "
+"should ensure that the transaction is completed when <literal>Session.close()"
+"</literal> or <literal>Session.disconnect()</literal> is called."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ããã¾ã«ãããã¼ã¿ãæ´æ°ããå¿
è¦ã¯ãªãï¼ããªãã¡äºã¤ã®ãã©ã³"
+"ã¶ã¯ã·ã§ã³ã åæã«åãã¢ã¤ãã ãæ´æ°ãããã¨ãããã¨ã¯ã»ã¨ãã©èµ·ãããªãï¼ã"
+"å³å¯ãªãã©ã³ã¶ã¯ã·ã§ã³åé¢ã è¦æ±ãããªããªãã <literal>nonstrict-read-"
+"write</literal> ãã£ãã·ã¥ãé©å½ããããã¾ããã ãããã£ãã·ã¥ãJTAç°å¢ã§ä½¿"
+"ããããªãã <literal>hibernate.transaction.manager_lookup_class</literal> ã"
+"æå®ããªããã°ãªãã¾ãããä»ã®ç°å¢ã§ã¯ã <literal>Session.close()</literal> "
+"ã <literal>Session.disconnect()</literal> ãå¼ã°ããã¨ãã«ã確å®ã«ãã©ã³ã¶ã¯"
+"ã·ã§ã³ãå®äº ãã¦ããªããã°ãªãã¾ããã"
+
+#. Tag: title
+#: performance.xml:749
+#, no-c-format
msgid "Strategy: transactional"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ããã¾ã«ãããã¼ã¿ãæ´æ°ããå¿
è¦ã¯ãªãï¼ããªãã¡äºã¤ã®ãã©ã³ã¶ã¯ã·ã§ã³ã åæã«åãã¢ã¤ãã ãæ´æ°ãããã¨ãããã¨ã¯ã»ã¨ãã©èµ·ãããªãï¼ãå³å¯ãªãã©ã³ã¶ã¯ã·ã§ã³åé¢ã è¦æ±ãããªããªãã <literal>nonstrict-read-write</literal> ãã£ãã·ã¥ãé©å½ããããã¾ããã ãããã£ãã·ã¥ãJTAç°å¢ã§ä½¿ããããªãã <literal>hibernate.transaction.manager_lookup_class</literal> ãæå®ããªããã°ãªãã¾ãããä»ã®ç°å¢ã§ã¯ã <literal>Session.close()</literal> ã <literal>Session.disconnect()</literal> ãå¼ã°ããã¨ãã«ã確å®ã«ãã©ã³ã¶ã¯ã·ã§ã³ãå®äº ãã¦ããªããã°ãªãã¾ããã"
-
-#: index.docbook:751
-msgid "The <literal>transactional</literal> cache strategy provides support for fully transactional cache providers such as JBoss TreeCache. Such a cache may only be used in a JTA environment and you must specify <literal>hibernate.transaction.manager_lookup_class</literal>."
msgstr "transactionalæ¦ç¥"
-#: index.docbook:759
-msgid "None of the cache providers support all of the cache concurrency strategies. The following table shows which providers are compatible with which concurrency strategies."
-msgstr "<literal>transactional</literal> ãã£ãã·ã¥æ¦ç¥ã¯JBoss TreeCacheã®ãããªå®å
¨ãªãã©ã³ã¶ã¯ã·ã§ãã« ãã£ãã·ã¥ãããã¤ãã®ãµãã¼ããæä¾ãã¾ãã ãã®ãããªãã£ãã·ã¥ã¯JTAç°å¢ã§ã®ã¿ä½¿ç¨å¯è½ã§ã <literal>hibernate.transaction.manager_lookup_class</literal> ãæå®ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: performance.xml:751
+#, no-c-format
+msgid ""
+"The <literal>transactional</literal> cache strategy provides support for "
+"fully transactional cache providers such as JBoss TreeCache. Such a cache "
+"may only be used in a JTA environment and you must specify "
+"<literal>hibernate.transaction.manager_lookup_class</literal>."
+msgstr ""
+"<literal>transactional</literal> ãã£ãã·ã¥æ¦ç¥ã¯JBoss TreeCacheã®ãããªå®å
¨"
+"ãªãã©ã³ã¶ã¯ã·ã§ãã« ãã£ãã·ã¥ãããã¤ãã®ãµãã¼ããæä¾ãã¾ãã ãã®ãããª"
+"ãã£ãã·ã¥ã¯JTAç°å¢ã§ã®ã¿ä½¿ç¨å¯è½ã§ã <literal>hibernate.transaction."
+"manager_lookup_class</literal> ãæå®ããªããã°ãªãã¾ããã"
-#: index.docbook:765
+#. Tag: para
+#: performance.xml:759
+#, no-c-format
+msgid ""
+"None of the cache providers support all of the cache concurrency strategies. "
+"The following table shows which providers are compatible with which "
+"concurrency strategies."
+msgstr ""
+"ãã¹ã¦ã®åæä¸¦è¡æ§ãã£ãã·ã¥æ¦ç¥ããµãã¼ããã¦ãããã£ãã·ã¥ãããã¤ãã¯ãã"
+"ã¾ããã 以ä¸ã®è¡¨ã¯ã©ã®ãããã¤ããã©ã®åæä¸¦åæ§æ¦ç¥ã«å¯¾å¿ãããã表ãã¦ãã¾"
+"ãã"
+
+#. Tag: title
+#: performance.xml:765
+#, no-c-format
msgid "Cache Concurrency Strategy Support"
-msgstr "ãã¹ã¦ã®åæä¸¦è¡æ§ãã£ãã·ã¥æ¦ç¥ããµãã¼ããã¦ãããã£ãã·ã¥ãããã¤ãã¯ããã¾ããã 以ä¸ã®è¡¨ã¯ã©ã®ãããã¤ããã©ã®åæä¸¦åæ§æ¦ç¥ã«å¯¾å¿ãããã表ãã¦ãã¾ãã"
+msgstr "åæä¸¦è¡æ§ãã£ãã·ã¥æ¦ç¥ã®ãµãã¼ã"
-#: index.docbook:775
+#. Tag: entry
+#: performance.xml:775
+#, no-c-format
msgid "read-only"
-msgstr "ãã£ãã·ã¥"
+msgstr "read-only"
-#: index.docbook:776
+#. Tag: entry
+#: performance.xml:776
+#, no-c-format
msgid "nonstrict-read-write"
-msgstr "read-only"
+msgstr "å³å¯ã§ã¯ãªãread-write"
-#: index.docbook:777
+#. Tag: entry
+#: performance.xml:777
+#, no-c-format
msgid "read-write"
-msgstr "å³å¯ã§ã¯ãªãread-write"
+msgstr "read-write"
-#: index.docbook:778
+#. Tag: entry
+#: performance.xml:778
+#, no-c-format
msgid "transactional"
-msgstr "read-write"
+msgstr "transactional"
-#: index.docbook:824
+#. Tag: title
+#: performance.xml:824
+#, no-c-format
msgid "Managing the caches"
-msgstr "<entry>yes</entry>"
-
-#: index.docbook:826
-msgid "Whenever you pass an object to <literal>save()</literal>, <literal>update()</literal> or <literal>saveOrUpdate()</literal> and whenever you retrieve an object using <literal>load()</literal>, <literal>get()</literal>, <literal>list()</literal>, <literal>iterate()</literal> or <literal>scroll()</literal>, that object is added to the internal cache of the <literal>Session</literal>."
msgstr "ãã£ãã·ã¥ã®ç®¡ç"
-#: index.docbook:833
-msgid "When <literal>flush()</literal> is subsequently called, the state of that object will be synchronized with the database. If you do not want this synchronization to occur or if you are processing a huge number of objects and need to manage memory efficiently, the <literal>evict()</literal> method may be used to remove the object and its collections from the first-level cache."
-msgstr "ãªãã¸ã§ã¯ãã <literal>save()</literal> ã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ã«æ¸¡ãã¨ãããã㦠<literal>load()</literal> ã <literal>get()</literal> ã <literal>list()</literal> ã <literal>iterate()</literal> ã <literal>scroll()</literal> ã使ã£ã¦ãªãã¸ã§ã¯ãã復å
ããã¨ãã«ã¯å¸¸ã«ã ãã®ãªãã¸ã§ã¯ã㯠<literal>Session</literal> ã®å
é¨ãã£ãã·ã¥ã«è¿½å ããã¾ãã"
+#. Tag: para
+#: performance.xml:826
+#, no-c-format
+msgid ""
+"Whenever you pass an object to <literal>save()</literal>, <literal>update()</"
+"literal> or <literal>saveOrUpdate()</literal> and whenever you retrieve an "
+"object using <literal>load()</literal>, <literal>get()</literal>, "
+"<literal>list()</literal>, <literal>iterate()</literal> or <literal>scroll()"
+"</literal>, that object is added to the internal cache of the "
+"<literal>Session</literal>."
+msgstr ""
+"ãªãã¸ã§ã¯ãã <literal>save()</literal> ã <literal>update()</literal> ã "
+"<literal>saveOrUpdate()</literal> ã«æ¸¡ãã¨ãããã㦠<literal>load()</"
+"literal> ã <literal>get()</literal> ã <literal>list()</literal> ã "
+"<literal>iterate()</literal> ã <literal>scroll()</literal> ã使ã£ã¦ãªãã¸ã§"
+"ã¯ãã復å
ããã¨ãã«ã¯å¸¸ã«ã ãã®ãªãã¸ã§ã¯ã㯠<literal>Session</literal> ã®"
+"å
é¨ãã£ãã·ã¥ã«è¿½å ããã¾ãã"
-#: index.docbook:841
+#. Tag: para
+#: performance.xml:833
+#, no-c-format
msgid ""
- "<![CDATA[ScrollableResult cats = sess.createQuery(\"from Cat as cat\").scroll(); //a huge result set\n"
- "while ( cats.next() ) {\n"
- " Cat cat = (Cat) cats.get(0);\n"
- " doSomethingWithACat(cat);\n"
- " sess.evict(cat);\n"
- "}]]>"
-msgstr "次㫠<literal>flush()</literal> ãå¼ã°ããã¨ããªãã¸ã§ã¯ãã®ç¶æ
ã¯ãã¼ã¿ãã¼ã¹ã¨åæåããã¾ãã ãããã®åæãèµ·ãããã¨ãæã¾ãªãã¨ãããè¨å¤§ãªæ°ã®ãªãã¸ã§ã¯ããå¦çãã¦ãã¦ã¡ã¢ãªãå¹ççã« æ±ãå¿
è¦ãããã¨ãã¯ã <literal>evict()</literal> ã¡ã½ããã使ã£ã¦ä¸æ¬¡ãã£ãã·ã¥ãã ãªãã¸ã§ã¯ããã³ã¬ã¯ã·ã§ã³ãåé¤ãããã¨ãåºæ¥ã¾ãã"
+"When <literal>flush()</literal> is subsequently called, the state of that "
+"object will be synchronized with the database. If you do not want this "
+"synchronization to occur or if you are processing a huge number of objects "
+"and need to manage memory efficiently, the <literal>evict()</literal> method "
+"may be used to remove the object and its collections from the first-level "
+"cache."
+msgstr ""
+"次㫠<literal>flush()</literal> ãå¼ã°ããã¨ããªãã¸ã§ã¯ãã®ç¶æ
ã¯ãã¼ã¿ãã¼"
+"ã¹ã¨åæåããã¾ãã ãããã®åæãèµ·ãããã¨ãæã¾ãªãã¨ãããè¨å¤§ãªæ°ã®ãªã"
+"ã¸ã§ã¯ããå¦çãã¦ãã¦ã¡ã¢ãªãå¹ççã« æ±ãå¿
è¦ãããã¨ãã¯ã <literal>evict"
+"()</literal> ã¡ã½ããã使ã£ã¦ä¸æ¬¡ãã£ãã·ã¥ãã ãªãã¸ã§ã¯ããã³ã¬ã¯ã·ã§ã³ã"
+"åé¤ãããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:843
-msgid "The <literal>Session</literal> also provides a <literal>contains()</literal> method to determine if an instance belongs to the session cache."
+#. Tag: programlisting
+#: performance.xml:841
+#, no-c-format
+msgid ""
+"<![CDATA[ScrollableResult cats = sess.createQuery(\"from Cat as cat\").scroll"
+"(); //a huge result set\n"
+"while ( cats.next() ) {\n"
+" Cat cat = (Cat) cats.get(0);\n"
+" doSomethingWithACat(cat);\n"
+" sess.evict(cat);\n"
+"}]]>"
msgstr ""
- "<![CDATA[ScrollableResult cats = sess.createQuery(\"from Cat as cat\").scroll(); //a huge result set
-\n"
- "while ( cats.next() ) {
-\n"
- " Cat cat = (Cat) cats.get(0);
-\n"
- " doSomethingWithACat(cat);
-\n"
- " sess.evict(cat);
-\n"
- "}]]>"
-#: index.docbook:848
-msgid "To completely evict all objects from the session cache, call <literal>Session.clear()</literal>"
-msgstr "<literal>Session</literal> ã¯ã¤ã³ã¹ã¿ã³ã¹ãã»ãã·ã§ã³ãã£ãã·ã¥ã«å«ã¾ãããã©ããã夿ããããã® <literal>contains()</literal> ã¡ã½ãããæä¾ãã¾ãã"
+#. Tag: para
+#: performance.xml:843
+#, no-c-format
+msgid ""
+"The <literal>Session</literal> also provides a <literal>contains()</literal> "
+"method to determine if an instance belongs to the session cache."
+msgstr ""
+"<literal>Session</literal> ã¯ã¤ã³ã¹ã¿ã³ã¹ãã»ãã·ã§ã³ãã£ãã·ã¥ã«å«ã¾ãããã©"
+"ããã夿ããããã® <literal>contains()</literal> ã¡ã½ãããæä¾ãã¾ãã"
-#: index.docbook:852
-msgid "For the second-level cache, there are methods defined on <literal>SessionFactory</literal> for evicting the cached state of an instance, entire class, collection instance or entire collection role."
-msgstr "ãã¹ã¦ã®ãªãã¸ã§ã¯ããã»ãã·ã§ã³ãã£ãã·ã¥ããå®å
¨ã«åãé¤ãã«ã¯ã<literal>Session.clear()</literal> ãå¼ã³åºãã¦ãã ããã"
+#. Tag: para
+#: performance.xml:848
+#, no-c-format
+msgid ""
+"To completely evict all objects from the session cache, call "
+"<literal>Session.clear()</literal>"
+msgstr ""
+"ãã¹ã¦ã®ãªãã¸ã§ã¯ããã»ãã·ã§ã³ãã£ãã·ã¥ããå®å
¨ã«åãé¤ãã«ã¯ã"
+"<literal>Session.clear()</literal> ãå¼ã³åºãã¦ãã ããã"
-#: index.docbook:858
+#. Tag: para
+#: performance.xml:852
+#, no-c-format
msgid ""
- "<![CDATA[sessionFactory.evict(Cat.class, catId); //evict a particular Cat\n"
- "sessionFactory.evict(Cat.class); //evict all Cats\n"
- "sessionFactory.evictCollection(\"Cat.kittens\", catId); //evict a particular collection of kittens\n"
- "sessionFactory.evictCollection(\"Cat.kittens\"); //evict all kitten collections]]>"
-msgstr "äºæ¬¡ãã£ãã·ã¥ã®ããã«ã <literal>SessionFactory</literal> ã«ã¯ ã¤ã³ã¹ã¿ã³ã¹ãã¯ã©ã¹å
¨ä½ãã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³å
¨ä½ããã£ãã·ã¥ãã åé¤ããããã®ã¡ã½ãããããããå®ç¾©ããã¦ãã¾ãã"
+"For the second-level cache, there are methods defined on "
+"<literal>SessionFactory</literal> for evicting the cached state of an "
+"instance, entire class, collection instance or entire collection role."
+msgstr ""
+"äºæ¬¡ãã£ãã·ã¥ã®ããã«ã <literal>SessionFactory</literal> ã«ã¯ ã¤ã³ã¹ã¿ã³"
+"ã¹ãã¯ã©ã¹å
¨ä½ãã³ã¬ã¯ã·ã§ã³ã®ã¤ã³ã¹ã¿ã³ã¹ãã³ã¬ã¯ã·ã§ã³å
¨ä½ããã£ãã·ã¥ãã "
+"åé¤ããããã®ã¡ã½ãããããããå®ç¾©ããã¦ãã¾ãã"
-#: index.docbook:860
-msgid "The <literal>CacheMode</literal> controls how a particular session interacts with the second-level cache."
+#. Tag: programlisting
+#: performance.xml:858
+#, no-c-format
+msgid ""
+"<![CDATA[sessionFactory.evict(Cat.class, catId); //evict a particular Cat\n"
+"sessionFactory.evict(Cat.class); //evict all Cats\n"
+"sessionFactory.evictCollection(\"Cat.kittens\", catId); //evict a particular "
+"collection of kittens\n"
+"sessionFactory.evictCollection(\"Cat.kittens\"); //evict all kitten "
+"collections]]>"
msgstr ""
- "<![CDATA[sessionFactory.evict(Cat.class, catId); //evict a particular Cat
-\n"
- "sessionFactory.evict(Cat.class); //evict all Cats
-\n"
- "sessionFactory.evictCollection(\"Cat.kittens\", catId); //evict a particular collection of kittens
-\n"
- "sessionFactory.evictCollection(\"Cat.kittens\"); //evict all kitten collections]]>"
-#: index.docbook:867
-msgid "<literal>CacheMode.NORMAL</literal> - read items from and write items to the second-level cache"
-msgstr "<literal>CacheMode</literal> ã¯ç¹å®ã®ã»ãã·ã§ã³ãäºæ¬¡ãã£ãã·ã¥ã¨ã©ã®ããã«ç¸äºä½ç¨ãããã æå®ãã¾ãã"
+#. Tag: para
+#: performance.xml:860
+#, no-c-format
+msgid ""
+"The <literal>CacheMode</literal> controls how a particular session interacts "
+"with the second-level cache."
+msgstr ""
+"<literal>CacheMode</literal> ã¯ç¹å®ã®ã»ãã·ã§ã³ãäºæ¬¡ãã£ãã·ã¥ã¨ã©ã®ããã«ç¸"
+"äºä½ç¨ãããã æå®ãã¾ãã"
-#: index.docbook:872
-msgid "<literal>CacheMode.GET</literal> - read items from the second-level cache, but don't write to the second-level cache except when updating data"
-msgstr "<literal>CacheMode.NORMAL</literal> - ã¢ã¤ãã ã®èªã¿è¾¼ã¿ã¨æ¸ãè¾¼ã¿ã§äºæ¬¡ãã£ãã·ã¥ã使ãã¾ã"
+#. Tag: para
+#: performance.xml:867
+#, no-c-format
+msgid ""
+"<literal>CacheMode.NORMAL</literal> - read items from and write items to the "
+"second-level cache"
+msgstr ""
+"<literal>CacheMode.NORMAL</literal> - ã¢ã¤ãã ã®èªã¿è¾¼ã¿ã¨æ¸ãè¾¼ã¿ã§äºæ¬¡"
+"ãã£ãã·ã¥ã使ãã¾ã"
-#: index.docbook:878
-msgid "<literal>CacheMode.PUT</literal> - write items to the second-level cache, but don't read from the second-level cache"
-msgstr "<literal>CacheMode.GET</literal> - èªã¿è¾¼ã¿ã¯äºæ¬¡ãã£ãã·ã¥ããè¡ãã¾ããããã¼ã¿ã æ´æ°ããå ´åãé¤ãã¦äºæ¬¡ãã£ãã·ã¥ã«æ¸ãè¾¼ã¿ããã¾ããã"
+#. Tag: para
+#: performance.xml:872
+#, no-c-format
+msgid ""
+"<literal>CacheMode.GET</literal> - read items from the second-level cache, "
+"but don't write to the second-level cache except when updating data"
+msgstr ""
+"<literal>CacheMode.GET</literal> - èªã¿è¾¼ã¿ã¯äºæ¬¡ãã£ãã·ã¥ããè¡ãã¾ããã"
+"ãã¼ã¿ã æ´æ°ããå ´åãé¤ãã¦äºæ¬¡ãã£ãã·ã¥ã«æ¸ãè¾¼ã¿ããã¾ããã"
-#: index.docbook:884
-msgid "<literal>CacheMode.REFRESH</literal> - write items to the second-level cache, but don't read from the second-level cache, bypass the effect of <literal>hibernate.cache.use_minimal_puts</literal>, forcing a refresh of the second-level cache for all items read from the database"
-msgstr "<literal>CacheMode.PUT</literal> - äºæ¬¡ãã£ãã·ã¥ã«ã¢ã¤ãã ãæ¸ãè¾¼ã¿ã¾ãããèªã¿è¾¼ã¿ã«ã¯ äºæ¬¡ãã£ãã·ã¥ã使ãã¾ããã"
+#. Tag: para
+#: performance.xml:878
+#, no-c-format
+msgid ""
+"<literal>CacheMode.PUT</literal> - write items to the second-level cache, "
+"but don't read from the second-level cache"
+msgstr ""
+"<literal>CacheMode.PUT</literal> - äºæ¬¡ãã£ãã·ã¥ã«ã¢ã¤ãã ãæ¸ãè¾¼ã¿ã¾ããã"
+"èªã¿è¾¼ã¿ã«ã¯ äºæ¬¡ãã£ãã·ã¥ã使ãã¾ããã"
-#: index.docbook:892
-msgid "To browse the contents of a second-level or query cache region, use the <literal>Statistics</literal> API:"
-msgstr "<literal>CacheMode.REFRESH</literal> - äºæ¬¡ãã£ãã·ã¥ã«ã¢ã¤ãã ãæ¸ãè¾¼ã¿ã¾ãããèªã¿è¾¼ã¿ã«ã¯ äºæ¬¡ãã£ãã·ã¥ã使ããã <literal>hibernate.cache.use_minimal_puts</literal> ã®å½±é¿ãåããã«ããã¼ã¿ãã¼ã¹ããèªã¿è¾¼ããã¹ã¦ã®ã¢ã¤ãã ã®äºæ¬¡ãã£ãã·ã¥ãå¼·å¶çã«ãªãã¬ãã·ã¥ãã¾ãã"
+#. Tag: para
+#: performance.xml:884
+#, no-c-format
+msgid ""
+"<literal>CacheMode.REFRESH</literal> - write items to the second-level "
+"cache, but don't read from the second-level cache, bypass the effect of "
+"<literal>hibernate.cache.use_minimal_puts</literal>, forcing a refresh of "
+"the second-level cache for all items read from the database"
+msgstr ""
+"<literal>CacheMode.REFRESH</literal> - äºæ¬¡ãã£ãã·ã¥ã«ã¢ã¤ãã ãæ¸ãè¾¼ã¿ã¾ã"
+"ããèªã¿è¾¼ã¿ã«ã¯ äºæ¬¡ãã£ãã·ã¥ã使ããã <literal>hibernate.cache."
+"use_minimal_puts</literal> ã®å½±é¿ãåããã«ããã¼ã¿ãã¼ã¹ããèªã¿è¾¼ããã¹ã¦ã®"
+"ã¢ã¤ãã ã®äºæ¬¡ãã£ãã·ã¥ãå¼·å¶çã«ãªãã¬ãã·ã¥ãã¾ãã"
-#: index.docbook:897
+#. Tag: para
+#: performance.xml:892
+#, no-c-format
msgid ""
- "<![CDATA[Map cacheEntries = sessionFactory.getStatistics()\n"
- " .getSecondLevelCacheStatistics(regionName)\n"
- " .getEntries();]]>"
-msgstr "äºæ¬¡ãã£ãã·ã¥ã®å
容ãã¯ã¨ãªãã£ãã·ã¥é åãè¦ãããã«ã <literal>Statistics</literal> APIã 使ã£ã¦ãã ããã"
+"To browse the contents of a second-level or query cache region, use the "
+"<literal>Statistics</literal> API:"
+msgstr ""
+"äºæ¬¡ãã£ãã·ã¥ã®å
容ãã¯ã¨ãªãã£ãã·ã¥é åãè¦ãããã«ã "
+"<literal>Statistics</literal> APIã 使ã£ã¦ãã ããã"
-#: index.docbook:899
-msgid "You'll need to enable statistics, and, optionally, force Hibernate to keep the cache entries in a more human-understandable format:"
+#. Tag: programlisting
+#: performance.xml:897
+#, no-c-format
+msgid ""
+"<![CDATA[Map cacheEntries = sessionFactory.getStatistics()\n"
+" .getSecondLevelCacheStatistics(regionName)\n"
+" .getEntries();]]>"
msgstr ""
- "<![CDATA[Map cacheEntries = sessionFactory.getStatistics()
-\n"
- " .getSecondLevelCacheStatistics(regionName)
-\n"
- " .getEntries();]]>"
-#: index.docbook:904
+#. Tag: para
+#: performance.xml:899
+#, no-c-format
msgid ""
- "<![CDATA[hibernate.generate_statistics true\n"
- "hibernate.cache.use_structured_entries true]]>"
-msgstr "çµ±è¨æ
å ±ãæå¹ã«ãã¦ãããã«ãªãã·ã§ã³ã¨ãã¦ããã£ãã·ã¥ã¨ã³ããªã 人ãããçè§£å¯è½ãªå½¢å¼ã§ä¿æãããã¨ãHibernateã«å¼·å¶ãã¾ãã"
+"You'll need to enable statistics, and, optionally, force Hibernate to keep "
+"the cache entries in a more human-understandable format:"
+msgstr ""
+"çµ±è¨æ
å ±ãæå¹ã«ãã¦ãããã«ãªãã·ã§ã³ã¨ãã¦ããã£ãã·ã¥ã¨ã³ããªã 人ãããç"
+"è§£å¯è½ãªå½¢å¼ã§ä¿æãããã¨ãHibernateã«å¼·å¶ãã¾ãã"
-#: index.docbook:909
-msgid "The Query Cache"
+#. Tag: programlisting
+#: performance.xml:904
+#, no-c-format
+msgid ""
+"<![CDATA[hibernate.generate_statistics true\n"
+"hibernate.cache.use_structured_entries true]]>"
msgstr ""
- "<![CDATA[hibernate.generate_statistics true
-\n"
- "hibernate.cache.use_structured_entries true]]>"
-#: index.docbook:911
-msgid "Query result sets may also be cached. This is only useful for queries that are run frequently with the same parameters. To use the query cache you must first enable it:"
+#. Tag: title
+#: performance.xml:909
+#, no-c-format
+msgid "The Query Cache"
msgstr "ã¯ã¨ãªãã£ãã·ã¥"
-#: index.docbook:916
+#. Tag: para
+#: performance.xml:911
+#, no-c-format
+msgid ""
+"Query result sets may also be cached. This is only useful for queries that "
+"are run frequently with the same parameters. To use the query cache you must "
+"first enable it:"
+msgstr ""
+"ã¯ã¨ãªã®ãªã¶ã«ãã»ããããã£ãã·ã¥åºæ¥ã¾ããããã¯åããã©ã¡ã¼ã¿ã§ä½åº¦ãå®è¡"
+"ããã ã¯ã¨ãªã«å¯¾ãã¦ã®ã¿æç¨ã§ããã¯ã¨ãªãã£ãã·ã¥ã使ãã«ã¯ãã¾ãè¨å®ã§æå¹"
+"ã«ããªãã¦ã¯ãªãã¾ããã"
+
+#. Tag: programlisting
+#: performance.xml:916
+#, no-c-format
msgid "<![CDATA[hibernate.cache.use_query_cache true]]>"
-msgstr "ã¯ã¨ãªã®ãªã¶ã«ãã»ããããã£ãã·ã¥åºæ¥ã¾ããããã¯åããã©ã¡ã¼ã¿ã§ä½åº¦ãå®è¡ããã ã¯ã¨ãªã«å¯¾ãã¦ã®ã¿æç¨ã§ããã¯ã¨ãªãã£ãã·ã¥ã使ãã«ã¯ãã¾ãè¨å®ã§æå¹ã«ããªãã¦ã¯ãªãã¾ããã"
+msgstr ""
-#: index.docbook:918
-msgid "This setting causes the creation of two new cache regions - one holding cached query result sets (<literal>org.hibernate.cache.StandardQueryCache</literal>), the other holding timestamps of the most recent updates to queryable tables (<literal>org.hibernate.cache.UpdateTimestampsCache</literal>). Note that the query cache does not cache the state of the actual entities in the result set; it caches only identifier values and results of value type. So the query cache should always be used in conjunction with the second-level cache."
-msgstr "<![CDATA[hibernate.cache.use_query_cache true]]>"
+#. Tag: para
+#: performance.xml:918
+#, no-c-format
+msgid ""
+"This setting causes the creation of two new cache regions - one holding "
+"cached query result sets (<literal>org.hibernate.cache.StandardQueryCache</"
+"literal>), the other holding timestamps of the most recent updates to "
+"queryable tables (<literal>org.hibernate.cache.UpdateTimestampsCache</"
+"literal>). Note that the query cache does not cache the state of the actual "
+"entities in the result set; it caches only identifier values and results of "
+"value type. So the query cache should always be used in conjunction with the "
+"second-level cache."
+msgstr ""
+"ãã®è¨å®ã¯æ°ãã«äºã¤ã®ãã£ãã·ã¥é åã®ä½æãè¡ãã¾ããä¸ã¤ã¯ã¯ã¨ãªã®ãªã¶ã«ã"
+"ã»ããã® ãã£ãã·ã¥ï¼ <literal>org.hibernate.cache.StandardQueryCache</"
+"literal> ï¼ãä¿æãã ãã1ã¤ã¯ã¯ã¨ãªå¯è½ãªãã¼ãã«ã¸ã®ææ°ã®æ´æ°ã¿ã¤ã ã¹ã¿ã³"
+"ã ï¼ <literal>org.hibernate.cache.UpdateTimestampsCache</literal> ï¼ãä¿æã"
+"ã¾ãã ã¯ã¨ãªãã£ãã·ã¥ã¯ãªã¶ã«ãã»ããã®å®éã®è¦ç´ ã®ç¶æ
ã¯ãã£ãã·ã¥ããªãã"
+"ã¨ã« 注æãã¦ãã ããããã£ãã·ã¥ããã®ã¯èå¥åã®å¤ã¨ãå¤åã®çµæã®ã¿ã§ãã "
+"ãã®ãããã¯ã¨ãªãã£ãã·ã¥ã¯å¸¸ã«äºæ¬¡ãã£ãã·ã¥ã¨ä¸ç·ã«ä½¿ãã¹ãã§ãã"
-#: index.docbook:928
-msgid "Most queries do not benefit from caching, so by default queries are not cached. To enable caching, call <literal>Query.setCacheable(true)</literal>. This call allows the query to look for existing cache results or add its results to the cache when it is executed."
-msgstr "ãã®è¨å®ã¯æ°ãã«äºã¤ã®ãã£ãã·ã¥é åã®ä½æãè¡ãã¾ããä¸ã¤ã¯ã¯ã¨ãªã®ãªã¶ã«ãã»ããã® ãã£ãã·ã¥ï¼ <literal>org.hibernate.cache.StandardQueryCache</literal> ï¼ãä¿æãã ãã1ã¤ã¯ã¯ã¨ãªå¯è½ãªãã¼ãã«ã¸ã®ææ°ã®æ´æ°ã¿ã¤ã ã¹ã¿ã³ã ï¼ <literal>org.hibernate.cache.UpdateTimestampsCache</literal> ï¼ãä¿æãã¾ãã ã¯ã¨ãªãã£ãã·ã¥ã¯ãªã¶ã«ãã»ããã®å®éã®è¦ç´ ã®ç¶æ
ã¯ãã£ãã·ã¥ããªããã¨ã« 注æãã¦ãã ããããã£ãã·ã¥ããã®ã¯èå¥åã®å¤ã¨ãå¤åã®çµæã®ã¿ã§ãã ãã®ãããã¯ã¨ãªãã£ãã·ã¥ã¯å¸¸ã«äºæ¬¡ãã£ãã·ã¥ã¨ä¸ç·ã«ä½¿ãã¹ãã§ãã"
+#. Tag: para
+#: performance.xml:928
+#, no-c-format
+msgid ""
+"Most queries do not benefit from caching, so by default queries are not "
+"cached. To enable caching, call <literal>Query.setCacheable(true)</literal>. "
+"This call allows the query to look for existing cache results or add its "
+"results to the cache when it is executed."
+msgstr ""
+"ã»ã¨ãã©ã®ã¯ã¨ãªã¯ãã£ãã·ã¥ã®æ©æµãåããªãã®ã§ãããã©ã«ãã§ã¯ã¯ã¨ãªã¯"
+"ãã£ãã·ã¥ããã¾ããã ãã£ãã·ã¥ãæå¹ã«ããã«ã¯ã <literal>Query."
+"setCacheable(true)</literal> ãå¼ã³åºãã¦ãã ããã ããããã°ã¯ã¨ãªãæ¢åã®"
+"ãã£ãã·ã¥çµæãæ¢ããã¯ã¨ãªå®è¡æã«ãã®çµæããã£ãã·ã¥ã«è¿½å ãã ããã«ãªã"
+"ã¾ãã"
-#: index.docbook:935
-msgid "If you require fine-grained control over query cache expiration policies, you may specify a named cache region for a particular query by calling <literal>Query.setCacheRegion()</literal>."
-msgstr "ã»ã¨ãã©ã®ã¯ã¨ãªã¯ãã£ãã·ã¥ã®æ©æµãåããªãã®ã§ãããã©ã«ãã§ã¯ã¯ã¨ãªã¯ãã£ãã·ã¥ããã¾ããã ãã£ãã·ã¥ãæå¹ã«ããã«ã¯ã <literal>Query.setCacheable(true)</literal> ãå¼ã³åºãã¦ãã ããã ããããã°ã¯ã¨ãªãæ¢åã®ãã£ãã·ã¥çµæãæ¢ããã¯ã¨ãªå®è¡æã«ãã®çµæããã£ãã·ã¥ã«è¿½å ãã ããã«ãªãã¾ãã"
+#. Tag: para
+#: performance.xml:935
+#, no-c-format
+msgid ""
+"If you require fine-grained control over query cache expiration policies, "
+"you may specify a named cache region for a particular query by calling "
+"<literal>Query.setCacheRegion()</literal>."
+msgstr ""
+"ã¯ã¨ãªãã£ãã·ã¥ã®ç ´æ£ããªã·ã¼ãç´°ããå¶å¾¡ãããã¨ãã¯ã <literal>Query."
+"setCacheRegion()</literal> ãå¼ã³åºãã¦ç¹å®ã®ã¯ã¨ãªã«å¯¾ãããã£ãã·ã¥é åãæ"
+"å®ãããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:941
+#. Tag: programlisting
+#: performance.xml:941
+#, no-c-format
msgid ""
- "<![CDATA[List blogs = sess.createQuery(\"from Blog blog where blog.blogger = :blogger\")\n"
- " .setEntity(\"blogger\", blogger)\n"
- " .setMaxResults(15)\n"
- " .setCacheable(true)\n"
- " .setCacheRegion(\"frontpages\")\n"
- " .list();]]>"
-msgstr "ã¯ã¨ãªãã£ãã·ã¥ã®ç ´æ£ããªã·ã¼ãç´°ããå¶å¾¡ãããã¨ãã¯ã <literal>Query.setCacheRegion()</literal> ãå¼ã³åºãã¦ç¹å®ã®ã¯ã¨ãªã«å¯¾ãããã£ãã·ã¥é åãæå®ãããã¨ãåºæ¥ã¾ãã"
+"<![CDATA[List blogs = sess.createQuery(\"from Blog blog where blog.blogger "
+"= :blogger\")\n"
+" .setEntity(\"blogger\", blogger)\n"
+" .setMaxResults(15)\n"
+" .setCacheable(true)\n"
+" .setCacheRegion(\"frontpages\")\n"
+" .list();]]>"
+msgstr ""
-#: index.docbook:943
-msgid "If the query should force a refresh of its query cache region, you should call <literal>Query.setCacheMode(CacheMode.REFRESH)</literal>. This is particularly useful in cases where underlying data may have been updated via a separate process (i.e., not modified through Hibernate) and allows the application to selectively refresh particular query result sets. This is a more efficient alternative to eviction of a query cache region via <literal>SessionFactory.evictQueries()</literal>."
+#. Tag: para
+#: performance.xml:943
+#, no-c-format
+msgid ""
+"If the query should force a refresh of its query cache region, you should "
+"call <literal>Query.setCacheMode(CacheMode.REFRESH)</literal>. This is "
+"particularly useful in cases where underlying data may have been updated via "
+"a separate process (i.e., not modified through Hibernate) and allows the "
+"application to selectively refresh particular query result sets. This is a "
+"more efficient alternative to eviction of a query cache region via "
+"<literal>SessionFactory.evictQueries()</literal>."
msgstr ""
- "<![CDATA[List blogs = sess.createQuery(\"from Blog blog where blog.blogger = :blogger\")
-\n"
- " .setEntity(\"blogger\", blogger)
-\n"
- " .setMaxResults(15)
-\n"
- " .setCacheable(true)
-\n"
- " .setCacheRegion(\"frontpages\")
-\n"
- " .list();]]>"
+"ã¯ã¨ãªãèªèº«ã®ã¯ã¨ãªãã£ãã·ã¥é åã®ãªãã¬ãã·ã¥ãå¼·å¶ããªããã°ãªããªããª"
+"ãã <literal>Query.setCacheMode(CacheMode.REFRESH)</literal> ãå¼ã³åºãã¹ã"
+"ã§ãããã㯠å
ã¨ãªããã¼ã¿ãå¥ã®ããã»ã¹ã«ãã£ã¦æ´æ°ããããï¼ããªãã¡"
+"Hibernateãéãã¦æ´æ°ãããªãï¼ã ã¢ããªã±ã¼ã·ã§ã³ã«ç¹å®ã®ã¯ã¨ãªãªã¶ã«ãã»ã"
+"ãã鏿ãã¦ãªãã¬ãã·ã¥ãããå ´åã«ç¹ã«æç¨ã§ãã ããã«æç¨ãªããä¸ã¤ã®æ¹æ³"
+"ã¯ã <literal>SessionFactory.evictQueries()</literal> ã«ãã£ã¦ã¯ã¨ãªãã£ã"
+"ã·ã¥é åãæ¶å»ãããã¨ã§ãã"
-#: index.docbook:955
+#. Tag: title
+#: performance.xml:955
+#, no-c-format
msgid "Understanding Collection performance"
-msgstr "ã¯ã¨ãªãèªèº«ã®ã¯ã¨ãªãã£ãã·ã¥é åã®ãªãã¬ãã·ã¥ãå¼·å¶ããªããã°ãªããªããªãã <literal>Query.setCacheMode(CacheMode.REFRESH)</literal> ãå¼ã³åºãã¹ãã§ãããã㯠å
ã¨ãªããã¼ã¿ãå¥ã®ããã»ã¹ã«ãã£ã¦æ´æ°ããããï¼ããªãã¡Hibernateãéãã¦æ´æ°ãããªãï¼ã ã¢ããªã±ã¼ã·ã§ã³ã«ç¹å®ã®ã¯ã¨ãªãªã¶ã«ãã»ããã鏿ãã¦ãªãã¬ãã·ã¥ãããå ´åã«ç¹ã«æç¨ã§ãã ããã«æç¨ãªããä¸ã¤ã®æ¹æ³ã¯ã <literal>SessionFactory.evictQueries()</literal> ã«ãã£ã¦ã¯ã¨ãªãã£ãã·ã¥é åãæ¶å»ãããã¨ã§ãã"
+msgstr "ã³ã¬ã¯ã·ã§ã³ã®ããã©ã¼ãã³ã¹ã®çè§£"
-#: index.docbook:957
-msgid "We've already spent quite some time talking about collections. In this section we will highlight a couple more issues about how collections behave at runtime."
-msgstr "â14.1"
+#. Tag: para
+#: performance.xml:957
+#, no-c-format
+msgid ""
+"We've already spent quite some time talking about collections. In this "
+"section we will highlight a couple more issues about how collections behave "
+"at runtime."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®è©±é¡ã«ã¯ãã§ã«å¤ãã®æéã使ãã¾ããããã®ç¯ã§ã¯ ã³ã¬ã¯ã·ã§ã³ã"
+"å®è¡æã«ã©ã®ããã«æ¯èããã«ã¤ãã¦ã®è©±é¡ã2ã3åãä¸ãã¾ãã"
-#: index.docbook:964
+#. Tag: title
+#: performance.xml:964
+#, no-c-format
msgid "Taxonomy"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ããã©ã¼ãã³ã¹ã®çè§£"
+msgstr "åé¡"
-#: index.docbook:966
+#. Tag: para
+#: performance.xml:966
+#, no-c-format
msgid "Hibernate defines three basic kinds of collections:"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®è©±é¡ã«ã¯ãã§ã«å¤ãã®æéã使ãã¾ããããã®ç¯ã§ã¯ ã³ã¬ã¯ã·ã§ã³ãå®è¡æã«ã©ã®ããã«æ¯èããã«ã¤ãã¦ã®è©±é¡ã2ã3åãä¸ãã¾ãã"
+msgstr "Hibernateã¯3ã¤ã®åºæ¬çãªã³ã¬ã¯ã·ã§ã³ã®ç¨®é¡ãå®ç¾©ãã¦ãã¾ãã"
-#: index.docbook:970
+#. Tag: para
+#: performance.xml:970
+#, no-c-format
msgid "collections of values"
-msgstr "<title>åé¡</title>"
+msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:973
+#. Tag: para
+#: performance.xml:973
+#, no-c-format
msgid "one to many associations"
-msgstr "Hibernateã¯3ã¤ã®åºæ¬çãªã³ã¬ã¯ã·ã§ã³ã®ç¨®é¡ãå®ç¾©ãã¦ãã¾ãã"
+msgstr "ä¸å¯¾å¤é¢é£"
-#: index.docbook:976
+#. Tag: para
+#: performance.xml:976
+#, no-c-format
msgid "many to many associations"
-msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³"
+msgstr "å¤å¯¾å¤é¢é£"
-#: index.docbook:980
-msgid "This classification distinguishes the various table and foreign key relationships but does not tell us quite everything we need to know about the relational model. To fully understand the relational structure and performance characteristics, we must also consider the structure of the primary key that is used by Hibernate to update or delete collection rows. This suggests the following classification:"
-msgstr "ä¸å¯¾å¤é¢é£"
+#. Tag: para
+#: performance.xml:980
+#, no-c-format
+msgid ""
+"This classification distinguishes the various table and foreign key "
+"relationships but does not tell us quite everything we need to know about "
+"the relational model. To fully understand the relational structure and "
+"performance characteristics, we must also consider the structure of the "
+"primary key that is used by Hibernate to update or delete collection rows. "
+"This suggests the following classification:"
+msgstr ""
+"ãã®åé¡ã¯ãã¾ãã¾ãªãã¼ãã«ãå¤é¨ãã¼é¢é£ãåºå¥ãã¾ãããç§ãã¡ãç¥ãå¿
è¦ã®"
+"ãã é¢é£ã¢ãã«ã«ã¤ãã¦ã»ã¨ãã©ãªã«ãæãã¦ããã¾ãããé¢é£æ§é ãããã©ã¼ãã³"
+"ã¹ã®ç¹å¾´ã å®å
¨ã«çè§£ããã«ã¯ãHibernateãã³ã¬ã¯ã·ã§ã³ã®è¡ãæ´æ°ãåé¤ããã"
+"ãã«ä½¿ã主ãã¼ã® æ§é ãã¾ãèããªããã°ãªãã¾ãããããã¯ä»¥ä¸ã®åé¡ãæç¤ºãã¾"
+"ãã"
-#: index.docbook:991
+#. Tag: para
+#: performance.xml:991
+#, no-c-format
msgid "indexed collections"
-msgstr "å¤å¯¾å¤é¢é£"
+msgstr "ã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:994
+#. Tag: para
+#: performance.xml:994
+#, no-c-format
msgid "sets"
-msgstr "ãã®åé¡ã¯ãã¾ãã¾ãªãã¼ãã«ãå¤é¨ãã¼é¢é£ãåºå¥ãã¾ãããç§ãã¡ãç¥ãå¿
è¦ã®ãã é¢é£ã¢ãã«ã«ã¤ãã¦ã»ã¨ãã©ãªã«ãæãã¦ããã¾ãããé¢é£æ§é ãããã©ã¼ãã³ã¹ã®ç¹å¾´ã å®å
¨ã«çè§£ããã«ã¯ãHibernateãã³ã¬ã¯ã·ã§ã³ã®è¡ãæ´æ°ãåé¤ããããã«ä½¿ã主ãã¼ã® æ§é ãã¾ãèããªããã°ãªãã¾ãããããã¯ä»¥ä¸ã®åé¡ãæç¤ºãã¾ãã"
+msgstr "set"
-#: index.docbook:997
+#. Tag: para
+#: performance.xml:997
+#, no-c-format
msgid "bags"
-msgstr "ã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³"
+msgstr "bag"
-#: index.docbook:1001
-msgid "All indexed collections (maps, lists, arrays) have a primary key consisting of the <literal><key></literal> and <literal><index></literal> columns. In this case collection updates are usually extremely efficient - the primary key may be efficiently indexed and a particular row may be efficiently located when Hibernate tries to update or delete it."
-msgstr "<para>set</para>"
+#. Tag: para
+#: performance.xml:1001
+#, no-c-format
+msgid ""
+"All indexed collections (maps, lists, arrays) have a primary key consisting "
+"of the <literal><key></literal> and <literal><index></literal> "
+"columns. In this case collection updates are usually extremely efficient - "
+"the primary key may be efficiently indexed and a particular row may be "
+"efficiently located when Hibernate tries to update or delete it."
+msgstr ""
+"ãã¹ã¦ã®ã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ï¼mapãlistãé
åï¼ã¯ <literal><"
+"key></literal> 㨠<literal><index></literal> ã«ã©ã ãããªã主ãã¼ã"
+"æã£ã¦ãã¾ãããã®å ´å㯠ã³ã¬ã¯ã·ã§ã³ã®æ´æ°ã¯é常ã«å¹ççã§ãã主ãã¼ã¯æç¨ãª"
+"ã¤ã³ããã¯ã¹ã«ãªããHibernateã ç¹å®ã®è¡ãæ´æ°ã¾ãã¯åé¤ããã¨ãã«ããã®è¡ã"
+"å¹ççã«è¦ã¤ãããã¨ãã§ãã¾ãã"
-#: index.docbook:1009
-msgid "Sets have a primary key consisting of <literal><key></literal> and element columns. This may be less efficient for some types of collection element, particularly composite elements or large text or binary fields; the database may not be able to index a complex primary key as efficently. On the other hand, for one to many or many to many associations, particularly in the case of synthetic identifiers, it is likely to be just as efficient. (Side-note: if you want <literal>SchemaExport</literal> to actually create the primary key of a <literal><set></literal> for you, you must declare all columns as <literal>not-null=\"true\"</literal>.)"
-msgstr "<para>bag</para>"
+#. Tag: para
+#: performance.xml:1009
+#, no-c-format
+msgid ""
+"Sets have a primary key consisting of <literal><key></literal> and "
+"element columns. This may be less efficient for some types of collection "
+"element, particularly composite elements or large text or binary fields; the "
+"database may not be able to index a complex primary key as efficently. On "
+"the other hand, for one to many or many to many associations, particularly "
+"in the case of synthetic identifiers, it is likely to be just as efficient. "
+"(Side-note: if you want <literal>SchemaExport</literal> to actually create "
+"the primary key of a <literal><set></literal> for you, you must "
+"declare all columns as <literal>not-null=\"true\"</literal>.)"
+msgstr ""
+"set㯠<literal><key></literal> ãããªã主ãã¼ã¨è¦ç´ ã®ã«ã©ã ãæã£ã¦ãã¾"
+"ãã ããã¯ã³ã¬ã¯ã·ã§ã³è¦ç´ ã®ããã¤ãã®åã«ã¤ãã¦ã¯å¹ççã§ã¯ãªãããããã¾ã"
+"ãã ç¹ã«è¤åè¦ç´ ã大ããªããã¹ãããã¤ããªãã£ã¼ã«ãã§ã¯éå¹çã§ãããã¼ã¿"
+"ãã¼ã¹ã¯ è¤å主ãã¼ã«å¹ççã«ã¤ã³ããã¯ã¹ãä»ãããã¨ãã§ããªãããã§ããä¸"
+"æ¹ã1対å¤ãå¤å¯¾å¤é¢é£ã«ããã¦ã ç¹ã«äººå·¥èå¥åã®å ´åã¯åããããå¹ççã§ãã"
+"ï¼ä½è«ï¼ <literal>SchemaExport</literal> ã§å®éã« <literal><set></"
+"literal> ã®ä¸»ãã¼ãä½ããããªãããã¹ã¦ã®ã«ã©ã ã§ <literal>not-null=\"true"
+"\"</literal> ã宣è¨ããªããã°ãªãã¾ãããï¼"
-#: index.docbook:1020
-msgid "<literal><idbag></literal> mappings define a surrogate key, so they are always very efficient to update. In fact, they are the best case."
-msgstr "ãã¹ã¦ã®ã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ï¼mapãlistãé
åï¼ã¯ <literal><key></literal> 㨠<literal><index></literal> ã«ã©ã ãããªã主ãã¼ãæã£ã¦ãã¾ãããã®å ´å㯠ã³ã¬ã¯ã·ã§ã³ã®æ´æ°ã¯é常ã«å¹ççã§ãã主ãã¼ã¯æç¨ãªã¤ã³ããã¯ã¹ã«ãªããHibernateã ç¹å®ã®è¡ãæ´æ°ã¾ãã¯åé¤ããã¨ãã«ããã®è¡ãå¹ççã«è¦ã¤ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: performance.xml:1020
+#, no-c-format
+msgid ""
+"<literal><idbag></literal> mappings define a surrogate key, so they "
+"are always very efficient to update. In fact, they are the best case."
+msgstr ""
+"<literal><idbag></literal> ãããã³ã°ã¯ä»£çãã¼ãå®ç¾©ãã¾ãããã®ãã "
+"æ´æ°ã¯å¸¸ã«é常ã«å¹ççã§ããäºå®ä¸ãããã¯æåã®ã±ã¼ã¹ã§ãã"
-#: index.docbook:1025
-msgid "Bags are the worst case. Since a bag permits duplicate element values and has no index column, no primary key may be defined. Hibernate has no way of distinguishing between duplicate rows. Hibernate resolves this problem by completely removing (in a single <literal>DELETE</literal>) and recreating the collection whenever it changes. This might be very inefficient."
-msgstr "set㯠<literal><key></literal> ãããªã主ãã¼ã¨è¦ç´ ã®ã«ã©ã ãæã£ã¦ãã¾ãã ããã¯ã³ã¬ã¯ã·ã§ã³è¦ç´ ã®ããã¤ãã®åã«ã¤ãã¦ã¯å¹ççã§ã¯ãªãããããã¾ããã ç¹ã«è¤åè¦ç´ ã大ããªããã¹ãããã¤ããªãã£ã¼ã«ãã§ã¯éå¹çã§ãããã¼ã¿ãã¼ã¹ã¯ è¤å主ãã¼ã«å¹ççã«ã¤ã³ããã¯ã¹ãä»ãããã¨ãã§ããªãããã§ãã䏿¹ã1対å¤ãå¤å¯¾å¤é¢é£ã«ããã¦ã ç¹ã«äººå·¥èå¥åã®å ´åã¯åããããå¹ççã§ããï¼ä½è«ï¼ <literal>SchemaExport</literal> ã§å®éã« <literal><set></literal> ã®ä¸»ãã¼ãä½ããããªãããã¹ã¦ã®ã«ã©ã ã§ <literal>not-null=\"true\"</literal> ã宣è¨ããªããã°ãªãã¾ãããï¼"
+#. Tag: para
+#: performance.xml:1025
+#, no-c-format
+msgid ""
+"Bags are the worst case. Since a bag permits duplicate element values and "
+"has no index column, no primary key may be defined. Hibernate has no way of "
+"distinguishing between duplicate rows. Hibernate resolves this problem by "
+"completely removing (in a single <literal>DELETE</literal>) and recreating "
+"the collection whenever it changes. This might be very inefficient."
+msgstr ""
+"bagã¯ææªã®ã±ã¼ã¹ã§ããbagã¯è¦ç´ ã®å¤ã®éè¤ãå¯è½ã§ãã¤ã³ããã¯ã¹ã«ã©ã ãæã"
+"ãªãããã 主ãã¼ã¯å®ç¾©ãããªãããããã¾ãããHibernateã«ã¯éè¤ããè¡ãåºå¥"
+"ããæ¹æ³ãããã¾ããã Hibernateã¯ãã®åé¡ã®è§£æ±ºã®ããã«ã夿´ããã£ãã¨ãã«"
+"ã¯å¸¸ã«å®å
¨ãªåé¤ ï¼ä¸ã¤ã® <literal>DELETE</literal> ã«ããï¼ãè¡ããã³ã¬ã¯"
+"ã·ã§ã³ã®å使ãè¡ãã¾ãã ããã¯é常ã«éå¹ççããããã¾ããã"
-#: index.docbook:1033
-msgid "Note that for a one-to-many association, the \"primary key\" may not be the physical primary key of the database table - but even in this case, the above classification is still useful. (It still reflects how Hibernate \"locates\" individual rows of the collection.)"
-msgstr "<literal><idbag></literal> ãããã³ã°ã¯ä»£çãã¼ãå®ç¾©ãã¾ãããã®ãã æ´æ°ã¯å¸¸ã«é常ã«å¹ççã§ããäºå®ä¸ãããã¯æåã®ã±ã¼ã¹ã§ãã"
+#. Tag: para
+#: performance.xml:1033
+#, no-c-format
+msgid ""
+"Note that for a one-to-many association, the \"primary key\" may not be the "
+"physical primary key of the database table - but even in this case, the "
+"above classification is still useful. (It still reflects how Hibernate "
+"\"locates\" individual rows of the collection.)"
+msgstr ""
+"1対å¤é¢é£ã§ã¯ãã主ãã¼ãã¯ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã®ç©çç㪠主ãã¼ã§ã¯ãªãã"
+"ããããªããã¨ã«æ³¨æãã¦ãã ãããããããã®å ´åã§ãããä¸è¨ã®åé¡ã¯ã¾ã æç¨"
+"ã§ãã ï¼Hibernateãã³ã¬ã¯ã·ã§ã³ã®åã
ã®è¡ãã©ããã£ã¦ãè¦ã¤ããããã表ãã¦"
+"ãã¾ããï¼"
-#: index.docbook:1043
-msgid "Lists, maps, idbags and sets are the most efficient collections to update"
-msgstr "bagã¯ææªã®ã±ã¼ã¹ã§ããbagã¯è¦ç´ ã®å¤ã®éè¤ãå¯è½ã§ãã¤ã³ããã¯ã¹ã«ã©ã ãæããªãããã 主ãã¼ã¯å®ç¾©ãããªãããããã¾ãããHibernateã«ã¯éè¤ããè¡ãåºå¥ããæ¹æ³ãããã¾ããã Hibernateã¯ãã®åé¡ã®è§£æ±ºã®ããã«ã夿´ããã£ãã¨ãã«ã¯å¸¸ã«å®å
¨ãªåé¤ ï¼ä¸ã¤ã® <literal>DELETE</literal> ã«ããï¼ãè¡ããã³ã¬ã¯ã·ã§ã³ã®å使ãè¡ãã¾ãã ããã¯é常ã«éå¹ççããããã¾ããã"
+#. Tag: title
+#: performance.xml:1043
+#, no-c-format
+msgid ""
+"Lists, maps, idbags and sets are the most efficient collections to update"
+msgstr "æ´æ°ã«ãã£ã¨ãå¹ççãªã³ã¬ã¯ã·ã§ã³ listãmapãidbagãset"
-#: index.docbook:1045
-msgid "From the discussion above, it should be clear that indexed collections and (usually) sets allow the most efficient operation in terms of adding, removing and updating elements."
-msgstr "1対å¤é¢é£ã§ã¯ãã主ãã¼ãã¯ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã®ç©çç㪠主ãã¼ã§ã¯ãªããããããªããã¨ã«æ³¨æãã¦ãã ãããããããã®å ´åã§ãããä¸è¨ã®åé¡ã¯ã¾ã æç¨ã§ãã ï¼Hibernateãã³ã¬ã¯ã·ã§ã³ã®åã
ã®è¡ãã©ããã£ã¦ãè¦ã¤ããããã表ãã¦ãã¾ããï¼"
+#. Tag: para
+#: performance.xml:1045
+#, no-c-format
+msgid ""
+"From the discussion above, it should be clear that indexed collections and "
+"(usually) sets allow the most efficient operation in terms of adding, "
+"removing and updating elements."
+msgstr ""
+"ä¸ã§ã®è°è«ãããã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ã¨ï¼æ®éã®ï¼setã¯è¦ç´ ã®è¿½å ãå"
+"é¤ã æ´æ°ã§ãã£ã¨ãå¹ççãªæä½ãåºæ¥ããã¨ã¯æããã§ãã"
-#: index.docbook:1051
-msgid "There is, arguably, one more advantage that indexed collections have over sets for many to many associations or collections of values. Because of the structure of a <literal>Set</literal>, Hibernate doesn't ever <literal>UPDATE</literal> a row when an element is \"changed\". Changes to a <literal>Set</literal> always work via <literal>INSERT</literal> and <literal>DELETE</literal> (of individual rows). Once again, this consideration does not apply to one to many associations."
-msgstr "æ´æ°ã«ãã£ã¨ãå¹ççãªã³ã¬ã¯ã·ã§ã³ listãmapãidbagãset"
+#. Tag: para
+#: performance.xml:1051
+#, no-c-format
+msgid ""
+"There is, arguably, one more advantage that indexed collections have over "
+"sets for many to many associations or collections of values. Because of the "
+"structure of a <literal>Set</literal>, Hibernate doesn't ever "
+"<literal>UPDATE</literal> a row when an element is \"changed\". Changes to a "
+"<literal>Set</literal> always work via <literal>INSERT</literal> and "
+"<literal>DELETE</literal> (of individual rows). Once again, this "
+"consideration does not apply to one to many associations."
+msgstr ""
+"ã»ã¼ééããªããå¤å¯¾å¤é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã«ããã¦ãã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯"
+"ã·ã§ã³ã setãããåªãã¦ããç¹ãä¸ã¤ä»¥ä¸ããã¾ãã <literal>Set</literal> ã¯"
+"ãã® æ§é ã®ããã«ãHibernateã¯è¦ç´ ãã夿´ããããã¨ãã«è¡ã決ã㦠"
+"<literal>UPDATE</literal> ãã¾ããã <literal>Set</literal> ã¸ã®å¤æ´ã¯å¸¸ã«"
+"ï¼åã
ã®è¡ã®ï¼<literal>INSERT</literal> 㨠<literal>DELETE</literal> ã«ãã£ã¦"
+"è¡ãã¾ããç¹°ãè¿ãã¾ãããããã¯ä¸å¯¾å¤é¢é£ã«ã¯ å½ã¦ã¯ã¾ãã¾ããã"
-#: index.docbook:1060
-msgid "After observing that arrays cannot be lazy, we would conclude that lists, maps and idbags are the most performant (non-inverse) collection types, with sets not far behind. Sets are expected to be the most common kind of collection in Hibernate applications. This is because the \"set\" semantics are most natural in the relational model."
-msgstr "ä¸ã§ã®è°è«ãããã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ã¨ï¼æ®éã®ï¼setã¯è¦ç´ ã®è¿½å ãåé¤ã æ´æ°ã§ãã£ã¨ãå¹ççãªæä½ãåºæ¥ããã¨ã¯æããã§ãã"
+#. Tag: para
+#: performance.xml:1060
+#, no-c-format
+msgid ""
+"After observing that arrays cannot be lazy, we would conclude that lists, "
+"maps and idbags are the most performant (non-inverse) collection types, with "
+"sets not far behind. Sets are expected to be the most common kind of "
+"collection in Hibernate applications. This is because the \"set\" semantics "
+"are most natural in the relational model."
+msgstr ""
+"é
åã¯é
å»¶å¦çãã§ããªãã¨ããæ±ºã¾ããªã®ã§ãçµè«ã¨ãã¦ãlistãmapãidbagã"
+"ãã£ã¨ã ããã©ã¼ãã³ã¹ã®è¯ãï¼inverseã§ã¯ãªãï¼ã³ã¬ã¯ã·ã§ã³ã¿ã¤ãã¨ãªãã¾"
+"ããsetã ããã»ã©éãã¯ããã¾ãããHibernateã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãsetã¯ã³"
+"ã¬ã¯ã·ã§ã³ã®ãã£ã¨ã å
±éã®ç¨®é¡ã¨ãã¦æå¾
ããã¾ããsetã®è¡¨ç¾ã¯é¢é£ã¢ãã«ã§ã¯"
+"ãã£ã¨ãèªç¶ã ããã§ãã"
-#: index.docbook:1068
-msgid "However, in well-designed Hibernate domain models, we usually see that most collections are in fact one-to-many associations with <literal>inverse=\"true\"</literal>. For these associations, the update is handled by the many-to-one end of the association, and so considerations of collection update performance simply do not apply."
-msgstr "ã»ã¼ééããªããå¤å¯¾å¤é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã«ããã¦ãã¤ã³ããã¯ã¹ä»ãã³ã¬ã¯ã·ã§ã³ã setãããåªãã¦ããç¹ãä¸ã¤ä»¥ä¸ããã¾ãã <literal>Set</literal> ã¯ãã® æ§é ã®ããã«ãHibernateã¯è¦ç´ ãã夿´ããããã¨ãã«è¡ã決ã㦠<literal>UPDATE</literal> ãã¾ããã <literal>Set</literal> ã¸ã®å¤æ´ã¯å¸¸ã«ï¼åã
ã®è¡ã®ï¼<literal>INSERT</literal> 㨠<literal>DELETE</literal> ã«ãã£ã¦è¡ãã¾ããç¹°ãè¿ãã¾ãããããã¯ä¸å¯¾å¤é¢é£ã«ã¯ å½ã¦ã¯ã¾ãã¾ããã"
+#. Tag: para
+#: performance.xml:1068
+#, no-c-format
+msgid ""
+"However, in well-designed Hibernate domain models, we usually see that most "
+"collections are in fact one-to-many associations with <literal>inverse=\"true"
+"\"</literal>. For these associations, the update is handled by the many-to-"
+"one end of the association, and so considerations of collection update "
+"performance simply do not apply."
+msgstr ""
+"ãããããããã¶ã¤ã³ãããHibernateã®ãã¡ã¤ã³ã¢ãã«ã§ã¯ãé常ãã£ã¨ãå¤ãã³ã¬"
+"ã¯ã·ã§ã³ã¯ äºå®ä¸ <literal>inverse=\"true\"</literal> ãæå®ãã1対å¤é¢é£ã§"
+"ãããããã®é¢é£ã§ã¯ã æ´æ°ã¯å¤å¯¾ä¸ã®é¢é£ç«¯ã§æ±ãããã³ã¬ã¯ã·ã§ã³ã®æ´æ°ã"
+"ãã©ã¼ãã³ã¹ã®åé¡ã¯å½ã¦ã¯ã¾ãã¾ããã"
-#: index.docbook:1078
+#. Tag: title
+#: performance.xml:1078
+#, no-c-format
msgid "Bags and lists are the most efficient inverse collections"
-msgstr "é
åã¯é
å»¶å¦çãã§ããªãã¨ããæ±ºã¾ããªã®ã§ãçµè«ã¨ãã¦ãlistãmapãidbagããã£ã¨ã ããã©ã¼ãã³ã¹ã®è¯ãï¼inverseã§ã¯ãªãï¼ã³ã¬ã¯ã·ã§ã³ã¿ã¤ãã¨ãªãã¾ããsetã ããã»ã©éãã¯ããã¾ãããHibernateã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãsetã¯ã³ã¬ã¯ã·ã§ã³ã®ãã£ã¨ã å
±éã®ç¨®é¡ã¨ãã¦æå¾
ããã¾ããsetã®è¡¨ç¾ã¯é¢é£ã¢ãã«ã§ã¯ãã£ã¨ãèªç¶ã ããã§ãã"
+msgstr "inverseã³ã¬ã¯ã·ã§ã³ã«ãã£ã¨ãæé©ãªbagã¨list"
-#: index.docbook:1080
-msgid "Just before you ditch bags forever, there is a particular case in which bags (and also lists) are much more performant than sets. For a collection with <literal>inverse=\"true\"</literal> (the standard bidirectional one-to-many relationship idiom, for example) we can add elements to a bag or list without needing to initialize (fetch) the bag elements! This is because <literal>Collection.add()</literal> or <literal>Collection.addAll()</literal> must always return true for a bag or <literal>List</literal> (unlike a <literal>Set</literal>). This can make the following common code much faster."
-msgstr "ãããããããã¶ã¤ã³ãããHibernateã®ãã¡ã¤ã³ã¢ãã«ã§ã¯ãé常ãã£ã¨ãå¤ãã³ã¬ã¯ã·ã§ã³ã¯ äºå®ä¸ <literal>inverse=\"true\"</literal> ãæå®ãã1対å¤é¢é£ã§ãããããã®é¢é£ã§ã¯ã æ´æ°ã¯å¤å¯¾ä¸ã®é¢é£ç«¯ã§æ±ãããã³ã¬ã¯ã·ã§ã³ã®æ´æ°ããã©ã¼ãã³ã¹ã®åé¡ã¯å½ã¦ã¯ã¾ãã¾ããã"
+#. Tag: para
+#: performance.xml:1080
+#, no-c-format
+msgid ""
+"Just before you ditch bags forever, there is a particular case in which bags "
+"(and also lists) are much more performant than sets. For a collection with "
+"<literal>inverse=\"true\"</literal> (the standard bidirectional one-to-many "
+"relationship idiom, for example) we can add elements to a bag or list "
+"without needing to initialize (fetch) the bag elements! This is because "
+"<literal>Collection.add()</literal> or <literal>Collection.addAll()</"
+"literal> must always return true for a bag or <literal>List</literal> "
+"(unlike a <literal>Set</literal>). This can make the following common code "
+"much faster."
+msgstr ""
+"bagãè¦æ¾ãã¦ãã¾ãåã«ãbagï¼ããã¦listãï¼ãsetããããã£ã¨ããã©ã¼ãã³ã¹ã"
+"è¯ãç¹å¥ãªã±ã¼ã¹ã ç´¹ä»ãã¾ãã <literal>inverse=\"true\"</literal> ã®ã³ã¬ã¯"
+"ã·ã§ã³ï¼ä¸è¬çãª1対å¤é¢é£ã®ä½¿ãæ¹ãªã©ï¼ã§ã bagã®è¦ç´ ãåæåï¼ãã§ããï¼ãã"
+"å¿
è¦ãªãbagãlistã«è¦ç´ ã追å ã§ãã¾ãï¼ ãã㯠<literal>Collection.add()</"
+"literal> ã <literal>Collection.addAll()</literal> ã¯bagã <literal>List</"
+"literal> ã§ã¯å¸¸ã«trueãè¿ããªããã°ãªããªãããã§ã ï¼ <literal>Set</"
+"literal> ã¨ã¯ç°ãªãã¾ãï¼ã ããã¯ä»¥ä¸ã®å
±éå¦çãããéããããã¨ãã§ãã¾"
+"ãã"
-#: index.docbook:1090
+#. Tag: programlisting
+#: performance.xml:1090
+#, no-c-format
msgid ""
- "<![CDATA[Parent p = (Parent) sess.load(Parent.class, id);\n"
- "Child c = new Child();\n"
- "c.setParent(p);\n"
- "p.getChildren().add(c); //no need to fetch the collection!\n"
- "sess.flush();]]>"
-msgstr "inverseã³ã¬ã¯ã·ã§ã³ã«ãã£ã¨ãæé©ãªbagã¨list"
+"<![CDATA[Parent p = (Parent) sess.load(Parent.class, id);\n"
+"Child c = new Child();\n"
+"c.setParent(p);\n"
+"p.getChildren().add(c); //no need to fetch the collection!\n"
+"sess.flush();]]>"
+msgstr ""
-#: index.docbook:1095
+#. Tag: title
+#: performance.xml:1095
+#, no-c-format
msgid "One shot delete"
-msgstr "bagãè¦æ¾ãã¦ãã¾ãåã«ãbagï¼ããã¦listãï¼ãsetããããã£ã¨ããã©ã¼ãã³ã¹ãè¯ãç¹å¥ãªã±ã¼ã¹ã ç´¹ä»ãã¾ãã <literal>inverse=\"true\"</literal> ã®ã³ã¬ã¯ã·ã§ã³ï¼ä¸è¬çãª1対å¤é¢é£ã®ä½¿ãæ¹ãªã©ï¼ã§ã bagã®è¦ç´ ãåæåï¼ãã§ããï¼ããå¿
è¦ãªãbagãlistã«è¦ç´ ã追å ã§ãã¾ãï¼ ãã㯠<literal>Collection.add()</literal> ã <literal>Collection.addAll()</literal> ã¯bagã <literal>List</literal> ã§ã¯å¸¸ã«trueãè¿ããªããã°ãªããªãããã§ã ï¼ <literal>Set</literal> ã¨ã¯ç°ãªãã¾ãï¼ã ããã¯ä»¥ä¸ã®å
±éå¦çãããéããããã¨ãã§ãã¾ãã"
+msgstr "䏿¬åé¤"
-#: index.docbook:1097
-msgid "Occasionally, deleting collection elements one by one can be extremely inefficient. Hibernate isn't completely stupid, so it knows not to do that in the case of an newly-empty collection (if you called <literal>list.clear()</literal>, for example). In this case, Hibernate will issue a single <literal>DELETE</literal> and we are done!"
+#. Tag: para
+#: performance.xml:1097
+#, no-c-format
+msgid ""
+"Occasionally, deleting collection elements one by one can be extremely "
+"inefficient. Hibernate isn't completely stupid, so it knows not to do that "
+"in the case of an newly-empty collection (if you called <literal>list.clear()"
+"</literal>, for example). In this case, Hibernate will issue a single "
+"<literal>DELETE</literal> and we are done!"
msgstr ""
- "<![CDATA[Parent p = (Parent) sess.load(Parent.class, id);
-\n"
- "Child c = new Child();
-\n"
- "c.setParent(p);
-\n"
- "p.getChildren().add(c); //no need to fetch the collection!
-\n"
- "sess.flush();]]>"
+"æã
ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãä¸ã¤ä¸ã¤åé¤ãããã¨ã¯æ¥µãã¦éå¹ççã«ãªããã¨ãã"
+"ãã¾ãã Hibernateã¯æãã§ã¯ãªãã®ã§ãæ°ãã空ã®ã³ã¬ã¯ã·ã§ã³ã®å ´å"
+"ï¼ <literal>list.clear()</literal> ãå¼ã³åºããå ´åãªã©ï¼ã§ã¯ããããã¹ãã§ãª"
+"ããã¨ãç¥ã£ã¦ãã¾ãããã®å ´åã¯ãHibernate㯠<literal>DELETE</literal> ãä¸"
+"åçºè¡ãã¦ãããã§ãã¹ã¦çµããã¾ãï¼"
-#: index.docbook:1104
-msgid "Suppose we add a single element to a collection of size twenty and then remove two elements. Hibernate will issue one <literal>INSERT</literal> statement and two <literal>DELETE</literal> statements (unless the collection is a bag). This is certainly desirable."
-msgstr "䏿¬åé¤"
+#. Tag: para
+#: performance.xml:1104
+#, no-c-format
+msgid ""
+"Suppose we add a single element to a collection of size twenty and then "
+"remove two elements. Hibernate will issue one <literal>INSERT</literal> "
+"statement and two <literal>DELETE</literal> statements (unless the "
+"collection is a bag). This is certainly desirable."
+msgstr ""
+"ãµã¤ãº20ã®ã³ã¬ã¯ã·ã§ã³ã«ä¸ã¤ã®è¦ç´ ã追å ããããããäºã¤ã®è¦ç´ ãåé¤ããã¨ã"
+"ã¾ãã Hibernateã¯ä¸ã¤ã® <literal>INSERT</literal> æã¨äºã¤ã® "
+"<literal>DELETE</literal> æãçºè¡ãã¾ã ï¼ã³ã¬ã¯ã·ã§ã³ãbagã§ãªããã°ï¼ãã"
+"ãã¯ç¢ºãã«æã¾ããåä½ã§ãã"
-#: index.docbook:1110
-msgid "However, suppose that we remove eighteen elements, leaving two and then add thee new elements. There are two possible ways to proceed"
-msgstr "æã
ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãä¸ã¤ä¸ã¤åé¤ãããã¨ã¯æ¥µãã¦éå¹ççã«ãªããã¨ãããã¾ãã Hibernateã¯æãã§ã¯ãªãã®ã§ãæ°ãã空ã®ã³ã¬ã¯ã·ã§ã³ã®å ´åï¼ <literal>list.clear()</literal> ãå¼ã³åºããå ´åãªã©ï¼ã§ã¯ããããã¹ãã§ãªããã¨ãç¥ã£ã¦ãã¾ãããã®å ´åã¯ãHibernate㯠<literal>DELETE</literal> ãä¸åçºè¡ãã¦ãããã§ãã¹ã¦çµããã¾ãï¼"
+#. Tag: para
+#: performance.xml:1110
+#, no-c-format
+msgid ""
+"However, suppose that we remove eighteen elements, leaving two and then add "
+"thee new elements. There are two possible ways to proceed"
+msgstr ""
+"ãããã18åã®è¦ç´ ãåé¤ãã¦2ã¤ãæ®ãããããã3ã¤æ°ããè¦ç´ ã追å ããã¨ãã¾"
+"ãã ãã®ã¨ãäºã¤ã®æ¹æ³ãããã¾ãã"
-#: index.docbook:1117
+#. Tag: para
+#: performance.xml:1117
+#, no-c-format
msgid "delete eighteen rows one by one and then insert three rows"
-msgstr "ãµã¤ãº20ã®ã³ã¬ã¯ã·ã§ã³ã«ä¸ã¤ã®è¦ç´ ã追å ããããããäºã¤ã®è¦ç´ ãåé¤ããã¨ãã¾ãã Hibernateã¯ä¸ã¤ã® <literal>INSERT</literal> æã¨äºã¤ã® <literal>DELETE</literal> æãçºè¡ãã¾ã ï¼ã³ã¬ã¯ã·ã§ã³ãbagã§ãªããã°ï¼ãããã¯ç¢ºãã«æã¾ããåä½ã§ãã"
+msgstr "18è¡ãä¸ã¤ä¸ã¤åé¤ãã¦ã3è¡ã追å ãã"
-#: index.docbook:1120
-msgid "remove the whole collection (in one SQL <literal>DELETE</literal>) and insert all five current elements (one by one)"
-msgstr "ãããã18åã®è¦ç´ ãåé¤ãã¦2ã¤ãæ®ãããããã3ã¤æ°ããè¦ç´ ã追å ããã¨ãã¾ãã ãã®ã¨ãäºã¤ã®æ¹æ³ãããã¾ãã"
+#. Tag: para
+#: performance.xml:1120
+#, no-c-format
+msgid ""
+"remove the whole collection (in one SQL <literal>DELETE</literal>) and "
+"insert all five current elements (one by one)"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³å
¨ä½ãåé¤ï¼ <literal>DELETE</literal> ã®SQLãä¸åï¼ããããã¦5ã¤"
+"ã®è¦ç´ ãã¹ã¦ã ï¼ä¸ã¤ãã¤ï¼è¿½å ãã"
-#: index.docbook:1125
-msgid "Hibernate isn't smart enough to know that the second option is probably quicker in this case. (And it would probably be undesirable for Hibernate to be that smart; such behaviour might confuse database triggers, etc.)"
-msgstr "18è¡ãä¸ã¤ä¸ã¤åé¤ãã¦ã3è¡ã追å ãã"
+#. Tag: para
+#: performance.xml:1125
+#, no-c-format
+msgid ""
+"Hibernate isn't smart enough to know that the second option is probably "
+"quicker in this case. (And it would probably be undesirable for Hibernate to "
+"be that smart; such behaviour might confuse database triggers, etc.)"
+msgstr ""
+"Hibernateã¯ãã®å ´åã«2çªç®ã®æ¹æ³ãããéãã ããã¨ãããã»ã©è³¢ãã¯ããã¾ã"
+"ãã ï¼ããã¦Hibernateããã®ããã«è³¢ããã¨ãæã¾ãããªãã§ãããããã®ãããª"
+"æ¯ãèã㯠ãã¼ã¿ãã¼ã¹ã®ããªã¬ãªã©ãæ··ä¹±ãããããããã¾ãããï¼"
-#: index.docbook:1131
-msgid "Fortunately, you can force this behaviour (ie. the second strategy) at any time by discarding (ie. dereferencing) the original collection and returning a newly instantiated collection with all the current elements. This can be very useful and powerful from time to time."
-msgstr "ã³ã¬ã¯ã·ã§ã³å
¨ä½ãåé¤ï¼ <literal>DELETE</literal> ã®SQLãä¸åï¼ããããã¦5ã¤ã®è¦ç´ ãã¹ã¦ã ï¼ä¸ã¤ãã¤ï¼è¿½å ãã"
+#. Tag: para
+#: performance.xml:1131
+#, no-c-format
+msgid ""
+"Fortunately, you can force this behaviour (ie. the second strategy) at any "
+"time by discarding (ie. dereferencing) the original collection and returning "
+"a newly instantiated collection with all the current elements. This can be "
+"very useful and powerful from time to time."
+msgstr ""
+"幸ãã«ããå
ã®ã³ã¬ã¯ã·ã§ã³ãæ¨ã¦ï¼ã¤ã¾ãåç
§ãããã¦ï¼ãç¾å¨ã®è¦ç´ ããã¹ã¦æ"
+"ã¤æ°ããã³ã¬ã¯ã·ã§ã³ã® ã¤ã³ã¹ã¿ã³ã¹ãè¿ããã¨ã§ããã¤ã§ããã®æ¯ãèãï¼2çªç®"
+"ã®æ¦ç¥ï¼ãå¼·å¶ãããã¨ãåºæ¥ã¾ãã æã«ããã¯ã¨ã¦ã便å©ã§å¼·åã§ãã"
-#: index.docbook:1137
-msgid "Of course, one-shot-delete does not apply to collections mapped <literal>inverse=\"true\"</literal>."
-msgstr "Hibernateã¯ãã®å ´åã«2çªç®ã®æ¹æ³ãããéãã ããã¨ãããã»ã©è³¢ãã¯ããã¾ããã ï¼ããã¦Hibernateããã®ããã«è³¢ããã¨ãæã¾ãããªãã§ãããããã®ãããªæ¯ãèã㯠ãã¼ã¿ãã¼ã¹ã®ããªã¬ãªã©ãæ··ä¹±ãããããããã¾ãããï¼"
+#. Tag: para
+#: performance.xml:1137
+#, no-c-format
+msgid ""
+"Of course, one-shot-delete does not apply to collections mapped "
+"<literal>inverse=\"true\"</literal>."
+msgstr ""
+"ãã¡ããã䏿¬åé¤ã¯ <literal>inverse=\"true\"</literal> ãæå®ããã³ã¬ã¯ã·ã§"
+"ã³ã«ã¯è¡ãã¾ããã"
-#: index.docbook:1146
+#. Tag: title
+#: performance.xml:1146
+#, no-c-format
msgid "Monitoring performance"
-msgstr "幸ãã«ããå
ã®ã³ã¬ã¯ã·ã§ã³ãæ¨ã¦ï¼ã¤ã¾ãåç
§ãããã¦ï¼ãç¾å¨ã®è¦ç´ ããã¹ã¦æã¤æ°ããã³ã¬ã¯ã·ã§ã³ã® ã¤ã³ã¹ã¿ã³ã¹ãè¿ããã¨ã§ããã¤ã§ããã®æ¯ãèãï¼2çªç®ã®æ¦ç¥ï¼ãå¼·å¶ãããã¨ãåºæ¥ã¾ãã æã«ããã¯ã¨ã¦ã便å©ã§å¼·åã§ãã"
+msgstr "ããã©ã¼ãã³ã¹ã®ã¢ãã¿ãªã³ã°"
-#: index.docbook:1148
-msgid "Optimization is not much use without monitoring and access to performance numbers. Hibernate provides a full range of figures about its internal operations. Statistics in Hibernate are available per <literal>SessionFactory</literal>."
-msgstr "ãã¡ããã䏿¬åé¤ã¯ <literal>inverse=\"true\"</literal> ãæå®ããã³ã¬ã¯ã·ã§ã³ã«ã¯è¡ãã¾ããã"
+#. Tag: para
+#: performance.xml:1148
+#, no-c-format
+msgid ""
+"Optimization is not much use without monitoring and access to performance "
+"numbers. Hibernate provides a full range of figures about its internal "
+"operations. Statistics in Hibernate are available per "
+"<literal>SessionFactory</literal>."
+msgstr ""
+"æé©åã¯ã¢ãã¿ãªã³ã°ãããã©ã¼ãã³ã¹ãç¤ºãæ°å¤ããªããã°ååã«è¡ãã¾ããã "
+"Hibernateã¯å
é¨å¦çã®ãã¹ã¦ã®ç¯å²ã®æ°å¤ãæä¾ãã¾ãã Hibernateã®çµ±è¨æ
å ±ã¯ "
+"<literal>SessionFactory</literal> åä½ã§åå¾å¯è½ã§ãã"
-#: index.docbook:1155
+#. Tag: title
+#: performance.xml:1155
+#, no-c-format
msgid "Monitoring a SessionFactory"
-msgstr "ããã©ã¼ãã³ã¹ã®ã¢ãã¿ãªã³ã°"
+msgstr "SessionFactoryã®ã¢ãã¿ãªã³ã°"
-#: index.docbook:1157
-msgid "You can access <literal>SessionFactory</literal> metrics in two ways. Your first option is to call <literal>sessionFactory.getStatistics()</literal> and read or display the <literal>Statistics</literal> yourself."
-msgstr "æé©åã¯ã¢ãã¿ãªã³ã°ãããã©ã¼ãã³ã¹ãç¤ºãæ°å¤ããªããã°ååã«è¡ãã¾ããã Hibernateã¯å
é¨å¦çã®ãã¹ã¦ã®ç¯å²ã®æ°å¤ãæä¾ãã¾ãã Hibernateã®çµ±è¨æ
å ±ã¯ <literal>SessionFactory</literal> åä½ã§åå¾å¯è½ã§ãã"
+#. Tag: para
+#: performance.xml:1157
+#, no-c-format
+msgid ""
+"You can access <literal>SessionFactory</literal> metrics in two ways. Your "
+"first option is to call <literal>sessionFactory.getStatistics()</literal> "
+"and read or display the <literal>Statistics</literal> yourself."
+msgstr ""
+"<literal>SessionFactory</literal> ã®ã¡ããªã¯ã¹ã«ã¢ã¯ã»ã¹ããã«ã¯2ã¤ã®æ¹æ³ãã"
+"ãã¾ãã æåã®æ¹æ³ã¯ã <literal>sessionFactory.getStatistics()</literal> ã"
+"å¼ã³åºãã èªåã§ <literal>Statistics</literal> ã®èªã¿è¾¼ã¿ã表示ãè¡ãã¾ãã"
-#: index.docbook:1163
-msgid "Hibernate can also use JMX to publish metrics if you enable the <literal>StatisticsService</literal> MBean. You may enable a single MBean for all your <literal>SessionFactory</literal> or one per factory. See the following code for minimalistic configuration examples:"
-msgstr "SessionFactoryã®ã¢ãã¿ãªã³ã°"
+#. Tag: para
+#: performance.xml:1163
+#, no-c-format
+msgid ""
+"Hibernate can also use JMX to publish metrics if you enable the "
+"<literal>StatisticsService</literal> MBean. You may enable a single MBean "
+"for all your <literal>SessionFactory</literal> or one per factory. See the "
+"following code for minimalistic configuration examples:"
+msgstr ""
+"<literal>StatisticsService</literal> MBeanãæå¹ã«ãã¦ããã°ãHibernateã¯JMX"
+"ã使ã£ã¦ ã¡ããªã¯ã¹ãçºè¡ãããã¨ãã§ãã¾ãã1ã¤ã®MBeanããã¹ã¦ã® "
+"<literal>SessionFactory</literal> ã«å¯¾ãã¦æå¹ã«ããããSessionFactoryãã¨ã«"
+"ä¸ã¤ã®MBeanãæå¹ã«ãããã¨ãåºæ¥ã¾ãã æå°éã®è¨å®ä¾ã§ãã以ä¸ã®ã³ã¼ããè¦"
+"ã¦ãã ããã"
-#: index.docbook:1170
+#. Tag: programlisting
+#: performance.xml:1170
+#, no-c-format
msgid ""
- "<![CDATA[// MBean service registration for a specific SessionFactory\n"
- "Hashtable tb = new Hashtable();\n"
- "tb.put(\"type\", \"statistics\");\n"
- "tb.put(\"sessionFactory\", \"myFinancialApp\");\n"
- "ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name\n"
- "\n"
- "StatisticsService stats = new StatisticsService(); // MBean implementation\n"
- "stats.setSessionFactory(sessionFactory); // Bind the stats to a SessionFactory\n"
- "server.registerMBean(stats, on); // Register the Mbean on the server]]>"
-msgstr "<literal>SessionFactory</literal> ã®ã¡ããªã¯ã¹ã«ã¢ã¯ã»ã¹ããã«ã¯2ã¤ã®æ¹æ³ãããã¾ãã æåã®æ¹æ³ã¯ã <literal>sessionFactory.getStatistics()</literal> ãå¼ã³åºãã èªåã§ <literal>Statistics</literal> ã®èªã¿è¾¼ã¿ã表示ãè¡ãã¾ãã"
+"<![CDATA[// MBean service registration for a specific SessionFactory\n"
+"Hashtable tb = new Hashtable();\n"
+"tb.put(\"type\", \"statistics\");\n"
+"tb.put(\"sessionFactory\", \"myFinancialApp\");\n"
+"ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name\n"
+"\n"
+"StatisticsService stats = new StatisticsService(); // MBean implementation\n"
+"stats.setSessionFactory(sessionFactory); // Bind the stats to a "
+"SessionFactory\n"
+"server.registerMBean(stats, on); // Register the Mbean on the server]]>"
+msgstr ""
-#: index.docbook:1173
+#. Tag: programlisting
+#: performance.xml:1173
+#, no-c-format
msgid ""
- "<![CDATA[// MBean service registration for all SessionFactory's\n"
- "Hashtable tb = new Hashtable();\n"
- "tb.put(\"type\", \"statistics\");\n"
- "tb.put(\"sessionFactory\", \"all\");\n"
- "ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name\n"
- "\n"
- "StatisticsService stats = new StatisticsService(); // MBean implementation\n"
- "server.registerMBean(stats, on); // Register the MBean on the server]]>"
-msgstr "<literal>StatisticsService</literal> MBeanãæå¹ã«ãã¦ããã°ãHibernateã¯JMXã使ã£ã¦ ã¡ããªã¯ã¹ãçºè¡ãããã¨ãã§ãã¾ãã1ã¤ã®MBeanããã¹ã¦ã® <literal>SessionFactory</literal> ã«å¯¾ãã¦æå¹ã«ããããSessionFactoryãã¨ã«ä¸ã¤ã®MBeanãæå¹ã«ãããã¨ãåºæ¥ã¾ãã æå°éã®è¨å®ä¾ã§ãã以ä¸ã®ã³ã¼ããè¦ã¦ãã ããã"
+"<![CDATA[// MBean service registration for all SessionFactory's\n"
+"Hashtable tb = new Hashtable();\n"
+"tb.put(\"type\", \"statistics\");\n"
+"tb.put(\"sessionFactory\", \"all\");\n"
+"ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name\n"
+"\n"
+"StatisticsService stats = new StatisticsService(); // MBean implementation\n"
+"server.registerMBean(stats, on); // Register the MBean on the server]]>"
+msgstr ""
-#: index.docbook:1175
-msgid "TODO: This doesn't make sense: In the first case, we retrieve and use the MBean directly. In the second one, we must give the JNDI name in which the session factory is held before using it. Use <literal>hibernateStatsBean.setSessionFactoryJNDIName(\"my/JNDI/Name\")</literal>"
+#. Tag: para
+#: performance.xml:1175
+#, no-c-format
+msgid ""
+"TODO: This doesn't make sense: In the first case, we retrieve and use the "
+"MBean directly. In the second one, we must give the JNDI name in which the "
+"session factory is held before using it. Use <literal>hibernateStatsBean."
+"setSessionFactoryJNDIName(\"my/JNDI/Name\")</literal>"
msgstr ""
- "<![CDATA[// MBean service registration for a specific SessionFactory
-\n"
- "Hashtable tb = new Hashtable();
-\n"
- "tb.put(\"type\", \"statistics\");
-\n"
- "tb.put(\"sessionFactory\", \"myFinancialApp\");
-\n"
- "ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name
-\n"
- "
-\n"
- "StatisticsService stats = new StatisticsService(); // MBean implementation
-\n"
- "stats.setSessionFactory(sessionFactory); // Bind the stats to a SessionFactory
-\n"
- "server.registerMBean(stats, on); // Register the Mbean on the server]]>"
+"TODO: ããã¯æå³ãããã¾ãããæåã®ã±ã¼ã¹ã¯ãMBeanãç´æ¥å¾©å
ãã¦ä½¿ç¨ãã¾ãã"
+"2çªç®ã®ã±ã¼ã¹ã¯ã 使ãåã«session factoryãæã£ã¦ããJNDIåãæ¸¡ããªããã°ãªã"
+"ã¾ããã <literal>hibernateStatsBean.setSessionFactoryJNDIName(\"my/JNDI/Name"
+"\")</literal> ã使ã£ã¦ãã ããã"
-#: index.docbook:1180
-msgid "You can (de)activate the monitoring for a <literal>SessionFactory</literal>"
+#. Tag: para
+#: performance.xml:1180
+#, no-c-format
+msgid ""
+"You can (de)activate the monitoring for a <literal>SessionFactory</literal>"
msgstr ""
- "<![CDATA[// MBean service registration for all SessionFactory's
-\n"
- "Hashtable tb = new Hashtable();
-\n"
- "tb.put(\"type\", \"statistics\");
-\n"
- "tb.put(\"sessionFactory\", \"all\");
-\n"
- "ObjectName on = new ObjectName(\"hibernate\", tb); // MBean object name
-\n"
- "
-\n"
- "StatisticsService stats = new StatisticsService(); // MBean implementation
-\n"
- "server.registerMBean(stats, on); // Register the MBean on the server]]>"
+"<literal>SessionFactory</literal> ã«å¯¾ãã¦ã¢ãã¿ãªã³ã°ã®éå§ï¼çµäºï¼ãè¡ãã"
+"ã¨ãåºæ¥ã¾ãã"
-#: index.docbook:1185
-msgid "at configuration time, set <literal>hibernate.generate_statistics</literal> to <literal>false</literal>"
-msgstr "TODO: ããã¯æå³ãããã¾ãããæåã®ã±ã¼ã¹ã¯ãMBeanãç´æ¥å¾©å
ãã¦ä½¿ç¨ãã¾ãã2çªç®ã®ã±ã¼ã¹ã¯ã 使ãåã«session factoryãæã£ã¦ããJNDIåãæ¸¡ããªããã°ãªãã¾ããã <literal>hibernateStatsBean.setSessionFactoryJNDIName(\"my/JNDI/Name\")</literal> ã使ã£ã¦ãã ããã"
+#. Tag: para
+#: performance.xml:1185
+#, no-c-format
+msgid ""
+"at configuration time, set <literal>hibernate.generate_statistics</literal> "
+"to <literal>false</literal>"
+msgstr ""
+"è¨å®æã«ã¯ã <literal>hibernate.generate_statistics</literal> ã "
+"<literal>false</literal> ã«ãã¾ã"
-#: index.docbook:1192
-msgid "at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> or <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
-msgstr "<literal>SessionFactory</literal> ã«å¯¾ãã¦ã¢ãã¿ãªã³ã°ã®éå§ï¼çµäºï¼ãè¡ããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:1192
+#, no-c-format
+msgid ""
+"at runtime: <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
+"or <literal>hibernateStatsBean.setStatisticsEnabled(true)</literal>"
+msgstr ""
+"å®è¡æã«ã <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> "
+"ã¾ã㯠<literal>hibernateStatsBean.setStatisticsEnabled(true)</literal> ãå¼"
+"ã³åºãã¾ã"
-#: index.docbook:1199
-msgid "Statistics can be reset programatically using the <literal>clear()</literal> method. A summary can be sent to a logger (info level) using the <literal>logSummary()</literal> method."
-msgstr "è¨å®æã«ã¯ã <literal>hibernate.generate_statistics</literal> ã <literal>false</literal> ã«ãã¾ã"
+#. Tag: para
+#: performance.xml:1199
+#, no-c-format
+msgid ""
+"Statistics can be reset programatically using the <literal>clear()</literal> "
+"method. A summary can be sent to a logger (info level) using the "
+"<literal>logSummary()</literal> method."
+msgstr ""
+"çµ±è¨ã¯ <literal>clear()</literal> ã¡ã½ããã使ã£ã¦æåã§ãªã»ãããããã¨ãåº"
+"æ¥ã¾ãã ãµããªã¯ <literal>logSummary()</literal> ã¡ã½ããã使ã£ã¦loggerã«é"
+"ããã¨ãåºæ¥ã¾ã ï¼infoã¬ãã«ã§ãï¼ã"
-#: index.docbook:1208
+#. Tag: title
+#: performance.xml:1208
+#, no-c-format
msgid "Metrics"
-msgstr "å®è¡æã«ã <literal>sf.getStatistics().setStatisticsEnabled(true)</literal> ã¾ã㯠<literal>hibernateStatsBean.setStatisticsEnabled(true)</literal> ãå¼ã³åºãã¾ã"
-
-#: index.docbook:1210
-msgid "Hibernate provides a number of metrics, from very basic to the specialized information only relevant in certain scenarios. All available counters are described in the <literal>Statistics</literal> interface API, in three categories:"
-msgstr "çµ±è¨ã¯ <literal>clear()</literal> ã¡ã½ããã使ã£ã¦æåã§ãªã»ãããããã¨ãåºæ¥ã¾ãã ãµããªã¯ <literal>logSummary()</literal> ã¡ã½ããã使ã£ã¦loggerã«éããã¨ãåºæ¥ã¾ã ï¼infoã¬ãã«ã§ãï¼ã"
-
-#: index.docbook:1217
-msgid "Metrics related to the general <literal>Session</literal> usage, such as number of open sessions, retrieved JDBC connections, etc."
msgstr "ã¡ããªã¯ã¹"
-#: index.docbook:1223
-msgid "Metrics related to he entities, collections, queries, and caches as a whole (aka global metrics),"
-msgstr "å¤ãã®ãã®ãããã¾ãããã¹ã¦ã®ä½¿ç¨å¯è½ãªã«ã¦ã³ã¿ã¯ <literal>Statistics</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®APIã«æ¸ããã¦ããã3ã¤ã®åé¡ãããã¾ãã"
+#. Tag: para
+#: performance.xml:1210
+#, no-c-format
+msgid ""
+"Hibernate provides a number of metrics, from very basic to the specialized "
+"information only relevant in certain scenarios. All available counters are "
+"described in the <literal>Statistics</literal> interface API, in three "
+"categories:"
+msgstr ""
+"å¤ãã®ãã®ãããã¾ãããã¹ã¦ã®ä½¿ç¨å¯è½ãªã«ã¦ã³ã¿ã¯ <literal>Statistics</"
+"literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®APIã«æ¸ããã¦ããã3ã¤ã®åé¡ãããã¾ãã"
-#: index.docbook:1229
-msgid "Detailed metrics related to a particular entity, collection, query or cache region."
-msgstr "ã¡ããªã¯ã¹ã¯ä¸è¬ç㪠<literal>Session</literal> ã®ä½¿ãæ¹ã¨é¢ä¿ãã¦ãã¾ãã ãªã¼ãã³ããã»ãã·ã§ã³ã®æ°ãJDBCã³ãã¯ã·ã§ã³ã¨é¢é£ãã¦ããã®ã¨åãã§ãã"
+#. Tag: para
+#: performance.xml:1217
+#, no-c-format
+msgid ""
+"Metrics related to the general <literal>Session</literal> usage, such as "
+"number of open sessions, retrieved JDBC connections, etc."
+msgstr ""
+"ã¡ããªã¯ã¹ã¯ä¸è¬ç㪠<literal>Session</literal> ã®ä½¿ãæ¹ã¨é¢ä¿ãã¦ãã¾ãã "
+"ãªã¼ãã³ããã»ãã·ã§ã³ã®æ°ãJDBCã³ãã¯ã·ã§ã³ã¨é¢é£ãã¦ããã®ã¨åãã§ãã"
-#: index.docbook:1236
-msgid "For exampl,e you can check the cache hit, miss, and put ratio of entities, collections and queries, and the average time a query needs. Beware that the number of milliseconds is subject to approximation in Java. Hibernate is tied to the JVM precision, on some platforms this might even only be accurate to 10 seconds."
-msgstr "ã¡ããªã¯ã¹ã¯è¦ç´ ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥ãªã©å
¨ä½ã« é¢ä¿ãã¦ãã¾ãï¼å¥åã¯ã°ãã¼ãã«ã¡ããªã¯ã¹ã§ãï¼ã"
+#. Tag: para
+#: performance.xml:1223
+#, no-c-format
+msgid ""
+"Metrics related to he entities, collections, queries, and caches as a whole "
+"(aka global metrics),"
+msgstr ""
+"ã¡ããªã¯ã¹ã¯è¦ç´ ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥ãªã©å
¨ä½ã« é¢ä¿ãã¦ãã¾ã"
+"ï¼å¥åã¯ã°ãã¼ãã«ã¡ããªã¯ã¹ã§ãï¼ã"
-#: index.docbook:1243
-msgid "Simple getters are used to access the global metrics (i.e. not tied to a particular entity, collection, cache region, etc.). You can access the metrics of a particular entity, collection or cache region through its name, and through its HQL or SQL representation for queries. Please refer to the <literal>Statistics</literal>, <literal>EntityStatistics</literal>, <literal>CollectionStatistics</literal>, <literal>SecondLevelCacheStatistics</literal>, and <literal>QueryStatistics</literal> API Javadoc for more information. The following code shows a simple example:"
-msgstr "ã¡ããªã¯ã¹ã®è©³ç´°ã¯ç¹å®ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥é åã«é¢ä¿ãã¦ãã¾ãã"
+#. Tag: para
+#: performance.xml:1229
+#, no-c-format
+msgid ""
+"Detailed metrics related to a particular entity, collection, query or cache "
+"region."
+msgstr ""
+"ã¡ããªã¯ã¹ã®è©³ç´°ã¯ç¹å®ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥é åã«"
+"é¢ä¿ãã¦ãã¾ãã"
-#: index.docbook:1253
+#. Tag: para
+#: performance.xml:1236
+#, no-c-format
msgid ""
- "<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
- "\n"
- "double queryCacheHitCount = stats.getQueryCacheHitCount();\n"
- "double queryCacheMissCount = stats.getQueryCacheMissCount();\n"
- "double queryCacheHitRatio =\n"
- " queryCacheHitCount / (queryCacheHitCount + queryCacheMissCount);\n"
- "\n"
- "log.info(\"Query Hit ratio:\" + queryCacheHitRatio);\n"
- "\n"
- "EntityStatistics entityStats =\n"
- " stats.getEntityStatistics( Cat.class.getName() );\n"
- "long changes =\n"
- " entityStats.getInsertCount()\n"
- " + entityStats.getUpdateCount()\n"
- " + entityStats.getDeleteCount();\n"
- "log.info(Cat.class.getName() + \" changed \" + changes + \"times\" );]]>"
-msgstr "ä¾ã¨ãã¦ããã£ãã·ã¥ã®ããããããããã¹ããè¦ç´ ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªã®å²åãã¯ã¨ãªã®å®è¡ã« å¿
è¦ãªå¹³åæéã確èªã§ãã¾ããããªç§ã®æ°å¤ã¯Javaã®è¿ä¼¼ãåãããã¨ã«æ³¨æãã¦ãã ããã Hibernateã¯JVMã®ç²¾åº¦ã«å¶éããããã©ãããã©ã¼ã ã«ãã£ã¦ã¯10ç§åä½ã§ããæ£ç¢ºã§ãªãããããã¾ããã"
+"For exampl,e you can check the cache hit, miss, and put ratio of entities, "
+"collections and queries, and the average time a query needs. Beware that the "
+"number of milliseconds is subject to approximation in Java. Hibernate is "
+"tied to the JVM precision, on some platforms this might even only be "
+"accurate to 10 seconds."
+msgstr ""
+"ä¾ã¨ãã¦ããã£ãã·ã¥ã®ããããããããã¹ããè¦ç´ ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªã®å²"
+"åãã¯ã¨ãªã®å®è¡ã« å¿
è¦ãªå¹³åæéã確èªã§ãã¾ããããªç§ã®æ°å¤ã¯Javaã®è¿ä¼¼ãå"
+"ãããã¨ã«æ³¨æãã¦ãã ããã Hibernateã¯JVMã®ç²¾åº¦ã«å¶éããããã©ãããã©ã¼ã "
+"ã«ãã£ã¦ã¯10ç§åä½ã§ããæ£ç¢ºã§ãªãããããã¾ããã"
-#: index.docbook:1255
-msgid "To work on all entities, collections, queries and region caches, you can retrieve the list of names of entities, collections, queries and region caches with the following methods: <literal>getQueries()</literal>, <literal>getEntityNames()</literal>, <literal>getCollectionRoleNames()</literal>, and <literal>getSecondLevelCacheRegionNames()</literal>."
-msgstr "åç´ãªgetterã¯ã°ãã¼ãã«ã¡ããªã¯ã¹ï¼ããªãã¡ç¹å®ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ããã£ãã·ã¥é åãªã©ã«ç¸ãããªãï¼ ã«ã¢ã¯ã»ã¹ããããã«ä½¿ãã¾ããç¹å®ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ããã£ãã·ã¥é åã®ã¡ããªã¯ã¹ã¯ã ãããã®ååããã¯ã¨ãªã®HQLãSQL表ç¾ã«ãã£ã¦ã¢ã¯ã»ã¹ãããã¨ãåºæ¥ã¾ããããã«è©³ããæ
å ±ã¯ã <literal>Statistics</literal> ã <literal>EntityStatistics</literal> ã <literal>CollectionStatistics</literal> ã <literal>SecondLevelCacheStatistics</literal> ã <literal>QueryStatistics</literal> APIã®javadocã åç
§ãã¦ãã ããã以ä¸ã®ã³ã¼ãã¯ç°¡åãªä¾ã§ãã"
+#. Tag: para
+#: performance.xml:1243
+#, no-c-format
+msgid ""
+"Simple getters are used to access the global metrics (i.e. not tied to a "
+"particular entity, collection, cache region, etc.). You can access the "
+"metrics of a particular entity, collection or cache region through its name, "
+"and through its HQL or SQL representation for queries. Please refer to the "
+"<literal>Statistics</literal>, <literal>EntityStatistics</literal>, "
+"<literal>CollectionStatistics</literal>, "
+"<literal>SecondLevelCacheStatistics</literal>, and <literal>QueryStatistics</"
+"literal> API Javadoc for more information. The following code shows a simple "
+"example:"
+msgstr ""
+"åç´ãªgetterã¯ã°ãã¼ãã«ã¡ããªã¯ã¹ï¼ããªãã¡ç¹å®ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§"
+"ã³ããã£ãã·ã¥é åãªã©ã«ç¸ãããªãï¼ ã«ã¢ã¯ã»ã¹ããããã«ä½¿ãã¾ããç¹å®ã®ã¨ã³"
+"ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ããã£ãã·ã¥é åã®ã¡ããªã¯ã¹ã¯ã ãããã®ååããã¯ã¨ãª"
+"ã®HQLãSQL表ç¾ã«ãã£ã¦ã¢ã¯ã»ã¹ãããã¨ãåºæ¥ã¾ããããã«è©³ããæ
å ±ã¯ã "
+"<literal>Statistics</literal> ã <literal>EntityStatistics</literal> ã "
+"<literal>CollectionStatistics</literal> ã "
+"<literal>SecondLevelCacheStatistics</literal> ã <literal>QueryStatistics</"
+"literal> APIã®javadocã åç
§ãã¦ãã ããã以ä¸ã®ã³ã¼ãã¯ç°¡åãªä¾ã§ãã"
-#: index.docbook:1352
-msgid "appended paragraph 1"
+#. Tag: programlisting
+#: performance.xml:1253
+#, no-c-format
+msgid ""
+"<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();\n"
+"\n"
+"double queryCacheHitCount = stats.getQueryCacheHitCount();\n"
+"double queryCacheMissCount = stats.getQueryCacheMissCount();\n"
+"double queryCacheHitRatio =\n"
+" queryCacheHitCount / (queryCacheHitCount + queryCacheMissCount);\n"
+"\n"
+"log.info(\"Query Hit ratio:\" + queryCacheHitRatio);\n"
+"\n"
+"EntityStatistics entityStats =\n"
+" stats.getEntityStatistics( Cat.class.getName() );\n"
+"long changes =\n"
+" entityStats.getInsertCount()\n"
+" + entityStats.getUpdateCount()\n"
+" + entityStats.getDeleteCount();\n"
+"log.info(Cat.class.getName() + \" changed \" + changes + \"times\" );]]>"
msgstr ""
- "<![CDATA[Statistics stats = HibernateUtil.sessionFactory.getStatistics();
-\n"
- "
-\n"
- "double queryCacheHitCount = stats.getQueryCacheHitCount();
-\n"
- "double queryCacheMissCount = stats.getQueryCacheMissCount();
-\n"
- "double queryCacheHitRatio =
-\n"
- " queryCacheHitCount / (queryCacheHitCount + queryCacheMissCount);
-\n"
- "
-\n"
- "log.info(\"Query Hit ratio:\" + queryCacheHitRatio);
-\n"
- "
-\n"
- "EntityStatistics entityStats =
-\n"
- " stats.getEntityStatistics( Cat.class.getName() );
-\n"
- "long changes =
-\n"
- " entityStats.getInsertCount()
-\n"
- " + entityStats.getUpdateCount()
-\n"
- " + entityStats.getDeleteCount();
-\n"
- "log.info(Cat.class.getName() + \" changed \" + changes + \"times\" );]]>"
-#: index.docbook:1369
-msgid "appended paragraph 2"
-msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥é åã«å¯¾ãã¦è¡ãå ´åã¯ã <literal>getQueries()</literal> ã <literal>getEntityNames()</literal>ã <literal>getCollectionRoleNames()</literal> ã <literal>getSecondLevelCacheRegionNames()</literal> ã¡ã½ããã§ ããããã®ååã®ãªã¹ããåå¾ãããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: performance.xml:1255
+#, no-c-format
+msgid ""
+"To work on all entities, collections, queries and region caches, you can "
+"retrieve the list of names of entities, collections, queries and region "
+"caches with the following methods: <literal>getQueries()</literal>, "
+"<literal>getEntityNames()</literal>, <literal>getCollectionRoleNames()</"
+"literal>, and <literal>getSecondLevelCacheRegionNames()</literal>."
+msgstr ""
+"ãã¹ã¦ã®ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ãã¯ã¨ãªããã£ãã·ã¥é åã«å¯¾ãã¦è¡ãå ´å"
+"ã¯ã <literal>getQueries()</literal> ã <literal>getEntityNames()</"
+"literal>ã <literal>getCollectionRoleNames()</literal> ã "
+"<literal>getSecondLevelCacheRegionNames()</literal> ã¡ã½ããã§ ããããã®åå"
+"ã®ãªã¹ããåå¾ãããã¨ãåºæ¥ã¾ãã"
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#~ msgid "yes"
+#~ msgstr "yes"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/persistent_classes.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/persistent_classes.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/persistent_classes.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,867 +1,856 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: persistent_classes.xml:5
+#, no-c-format
msgid "Persistent Classes"
msgstr "æ°¸ç¶ã¯ã©ã¹"
-#: index.docbook:7
-msgid "Persistent classes are classes in an application that implement the entities of the business problem (e.g. Customer and Order in an E-commerce application). Not all instances of a persistent class are considered to be in the persistent state - an instance may instead be transient or detached."
-msgstr "æ°¸ç¶ã¯ã©ã¹ã¯ãã¸ãã¹ä¸ã®åé¡ã®ã¨ã³ãã£ãã£ï¼ä¾ãã°ãEã³ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ã®é¡§å®¢ã注æï¼ ãå®è£
ããã¢ããªã±ã¼ã·ã§ã³ã®ã¯ã©ã¹ã§ãã æ°¸ç¶ã¯ã©ã¹ã®ãã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ãæ°¸ç¶ç¶æ
ã§ããã¨è¦ãªãããããã§ã¯ããã¾ããã ã¤ã³ã¹ã¿ã³ã¹ã¯éã«ä¸æçï¼transientï¼ã§ãã£ãããåé¢ç¶æ
ï¼detachedï¼ã§ãã£ããããããããã¾ããã"
+#. Tag: para
+#: persistent_classes.xml:7
+#, no-c-format
+msgid ""
+"Persistent classes are classes in an application that implement the entities "
+"of the business problem (e.g. Customer and Order in an E-commerce "
+"application). Not all instances of a persistent class are considered to be "
+"in the persistent state - an instance may instead be transient or detached."
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã¯ãã¸ãã¹ä¸ã®åé¡ã®ã¨ã³ãã£ãã£ï¼ä¾ãã°ãEã³ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³"
+"ã®é¡§å®¢ã注æï¼ ãå®è£
ããã¢ããªã±ã¼ã·ã§ã³ã®ã¯ã©ã¹ã§ãã æ°¸ç¶ã¯ã©ã¹ã®ãã¹ã¦ã®"
+"ã¤ã³ã¹ã¿ã³ã¹ãæ°¸ç¶ç¶æ
ã§ããã¨è¦ãªãããããã§ã¯ããã¾ããã ã¤ã³ã¹ã¿ã³ã¹ã¯é"
+"ã«ä¸æçï¼transientï¼ã§ãã£ãããåé¢ç¶æ
ï¼detachedï¼ã§ãã£ããããããããã¾"
+"ããã"
-#: index.docbook:14
-msgid "Hibernate works best if these classes follow some simple rules, also known as the Plain Old Java Object (POJO) programming model. However, none of these rules are hard requirements. Indeed, Hibernate3 assumes very little about the nature of your persistent objects. You may express a domain model in other ways: using trees of <literal>Map</literal> instances, for example."
-msgstr "Plain Old Java Object (POJO)ããã°ã©ãã³ã°ã¢ãã«ã¨ãã¦ãç¥ããã ããã¤ãã®åç´ãªã«ã¼ã«ã«å¾ããªããHibernateã¯æãããåãã¾ãã ããããããã®ã«ã¼ã«ã¯é£ãããã®ã§ã¯ããã¾ããã å®éHibernate3ã¯æ°¸ç¶ãªãã¸ã§ã¯ãã®æ§è³ªã«ã»ã¨ãã©ä½ã®åæãç½®ãã¦ãã¾ããã ãã¡ã¤ã³ã¢ãã«ã¯ä»ã®æ¹æ³ã§è¡¨ç¾ãããã¨ãã§ãã¾ãã ä¾ãã° <literal>Map</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ããªã¼ãä½¿ãæ¹æ³ãããã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:14
+#, no-c-format
+msgid ""
+"Hibernate works best if these classes follow some simple rules, also known "
+"as the Plain Old Java Object (POJO) programming model. However, none of "
+"these rules are hard requirements. Indeed, Hibernate3 assumes very little "
+"about the nature of your persistent objects. You may express a domain model "
+"in other ways: using trees of <literal>Map</literal> instances, for example."
+msgstr ""
+"Plain Old Java Object (POJO)ããã°ã©ãã³ã°ã¢ãã«ã¨ãã¦ãç¥ããã ããã¤ãã®å"
+"ç´ãªã«ã¼ã«ã«å¾ããªããHibernateã¯æãããåãã¾ãã ããããããã®ã«ã¼ã«ã¯é£"
+"ãããã®ã§ã¯ããã¾ããã å®éHibernate3ã¯æ°¸ç¶ãªãã¸ã§ã¯ãã®æ§è³ªã«ã»ã¨ãã©ä½ã®"
+"åæãç½®ãã¦ãã¾ããã ãã¡ã¤ã³ã¢ãã«ã¯ä»ã®æ¹æ³ã§è¡¨ç¾ãããã¨ãã§ãã¾ãã ä¾"
+"ãã° <literal>Map</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ããªã¼ãä½¿ãæ¹æ³ãããã¾ãã"
-#: index.docbook:23
+#. Tag: title
+#: persistent_classes.xml:23
+#, no-c-format
msgid "A simple POJO example"
msgstr "åç´ãªPOJOã®ä¾"
-#: index.docbook:25
+#. Tag: para
+#: persistent_classes.xml:25
+#, no-c-format
msgid "Most Java applications require a persistent class representing felines."
-msgstr "ã»ã¨ãã©ã®Javaã¢ããªã±ã¼ã·ã§ã³ã«ã¯ãã³ç§ã®åç©ã表ç¾ããæ°¸ç¶ã¯ã©ã¹ãå¿
è¦ã§ãã"
+msgstr ""
+"ã»ã¨ãã©ã®Javaã¢ããªã±ã¼ã·ã§ã³ã«ã¯ãã³ç§ã®åç©ã表ç¾ããæ°¸ç¶ã¯ã©ã¹ãå¿
è¦ã§"
+"ãã"
-#: index.docbook:29
+#. Tag: programlisting
+#: persistent_classes.xml:29
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "import java.util.Set;\n"
- "import java.util.Date;\n"
- "\n"
- "public class Cat {\n"
- " private Long id; // identifier\n"
- "\n"
- " private Date birthdate;\n"
- " private Color color;\n"
- " private char sex;\n"
- " private float weight;\n"
- " private int litterId;\n"
- "\n"
- " private Cat mother;\n"
- " private Set kittens = new HashSet();\n"
- "\n"
- " private void setId(Long id) {\n"
- " this.id=id;\n"
- " }\n"
- " public Long getId() {\n"
- " return id;\n"
- " }\n"
- "\n"
- " void setBirthdate(Date date) {\n"
- " birthdate = date;\n"
- " }\n"
- " public Date getBirthdate() {\n"
- " return birthdate;\n"
- " }\n"
- "\n"
- " void setWeight(float weight) {\n"
- " this.weight = weight;\n"
- " }\n"
- " public float getWeight() {\n"
- " return weight;\n"
- " }\n"
- "\n"
- " public Color getColor() {\n"
- " return color;\n"
- " }\n"
- " void setColor(Color color) {\n"
- " this.color = color;\n"
- " }\n"
- "\n"
- " void setSex(char sex) {\n"
- " this.sex=sex;\n"
- " }\n"
- " public char getSex() {\n"
- " return sex;\n"
- " }\n"
- "\n"
- " void setLitterId(int id) {\n"
- " this.litterId = id;\n"
- " }\n"
- " public int getLitterId() {\n"
- " return litterId;\n"
- " }\n"
- "\n"
- " void setMother(Cat mother) {\n"
- " this.mother = mother;\n"
- " }\n"
- " public Cat getMother() {\n"
- " return mother;\n"
- " }\n"
- " void setKittens(Set kittens) {\n"
- " this.kittens = kittens;\n"
- " }\n"
- " public Set getKittens() {\n"
- " return kittens;\n"
- " }\n"
- " \n"
- " // addKitten not needed by Hibernate\n"
- " public void addKitten(Cat kitten) {\n"
- " kitten.setMother(this);\n"
- " kitten.setLitterId( kittens.size() ); \n"
- " kittens.add(kitten);\n"
- " }\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"import java.util.Set;\n"
+"import java.util.Date;\n"
+"\n"
+"public class Cat {\n"
+" private Long id; // identifier\n"
+"\n"
+" private Date birthdate;\n"
+" private Color color;\n"
+" private char sex;\n"
+" private float weight;\n"
+" private int litterId;\n"
+"\n"
+" private Cat mother;\n"
+" private Set kittens = new HashSet();\n"
+"\n"
+" private void setId(Long id) {\n"
+" this.id=id;\n"
+" }\n"
+" public Long getId() {\n"
+" return id;\n"
+" }\n"
+"\n"
+" void setBirthdate(Date date) {\n"
+" birthdate = date;\n"
+" }\n"
+" public Date getBirthdate() {\n"
+" return birthdate;\n"
+" }\n"
+"\n"
+" void setWeight(float weight) {\n"
+" this.weight = weight;\n"
+" }\n"
+" public float getWeight() {\n"
+" return weight;\n"
+" }\n"
+"\n"
+" public Color getColor() {\n"
+" return color;\n"
+" }\n"
+" void setColor(Color color) {\n"
+" this.color = color;\n"
+" }\n"
+"\n"
+" void setSex(char sex) {\n"
+" this.sex=sex;\n"
+" }\n"
+" public char getSex() {\n"
+" return sex;\n"
+" }\n"
+"\n"
+" void setLitterId(int id) {\n"
+" this.litterId = id;\n"
+" }\n"
+" public int getLitterId() {\n"
+" return litterId;\n"
+" }\n"
+"\n"
+" void setMother(Cat mother) {\n"
+" this.mother = mother;\n"
+" }\n"
+" public Cat getMother() {\n"
+" return mother;\n"
+" }\n"
+" void setKittens(Set kittens) {\n"
+" this.kittens = kittens;\n"
+" }\n"
+" public Set getKittens() {\n"
+" return kittens;\n"
+" }\n"
+" \n"
+" // addKitten not needed by Hibernate\n"
+" public void addKitten(Cat kitten) {\n"
+" kitten.setMother(this);\n"
+" kitten.setLitterId( kittens.size() ); \n"
+" kittens.add(kitten);\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[package eg;
-\n"
- "import java.util.Set;
-\n"
- "import java.util.Date;
-\n"
- "
-\n"
- "public class Cat {
-\n"
- " private Long id; // identifier
-\n"
- "
-\n"
- " private Date birthdate;
-\n"
- " private Color color;
-\n"
- " private char sex;
-\n"
- " private float weight;
-\n"
- " private int litterId;
-\n"
- "
-\n"
- " private Cat mother;
-\n"
- " private Set kittens = new HashSet();
-\n"
- "
-\n"
- " private void setId(Long id) {
-\n"
- " this.id=id;
-\n"
- " }
-\n"
- " public Long getId() {
-\n"
- " return id;
-\n"
- " }
-\n"
- "
-\n"
- " void setBirthdate(Date date) {
-\n"
- " birthdate = date;
-\n"
- " }
-\n"
- " public Date getBirthdate() {
-\n"
- " return birthdate;
-\n"
- " }
-\n"
- "
-\n"
- " void setWeight(float weight) {
-\n"
- " this.weight = weight;
-\n"
- " }
-\n"
- " public float getWeight() {
-\n"
- " return weight;
-\n"
- " }
-\n"
- "
-\n"
- " public Color getColor() {
-\n"
- " return color;
-\n"
- " }
-\n"
- " void setColor(Color color) {
-\n"
- " this.color = color;
-\n"
- " }
-\n"
- "
-\n"
- " void setSex(char sex) {
-\n"
- " this.sex=sex;
-\n"
- " }
-\n"
- " public char getSex() {
-\n"
- " return sex;
-\n"
- " }
-\n"
- "
-\n"
- " void setLitterId(int id) {
-\n"
- " this.litterId = id;
-\n"
- " }
-\n"
- " public int getLitterId() {
-\n"
- " return litterId;
-\n"
- " }
-\n"
- "
-\n"
- " void setMother(Cat mother) {
-\n"
- " this.mother = mother;
-\n"
- " }
-\n"
- " public Cat getMother() {
-\n"
- " return mother;
-\n"
- " }
-\n"
- " void setKittens(Set kittens) {
-\n"
- " this.kittens = kittens;
-\n"
- " }
-\n"
- " public Set getKittens() {
-\n"
- " return kittens;
-\n"
- " }
-\n"
- "
-\n"
- " // addKitten not needed by Hibernate
-\n"
- " public void addKitten(Cat kitten) {
-\n"
- " kitten.setMother(this);
-\n"
- " kitten.setLitterId( kittens.size() );
-\n"
- " kittens.add(kitten);
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:31
+#. Tag: para
+#: persistent_classes.xml:31
+#, no-c-format
msgid "There are four main rules to follow here:"
msgstr "å¾ãã¹ã4ã¤ã®ã«ã¼ã«ãããã¾ãï¼"
-#: index.docbook:37
+#. Tag: title
+#: persistent_classes.xml:37
+#, no-c-format
msgid "Implement a no-argument constructor"
msgstr "弿°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ãå®è£
ãã"
-#: index.docbook:39
-msgid "<literal>Cat</literal> has a no-argument constructor. All persistent classes must have a default constructor (which may be non-public) so that Hibernate can instantiate them using <literal>Constructor.newInstance()</literal>. We strongly recommend having a default constructor with at least <emphasis>package</emphasis> visibility for runtime proxy generation in Hibernate."
-msgstr "<literal>Cat</literal> ã«ã¯å¼æ°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ãããã¾ãã Hibernateã <literal>Constructor.newInstance()</literal> ã使ã£ã¦æ°¸ç¶ã¯ã©ã¹ã® ã¤ã³ã¹ã¿ã³ã¹åãè¡ããããã«ããã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«ã¯ããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ ï¼publicã§ãªãã¦ãæ§ãã¾ããï¼ããªããã°ãªãã¾ããã Hibernateã®å®è¡æãããã·çæã®ããã«ãå°ãªãã¨ã <emphasis>package</emphasis> ã®å¯è¦æ§ãæã¤ããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ãå¼·ããå§ããã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:39
+#, no-c-format
+msgid ""
+"<literal>Cat</literal> has a no-argument constructor. All persistent classes "
+"must have a default constructor (which may be non-public) so that Hibernate "
+"can instantiate them using <literal>Constructor.newInstance()</literal>. We "
+"strongly recommend having a default constructor with at least "
+"<emphasis>package</emphasis> visibility for runtime proxy generation in "
+"Hibernate."
+msgstr ""
+"<literal>Cat</literal> ã«ã¯å¼æ°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ãããã¾ãã Hibernateã "
+"<literal>Constructor.newInstance()</literal> ã使ã£ã¦æ°¸ç¶ã¯ã©ã¹ã® ã¤ã³ã¹ã¿ã³"
+"ã¹åãè¡ããããã«ããã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«ã¯ããã©ã«ãã³ã³ã¹ãã©ã¯ã¿ ï¼publicã§"
+"ãªãã¦ãæ§ãã¾ããï¼ããªããã°ãªãã¾ããã Hibernateã®å®è¡æãããã·çæã®ã"
+"ãã«ãå°ãªãã¨ã <emphasis>package</emphasis> ã®å¯è¦æ§ãæã¤ããã©ã«ãã³ã³ã¹"
+"ãã©ã¯ã¿ãå¼·ããå§ããã¾ãã"
-#: index.docbook:49
+#. Tag: title
+#: persistent_classes.xml:49
+#, no-c-format
msgid "Provide an identifier property (optional)"
msgstr "èå¥åããããã£ãç¨æããï¼ãªãã·ã§ã³ï¼"
-#: index.docbook:51
-msgid "<literal>Cat</literal> has a property called <literal>id</literal>. This property maps to the primary key column of a database table. The property might have been called anything, and its type might have been any primitive type, any primitive \"wrapper\" type, <literal>java.lang.String</literal> or <literal>java.util.Date</literal>. (If your legacy database table has composite keys, you can even use a user-defined class with properties of these types - see the section on composite identifiers later.)"
-msgstr "<literal>Cat</literal> ã«ã¯ <literal>id</literal> ã¨ããããããã£ãããã¾ãã ãã®ããããã£ã¯ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®ä¸»ãã¼ã«ã©ã ã¸ãããã³ã°ããã¾ãã ãã®ããããã£ã®ååã¯ä½ã§ãæ§ãã¾ããããåã¯ã©ã®ãããªããªããã£ãåã§ãã ããªããã£ãã®ãã©ããã¼ãåã§ãã<literal>java.lang.String</literal> ã <literal>java.util.Date</literal> ã§ãæ§ãã¾ããã ï¼ããã¬ã¬ã·ã¼ãã¼ã¿ãã¼ã¹ãã¼ãã«ãè¤åãã¼ãæã¤ãªãã°ã ä»è¿°ã¹ããããªåã®ããããã£ãæã¤ã¦ã¼ã¶å®ç¾©ã®ã¯ã©ã¹ã使ããã¨ããå¯è½ã§ãã å¾ã§è¤åèå¥åã®ç¯ãè¦ã¦ãã ãããï¼"
+#. Tag: para
+#: persistent_classes.xml:51
+#, no-c-format
+msgid ""
+"<literal>Cat</literal> has a property called <literal>id</literal>. This "
+"property maps to the primary key column of a database table. The property "
+"might have been called anything, and its type might have been any primitive "
+"type, any primitive \"wrapper\" type, <literal>java.lang.String</literal> or "
+"<literal>java.util.Date</literal>. (If your legacy database table has "
+"composite keys, you can even use a user-defined class with properties of "
+"these types - see the section on composite identifiers later.)"
+msgstr ""
+"<literal>Cat</literal> ã«ã¯ <literal>id</literal> ã¨ããããããã£ãããã¾"
+"ãã ãã®ããããã£ã¯ãã¼ã¿ãã¼ã¹ãã¼ãã«ã®ä¸»ãã¼ã«ã©ã ã¸ãããã³ã°ããã¾"
+"ãã ãã®ããããã£ã®ååã¯ä½ã§ãæ§ãã¾ããããåã¯ã©ã®ãããªããªããã£ãåã§"
+"ãã ããªããã£ãã®ãã©ããã¼ãåã§ãã<literal>java.lang.String</literal> "
+"ã <literal>java.util.Date</literal> ã§ãæ§ãã¾ããã ï¼ããã¬ã¬ã·ã¼ãã¼ã¿"
+"ãã¼ã¹ãã¼ãã«ãè¤åãã¼ãæã¤ãªãã°ã ä»è¿°ã¹ããããªåã®ããããã£ãæã¤ã¦ã¼"
+"ã¶å®ç¾©ã®ã¯ã©ã¹ã使ããã¨ããå¯è½ã§ãã å¾ã§è¤åèå¥åã®ç¯ãè¦ã¦ãã ãããï¼"
-#: index.docbook:60
-msgid "The identifier property is strictly optional. You can leave them off and let Hibernate keep track of object identifiers internally. We do not recommend this, however."
-msgstr "èå¥åããããã£ã¯å³å¯ã«ã¯ãªãã·ã§ã³ã§ãã ãããçç¥ãã¦ãHibernateã«å
é¨çã«ãªãã¸ã§ã¯ãã®èå¥åã追跡ããããã¨ã¯å¯è½ã§ãã ãããããããã¯ãã¾ããã"
+#. Tag: para
+#: persistent_classes.xml:60
+#, no-c-format
+msgid ""
+"The identifier property is strictly optional. You can leave them off and let "
+"Hibernate keep track of object identifiers internally. We do not recommend "
+"this, however."
+msgstr ""
+"èå¥åããããã£ã¯å³å¯ã«ã¯ãªãã·ã§ã³ã§ãã ãããçç¥ãã¦ãHibernateã«å
é¨ç"
+"ã«ãªãã¸ã§ã¯ãã®èå¥åã追跡ããããã¨ã¯å¯è½ã§ãã ãããããããã¯ãã¾ããã"
-#: index.docbook:65
-msgid "In fact, some functionality is available only to classes which declare an identifier property:"
-msgstr "å®éã«ãèå¥åããããã£ã宣è¨ããã¯ã©ã¹ã ããå©ç¨å¯è½ãªæ©è½ãããã¤ãããã¾ãï¼"
+#. Tag: para
+#: persistent_classes.xml:65
+#, no-c-format
+msgid ""
+"In fact, some functionality is available only to classes which declare an "
+"identifier property:"
+msgstr ""
+"å®éã«ãèå¥åããããã£ã宣è¨ããã¯ã©ã¹ã ããå©ç¨å¯è½ãªæ©è½ãããã¤ãããã¾"
+"ãï¼"
-#: index.docbook:72
-msgid "Transitive reattachment for detached objects (cascade update or cascade merge) - see"
-msgstr "åé¢ãªãã¸ã§ã¯ãã®é£éçãªå追å ï¼ã«ã¹ã±ã¼ãæ´æ°ãã«ã¹ã±ã¼ããã¼ã¸ï¼ã <xref linkend=\"objectstate-transitive\"/> ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: persistent_classes.xml:72
+#, fuzzy, no-c-format
+msgid ""
+"Transitive reattachment for detached objects (cascade update or cascade "
+"merge) - see"
+msgstr ""
+"åé¢ãªãã¸ã§ã¯ãã®é£éçãªå追å ï¼ã«ã¹ã±ã¼ãæ´æ°ãã«ã¹ã±ã¼ããã¼ã¸ï¼ã <xref "
+"linkend=\"objectstate-transitive\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:79
+#. Tag: literal
+#: persistent_classes.xml:79
+#, no-c-format
msgid "Session.saveOrUpdate()"
msgstr "Session.saveOrUpdate()"
-#: index.docbook:84
+#. Tag: literal
+#: persistent_classes.xml:84
+#, no-c-format
msgid "Session.merge()"
msgstr "Session.merge()"
-#: index.docbook:89
-msgid "We recommend you declare consistently-named identifier properties on persistent classes. We further recommend that you use a nullable (ie. non-primitive) type."
-msgstr "æ°¸ç¶ã¯ã©ã¹ã«ã¯ãä¸è²«ããååã®èå¥åããããã£ãå®ç¾©ãããã¨ããå§ããã¾ãã ããã«nullå¤ãåãã(ã¤ã¾ãããªããã£ãã§ã¯ãªã)åã使ã£ãæ¹ãããã§ãããã"
+#. Tag: para
+#: persistent_classes.xml:89
+#, no-c-format
+msgid ""
+"We recommend you declare consistently-named identifier properties on "
+"persistent classes. We further recommend that you use a nullable (ie. non-"
+"primitive) type."
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã«ã¯ãä¸è²«ããååã®èå¥åããããã£ãå®ç¾©ãããã¨ããå§ããã¾ãã "
+"ããã«nullå¤ãåãã(ã¤ã¾ãããªããã£ãã§ã¯ãªã)åã使ã£ãæ¹ãããã§ãããã"
-#: index.docbook:96
+#. Tag: title
+#: persistent_classes.xml:96
+#, no-c-format
msgid "Prefer non-final classes (optional)"
msgstr "finalã¯ã©ã¹ã«ããªãï¼ãªãã·ã§ã³ï¼"
-#: index.docbook:97
-msgid "A central feature of Hibernate, <emphasis>proxies</emphasis>, depends upon the persistent class being either non-final, or the implementation of an interface that declares all public methods."
-msgstr "Hibernateã®ä¸å¿çãªç¹å¾´ã§ãã <emphasis>ãããã·</emphasis> ã¯ã æ°¸ç¶ã¯ã©ã¹ãfinalã§ãªããã¨ãã¾ãã¯ã¡ã½ãããå
¨é¨publicã§å®£è¨ãã¦ãã ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããã¦ãããã«ä¾åãã¦ãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:97
+#, no-c-format
+msgid ""
+"A central feature of Hibernate, <emphasis>proxies</emphasis>, depends upon "
+"the persistent class being either non-final, or the implementation of an "
+"interface that declares all public methods."
+msgstr ""
+"Hibernateã®ä¸å¿çãªç¹å¾´ã§ãã <emphasis>ãããã·</emphasis> ã¯ã æ°¸ç¶ã¯ã©ã¹ã"
+"finalã§ãªããã¨ãã¾ãã¯ã¡ã½ãããå
¨é¨publicã§å®£è¨ãã¦ãã ã¤ã³ã¿ã¼ãã§ã¤ã¹ã"
+"å®è£
ããã¦ãããã«ä¾åãã¦ãã¾ãã"
-#: index.docbook:102
-msgid "You can persist <literal>final</literal> classes that do not implement an interface with Hibernate, but you won't be able to use proxies for lazy association fetching - which will limit your options for performance tuning."
-msgstr "Hibernateã§ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ãã¦ããªã <literal>final</literal> ã¯ã©ã¹ãæ°¸ç¶åãããã¨ã¯ã§ãã¾ããã é
å»¶é¢é£ãã§ããã«å¯¾ãã¦ãããã·ã使ããã¨ã¯ã§ããªããªãã¾ãã ããã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã¸ã®é¸æè¢ãçãããã¨ã«ãªãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:102
+#, no-c-format
+msgid ""
+"You can persist <literal>final</literal> classes that do not implement an "
+"interface with Hibernate, but you won't be able to use proxies for lazy "
+"association fetching - which will limit your options for performance tuning."
+msgstr ""
+"Hibernateã§ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ãã¦ããªã <literal>final</literal> ã¯ã©ã¹ã"
+"æ°¸ç¶åãããã¨ã¯ã§ãã¾ããã é
å»¶é¢é£ãã§ããã«å¯¾ãã¦ãããã·ã使ããã¨ã¯ã§ã"
+"ãªããªãã¾ãã ããã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã¸ã®é¸æè¢ãçãããã¨ã«ãªãã¾"
+"ãã"
-#: index.docbook:107
-msgid "You should also avoid declaring <literal>public final</literal> methods on the non-final classes. If you want to use a class with a <literal>public final</literal> method, you must explicitly disable proxying by setting <literal>lazy=\"false\"</literal>."
-msgstr "finalã§ã¯ãªãã¯ã©ã¹ã§ <literal>public final</literal> ã¡ã½ãããå®ç¾©ãããã¨ãé¿ããã¹ãã§ãã <literal>public final</literal> ã¡ã½ãããæã¤ã¯ã©ã¹ã使ããããã°ã <literal>lazy=\"false\"</literal> ã¨è¨å®ãã¦æç¤ºçã«ãããã·ãç¡å¹ã«ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: persistent_classes.xml:107
+#, no-c-format
+msgid ""
+"You should also avoid declaring <literal>public final</literal> methods on "
+"the non-final classes. If you want to use a class with a <literal>public "
+"final</literal> method, you must explicitly disable proxying by setting "
+"<literal>lazy=\"false\"</literal>."
+msgstr ""
+"finalã§ã¯ãªãã¯ã©ã¹ã§ <literal>public final</literal> ã¡ã½ãããå®ç¾©ãããã¨"
+"ãé¿ããã¹ãã§ãã <literal>public final</literal> ã¡ã½ãããæã¤ã¯ã©ã¹ã使ã"
+"ãããã°ã <literal>lazy=\"false\"</literal> ã¨è¨å®ãã¦æç¤ºçã«ãããã·ãç¡å¹"
+"ã«ããªããã°ãªãã¾ããã"
-#: index.docbook:115
+#. Tag: title
+#: persistent_classes.xml:115
+#, no-c-format
msgid "Declare accessors and mutators for persistent fields (optional)"
msgstr "æ°¸ç¶ãã£ã¼ã«ãã«å¯¾ããã¢ã¯ã»ãµã¨ãã¥ã¼ãã¼ã¿ãå®ç¾©ããï¼ãªãã·ã§ã³ï¼"
-#: index.docbook:117
-msgid "<literal>Cat</literal> declares accessor methods for all its persistent fields. Many other ORM tools directly persist instance variables. We believe it is better to provide an indirection between the relational schema and internal data structures of the class. By default, Hibernate persists JavaBeans style properties, and recognizes method names of the form <literal>getFoo</literal>, <literal>isFoo</literal> and <literal>setFoo</literal>. You may switch to direct field access for particular properties, if needed."
-msgstr "<literal>Cat</literal> ã§ã¯ãã¹ã¦ã®æ°¸ç¶ãã£ã¼ã«ãã«å¯¾ãã¦ã¢ã¯ã»ãµã¡ã½ãããå®ç¾©ãã¦ãã¾ãã ä»ã®å¤ãã®ORMãã¼ã«ã¯ãæ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹å¤æ°ãç´æ¥æ°¸ç¶åãã¾ãã ç§ãã¡ã¯ãªã¬ã¼ã·ã§ãã«ã¹ãã¼ãã¨ã¯ã©ã¹ã®å
鍿§é ãåé¢ããæ¹ãè¯ãã¨ä¿¡ãã¦ãã¾ãã ããã©ã«ãã§ã¯ãHibernateã¯JavaBeanã¹ã¿ã¤ã«ã®ããããã£ãæ°¸ç¶åãã <literal>getFoo</literal>, <literal>isFoo</literal>, <literal>setFoo</literal> å½¢å¼ã®ã¡ã½ããåãèªèãã¾ãã ãããå¿
è¦ãªããç¹å®ã®ããããã£ã«å¯¾ãã¦ãç´æ¥ã®ãã£ã¼ã«ãã¢ã¯ã»ã¹ã«åãæ¿ãããã¨ã¯å¯è½ã§ãã"
+#. Tag: para
+#: persistent_classes.xml:117
+#, no-c-format
+msgid ""
+"<literal>Cat</literal> declares accessor methods for all its persistent "
+"fields. Many other ORM tools directly persist instance variables. We believe "
+"it is better to provide an indirection between the relational schema and "
+"internal data structures of the class. By default, Hibernate persists "
+"JavaBeans style properties, and recognizes method names of the form "
+"<literal>getFoo</literal>, <literal>isFoo</literal> and <literal>setFoo</"
+"literal>. You may switch to direct field access for particular properties, "
+"if needed."
+msgstr ""
+"<literal>Cat</literal> ã§ã¯ãã¹ã¦ã®æ°¸ç¶ãã£ã¼ã«ãã«å¯¾ãã¦ã¢ã¯ã»ãµã¡ã½ãããå®"
+"義ãã¦ãã¾ãã ä»ã®å¤ãã®ORMãã¼ã«ã¯ãæ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹å¤æ°ãç´æ¥æ°¸ç¶åãã¾"
+"ãã ç§ãã¡ã¯ãªã¬ã¼ã·ã§ãã«ã¹ãã¼ãã¨ã¯ã©ã¹ã®å
鍿§é ãåé¢ããæ¹ãè¯ãã¨ä¿¡ã"
+"ã¦ãã¾ãã ããã©ã«ãã§ã¯ãHibernateã¯JavaBeanã¹ã¿ã¤ã«ã®ããããã£ãæ°¸ç¶å"
+"ãã <literal>getFoo</literal>, <literal>isFoo</literal>, <literal>setFoo</"
+"literal> å½¢å¼ã®ã¡ã½ããåãèªèãã¾ãã ãããå¿
è¦ãªããç¹å®ã®ããããã£ã«å¯¾"
+"ãã¦ãç´æ¥ã®ãã£ã¼ã«ãã¢ã¯ã»ã¹ã«åãæ¿ãããã¨ã¯å¯è½ã§ãã"
-#: index.docbook:127
-msgid "Properties need <emphasis>not</emphasis> be declared public - Hibernate can persist a property with a default, <literal>protected</literal> or <literal>private</literal> get / set pair."
-msgstr "ããããã£ã¯publicã§å®£è¨ããå¿
è¦ã¯ <emphasis>ããã¾ãã</emphasis> ã Hibernateã¯ããã©ã«ãã<literal>protected</literal> ããã㯠<literal>private</literal> ã®get / setã®ãã¢ãæã¤ããããã£ãæ°¸ç¶åãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:127
+#, no-c-format
+msgid ""
+"Properties need <emphasis>not</emphasis> be declared public - Hibernate can "
+"persist a property with a default, <literal>protected</literal> or "
+"<literal>private</literal> get / set pair."
+msgstr ""
+"ããããã£ã¯publicã§å®£è¨ããå¿
è¦ã¯ <emphasis>ããã¾ãã</emphasis> ã "
+"Hibernateã¯ããã©ã«ãã<literal>protected</literal> ããã㯠"
+"<literal>private</literal> ã®get / setã®ãã¢ãæã¤ããããã£ãæ°¸ç¶åãããã¨"
+"ãã§ãã¾ãã"
-#: index.docbook:138
+#. Tag: title
+#: persistent_classes.xml:138
+#, no-c-format
msgid "Implementing inheritance"
msgstr "ç¶æ¿ã®å®è£
"
-#: index.docbook:140
-msgid "A subclass must also observe the first and second rules. It inherits its identifier property from the superclass, <literal>Cat</literal>."
-msgstr "ãµãã¯ã©ã¹ã1çªç®ã¨2çªç®ã®ã«ã¼ã«ãå®ããªããã°ãªãã¾ããã ãµãã¯ã©ã¹ã¯ã¹ã¼ãã¼ã¯ã©ã¹ <literal>Cat</literal> ããèå¥åããããã£ãç¶æ¿ãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:140
+#, no-c-format
+msgid ""
+"A subclass must also observe the first and second rules. It inherits its "
+"identifier property from the superclass, <literal>Cat</literal>."
+msgstr ""
+"ãµãã¯ã©ã¹ã1çªç®ã¨2çªç®ã®ã«ã¼ã«ãå®ããªããã°ãªãã¾ããã ãµãã¯ã©ã¹ã¯ã¹ã¼"
+"ãã¼ã¯ã©ã¹ <literal>Cat</literal> ããèå¥åããããã£ãç¶æ¿ãã¾ãã"
-#: index.docbook:145
+#. Tag: programlisting
+#: persistent_classes.xml:145
+#, no-c-format
msgid ""
- "<![CDATA[package eg;\n"
- "\n"
- "public class DomesticCat extends Cat {\n"
- " private String name;\n"
- "\n"
- " public String getName() {\n"
- " return name;\n"
- " }\n"
- " protected void setName(String name) {\n"
- " this.name=name;\n"
- " }\n"
- "}]]>"
+"<![CDATA[package eg;\n"
+"\n"
+"public class DomesticCat extends Cat {\n"
+" private String name;\n"
+"\n"
+" public String getName() {\n"
+" return name;\n"
+" }\n"
+" protected void setName(String name) {\n"
+" this.name=name;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[package eg;
-\n"
- "
-\n"
- "public class DomesticCat extends Cat {
-\n"
- " private String name;
-\n"
- "
-\n"
- " public String getName() {
-\n"
- " return name;
-\n"
- " }
-\n"
- " protected void setName(String name) {
-\n"
- " this.name=name;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:149
-msgid "Implementing <literal>equals()</literal> and <literal>hashCode()</literal>"
+#. Tag: title
+#: persistent_classes.xml:149
+#, no-c-format
+msgid ""
+"Implementing <literal>equals()</literal> and <literal>hashCode()</literal>"
msgstr "<literal>equals()</literal> 㨠<literal>hashCode()</literal> ã®å®è£
"
-#: index.docbook:151
-msgid "You have to override the <literal>equals()</literal> and <literal>hashCode()</literal> methods if you"
-msgstr "以ä¸ã®æ¡ä»¶ã®å ´åã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ã¡ã½ããããªã¼ãã¼ã©ã¤ãããªããã°ãªãã¾ããã"
+#. Tag: para
+#: persistent_classes.xml:151
+#, no-c-format
+msgid ""
+"You have to override the <literal>equals()</literal> and <literal>hashCode()"
+"</literal> methods if you"
+msgstr ""
+"以ä¸ã®æ¡ä»¶ã®å ´åã <literal>equals()</literal> 㨠<literal>hashCode()</"
+"literal> ã¡ã½ããããªã¼ãã¼ã©ã¤ãããªããã°ãªãã¾ããã"
-#: index.docbook:157
-msgid "intend to put instances of persistent classes in a <literal>Set</literal> (the recommended way to represent many-valued associations) <emphasis>and</emphasis>"
-msgstr "æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã <literal>Set</literal> ã«ç½®ãå ´åã ï¼ããã¯å¤å¤ã®é¢é£ã表ç¾ããããããã®æ¹æ³ã§ãï¼ <emphasis>ããã¦åæã«</emphasis>"
+#. Tag: para
+#: persistent_classes.xml:157
+#, no-c-format
+msgid ""
+"intend to put instances of persistent classes in a <literal>Set</literal> "
+"(the recommended way to represent many-valued associations) <emphasis>and</"
+"emphasis>"
+msgstr ""
+"æ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã <literal>Set</literal> ã«ç½®ãå ´åã ï¼ããã¯å¤å¤ã®"
+"é¢é£ã表ç¾ããããããã®æ¹æ³ã§ãï¼ <emphasis>ããã¦åæã«</emphasis>"
-#: index.docbook:164
+#. Tag: para
+#: persistent_classes.xml:164
+#, no-c-format
msgid "intend to use reattachment of detached instances"
msgstr "åé¢ã¤ã³ã¹ã¿ã³ã¹ãã»ãã·ã§ã³ã¸å追å ããå ´åã"
-#: index.docbook:170
-msgid "Hibernate guarantees equivalence of persistent identity (database row) and Java identity only inside a particular session scope. So as soon as we mix instances retrieved in different sessions, we must implement <literal>equals()</literal> and <literal>hashCode()</literal> if we wish to have meaningful semantics for <literal>Set</literal>s."
-msgstr "Hibernateã¯ãæ°¸ç¶IDï¼ãã¼ã¿ãã¼ã¹ã®è¡ï¼ã¨ãç¹å®ã®ã»ãã·ã§ã³ã¹ã³ã¼ãå
ã« éå®ã§ããJavaIDã¨ãç価ã§ãããã¨ãä¿è¨¼ãã¾ãã ã§ãããç°ãªãã»ãã·ã§ã³ã§æ¤ç´¢ããã¤ã³ã¹ã¿ã³ã¹ãçµã¿åãããå ´åã <literal>Set</literal> ã«æå³ã®ããã»ãã³ãã£ã¯ã¹ãæããããã¨æã£ã¦ãããªã ããã«<literal>equals()</literal> 㨠<literal>hashCode()</literal> ãå®è£
ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: persistent_classes.xml:170
+#, no-c-format
+msgid ""
+"Hibernate guarantees equivalence of persistent identity (database row) and "
+"Java identity only inside a particular session scope. So as soon as we mix "
+"instances retrieved in different sessions, we must implement <literal>equals"
+"()</literal> and <literal>hashCode()</literal> if we wish to have meaningful "
+"semantics for <literal>Set</literal>s."
+msgstr ""
+"Hibernateã¯ãæ°¸ç¶IDï¼ãã¼ã¿ãã¼ã¹ã®è¡ï¼ã¨ãç¹å®ã®ã»ãã·ã§ã³ã¹ã³ã¼ãå
ã« éå®"
+"ã§ããJavaIDã¨ãç価ã§ãããã¨ãä¿è¨¼ãã¾ãã ã§ãããç°ãªãã»ãã·ã§ã³ã§æ¤ç´¢ã"
+"ãã¤ã³ã¹ã¿ã³ã¹ãçµã¿åãããå ´åã <literal>Set</literal> ã«æå³ã®ããã»ãã³"
+"ãã£ã¯ã¹ãæããããã¨æã£ã¦ãããªã ããã«<literal>equals()</literal> 㨠"
+"<literal>hashCode()</literal> ãå®è£
ããªããã°ãªãã¾ããã"
-#: index.docbook:178
-msgid "The most obvious way is to implement <literal>equals()</literal>/<literal>hashCode()</literal> by comparing the identifier value of both objects. If the value is the same, both must be the same database row, they are therefore equal (if both are added to a <literal>Set</literal>, we will only have one element in the <literal>Set</literal>). Unfortunately, we can't use that approach with generated identifiers! Hibernate will only assign identifier values to objects that are persistent, a newly created instance will not have any identifier value! Furthermore, if an instance is unsaved and currently in a <literal>Set</literal>, saving it will assign an identifier value to the object. If <literal>equals()</literal> and <literal>hashCode()</literal> are based on the identifier value, the hash code would change, breaking the contract of the <literal>Set</literal>. See the Hibernate website for a full discussion of this problem. Note that this is not a Hibernate issue, but !
normal Java semantics of object identity and equality."
-msgstr "æãæç½ãªæ¹æ³ã¯ã両æ¹ã®ãªãã¸ã§ã¯ãã®èå¥åã®å¤ã®æ¯è¼ã«ãã£ã¦ <literal>equals()</literal>㨠<literal>hashCode()</literal> ãå®è£
ããæ¹æ³ã§ãã å¤ãåããªãã両è
ã¯ãã¼ã¿ãã¼ã¹ã®åãè¡ã§ãªããã°ãªããªãããçãããªãã¾ãã ï¼ä¸¡è
ã <literal>Set</literal> ã«è¿½å ããã¦ãã <literal>Set</literal> ã«ã¯1åã®è¦ç´ ãããªããã¨ã«ãªãã¾ãï¼ æ®å¿µãªãã¨ã«ãçæãããèå¥åã«ã¯ãã®ã¢ããã¼ãã使ããã¨ãã§ãã¾ããã Hibernateã¯æ°¸ç¶åããããªãã¸ã§ã¯ãã¸èå¥åã®å¤ã代å
¥ããã ãã§ããã æ°ãã使ãããã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã®ãããªèå¥åã®å¤ãæã£ã¦ãã¾ããã ããã«ãã¤ã³ã¹ã¿ã³ã¹ãã»ã¼ãããã¦ããããç¾å¨ <literal>Set</literal> ã®ä¸ã«ããã°ã ã»ã¼ãããã¨ãªãã¸ã§ã¯ãã¸èå¥åã®å¤ã代å
¥ãããã¨ã«ãªãã¾ãã ãã <literal!
>equals()</literal> 㨠<literal>hashCode()</literal> ãèå¥åã®å¤ã«åºã¥ãã¦ãããªãã ããã·ã¥ã³ã¼ãã夿´ããã㨠<literal>Set</literal> ã®è¦ç´ãç ´ããã¾ãã ãã®åé¡ã«ã¤ãã¦ã®å®å
¨ãªè°è«ã¯ãHibernateã®ã¦ã§ããµã¤ããè¦ã¦ãã ããã ããã¯Hibernateã®åé¡ã§ã¯ãªãããªãã¸ã§ã¯ãã®å䏿§ã¨ç価æ§ã«ã¤ãã¦ã®ã é常ã®Javaã®ã»ãã³ãã£ã¯ã¹ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: persistent_classes.xml:178
+#, no-c-format
+msgid ""
+"The most obvious way is to implement <literal>equals()</literal>/"
+"<literal>hashCode()</literal> by comparing the identifier value of both "
+"objects. If the value is the same, both must be the same database row, they "
+"are therefore equal (if both are added to a <literal>Set</literal>, we will "
+"only have one element in the <literal>Set</literal>). Unfortunately, we "
+"can't use that approach with generated identifiers! Hibernate will only "
+"assign identifier values to objects that are persistent, a newly created "
+"instance will not have any identifier value! Furthermore, if an instance is "
+"unsaved and currently in a <literal>Set</literal>, saving it will assign an "
+"identifier value to the object. If <literal>equals()</literal> and "
+"<literal>hashCode()</literal> are based on the identifier value, the hash "
+"code would change, breaking the contract of the <literal>Set</literal>. See "
+"the Hibernate website for a full discussion of this problem. Note that this "
+"is not a Hibernate issue, but normal Java semantics of object identity and "
+"equality."
+msgstr ""
+"æãæç½ãªæ¹æ³ã¯ã両æ¹ã®ãªãã¸ã§ã¯ãã®èå¥åã®å¤ã®æ¯è¼ã«ãã£ã¦ "
+"<literal>equals()</literal>㨠<literal>hashCode()</literal> ãå®è£
ããæ¹æ³ã§"
+"ãã å¤ãåããªãã両è
ã¯ãã¼ã¿ãã¼ã¹ã®åãè¡ã§ãªããã°ãªããªãããçãããªã"
+"ã¾ãã ï¼ä¸¡è
ã <literal>Set</literal> ã«è¿½å ããã¦ãã <literal>Set</"
+"literal> ã«ã¯1åã®è¦ç´ ãããªããã¨ã«ãªãã¾ãï¼ æ®å¿µãªãã¨ã«ãçæãããèå¥å"
+"ã«ã¯ãã®ã¢ããã¼ãã使ããã¨ãã§ãã¾ããã Hibernateã¯æ°¸ç¶åããããªãã¸ã§ã¯"
+"ãã¸èå¥åã®å¤ã代å
¥ããã ãã§ããã æ°ãã使ãããã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã®ãããª"
+"èå¥åã®å¤ãæã£ã¦ãã¾ããã ããã«ãã¤ã³ã¹ã¿ã³ã¹ãã»ã¼ãããã¦ããããç¾å¨ "
+"<literal>Set</literal> ã®ä¸ã«ããã°ã ã»ã¼ãããã¨ãªãã¸ã§ã¯ãã¸èå¥åã®å¤ã"
+"代å
¥ãããã¨ã«ãªãã¾ãã ãã <literal>equals()</literal> 㨠"
+"<literal>hashCode()</literal> ãèå¥åã®å¤ã«åºã¥ãã¦ãããªãã ããã·ã¥ã³ã¼ã"
+"ã夿´ããã㨠<literal>Set</literal> ã®è¦ç´ãç ´ããã¾ãã ãã®åé¡ã«ã¤ãã¦ã®"
+"å®å
¨ãªè°è«ã¯ãHibernateã®ã¦ã§ããµã¤ããè¦ã¦ãã ããã ããã¯Hibernateã®åé¡ã§"
+"ã¯ãªãããªãã¸ã§ã¯ãã®å䏿§ã¨ç価æ§ã«ã¤ãã¦ã®ã é常ã®Javaã®ã»ãã³ãã£ã¯ã¹ã§"
+"ãããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:192
-msgid "We recommend implementing <literal>equals()</literal> and <literal>hashCode()</literal> using <emphasis>Business key equality</emphasis>. Business key equality means that the <literal>equals()</literal> method compares only the properties that form the business key, a key that would identify our instance in the real world (a <emphasis>natural</emphasis> candidate key):"
-msgstr "<emphasis>ãã¸ãã¹ãã¼ã®ç価æ§</emphasis> ã使ã£ã¦ã <literal>equals()</literal> 㨠<literal>hashCode()</literal> ãå®è£
ãããã¨ããå§ããã¾ãã ãã¸ãã¹ãã¼ã®ç価æ§ã¨ã¯ã<literal>equals()</literal> ã¡ã½ãããããã¸ãã¹ãã¼ã ã¤ã¾ãç¾å®ã®ä¸çã«ããã¦ã¤ã³ã¹ã¿ã³ã¹ãç¹å®ãããã¼ï¼<emphasis>èªç¶</emphasis> åè£ãã¼ï¼ ãå½¢æããããããã£ã ããæ¯è¼ãããã¨ãæå³ãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:192
+#, no-c-format
+msgid ""
+"We recommend implementing <literal>equals()</literal> and <literal>hashCode()"
+"</literal> using <emphasis>Business key equality</emphasis>. Business key "
+"equality means that the <literal>equals()</literal> method compares only the "
+"properties that form the business key, a key that would identify our "
+"instance in the real world (a <emphasis>natural</emphasis> candidate key):"
+msgstr ""
+"<emphasis>ãã¸ãã¹ãã¼ã®ç価æ§</emphasis> ã使ã£ã¦ã <literal>equals()</"
+"literal> 㨠<literal>hashCode()</literal> ãå®è£
ãããã¨ããå§ããã¾ãã ãã¸"
+"ãã¹ãã¼ã®ç価æ§ã¨ã¯ã<literal>equals()</literal> ã¡ã½ãããããã¸ãã¹ãã¼ã "
+"ã¤ã¾ãç¾å®ã®ä¸çã«ããã¦ã¤ã³ã¹ã¿ã³ã¹ãç¹å®ãããã¼ï¼<emphasis>èªç¶</"
+"emphasis> åè£ãã¼ï¼ ãå½¢æããããããã£ã ããæ¯è¼ãããã¨ãæå³ãã¾ãã"
-#: index.docbook:200
+#. Tag: programlisting
+#: persistent_classes.xml:200
+#, no-c-format
msgid ""
- "<![CDATA[public class Cat {\n"
- "\n"
- " ...\n"
- " public boolean equals(Object other) {\n"
- " if (this == other) return true;\n"
- " if ( !(other instanceof Cat) ) return false;\n"
- "\n"
- " final Cat cat = (Cat) other;\n"
- "\n"
- " if ( !cat.getLitterId().equals( getLitterId() ) ) return false;\n"
- " if ( !cat.getMother().equals( getMother() ) ) return false;\n"
- "\n"
- " return true;\n"
- " }\n"
- "\n"
- " public int hashCode() {\n"
- " int result;\n"
- " result = getMother().hashCode();\n"
- " result = 29 * result + getLitterId();\n"
- " return result;\n"
- " }\n"
- "\n"
- "}]]>"
+"<![CDATA[public class Cat {\n"
+"\n"
+" ...\n"
+" public boolean equals(Object other) {\n"
+" if (this == other) return true;\n"
+" if ( !(other instanceof Cat) ) return false;\n"
+"\n"
+" final Cat cat = (Cat) other;\n"
+"\n"
+" if ( !cat.getLitterId().equals( getLitterId() ) ) return false;\n"
+" if ( !cat.getMother().equals( getMother() ) ) return false;\n"
+"\n"
+" return true;\n"
+" }\n"
+"\n"
+" public int hashCode() {\n"
+" int result;\n"
+" result = getMother().hashCode();\n"
+" result = 29 * result + getLitterId();\n"
+" return result;\n"
+" }\n"
+"\n"
+"}]]>"
msgstr ""
- "<![CDATA[public class Cat {
-\n"
- "
-\n"
- " ...
-\n"
- " public boolean equals(Object other) {
-\n"
- " if (this == other) return true;
-\n"
- " if ( !(other instanceof Cat) ) return false;
-\n"
- "
-\n"
- " final Cat cat = (Cat) other;
-\n"
- "
-\n"
- " if ( !cat.getLitterId().equals( getLitterId() ) ) return false;
-\n"
- " if ( !cat.getMother().equals( getMother() ) ) return false;
-\n"
- "
-\n"
- " return true;
-\n"
- " }
-\n"
- "
-\n"
- " public int hashCode() {
-\n"
- " int result;
-\n"
- " result = getMother().hashCode();
-\n"
- " result = 29 * result + getLitterId();
-\n"
- " return result;
-\n"
- " }
-\n"
- "
-\n"
- "}]]>"
-#: index.docbook:202
-msgid "Note that a business key does not have to be as solid as a database primary key candidate (see <xref linkend=\"transactions-basics-identity\"/>). Immutable or unique properties are usually good candidates for a business key."
-msgstr "ãã¸ãã¹ãã¼ã¯ãã¼ã¿ãã¼ã¹ã®ä¸»ãã¼åè£ã»ã©å®å®ã§ããå¿
è¦ã¯ãªããã¨ã«æ³¨æãã¦ãã ãã ï¼<xref linkend=\"transactions-basics-identity\"/> ãè¦ã¦ãã ããï¼ã æ´æ°ä¸å¯ãªããããã£ãã¦ãã¼ã¯ãªããããã£ã¯ãé常ãã¸ãã¹ãã¼ã®ããåè£ã§ãã"
+#. Tag: para
+#: persistent_classes.xml:202
+#, no-c-format
+msgid ""
+"Note that a business key does not have to be as solid as a database primary "
+"key candidate (see <xref linkend=\"transactions-basics-identity\"/>). "
+"Immutable or unique properties are usually good candidates for a business "
+"key."
+msgstr ""
+"ãã¸ãã¹ãã¼ã¯ãã¼ã¿ãã¼ã¹ã®ä¸»ãã¼åè£ã»ã©å®å®ã§ããå¿
è¦ã¯ãªããã¨ã«æ³¨æãã¦"
+"ãã ãã ï¼<xref linkend=\"transactions-basics-identity\"/> ãè¦ã¦ãã ã"
+"ãï¼ã æ´æ°ä¸å¯ãªããããã£ãã¦ãã¼ã¯ãªããããã£ã¯ãé常ãã¸ãã¹ãã¼ã®ããå"
+"è£ã§ãã"
-#: index.docbook:212
+#. Tag: title
+#: persistent_classes.xml:212
+#, no-c-format
msgid "Dynamic models"
msgstr "åçã¢ãã«"
-#: index.docbook:215
-msgid "Note that the following features are currently considered experimental and may change in the near future."
-msgstr "以ä¸ã®æ©è½ã¯ç¾å¨å®é¨æ®µéã«ããã¨è¦ãªããã¦ããã è¿ãå°æ¥å¤æ´ãããå¯è½æ§ããããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: emphasis
+#: persistent_classes.xml:215
+#, no-c-format
+msgid ""
+"Note that the following features are currently considered experimental and "
+"may change in the near future."
+msgstr ""
+"以ä¸ã®æ©è½ã¯ç¾å¨å®é¨æ®µéã«ããã¨è¦ãªããã¦ããã è¿ãå°æ¥å¤æ´ãããå¯è½æ§ãã"
+"ããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:219
-msgid "Persistent entities don't necessarily have to be represented as POJO classes or as JavaBean objects at runtime. Hibernate also supports dynamic models (using <literal>Map</literal>s of <literal>Map</literal>s at runtime) and the representation of entities as DOM4J trees. With this approach, you don't write persistent classes, only mapping files."
-msgstr "æ°¸ç¶ã¨ã³ãã£ãã£ã¯ãå¿
ãããå®è¡æã«POJOã¯ã©ã¹ãJavaBeanãªãã¸ã§ã¯ãã§è¡¨ç¾ããå¿
è¦ã¯ããã¾ããã Hibernateã¯ï¼å®è¡æã« <literal>Map</literal> ã® <literal>Map</literal> ã使ãï¼åçã¢ãã«ã¨ã DOM4Jããªã¼ã¨ãã¦ã®ã¨ã³ãã£ãã£ã®è¡¨ç¾ããµãã¼ããã¾ãã ãã®ã¢ããã¼ãã使ãã¨æ°¸ç¶ã¯ã©ã¹ãæ¸ããããããã³ã°ãã¡ã¤ã«ã ããæ¸ããã¨ã«ãªãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:219
+#, no-c-format
+msgid ""
+"Persistent entities don't necessarily have to be represented as POJO classes "
+"or as JavaBean objects at runtime. Hibernate also supports dynamic models "
+"(using <literal>Map</literal>s of <literal>Map</literal>s at runtime) and "
+"the representation of entities as DOM4J trees. With this approach, you don't "
+"write persistent classes, only mapping files."
+msgstr ""
+"æ°¸ç¶ã¨ã³ãã£ãã£ã¯ãå¿
ãããå®è¡æã«POJOã¯ã©ã¹ãJavaBeanãªãã¸ã§ã¯ãã§è¡¨ç¾ã"
+"ãå¿
è¦ã¯ããã¾ããã Hibernateã¯ï¼å®è¡æã« <literal>Map</literal> ã® "
+"<literal>Map</literal> ã使ãï¼åçã¢ãã«ã¨ã DOM4Jããªã¼ã¨ãã¦ã®ã¨ã³ãã£ãã£"
+"ã®è¡¨ç¾ããµãã¼ããã¾ãã ãã®ã¢ããã¼ãã使ãã¨æ°¸ç¶ã¯ã©ã¹ãæ¸ããããããã³ã°"
+"ãã¡ã¤ã«ã ããæ¸ããã¨ã«ãªãã¾ãã"
-#: index.docbook:227
-msgid "By default, Hibernate works in normal POJO mode. You may set a default entity representation mode for a particular <literal>SessionFactory</literal> using the <literal>default_entity_mode</literal> configuration option (see <xref linkend=\"configuration-optional-properties\"/>."
-msgstr "ããã©ã«ãã§ã¯ãHibernateã¯é常ã®POJOã¢ã¼ãã§åä½ãã¾ãã <literal>default_entity_mode</literal> è¨å®ãªãã·ã§ã³ã使ã£ã¦ã ç¹å®ã® <literal>SessionFactory</literal> ã«å¯¾ããããã©ã«ãã®ã¨ã³ãã£ãã£è¡¨ç¾ã¢ã¼ããè¨å®ãããã¨ãã§ãã¾ã ï¼<xref linkend=\"configuration-optional-properties\"/> ãè¦ã¦ãã ããï¼ã"
+#. Tag: para
+#: persistent_classes.xml:227
+#, no-c-format
+msgid ""
+"By default, Hibernate works in normal POJO mode. You may set a default "
+"entity representation mode for a particular <literal>SessionFactory</"
+"literal> using the <literal>default_entity_mode</literal> configuration "
+"option (see <xref linkend=\"configuration-optional-properties\"/>."
+msgstr ""
+"ããã©ã«ãã§ã¯ãHibernateã¯é常ã®POJOã¢ã¼ãã§åä½ãã¾ãã "
+"<literal>default_entity_mode</literal> è¨å®ãªãã·ã§ã³ã使ã£ã¦ã ç¹å®ã® "
+"<literal>SessionFactory</literal> ã«å¯¾ããããã©ã«ãã®ã¨ã³ãã£ãã£è¡¨ç¾ã¢ã¼ã"
+"ãè¨å®ãããã¨ãã§ãã¾ã ï¼<xref linkend=\"configuration-optional-properties"
+"\"/> ãè¦ã¦ãã ããï¼ã"
-#: index.docbook:234
-msgid "The following examples demonstrates the representation using <literal>Map</literal>s. First, in the mapping file, an <literal>entity-name</literal> has to be declared instead of (or in addition to) a class name:"
-msgstr "以ä¸ã®ä¾ã§ã¯ <literal>Map</literal> ã使ã£ã表ç¾ãç´¹ä»ãã¾ãã ã¾ããããã³ã°ãã¡ã¤ã«ã§ãã¯ã©ã¹åã®ä»£ããã«ï¼ã¾ãã¯ããã«å ãã¦ï¼ <literal>entity-name</literal> ãå®ç¾©ããªããã°ãªãã¾ããï¼"
+#. Tag: para
+#: persistent_classes.xml:234
+#, no-c-format
+msgid ""
+"The following examples demonstrates the representation using <literal>Map</"
+"literal>s. First, in the mapping file, an <literal>entity-name</literal> has "
+"to be declared instead of (or in addition to) a class name:"
+msgstr ""
+"以ä¸ã®ä¾ã§ã¯ <literal>Map</literal> ã使ã£ã表ç¾ãç´¹ä»ãã¾ãã ã¾ããããã³ã°"
+"ãã¡ã¤ã«ã§ãã¯ã©ã¹åã®ä»£ããã«ï¼ã¾ãã¯ããã«å ãã¦ï¼ <literal>entity-name</"
+"literal> ãå®ç¾©ããªããã°ãªãã¾ããï¼"
-#: index.docbook:240
+#. Tag: programlisting
+#: persistent_classes.xml:240
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class entity-name=\"Customer\">\n"
- "\n"
- " <id name=\"id\"\n"
- " type=\"long\"\n"
- " column=\"ID\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- "\n"
- " <property name=\"name\"\n"
- " column=\"NAME\"\n"
- " type=\"string\"/>\n"
- "\n"
- " <property name=\"address\"\n"
- " column=\"ADDRESS\"\n"
- " type=\"string\"/>\n"
- "\n"
- " <many-to-one name=\"organization\"\n"
- " column=\"ORGANIZATION_ID\"\n"
- " class=\"Organization\"/>\n"
- "\n"
- " <bag name=\"orders\"\n"
- " inverse=\"true\"\n"
- " lazy=\"false\"\n"
- " cascade=\"all\">\n"
- " <key column=\"CUSTOMER_ID\"/>\n"
- " <one-to-many class=\"Order\"/>\n"
- " </bag>\n"
- "\n"
- " </class>\n"
- " \n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class entity-name=\"Customer\">\n"
+"\n"
+" <id name=\"id\"\n"
+" type=\"long\"\n"
+" column=\"ID\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+"\n"
+" <property name=\"name\"\n"
+" column=\"NAME\"\n"
+" type=\"string\"/>\n"
+"\n"
+" <property name=\"address\"\n"
+" column=\"ADDRESS\"\n"
+" type=\"string\"/>\n"
+"\n"
+" <many-to-one name=\"organization\"\n"
+" column=\"ORGANIZATION_ID\"\n"
+" class=\"Organization\"/>\n"
+"\n"
+" <bag name=\"orders\"\n"
+" inverse=\"true\"\n"
+" lazy=\"false\"\n"
+" cascade=\"all\">\n"
+" <key column=\"CUSTOMER_ID\"/>\n"
+" <one-to-many class=\"Order\"/>\n"
+" </bag>\n"
+"\n"
+" </class>\n"
+" \n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class entity-name=\"Customer\">
-\n"
- "
-\n"
- " <id name=\"id\"
-\n"
- " type=\"long\"
-\n"
- " column=\"ID\">
-\n"
- " <generator class=\"sequence\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <property name=\"name\"
-\n"
- " column=\"NAME\"
-\n"
- " type=\"string\"/>
-\n"
- "
-\n"
- " <property name=\"address\"
-\n"
- " column=\"ADDRESS\"
-\n"
- " type=\"string\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"organization\"
-\n"
- " column=\"ORGANIZATION_ID\"
-\n"
- " class=\"Organization\"/>
-\n"
- "
-\n"
- " <bag name=\"orders\"
-\n"
- " inverse=\"true\"
-\n"
- " lazy=\"false\"
-\n"
- " cascade=\"all\">
-\n"
- " <key column=\"CUSTOMER_ID\"/>
-\n"
- " <one-to-many class=\"Order\"/>
-\n"
- " </bag>
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:242
-msgid "Note that even though associations are declared using target class names, the target type of an associations may also be a dynamic entity instead of a POJO."
-msgstr "é¢é£ãã¿ã¼ã²ããã®ã¯ã©ã¹åã使ã£ã¦å®ç¾©ãã¦ããã¨ãã¦ãã é¢é£ã®ã¿ã¼ã²ããåãPOJOã§ã¯ãªãåçãªã¨ã³ãã£ãã£ã§ãæ§ããªããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: persistent_classes.xml:242
+#, no-c-format
+msgid ""
+"Note that even though associations are declared using target class names, "
+"the target type of an associations may also be a dynamic entity instead of a "
+"POJO."
+msgstr ""
+"é¢é£ãã¿ã¼ã²ããã®ã¯ã©ã¹åã使ã£ã¦å®ç¾©ãã¦ããã¨ãã¦ãã é¢é£ã®ã¿ã¼ã²ããåã"
+"POJOã§ã¯ãªãåçãªã¨ã³ãã£ãã£ã§ãæ§ããªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:249
-msgid "After setting the default entity mode to <literal>dynamic-map</literal> for the <literal>SessionFactory</literal>, we can at runtime work with <literal>Map</literal>s of <literal>Map</literal>s:"
-msgstr "<literal>SessionFactory</literal> ã«å¯¾ãã¦ããã©ã«ãã®ã¨ã³ãã£ãã£ã¢ã¼ãã <literal>dynamic-map</literal> ã«è¨å®ããå¾ã å®è¡æã« <literal>Map</literal> ã® <literal>Map</literal> ã使ããã¨ãã§ãã¾ãï¼"
+#. Tag: para
+#: persistent_classes.xml:249
+#, no-c-format
+msgid ""
+"After setting the default entity mode to <literal>dynamic-map</literal> for "
+"the <literal>SessionFactory</literal>, we can at runtime work with "
+"<literal>Map</literal>s of <literal>Map</literal>s:"
+msgstr ""
+"<literal>SessionFactory</literal> ã«å¯¾ãã¦ããã©ã«ãã®ã¨ã³ãã£ãã£ã¢ã¼ãã "
+"<literal>dynamic-map</literal> ã«è¨å®ããå¾ã å®è¡æã« <literal>Map</"
+"literal> ã® <literal>Map</literal> ã使ããã¨ãã§ãã¾ãï¼"
-#: index.docbook:255
+#. Tag: programlisting
+#: persistent_classes.xml:255
+#, no-c-format
msgid ""
- "<![CDATA[Session s = openSession();\n"
- "Transaction tx = s.beginTransaction();\n"
- "Session s = openSession();\n"
- "\n"
- "// Create a customer\n"
- "Map david = new HashMap();\n"
- "david.put(\"name\", \"David\");\n"
- "\n"
- "// Create an organization\n"
- "Map foobar = new HashMap();\n"
- "foobar.put(\"name\", \"Foobar Inc.\");\n"
- "\n"
- "// Link both\n"
- "david.put(\"organization\", foobar);\n"
- "\n"
- "// Save both\n"
- "s.save(\"Customer\", david);\n"
- "s.save(\"Organization\", foobar);\n"
- "\n"
- "tx.commit();\n"
- "s.close();]]>"
+"<![CDATA[Session s = openSession();\n"
+"Transaction tx = s.beginTransaction();\n"
+"Session s = openSession();\n"
+"\n"
+"// Create a customer\n"
+"Map david = new HashMap();\n"
+"david.put(\"name\", \"David\");\n"
+"\n"
+"// Create an organization\n"
+"Map foobar = new HashMap();\n"
+"foobar.put(\"name\", \"Foobar Inc.\");\n"
+"\n"
+"// Link both\n"
+"david.put(\"organization\", foobar);\n"
+"\n"
+"// Save both\n"
+"s.save(\"Customer\", david);\n"
+"s.save(\"Organization\", foobar);\n"
+"\n"
+"tx.commit();\n"
+"s.close();]]>"
msgstr ""
- "<![CDATA[Session s = openSession();
-\n"
- "Transaction tx = s.beginTransaction();
-\n"
- "Session s = openSession();
-\n"
- "
-\n"
- "// Create a customer
-\n"
- "Map david = new HashMap();
-\n"
- "david.put(\"name\", \"David\");
-\n"
- "
-\n"
- "// Create an organization
-\n"
- "Map foobar = new HashMap();
-\n"
- "foobar.put(\"name\", \"Foobar Inc.\");
-\n"
- "
-\n"
- "// Link both
-\n"
- "david.put(\"organization\", foobar);
-\n"
- "
-\n"
- "// Save both
-\n"
- "s.save(\"Customer\", david);
-\n"
- "s.save(\"Organization\", foobar);
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "s.close();]]>"
-#: index.docbook:257
-msgid "The advantages of a dynamic mapping are quick turnaround time for prototyping without the need for entity class implementation. However, you lose compile-time type checking and will very likely deal with many exceptions at runtime. Thanks to the Hibernate mapping, the database schema can easily be normalized and sound, allowing to add a proper domain model implementation on top later on."
-msgstr "åçãªãããã³ã°ã®å©ç¹ã¯ãã¨ã³ãã£ãã£ã¯ã©ã¹ã®å®è£
ãå¿
è¦ã¨ããªãããã ãããã¿ã¤ãã³ã°ã«è¦ããã¿ã¼ã³ã¢ã©ã¦ã³ãã¿ã¤ã ãæ©ãã¨ãããã¨ã§ãã ãããã³ã³ãã¤ã«æã®åãã§ãã¯ããªãã®ã§ãå®è¡æã«é常ã«å¤ãã®ä¾å¤å¦çãæ±ããªããã°ãªããªãã§ãããã Hibernateãããã³ã°ã®ãããã§ããã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯å®¹æã«æ£è¦åã§ããå¥å
¨ã«ãªãã å¾ã§é©åãªãã¡ã¤ã³ã¢ãã«ã®å®è£
ã追å ãããã¨ãå¯è½ã«ãªãã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:257
+#, no-c-format
+msgid ""
+"The advantages of a dynamic mapping are quick turnaround time for "
+"prototyping without the need for entity class implementation. However, you "
+"lose compile-time type checking and will very likely deal with many "
+"exceptions at runtime. Thanks to the Hibernate mapping, the database schema "
+"can easily be normalized and sound, allowing to add a proper domain model "
+"implementation on top later on."
+msgstr ""
+"åçãªãããã³ã°ã®å©ç¹ã¯ãã¨ã³ãã£ãã£ã¯ã©ã¹ã®å®è£
ãå¿
è¦ã¨ããªãããã ããã"
+"ã¿ã¤ãã³ã°ã«è¦ããã¿ã¼ã³ã¢ã©ã¦ã³ãã¿ã¤ã ãæ©ãã¨ãããã¨ã§ãã ãããã³ã³ãã¤"
+"ã«æã®åãã§ãã¯ããªãã®ã§ãå®è¡æã«é常ã«å¤ãã®ä¾å¤å¦çãæ±ããªããã°ãªããª"
+"ãã§ãããã Hibernateãããã³ã°ã®ãããã§ããã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯å®¹æã«æ£è¦"
+"åã§ããå¥å
¨ã«ãªãã å¾ã§é©åãªãã¡ã¤ã³ã¢ãã«ã®å®è£
ã追å ãããã¨ãå¯è½ã«ãªã"
+"ã¾ãã"
-#: index.docbook:265
-msgid "Entity representation modes can also be set on a per <literal>Session</literal> basis:"
-msgstr "ã¨ã³ãã£ãã£è¡¨ç¾ã¢ã¼ã㯠<literal>Session</literal> ãã¨ã«è¨å®ãããã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: persistent_classes.xml:265
+#, no-c-format
+msgid ""
+"Entity representation modes can also be set on a per <literal>Session</"
+"literal> basis:"
+msgstr ""
+"ã¨ã³ãã£ãã£è¡¨ç¾ã¢ã¼ã㯠<literal>Session</literal> ãã¨ã«è¨å®ãããã¨ãå¯è½"
+"ã§ãã"
-#: index.docbook:270
+#. Tag: programlisting
+#: persistent_classes.xml:270
+#, no-c-format
msgid ""
- "<![CDATA[Session dynamicSession = pojoSession.getSession(EntityMode.MAP);\n"
- "\n"
- "// Create a customer\n"
- "Map david = new HashMap();\n"
- "david.put(\"name\", \"David\");\n"
- "dynamicSession.save(\"Customer\", david);\n"
- "...\n"
- "dynamicSession.flush();\n"
- "dynamicSession.close()\n"
- "...\n"
- "// Continue on pojoSession\n"
- "]]>"
+"<![CDATA[Session dynamicSession = pojoSession.getSession(EntityMode.MAP);\n"
+"\n"
+"// Create a customer\n"
+"Map david = new HashMap();\n"
+"david.put(\"name\", \"David\");\n"
+"dynamicSession.save(\"Customer\", david);\n"
+"...\n"
+"dynamicSession.flush();\n"
+"dynamicSession.close()\n"
+"...\n"
+"// Continue on pojoSession\n"
+"]]>"
msgstr ""
- "<![CDATA[Session dynamicSession = pojoSession.getSession(EntityMode.MAP);
-\n"
- "
-\n"
- "// Create a customer
-\n"
- "Map david = new HashMap();
-\n"
- "david.put(\"name\", \"David\");
-\n"
- "dynamicSession.save(\"Customer\", david);
-\n"
- "...
-\n"
- "dynamicSession.flush();
-\n"
- "dynamicSession.close()
-\n"
- "...
-\n"
- "// Continue on pojoSession
-\n"
- "]]>"
-#: index.docbook:273
-msgid "Please note that the call to <literal>getSession()</literal> using an <literal>EntityMode</literal> is on the <literal>Session</literal> API, not the <literal>SessionFactory</literal>. That way, the new <literal>Session</literal> shares the underlying JDBC connection, transaction, and other context information. This means you don't have tocall <literal>flush()</literal> and <literal>close()</literal> on the secondary <literal>Session</literal>, and also leave the transaction and connection handling to the primary unit of work."
-msgstr "<literal>EntityMode</literal> ã使ã£ã <literal>getSession()</literal> ã®å¼ã³åºã㯠<literal>SessionFactory</literal> ã§ã¯ãªã <literal>Session</literal> APIã«ãããã¨ã«æ³¨æãã¦ãã ããã ãã®æ¹æ³ã§ã¯ãæ°ãã <literal>Session</literal> ã¯ããã¼ã¹ã¨ãªãJDBCã³ãã¯ã·ã§ã³ã ãã©ã³ã¶ã¯ã·ã§ã³ããã®ä»ã®ã³ã³ããã¹ãæ
å ±ãå
±æãã¾ãã ããã¯2çªç®ã® <literal>Session</literal> ã§ã¯ <literal>flush()</literal> 㨠<literal>close()</literal> ãå¼ã¶å¿
è¦ããªãã¨ãããã¨ããã®ãããã©ã³ã¶ã¯ã·ã§ã³ã¨ã³ãã¯ã·ã§ã³ã®ç®¡çã 1çªç®ã®ä½æ¥åä½(Unit of Work)ã«ä»»ãããã¨ãã§ããã¨ãããã¨ã§ãã"
+#. Tag: para
+#: persistent_classes.xml:273
+#, no-c-format
+msgid ""
+"Please note that the call to <literal>getSession()</literal> using an "
+"<literal>EntityMode</literal> is on the <literal>Session</literal> API, not "
+"the <literal>SessionFactory</literal>. That way, the new <literal>Session</"
+"literal> shares the underlying JDBC connection, transaction, and other "
+"context information. This means you don't have tocall <literal>flush()</"
+"literal> and <literal>close()</literal> on the secondary <literal>Session</"
+"literal>, and also leave the transaction and connection handling to the "
+"primary unit of work."
+msgstr ""
+"<literal>EntityMode</literal> ã使ã£ã <literal>getSession()</literal> ã®å¼ã³"
+"åºã㯠<literal>SessionFactory</literal> ã§ã¯ãªã <literal>Session</literal> "
+"APIã«ãããã¨ã«æ³¨æãã¦ãã ããã ãã®æ¹æ³ã§ã¯ãæ°ãã <literal>Session</"
+"literal> ã¯ããã¼ã¹ã¨ãªãJDBCã³ãã¯ã·ã§ã³ã ãã©ã³ã¶ã¯ã·ã§ã³ããã®ä»ã®ã³ã³ã"
+"ãã¹ãæ
å ±ãå
±æãã¾ãã ããã¯2çªç®ã® <literal>Session</literal> ã§ã¯ "
+"<literal>flush()</literal> 㨠<literal>close()</literal> ãå¼ã¶å¿
è¦ããªãã¨ã"
+"ããã¨ããã®ãããã©ã³ã¶ã¯ã·ã§ã³ã¨ã³ãã¯ã·ã§ã³ã®ç®¡çã 1çªç®ã®ä½æ¥åä½(Unit "
+"of Work)ã«ä»»ãããã¨ãã§ããã¨ãããã¨ã§ãã"
-#: index.docbook:283
-msgid "More information about the XML representation capabilities can be found in <xref linkend=\"xml\"/>."
-msgstr "XML表ç¾ã®è½åã«ã¤ãã¦ã®ãããªãæ
å ±ã¯ <xref linkend=\"xml\"/> ã§è¦ã¤ããã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:283
+#, no-c-format
+msgid ""
+"More information about the XML representation capabilities can be found in "
+"<xref linkend=\"xml\"/>."
+msgstr ""
+"XML表ç¾ã®è½åã«ã¤ãã¦ã®ãããªãæ
å ±ã¯ <xref linkend=\"xml\"/> ã§è¦ã¤ããã¾"
+"ãã"
-#: index.docbook:291
+#. Tag: title
+#: persistent_classes.xml:291
+#, no-c-format
msgid "Tuplizers"
msgstr "Tuplizer"
-#: index.docbook:293
-msgid "<literal>org.hibernate.tuple.Tuplizer</literal>, and its sub-interfaces, are responsible for managing a particular representation of a piece of data, given that representation's <literal>org.hibernate.EntityMode</literal>. If a given piece of data is thought of as a data structure, then a tuplizer is the thing which knows how to create such a data structure and how to extract values from and inject values into such a data structure. For example, for the POJO entity mode, the correpsonding tuplizer knows how create the POJO through its constructor and how to access the POJO properties using the defined property accessors. There are two high-level types of Tuplizers, represented by the <literal>org.hibernate.tuple.entity.EntityTuplizer</literal> and <literal>org.hibernate.tuple.component.ComponentTuplizer</literal> interfaces. <literal>EntityTuplizer</literal>s are responsible for managing the above mentioned contracts in regards to entities, while <literal>ComponentTu!
plizer</literal>s do the same for components."
-msgstr "<literal>org.hibernate.tuple.Tuplizer</literal> ã¨ãã®ãµãã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ã 表ç¾ã® <literal>org.hibernate.EntityMode</literal> ãå©ç¨ãã¦ã ãã¼ã¿æçã®ãã表ç¾ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã ä¸ãããããã¼ã¿æçããã¼ã¿æ§é ã¨ãã¦èãããªããTuplizerã¯ãã®ãããªãã¼ã¿æ§é ã ã©ã®ããã«ä½æããããç¥ãããã®ãããªãã¼ã¿æ§é ããã©ã®ããã«å¤ãæ½åºãã æ³¨å
¥ããããç¥ã£ã¦ãã¾ãã ä¾ãã°POJOã¨ã³ãã£ãã£ã¢ã¼ãã§ã¯ã対å¿ããTuplizerã¯ã³ã³ã¹ãã©ã¯ã¿ãéãã¦ã POJOãã©ã®ããã«ä½æããããå®ç¾©ãããããããã£ã¢ã¯ã»ãµã使ãã POJOããããã£ã«ã©ã®ããã«ã¢ã¯ã»ã¹ããããç¥ãã¾ãã Tuplizerã«ã¯äºã¤ã®ãã¤ã¬ãã«ã®åãããã¾ãã ãããã¯ã<literal>org.hibernate.tuple.EntityTuplizer</literal> 㨠<literal>org.hibernate.tuple.ComponentTuplizer</literal> !
ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§è¡¨ç¾ããã¾ãã <literal>EntityTuplizer</literal> ã¯ä¸ã§è¿°ã¹ããããªã¨ã³ãã£ãã£ã«é¢ããå¥ç´ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã 䏿¹ã<literal>ComponentTuplizer</literal> ã¯ã³ã³ãã¼ãã³ãã«é¢ããå¥ç´ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã"
+#. Tag: para
+#: persistent_classes.xml:293
+#, no-c-format
+msgid ""
+"<literal>org.hibernate.tuple.Tuplizer</literal>, and its sub-interfaces, are "
+"responsible for managing a particular representation of a piece of data, "
+"given that representation's <literal>org.hibernate.EntityMode</literal>. If "
+"a given piece of data is thought of as a data structure, then a tuplizer is "
+"the thing which knows how to create such a data structure and how to extract "
+"values from and inject values into such a data structure. For example, for "
+"the POJO entity mode, the correpsonding tuplizer knows how create the POJO "
+"through its constructor and how to access the POJO properties using the "
+"defined property accessors. There are two high-level types of Tuplizers, "
+"represented by the <literal>org.hibernate.tuple.entity.EntityTuplizer</"
+"literal> and <literal>org.hibernate.tuple.component.ComponentTuplizer</"
+"literal> interfaces. <literal>EntityTuplizer</literal>s are responsible for "
+"managing the above mentioned contracts in regards to entities, while "
+"<literal>ComponentTuplizer</literal>s do the same for components."
+msgstr ""
+"<literal>org.hibernate.tuple.Tuplizer</literal> ã¨ãã®ãµãã¤ã³ã¿ã¼ãã§ã¤ã¹"
+"ã¯ã 表ç¾ã® <literal>org.hibernate.EntityMode</literal> ãå©ç¨ãã¦ã ãã¼ã¿æ"
+"çã®ãã表ç¾ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã ä¸ãããããã¼ã¿æçããã¼ã¿æ§é ã¨ãã¦è"
+"ãããªããTuplizerã¯ãã®ãããªãã¼ã¿æ§é ã ã©ã®ããã«ä½æããããç¥ãããã®ã"
+"ããªãã¼ã¿æ§é ããã©ã®ããã«å¤ãæ½åºãã æ³¨å
¥ããããç¥ã£ã¦ãã¾ãã ä¾ãã°"
+"POJOã¨ã³ãã£ãã£ã¢ã¼ãã§ã¯ã対å¿ããTuplizerã¯ã³ã³ã¹ãã©ã¯ã¿ãéãã¦ã POJOã"
+"ã©ã®ããã«ä½æããããå®ç¾©ãããããããã£ã¢ã¯ã»ãµã使ãã POJOããããã£ã«ã©"
+"ã®ããã«ã¢ã¯ã»ã¹ããããç¥ãã¾ãã Tuplizerã«ã¯äºã¤ã®ãã¤ã¬ãã«ã®åãããã¾"
+"ãã ãããã¯ã<literal>org.hibernate.tuple.EntityTuplizer</literal> 㨠"
+"<literal>org.hibernate.tuple.ComponentTuplizer</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§è¡¨"
+"ç¾ããã¾ãã <literal>EntityTuplizer</literal> ã¯ä¸ã§è¿°ã¹ããããªã¨ã³ãã£ãã£"
+"ã«é¢ããå¥ç´ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã 䏿¹ã<literal>ComponentTuplizer</"
+"literal> ã¯ã³ã³ãã¼ãã³ãã«é¢ããå¥ç´ã®ç®¡çã«è²¬ä»»ãæã¡ã¾ãã"
-#: index.docbook:308
-msgid "Users may also plug in their own tuplizers. Perhaps you require that a <literal>java.util.Map</literal> implementation other than <literal>java.util.HashMap</literal> be used while in the dynamic-map entity-mode; or perhaps you need to define a different proxy generation strategy than the one used by default. Both would be achieved by defining a custom tuplizer implementation. Tuplizers definitions are attached to the entity or component mapping they are meant to manage. Going back to the example of our customer entity:"
-msgstr "ã¦ã¼ã¶ã¯ç¬èªã®Tuplizerã«å·®ãæ¿ãããã¨ãå¯è½ã§ãã ããããdynamic-map entity-modeã®éã« <literal>java.util.HashMap</literal> ã使ãã®ã§ã¯ãªãã <literal>java.util.Map</literal> ã®å®è£
ãå¿
è¦ã§ãããã ãããã¯ãããããããã©ã«ãã®ãã®ã§ã¯ãªããå¥ã®ãããã·çææ¦ç¥ã®å®ç¾©ãå¿
è¦ã§ãããã 両è
ã¨ããã«ã¹ã¿ã ã®Tuplizerå®è£
ãå®ç¾©ãããã¨ã§éæããã¾ãã Tuplizerã®å®ç¾©ã¯ã管çãããã¨ããã¨ã³ãã£ãã£ãã³ã³ãã¼ãã³ãã®ãããã³ã°ã«çµã³ä»ãããã¾ãã 顧客ã¨ã³ãã£ãã£ã®ä¾ã«æ»ãã¨ï¼"
+#. Tag: para
+#: persistent_classes.xml:308
+#, no-c-format
+msgid ""
+"Users may also plug in their own tuplizers. Perhaps you require that a "
+"<literal>java.util.Map</literal> implementation other than <literal>java."
+"util.HashMap</literal> be used while in the dynamic-map entity-mode; or "
+"perhaps you need to define a different proxy generation strategy than the "
+"one used by default. Both would be achieved by defining a custom tuplizer "
+"implementation. Tuplizers definitions are attached to the entity or "
+"component mapping they are meant to manage. Going back to the example of our "
+"customer entity:"
+msgstr ""
+"ã¦ã¼ã¶ã¯ç¬èªã®Tuplizerã«å·®ãæ¿ãããã¨ãå¯è½ã§ãã ããããdynamic-map "
+"entity-modeã®éã« <literal>java.util.HashMap</literal> ã使ãã®ã§ã¯ãªãã "
+"<literal>java.util.Map</literal> ã®å®è£
ãå¿
è¦ã§ãããã ãããã¯ãããããã"
+"ãã©ã«ãã®ãã®ã§ã¯ãªããå¥ã®ãããã·çææ¦ç¥ã®å®ç¾©ãå¿
è¦ã§ãããã 両è
ã¨ãã"
+"ã«ã¹ã¿ã ã®Tuplizerå®è£
ãå®ç¾©ãããã¨ã§éæããã¾ãã Tuplizerã®å®ç¾©ã¯ã管çã"
+"ããã¨ããã¨ã³ãã£ãã£ãã³ã³ãã¼ãã³ãã®ãããã³ã°ã«çµã³ä»ãããã¾ãã 顧客ã¨"
+"ã³ãã£ãã£ã®ä¾ã«æ»ãã¨ï¼"
-#: index.docbook:317
+#. Tag: programlisting
+#: persistent_classes.xml:317
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- " <class entity-name=\"Customer\">\n"
- " <!--\n"
- " Override the dynamic-map entity-mode\n"
- " tuplizer for the customer entity\n"
- " -->\n"
- " <tuplizer entity-mode=\"dynamic-map\"\n"
- " class=\"CustomMapTuplizerImpl\"/>\n"
- "\n"
- " <id name=\"id\" type=\"long\" column=\"ID\">\n"
- " <generator class=\"sequence\"/>\n"
- " </id>\n"
- "\n"
- " <!-- other properties -->\n"
- " ...\n"
- " </class>\n"
- "</hibernate-mapping>\n"
- "\n"
- "\n"
- "public class CustomMapTuplizerImpl\n"
- " extends org.hibernate.tuple.entity.DynamicMapEntityTuplizer {\n"
- " // override the buildInstantiator() method to plug in our custom map...\n"
- " protected final Instantiator buildInstantiator(\n"
- " org.hibernate.mapping.PersistentClass mappingInfo) {\n"
- " return new CustomMapInstantiator( mappingInfo );\n"
- " }\n"
- "\n"
- " private static final class CustomMapInstantiator\n"
- " extends org.hibernate.tuple.DynamicMapInstantitor {\n"
- " // override the generateMap() method to return our custom map...\n"
- " protected final Map generateMap() {\n"
- " return new CustomMap();\n"
- " }\n"
- " }\n"
- "}]]>"
+"<![CDATA[<hibernate-mapping>\n"
+" <class entity-name=\"Customer\">\n"
+" <!--\n"
+" Override the dynamic-map entity-mode\n"
+" tuplizer for the customer entity\n"
+" -->\n"
+" <tuplizer entity-mode=\"dynamic-map\"\n"
+" class=\"CustomMapTuplizerImpl\"/>\n"
+"\n"
+" <id name=\"id\" type=\"long\" column=\"ID\">\n"
+" <generator class=\"sequence\"/>\n"
+" </id>\n"
+"\n"
+" <!-- other properties -->\n"
+" ...\n"
+" </class>\n"
+"</hibernate-mapping>\n"
+"\n"
+"\n"
+"public class CustomMapTuplizerImpl\n"
+" extends org.hibernate.tuple.entity.DynamicMapEntityTuplizer {\n"
+" // override the buildInstantiator() method to plug in our custom map...\n"
+" protected final Instantiator buildInstantiator(\n"
+" org.hibernate.mapping.PersistentClass mappingInfo) {\n"
+" return new CustomMapInstantiator( mappingInfo );\n"
+" }\n"
+"\n"
+" private static final class CustomMapInstantiator\n"
+" extends org.hibernate.tuple.DynamicMapInstantitor {\n"
+" // override the generateMap() method to return our custom map...\n"
+" protected final Map generateMap() {\n"
+" return new CustomMap();\n"
+" }\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- " <class entity-name=\"Customer\">
-\n"
- " <!--
-\n"
- " Override the dynamic-map entity-mode
-\n"
- " tuplizer for the customer entity
-\n"
- " -->
-\n"
- " <tuplizer entity-mode=\"dynamic-map\"
-\n"
- " class=\"CustomMapTuplizerImpl\"/>
-\n"
- "
-\n"
- " <id name=\"id\" type=\"long\" column=\"ID\">
-\n"
- " <generator class=\"sequence\"/>
-\n"
- " </id>
-\n"
- "
-\n"
- " <!-- other properties -->
-\n"
- " ...
-\n"
- " </class>
-\n"
- "</hibernate-mapping>
-\n"
- "
-\n"
- "
-\n"
- "public class CustomMapTuplizerImpl
-\n"
- " extends org.hibernate.tuple.entity.DynamicMapEntityTuplizer {
-\n"
- " // override the buildInstantiator() method to plug in our custom map...
-\n"
- " protected final Instantiator buildInstantiator(
-\n"
- " org.hibernate.mapping.PersistentClass mappingInfo) {
-\n"
- " return new CustomMapInstantiator( mappingInfo );
-\n"
- " }
-\n"
- "
-\n"
- " private static final class CustomMapInstantiator
-\n"
- " extends org.hibernate.tuple.DynamicMapInstantitor {
-\n"
- " // override the generateMap() method to return our custom map...
-\n"
- " protected final Map generateMap() {
-\n"
- " return new CustomMap();
-\n"
- " }
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:322
-msgid "TODO: Document user-extension framework in the property and proxy packages"
-msgstr "TODO: ããããã£ã¨ãããã·ããã±ã¼ã¸ã®ã¦ã¼ã¶æ¡å¼µãã¬ã¼ã ã¯ã¼ã¯ãææ¸åãããã¨"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: persistent_classes.xml:322
+#, no-c-format
+msgid ""
+"TODO: Document user-extension framework in the property and proxy packages"
+msgstr ""
+"TODO: ããããã£ã¨ãããã·ããã±ã¼ã¸ã®ã¦ã¼ã¶æ¡å¼µãã¬ã¼ã ã¯ã¼ã¯ãææ¸åããã"
+"ã¨"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/preface.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/preface.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/preface.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,68 +1,196 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:21
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: preface.xml:21
+#, no-c-format
msgid "Preface"
-msgstr "<title>忏ã</title>"
+msgstr "忏ã"
-#: index.docbook:23
-msgid "Working with object-oriented software and a relational database can be cumbersome and time consuming in today's enterprise environments. Hibernate is an object/relational mapping tool for Java environments. The term object/relational mapping (ORM) refers to the technique of mapping a data representation from an object model to a relational data model with a SQL-based schema."
-msgstr "仿¥ã®ä¼æ¥ç°å¢ã«ããã¦ããªãã¸ã§ã¯ãæåã½ããã¦ã§ã¢ã¨ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã«é¢ãã使¥ã¯ ç
©éã§è¨å¤§ãªæéãå¿
è¦ã¨ãã¾ãã Hibernateã¯Javaç°å¢ã®ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ãã¼ã«ã§ãã ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ï¼ORMï¼ã¨ã¯ã ãªãã¸ã§ã¯ãã¢ãã«ããSQLãã¼ã¹ã¹ãã¼ãã®ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ã¢ãã«ã¸ã¨ã ãã¼ã¿è¡¨ç¾ããããã³ã°ããï¼å¯¾å¿ä»ããï¼æè¡ã®ãã¨ã§ãã"
+#. Tag: para
+#: preface.xml:23
+#, no-c-format
+msgid ""
+"Working with object-oriented software and a relational database can be "
+"cumbersome and time consuming in today's enterprise environments. Hibernate "
+"is an object/relational mapping tool for Java environments. The term object/"
+"relational mapping (ORM) refers to the technique of mapping a data "
+"representation from an object model to a relational data model with a SQL-"
+"based schema."
+msgstr ""
+"仿¥ã®ä¼æ¥ç°å¢ã«ããã¦ããªãã¸ã§ã¯ãæåã½ããã¦ã§ã¢ã¨ãªã¬ã¼ã·ã§ãã«ãã¼ã¿"
+"ãã¼ã¹ã«é¢ãã使¥ã¯ ç
©éã§è¨å¤§ãªæéãå¿
è¦ã¨ãã¾ãã Hibernateã¯Javaç°å¢ã®ãª"
+"ãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ãã¼ã«ã§ãã ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«"
+"ãããã³ã°ï¼ORMï¼ã¨ã¯ã ãªãã¸ã§ã¯ãã¢ãã«ããSQLãã¼ã¹ã¹ãã¼ãã®ãªã¬ã¼ã·ã§ã"
+"ã«ãã¼ã¿ã¢ãã«ã¸ã¨ã ãã¼ã¿è¡¨ç¾ããããã³ã°ããï¼å¯¾å¿ä»ããï¼æè¡ã®ãã¨ã§ãã"
-#: index.docbook:31
-msgid "Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC."
-msgstr "Hibernateã¯Javaã¯ã©ã¹ãããã¼ã¿ãã¼ã¹ãã¼ãã«ã¸ï¼ããã¦Javaãã¼ã¿åããSQLãã¼ã¿åã¸ï¼ ã®ãããã³ã°ãå¦çããã ãã§ã¯ãªãããã¼ã¿ã®ã¯ã¨ãªã¨å¾©å
ã®ä»çµã¿ãæä¾ãã¾ãã ãã®ãããã§SQLã¨JDBCã使ã£ãæä½æ¥ã§ã®ãã¼ã¿å¦çã«è²»ãããã¦ããéçºæéã大å¹
ã«åæ¸ã§ãã¾ãã"
+#. Tag: para
+#: preface.xml:31
+#, no-c-format
+msgid ""
+"Hibernate not only takes care of the mapping from Java classes to database "
+"tables (and from Java data types to SQL data types), but also provides data "
+"query and retrieval facilities and can significantly reduce development time "
+"otherwise spent with manual data handling in SQL and JDBC."
+msgstr ""
+"Hibernateã¯Javaã¯ã©ã¹ãããã¼ã¿ãã¼ã¹ãã¼ãã«ã¸ï¼ããã¦Javaãã¼ã¿åããSQL"
+"ãã¼ã¿åã¸ï¼ ã®ãããã³ã°ãå¦çããã ãã§ã¯ãªãããã¼ã¿ã®ã¯ã¨ãªã¨å¾©å
ã®ä»çµã¿"
+"ãæä¾ãã¾ãã ãã®ãããã§SQLã¨JDBCã使ã£ãæä½æ¥ã§ã®ãã¼ã¿å¦çã«è²»ãããã¦"
+"ããéçºæéã大å¹
ã«åæ¸ã§ãã¾ãã"
-#: index.docbook:38
-msgid "Hibernates goal is to relieve the developer from 95 percent of common data persistence related programming tasks. Hibernate may not be the best solution for data-centric applications that only use stored-procedures to implement the business logic in the database, it is most useful with object-oriented domain models and business logic in the Java-based middle-tier. However, Hibernate can certainly help you to remove or encapsulate vendor-specific SQL code and will help with the common task of result set translation from a tabular representation to a graph of objects."
-msgstr "Hibernateã®æçµç®æ¨ã¯ããã¼ã¿ã®æ°¸ç¶åã«é¢ããä¸è¬çãªããã°ã©ãã³ã°ä½æ¥ã®95ï¼
ããéçºè
ãè§£æ¾ãããã¨ã§ãã Hibernateã¯ãã¸ãã¹ãã¸ãã¯ã®å®è£
ã«ã¹ãã¢ãããã·ã¼ã¸ã£ã使ã ãã¼ã¿ä¸å¿ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦ã®ãã¹ãã½ãªã¥ã¼ã·ã§ã³ã§ããã«çã¾ãã¾ããã ãªãã¸ã§ã¯ãæåãã¡ã¤ã³ã¢ãã«ã¨Javaãã¼ã¹ã®ä¸é層ã§ã®ãã¸ãã¹ãã¸ãã¯ã«å¯¾ãã¦æãå½¹ã«ç«ã¡ã¾ãã ãããHibernateã¯ãã³ãåºæã®SQLã³ã¼ãã忏ã¾ãã¯ã«ãã»ã«åãããã 表形å¼ãããªãã¸ã§ã¯ãã®ã°ã©ãã¸ã¨ãªã¶ã«ãã»ããã夿ãããªã©ã®ã ä¸è¬çãªã¿ã¹ã¯ã«ãå½¹ç«ã¤ã§ãããã"
+#. Tag: para
+#: preface.xml:38
+#, no-c-format
+msgid ""
+"Hibernates goal is to relieve the developer from 95 percent of common data "
+"persistence related programming tasks. Hibernate may not be the best "
+"solution for data-centric applications that only use stored-procedures to "
+"implement the business logic in the database, it is most useful with object-"
+"oriented domain models and business logic in the Java-based middle-tier. "
+"However, Hibernate can certainly help you to remove or encapsulate vendor-"
+"specific SQL code and will help with the common task of result set "
+"translation from a tabular representation to a graph of objects."
+msgstr ""
+"Hibernateã®æçµç®æ¨ã¯ããã¼ã¿ã®æ°¸ç¶åã«é¢ããä¸è¬çãªããã°ã©ãã³ã°ä½æ¥ã®95ï¼
"
+"ããéçºè
ãè§£æ¾ãããã¨ã§ãã Hibernateã¯ãã¸ãã¹ãã¸ãã¯ã®å®è£
ã«ã¹ãã¢ãã"
+"ãã·ã¼ã¸ã£ã使ã ãã¼ã¿ä¸å¿ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãã¦ã®ãã¹ãã½ãªã¥ã¼ã·ã§ã³ã§ã"
+"ãã«çã¾ãã¾ããã ãªãã¸ã§ã¯ãæåãã¡ã¤ã³ã¢ãã«ã¨Javaãã¼ã¹ã®ä¸é層ã§ã®ãã¸"
+"ãã¹ãã¸ãã¯ã«å¯¾ãã¦æãå½¹ã«ç«ã¡ã¾ãã ãããHibernateã¯ãã³ãåºæã®SQLã³ã¼ã"
+"ã忏ã¾ãã¯ã«ãã»ã«åãããã 表形å¼ãããªãã¸ã§ã¯ãã®ã°ã©ãã¸ã¨ãªã¶ã«ãã»ã"
+"ãã夿ãããªã©ã®ã ä¸è¬çãªã¿ã¹ã¯ã«ãå½¹ç«ã¤ã§ãããã"
-#: index.docbook:48
-msgid "If you are new to Hibernate and Object/Relational Mapping or even Java, please follow these steps:"
-msgstr "Hibernateããªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã ããã«ã¯Javaãåãã¦ã®æ¹ã¯ã以ä¸ã®ã¹ãããã«å¾ã£ã¦ãã ããï¼"
+#. Tag: para
+#: preface.xml:48
+#, no-c-format
+msgid ""
+"If you are new to Hibernate and Object/Relational Mapping or even Java, "
+"please follow these steps:"
+msgstr ""
+"Hibernateããªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã ããã«ã¯Javaãåãã¦ã®æ¹"
+"ã¯ã以ä¸ã®ã¹ãããã«å¾ã£ã¦ãã ããï¼"
-#: index.docbook:55
-msgid "Read <xref linkend=\"tutorial\"/> for a tutorial with step-by-step instructions. The source code for the tutorial is included in the distribution in the <literal>doc/reference/tutorial/</literal> directory."
-msgstr "ãèªãã§ãã ããã æ®µéçã«è§£èª¬ãã¦ããã¾ãã ãã¥ã¼ããªã¢ã«ã®ã½ã¼ã¹ã³ã¼ãã¯ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>doc/reference/tutorial</literal> ãã£ã¬ã¯ããªã«å«ã¾ãã¦ãã¾ãã"
+#. Tag: para
+#: preface.xml:55
+#, no-c-format
+msgid ""
+"Read <xref linkend=\"tutorial\"/> for a tutorial with step-by-step "
+"instructions. The source code for the tutorial is included in the "
+"distribution in the <literal>doc/reference/tutorial/</literal> directory."
+msgstr ""
+"<xref linkend=\"tutorial\"/> ãèªãã§ãã ããã æ®µéçã«è§£èª¬ãã¦ããã¾ãã "
+"ãã¥ã¼ããªã¢ã«ã®ã½ã¼ã¹ã³ã¼ãã¯ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>doc/"
+"reference/tutorial</literal> ãã£ã¬ã¯ããªã«å«ã¾ãã¦ãã¾ãã"
-#: index.docbook:63
-msgid "Read <xref linkend=\"architecture\"/> to understand the environments where Hibernate can be used."
-msgstr "ãèªãã§ãHibernateãå©ç¨å¯è½ãªç°å¢ãçè§£ãã¦ãã ããã"
+#. Tag: para
+#: preface.xml:63
+#, no-c-format
+msgid ""
+"Read <xref linkend=\"architecture\"/> to understand the environments where "
+"Hibernate can be used."
+msgstr ""
+"<xref linkend=\"architecture\"/> ãèªãã§ãHibernateãå©ç¨å¯è½ãªç°å¢ãçè§£ã"
+"ã¦ãã ããã"
-#: index.docbook:69
-msgid "Have a look at the <literal>eg/</literal> directory in the Hibernate distribution, it contains a simple standalone application. Copy your JDBC driver to the <literal>lib/</literal> directory and edit <literal>etc/hibernate.properties</literal>, specifying correct values for your database. From a command prompt in the distribution directory, type <literal>ant eg</literal> (using Ant), or under Windows, type <literal>build eg</literal>."
-msgstr "Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>eg/</literal> ãã£ã¬ã¯ããªãè¦ã¦ãã ããã ç°¡åãªã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ãããã¾ãã JDBCãã©ã¤ãã <literal>lib/</literal> ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ã èªåã®ãã¼ã¿ãã¼ã¹ã«åãæ£ããå¤ãæå®ããããã« <literal>etc/hibernate.properties</literal> ãç·¨éãã¦ãã ããã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãã£ã¬ã¯ããªãããã³ãã³ãããã³ããã§ <literal>ant eg</literal> ã¨ã¿ã¤ããã¦ãã ããï¼Antã使ãã¾ãï¼ã ã¾ãWindowsç°å¢ã§ã¯ <literal>build eg</literal> ã¨ã¿ã¤ããã¦ãã ããã"
+#. Tag: para
+#: preface.xml:69
+#, no-c-format
+msgid ""
+"Have a look at the <literal>eg/</literal> directory in the Hibernate "
+"distribution, it contains a simple standalone application. Copy your JDBC "
+"driver to the <literal>lib/</literal> directory and edit <literal>etc/"
+"hibernate.properties</literal>, specifying correct values for your database. "
+"From a command prompt in the distribution directory, type <literal>ant eg</"
+"literal> (using Ant), or under Windows, type <literal>build eg</literal>."
+msgstr ""
+"Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>eg/</literal> ãã£ã¬ã¯ããªãè¦ã¦ã"
+"ã ããã ç°¡åãªã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ãããã¾ãã JDBCãã©ã¤ãã "
+"<literal>lib/</literal> ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ã èªåã®ãã¼ã¿ãã¼ã¹ã«åãæ£"
+"ããå¤ãæå®ããããã« <literal>etc/hibernate.properties</literal> ãç·¨éãã¦"
+"ãã ããã ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãã£ã¬ã¯ããªãããã³ãã³ãããã³ããã§ "
+"<literal>ant eg</literal> ã¨ã¿ã¤ããã¦ãã ããï¼Antã使ãã¾ãï¼ã ã¾ãWindows"
+"ç°å¢ã§ã¯ <literal>build eg</literal> ã¨ã¿ã¤ããã¦ãã ããã"
-#: index.docbook:80
-msgid "Use this reference documentation as your primary source of information. Consider reading <emphasis>Java Persistence with Hibernate</emphasis> (http://www.manning.com/bauer2) if you need more help with application design or if you prefer a step-by-step tutorial. Also visit http://caveatemptor.hibernate.org and download the example application for Java Persistence with Hibernate."
-msgstr "ãã®ãªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã第ä¸ã®æ
å ±æºã¨ãã¦å©ç¨ãã¦ãã ããã ã¢ããªã±ã¼ã·ã§ã³è¨è¨ã«ã¤ãã¦ã®ãããªãæ
å ±ãæ®µéçãªãã¥ã¼ããªã¢ã«ãæ¢ãã¦ãããªãã <emphasis>Java Persistence with Hibernate</emphasis>ï¼http://www.manning.com/bauer2ï¼ ããããããã¾ãã ã¾ãhttp://caveatemptor.hibernate.orgãã Java Persistence with Hibernateã®ä¾é¡ã®ã¢ããªã±ã¼ã·ã§ã³ããã¦ã³ãã¼ãã§ãã¾ãã"
+#. Tag: para
+#: preface.xml:80
+#, no-c-format
+msgid ""
+"Use this reference documentation as your primary source of information. "
+"Consider reading <emphasis>Java Persistence with Hibernate</emphasis> "
+"(http://www.manning.com/bauer2) if you need more help with application "
+"design or if you prefer a step-by-step tutorial. Also visit http://"
+"caveatemptor.hibernate.org and download the example application for Java "
+"Persistence with Hibernate."
+msgstr ""
+"ãã®ãªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã第ä¸ã®æ
å ±æºã¨ãã¦å©ç¨ãã¦ãã ããã ã¢ããªã±ã¼"
+"ã·ã§ã³è¨è¨ã«ã¤ãã¦ã®ãããªãæ
å ±ãæ®µéçãªãã¥ã¼ããªã¢ã«ãæ¢ãã¦ãããªãã "
+"<emphasis>Java Persistence with Hibernate</emphasis>ï¼http://www.manning.com/"
+"bauer2ï¼ ããããããã¾ãã ã¾ãhttp://caveatemptor.hibernate.orgãã Java "
+"Persistence with Hibernateã®ä¾é¡ã®ã¢ããªã±ã¼ã·ã§ã³ããã¦ã³ãã¼ãã§ãã¾ãã"
-#: index.docbook:90
+#. Tag: para
+#: preface.xml:90
+#, no-c-format
msgid "FAQs are answered on the Hibernate website."
msgstr "FAQã¯Hibernateã¦ã§ããµã¤ãã«ããã¾ãã"
-#: index.docbook:95
-msgid "Third party demos, examples, and tutorials are linked on the Hibernate website."
-msgstr "ãµã¼ããã¼ãã£ã®ãã¢ãä¾ããã¥ã¼ããªã¢ã«ã¯Hibernateã¦ã§ããµã¤ãã«ãªã³ã¯ãããã¾ãã"
+#. Tag: para
+#: preface.xml:95
+#, no-c-format
+msgid ""
+"Third party demos, examples, and tutorials are linked on the Hibernate "
+"website."
+msgstr ""
+"ãµã¼ããã¼ãã£ã®ãã¢ãä¾ããã¥ã¼ããªã¢ã«ã¯Hibernateã¦ã§ããµã¤ãã«ãªã³ã¯ããã"
+"ã¾ãã"
-#: index.docbook:101
-msgid "The Community Area on the Hibernate website is a good resource for design patterns and various integration solutions (Tomcat, JBoss AS, Struts, EJB, etc.)."
-msgstr "Hibernateã¦ã§ããµã¤ãã®ã³ãã¥ããã£ã¨ãªã¢ã¯ããã¶ã¤ã³ãã¿ã¼ã³ããã¾ãã¾ãªçµ±åã½ãªã¥ã¼ã·ã§ã³ ï¼Tomcat, JBoss AS, Struts, EJB, çï¼ã«ã¤ãã¦ã®ããæ
å ±æºã§ãã"
+#. Tag: para
+#: preface.xml:101
+#, no-c-format
+msgid ""
+"The Community Area on the Hibernate website is a good resource for design "
+"patterns and various integration solutions (Tomcat, JBoss AS, Struts, EJB, "
+"etc.)."
+msgstr ""
+"Hibernateã¦ã§ããµã¤ãã®ã³ãã¥ããã£ã¨ãªã¢ã¯ããã¶ã¤ã³ãã¿ã¼ã³ããã¾ãã¾ãªçµ±å"
+"ã½ãªã¥ã¼ã·ã§ã³ ï¼Tomcat, JBoss AS, Struts, EJB, çï¼ã«ã¤ãã¦ã®ããæ
å ±æºã§"
+"ãã"
-#: index.docbook:109
-msgid "If you have questions, use the user forum linked on the Hibernate website. We also provide a JIRA issue trackings system for bug reports and feature requests. If you are interested in the development of Hibernate, join the developer mailing list. If you are interested in translating this documentation into your language, contact us on the developer mailing list."
-msgstr "質åãããã°Hibernateã¦ã§ããµã¤ãã®ã¦ã¼ã¶ãã©ã¼ã©ã ãæ´»ç¨ãã¦ãã ããã ã¾ããã°ã¬ãã¼ãã¨ãã£ã¼ãã£ãªã¯ã¨ã¹ãã®ããJIRA課é¡è¿½è·¡ã·ã¹ãã ãç¨æãã¦ãã¾ãã Hibernateã®éçºã«èå³ãããã°ãéçºè
ã¡ã¼ãªã³ã°ãªã¹ãã«åå ãã¦ãã ããã ãã®ããã¥ã¡ã³ããããªãã®å½ã®è¨èã«ç¿»è¨³ãããå ´åã¯ã éçºè
ã¡ã¼ãªã³ã°ãªã¹ãã§ç§ãã¡ã«ã³ã³ã¿ã¯ããåã£ã¦ãã ããã"
+#. Tag: para
+#: preface.xml:109
+#, no-c-format
+msgid ""
+"If you have questions, use the user forum linked on the Hibernate website. "
+"We also provide a JIRA issue trackings system for bug reports and feature "
+"requests. If you are interested in the development of Hibernate, join the "
+"developer mailing list. If you are interested in translating this "
+"documentation into your language, contact us on the developer mailing list."
+msgstr ""
+"質åãããã°Hibernateã¦ã§ããµã¤ãã®ã¦ã¼ã¶ãã©ã¼ã©ã ãæ´»ç¨ãã¦ãã ããã ã¾ã"
+"ãã°ã¬ãã¼ãã¨ãã£ã¼ãã£ãªã¯ã¨ã¹ãã®ããJIRA課é¡è¿½è·¡ã·ã¹ãã ãç¨æãã¦ãã¾"
+"ãã Hibernateã®éçºã«èå³ãããã°ãéçºè
ã¡ã¼ãªã³ã°ãªã¹ãã«åå ãã¦ãã ã"
+"ãã ãã®ããã¥ã¡ã³ããããªãã®å½ã®è¨èã«ç¿»è¨³ãããå ´åã¯ã éçºè
ã¡ã¼ãªã³ã°"
+"ãªã¹ãã§ç§ãã¡ã«ã³ã³ã¿ã¯ããåã£ã¦ãã ããã"
-#: index.docbook:117
-msgid "Commercial development support, production support, and training for Hibernate is available through JBoss Inc. (see http://www.hibernate.org/SupportTraining/). Hibernate is a Professional Open Source project and a critical component of the JBoss Enterprise Middleware System (JEMS) suite of products."
-msgstr "åç¨éçºã®ãµãã¼ãã製åã®ãµãã¼ããHibernateã®ãã¬ã¼ãã³ã°ã¯JBoss Inc.ãæä¾ãã¦ãã¾ã ï¼http://www.hibernate.org/SupportTraining/ãè¦ã¦ãã ããï¼ã Hibernateã¯Professional Open Sourceããã¸ã§ã¯ãã ããã¦JBoss Enterprise Middleware Systemï¼JEMSï¼ãããã¯ãã¹ã¤ã¼ãã®ã¯ãªãã£ã«ã«ã³ã³ãã¼ãã³ãã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: preface.xml:117
+#, no-c-format
+msgid ""
+"Commercial development support, production support, and training for "
+"Hibernate is available through JBoss Inc. (see http://www.hibernate.org/"
+"SupportTraining/). Hibernate is a Professional Open Source project and a "
+"critical component of the JBoss Enterprise Middleware System (JEMS) suite of "
+"products."
+msgstr ""
+"åç¨éçºã®ãµãã¼ãã製åã®ãµãã¼ããHibernateã®ãã¬ã¼ãã³ã°ã¯JBoss Inc.ãæä¾"
+"ãã¦ãã¾ã ï¼http://www.hibernate.org/SupportTraining/ãè¦ã¦ãã ããï¼ã "
+"Hibernateã¯Professional Open Sourceããã¸ã§ã¯ãã ããã¦JBoss Enterprise "
+"Middleware Systemï¼JEMSï¼ãããã¯ãã¹ã¤ã¼ãã®ã¯ãªãã£ã«ã«ã³ã³ãã¼ãã³ãã§ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/query_criteria.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/query_criteria.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/query_criteria.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,672 +1,773 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: query_criteria.xml:5
+#, no-c-format
msgid "Criteria Queries"
msgstr "Criteriaã¯ã¨ãª"
-#: index.docbook:7
+#. Tag: para
+#: query_criteria.xml:7
+#, no-c-format
msgid "Hibernate features an intuitive, extensible criteria query API."
msgstr "Hibernateã«ã¯ãç´æçã§æ¡å¼µå¯è½ãªcriteriaã¯ã¨ãªAPIãç¨æããã¦ãã¾ãã"
-#: index.docbook:12
+#. Tag: title
+#: query_criteria.xml:12
+#, no-c-format
msgid "Creating a <literal>Criteria</literal> instance"
msgstr "<literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ä½æ"
-#: index.docbook:14
-msgid "The interface <literal>org.hibernate.Criteria</literal> represents a query against a particular persistent class. The <literal>Session</literal> is a factory for <literal>Criteria</literal> instances."
-msgstr "<literal>org.hibernate.Criteria</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ç¹å®ã®æ°¸ç¶æ§ã¯ã©ã¹ã«å¯¾ããã¯ã¨ãªã表ç¾ãã¾ãã <literal>Session</literal> 㯠<literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ã¯ããªã§ãã"
+#. Tag: para
+#: query_criteria.xml:14
+#, no-c-format
+msgid ""
+"The interface <literal>org.hibernate.Criteria</literal> represents a query "
+"against a particular persistent class. The <literal>Session</literal> is a "
+"factory for <literal>Criteria</literal> instances."
+msgstr ""
+"<literal>org.hibernate.Criteria</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ç¹å®ã®æ°¸ç¶æ§ã¯ã©"
+"ã¹ã«å¯¾ããã¯ã¨ãªã表ç¾ãã¾ãã <literal>Session</literal> 㯠"
+"<literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ã¯ããªã§ãã"
-#: index.docbook:20
+#. Tag: programlisting
+#: query_criteria.xml:20
+#, no-c-format
msgid ""
- "<![CDATA[Criteria crit = sess.createCriteria(Cat.class);\n"
- "crit.setMaxResults(50);\n"
- "List cats = crit.list();]]>"
+"<![CDATA[Criteria crit = sess.createCriteria(Cat.class);\n"
+"crit.setMaxResults(50);\n"
+"List cats = crit.list();]]>"
msgstr ""
- "<![CDATA[Criteria crit = sess.createCriteria(Cat.class);\n"
- "crit.setMaxResults(50);\n"
- "List cats = crit.list();]]>"
-#: index.docbook:25
+#. Tag: title
+#: query_criteria.xml:25
+#, no-c-format
msgid "Narrowing the result set"
msgstr "ãªã¶ã«ãã»ããã®çµè¾¼ã¿"
-#: index.docbook:27
-msgid "An individual query criterion is an instance of the interface <literal>org.hibernate.criterion.Criterion</literal>. The class <literal>org.hibernate.criterion.Restrictions</literal> defines factory methods for obtaining certain built-in <literal>Criterion</literal> types."
-msgstr "<literal>org.hibernate.criterion.Criterion</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã åå¥ã®ã¯ã¨ãªã¯ã©ã¤ããªãªã³ï¼åãåããã®å¤å®åºæºï¼ã表ãã¾ãã <literal>org.hibernate.criterion.Restrictions</literal> ã¯ã©ã¹ã¯ãããçµã¿è¾¼ã¿ã® <literal>Criterion</literal> åãåå¾ããããã®ãã¡ã¯ããªã¡ã½ãããæã£ã¦ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:27
+#, no-c-format
+msgid ""
+"An individual query criterion is an instance of the interface <literal>org."
+"hibernate.criterion.Criterion</literal>. The class <literal>org.hibernate."
+"criterion.Restrictions</literal> defines factory methods for obtaining "
+"certain built-in <literal>Criterion</literal> types."
+msgstr ""
+"<literal>org.hibernate.criterion.Criterion</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¤ã³ã¹"
+"ã¿ã³ã¹ã¯ã åå¥ã®ã¯ã¨ãªã¯ã©ã¤ããªãªã³ï¼åãåããã®å¤å®åºæºï¼ã表ãã¾ãã "
+"<literal>org.hibernate.criterion.Restrictions</literal> ã¯ã©ã¹ã¯ãããçµã¿è¾¼"
+"ã¿ã® <literal>Criterion</literal> åãåå¾ããããã®ãã¡ã¯ããªã¡ã½ãããæã£"
+"ã¦ãã¾ãã"
-#: index.docbook:35
+#. Tag: programlisting
+#: query_criteria.xml:35
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .add( Restrictions.between(\"weight\", minWeight, maxWeight) )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
+" .add( Restrictions.between(\"weight\", minWeight, maxWeight) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .add( Restrictions.between(\"weight\", minWeight, maxWeight) )\n"
- " .list();]]>"
-#: index.docbook:37
+#. Tag: para
+#: query_criteria.xml:37
+#, no-c-format
msgid "Restrictions may be grouped logically."
msgstr "Restrictionï¼éå®ï¼ã¯ãè«ççã«ã°ã«ã¼ãåã§ãã¾ãã"
-#: index.docbook:41
+#. Tag: programlisting
+#: query_criteria.xml:41
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .add( Restrictions.or(\n"
- " Restrictions.eq( \"age\", new Integer(0) ),\n"
- " Restrictions.isNull(\"age\")\n"
- " ) )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
+" .add( Restrictions.or(\n"
+" Restrictions.eq( \"age\", new Integer(0) ),\n"
+" Restrictions.isNull(\"age\")\n"
+" ) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .add( Restrictions.or(\n"
- " Restrictions.eq( \"age\", new Integer(0) ),\n"
- " Restrictions.isNull(\"age\")\n"
- " ) )\n"
- " .list();]]>"
-#: index.docbook:43
+#. Tag: programlisting
+#: query_criteria.xml:43
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.in( \"name\", new String[] { \"Fritz\", \"Izi\", \"Pk\" } ) )\n"
- " .add( Restrictions.disjunction()\n"
- " .add( Restrictions.isNull(\"age\") )\n"
- " .add( Restrictions.eq(\"age\", new Integer(0) ) )\n"
- " .add( Restrictions.eq(\"age\", new Integer(1) ) )\n"
- " .add( Restrictions.eq(\"age\", new Integer(2) ) )\n"
- " ) )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.in( \"name\", new String[] { \"Fritz\", \"Izi\", \"Pk"
+"\" } ) )\n"
+" .add( Restrictions.disjunction()\n"
+" .add( Restrictions.isNull(\"age\") )\n"
+" .add( Restrictions.eq(\"age\", new Integer(0) ) )\n"
+" .add( Restrictions.eq(\"age\", new Integer(1) ) )\n"
+" .add( Restrictions.eq(\"age\", new Integer(2) ) )\n"
+" ) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.in( \"name\", new String[] { \"Fritz\", \"Izi\", \"Pk\" } ) )\n"
- " .add( Restrictions.disjunction()\n"
- " .add( Restrictions.isNull(\"age\") )\n"
- " .add( Restrictions.eq(\"age\", new Integer(0) ) )\n"
- " .add( Restrictions.eq(\"age\", new Integer(1) ) )\n"
- " .add( Restrictions.eq(\"age\", new Integer(2) ) )\n"
- " ) )\n"
- " .list();]]>"
-#: index.docbook:45
-msgid "There are quite a range of built-in criterion types (<literal>Restrictions</literal> subclasses), but one that is especially useful lets you specify SQL directly."
-msgstr "å
ã
ããCriterionåï¼<literal>Restrictions</literal> ã®ãµãã¯ã©ã¹ï¼ ã¯ããªãã®ç¯å²ã«åã³ã¾ãããç¹ã«æç¨ãªã®ã¯SQLãç´æ¥æå®ã§ãããã®ã§ãã"
+#. Tag: para
+#: query_criteria.xml:45
+#, no-c-format
+msgid ""
+"There are quite a range of built-in criterion types (<literal>Restrictions</"
+"literal> subclasses), but one that is especially useful lets you specify SQL "
+"directly."
+msgstr ""
+"å
ã
ããCriterionåï¼<literal>Restrictions</literal> ã®ãµãã¯ã©ã¹ï¼ ã¯ããªã"
+"ã®ç¯å²ã«åã³ã¾ãããç¹ã«æç¨ãªã®ã¯SQLãç´æ¥æå®ã§ãããã®ã§ãã"
-#: index.docbook:50
+#. Tag: programlisting
+#: query_criteria.xml:50
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.sqlRestriction(\"lower({alias}.name) like lower(?)\", \"Fritz%\", Hibernate.STRING) )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.sqlRestriction(\"lower({alias}.name) like lower(?)\", "
+"\"Fritz%\", Hibernate.STRING) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.sqlRestriction(\"lower({alias}.name) like lower(?)\", \"Fritz%\", Hibernate.STRING) )\n"
- " .list();]]>"
-#: index.docbook:52
-msgid "The <literal>{alias}</literal> placeholder with be replaced by the row alias of the queried entity."
-msgstr "<literal>{alias}</literal> ã¨ãããã¬ã¼ã¹ãã«ãã¯ã åãåãããåããã¨ã³ãã£ãã£ã®è¡ã®å¥åã«ãã£ã¦ç½®ãæãããã¾ãã"
+#. Tag: para
+#: query_criteria.xml:52
+#, no-c-format
+msgid ""
+"The <literal>{alias}</literal> placeholder with be replaced by the row alias "
+"of the queried entity."
+msgstr ""
+"<literal>{alias}</literal> ã¨ãããã¬ã¼ã¹ãã«ãã¯ã åãåãããåããã¨ã³"
+"ãã£ãã£ã®è¡ã®å¥åã«ãã£ã¦ç½®ãæãããã¾ãã"
-#: index.docbook:57
-msgid "An alternative approach to obtaining a criterion is to get it from a <literal>Property</literal> instance. You can create a <literal>Property</literal> by calling <literal>Property.forName()</literal>."
-msgstr "criterionãå¾ãå¥ã®ææ®µã¯ã <literal>Property</literal> ã¤ã³ã¹ã¿ã³ã¹ããåå¾ãããã¨ã§ãã <literal>Property.forName()</literal> ãå¼ã³åºãã¦ã <literal>Property</literal> ã¤ã³ã¹ã¿ã³ã¹ã使ã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:57
+#, no-c-format
+msgid ""
+"An alternative approach to obtaining a criterion is to get it from a "
+"<literal>Property</literal> instance. You can create a <literal>Property</"
+"literal> by calling <literal>Property.forName()</literal>."
+msgstr ""
+"criterionãå¾ãå¥ã®ææ®µã¯ã <literal>Property</literal> ã¤ã³ã¹ã¿ã³ã¹ããåå¾"
+"ãããã¨ã§ãã <literal>Property.forName()</literal> ãå¼ã³åºãã¦ã "
+"<literal>Property</literal> ã¤ã³ã¹ã¿ã³ã¹ã使ã§ãã¾ãã"
-#: index.docbook:63
+#. Tag: programlisting
+#: query_criteria.xml:63
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "Property age = Property.forName(\"age\");\n"
- "List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.disjunction()\n"
- " .add( age.isNull() )\n"
- " .add( age.eq( new Integer(0) ) )\n"
- " .add( age.eq( new Integer(1) ) )\n"
- " .add( age.eq( new Integer(2) ) )\n"
- " ) )\n"
- " .add( Property.forName(\"name\").in( new String[] { \"Fritz\", \"Izi\", \"Pk\" } ) )\n"
- " .list();]]>"
+"<![CDATA[\n"
+"Property age = Property.forName(\"age\");\n"
+"List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.disjunction()\n"
+" .add( age.isNull() )\n"
+" .add( age.eq( new Integer(0) ) )\n"
+" .add( age.eq( new Integer(1) ) )\n"
+" .add( age.eq( new Integer(2) ) )\n"
+" ) )\n"
+" .add( Property.forName(\"name\").in( new String[] { \"Fritz\", \"Izi\", "
+"\"Pk\" } ) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[\n"
- "Property age = Property.forName(\"age\");\n"
- "List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.disjunction()\n"
- " .add( age.isNull() )\n"
- " .add( age.eq( new Integer(0) ) )\n"
- " .add( age.eq( new Integer(1) ) )\n"
- " .add( age.eq( new Integer(2) ) )\n"
- " ) )\n"
- " .add( Property.forName(\"name\").in( new String[] { \"Fritz\", \"Izi\", \"Pk\" } ) )\n"
- " .list();]]>"
-#: index.docbook:68
+#. Tag: title
+#: query_criteria.xml:68
+#, no-c-format
msgid "Ordering the results"
msgstr "çµæã®æ´å"
-#: index.docbook:70
-msgid "You may order the results using <literal>org.hibernate.criterion.Order</literal>."
-msgstr "<literal>org.hibernate.criterion.Order</literal> ã使ã£ã¦çµæãä¸¦ã³æ¿ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:70
+#, no-c-format
+msgid ""
+"You may order the results using <literal>org.hibernate.criterion.Order</"
+"literal>."
+msgstr ""
+"<literal>org.hibernate.criterion.Order</literal> ã使ã£ã¦çµæãä¸¦ã³æ¿ãããã¨"
+"ãã§ãã¾ãã"
-#: index.docbook:74
+#. Tag: programlisting
+#: query_criteria.xml:74
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"F%\")\n"
- " .addOrder( Order.asc(\"name\") )\n"
- " .addOrder( Order.desc(\"age\") )\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.like(\"name\", \"F%\")\n"
+" .addOrder( Order.asc(\"name\") )\n"
+" .addOrder( Order.desc(\"age\") )\n"
+" .setMaxResults(50)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"F%\")\n"
- " .addOrder( Order.asc(\"name\") )\n"
- " .addOrder( Order.desc(\"age\") )\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
-#: index.docbook:76
+#. Tag: programlisting
+#: query_criteria.xml:76
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Property.forName(\"name\").like(\"F%\") )\n"
- " .addOrder( Property.forName(\"name\").asc() )\n"
- " .addOrder( Property.forName(\"age\").desc() )\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Property.forName(\"name\").like(\"F%\") )\n"
+" .addOrder( Property.forName(\"name\").asc() )\n"
+" .addOrder( Property.forName(\"age\").desc() )\n"
+" .setMaxResults(50)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Property.forName(\"name\").like(\"F%\") )\n"
- " .addOrder( Property.forName(\"name\").asc() )\n"
- " .addOrder( Property.forName(\"age\").desc() )\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
-#: index.docbook:81
+#. Tag: title
+#: query_criteria.xml:81
+#, no-c-format
msgid "Associations"
-msgstr "<title>é¢é£</title>"
+msgstr "é¢é£"
-#: index.docbook:83
-msgid "You may easily specify constraints upon related entities by navigating associations using <literal>createCriteria()</literal>."
-msgstr "<literal>createCriteria()</literal> ã使ããé¢é£ãããã²ã¼ããããã¨ã§ã 容æã«é¢ä¿ããã¨ã³ãã£ãã£ã«å¶ç´ãæå®ã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:83
+#, no-c-format
+msgid ""
+"You may easily specify constraints upon related entities by navigating "
+"associations using <literal>createCriteria()</literal>."
+msgstr ""
+"<literal>createCriteria()</literal> ã使ããé¢é£ãããã²ã¼ããããã¨ã§ã 容æ"
+"ã«é¢ä¿ããã¨ã³ãã£ãã£ã«å¶ç´ãæå®ã§ãã¾ãã"
-#: index.docbook:88
+#. Tag: programlisting
+#: query_criteria.xml:88
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"F%\") )\n"
- " .createCriteria(\"kittens\")\n"
- " .add( Restrictions.like(\"name\", \"F%\") )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.like(\"name\", \"F%\") )\n"
+" .createCriteria(\"kittens\")\n"
+" .add( Restrictions.like(\"name\", \"F%\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"F%\") )\n"
- " .createCriteria(\"kittens\")\n"
- " .add( Restrictions.like(\"name\", \"F%\") )\n"
- " .list();]]>"
-#: index.docbook:90
-msgid "note that the second <literal>createCriteria()</literal> returns a new instance of <literal>Criteria</literal>, which refers to the elements of the <literal>kittens</literal> collection."
-msgstr "2çªç®ã® <literal>createCriteria()</literal> ã¯ã<literal>kittens</literal> ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãåç
§ããæ°ãã <literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿ããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: query_criteria.xml:90
+#, no-c-format
+msgid ""
+"note that the second <literal>createCriteria()</literal> returns a new "
+"instance of <literal>Criteria</literal>, which refers to the elements of the "
+"<literal>kittens</literal> collection."
+msgstr ""
+"2çªç®ã® <literal>createCriteria()</literal> ã¯ã<literal>kittens</literal> ã³"
+"ã¬ã¯ã·ã§ã³ã®è¦ç´ ãåç
§ããæ°ãã <literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿"
+"ããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:96
+#. Tag: para
+#: query_criteria.xml:96
+#, no-c-format
msgid "The following, alternate form is useful in certain circumstances."
msgstr "以ä¸ã®ãããªæ¹æ³ããç¶æ³ã«ããæç¨ã§ãã"
-#: index.docbook:100
+#. Tag: programlisting
+#: query_criteria.xml:100
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .createAlias(\"kittens\", \"kt\")\n"
- " .createAlias(\"mate\", \"mt\")\n"
- " .add( Restrictions.eqProperty(\"kt.name\", \"mt.name\") )\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .createAlias(\"kittens\", \"kt\")\n"
+" .createAlias(\"mate\", \"mt\")\n"
+" .add( Restrictions.eqProperty(\"kt.name\", \"mt.name\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .createAlias(\"kittens\", \"kt\")\n"
- " .createAlias(\"mate\", \"mt\")\n"
- " .add( Restrictions.eqProperty(\"kt.name\", \"mt.name\") )\n"
- " .list();]]>"
-#: index.docbook:102
-msgid "(<literal>createAlias()</literal> does not create a new instance of <literal>Criteria</literal>.)"
-msgstr "ï¼<literal>createAlias()</literal> ã¯æ°ãã <literal>Criteria</literal> ã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãããï¼"
+#. Tag: para
+#: query_criteria.xml:102
+#, no-c-format
+msgid ""
+"(<literal>createAlias()</literal> does not create a new instance of "
+"<literal>Criteria</literal>.)"
+msgstr ""
+"ï¼<literal>createAlias()</literal> ã¯æ°ãã <literal>Criteria</literal> ã¤ã³"
+"ã¹ã¿ã³ã¹ã使ãã¾ãããï¼"
-#: index.docbook:107
-msgid "Note that the kittens collections held by the <literal>Cat</literal> instances returned by the previous two queries are <emphasis>not</emphasis> pre-filtered by the criteria! If you wish to retrieve just the kittens that match the criteria, you must use a <literal>ResultTransformer</literal>."
-msgstr "åã®2ã¤ã®ã¯ã¨ãªã«ãã£ã¦è¿ããã <literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã«ãã£ã¦ä¿æãããkittensã³ã¬ã¯ã·ã§ã³ã¯ã criteriaã«ãã£ã¦äºåã«ãã£ã«ã¿ãªã³ã° <emphasis>ãããªã</emphasis> ãã¨ã«æ³¨æãã¦ãã ããã ããcriteriaã«é©åããkittenãåå¾ããããªãã <literal>ResultTransformer</literal> ã使ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: query_criteria.xml:107
+#, no-c-format
+msgid ""
+"Note that the kittens collections held by the <literal>Cat</literal> "
+"instances returned by the previous two queries are <emphasis>not</emphasis> "
+"pre-filtered by the criteria! If you wish to retrieve just the kittens that "
+"match the criteria, you must use a <literal>ResultTransformer</literal>."
+msgstr ""
+"åã®2ã¤ã®ã¯ã¨ãªã«ãã£ã¦è¿ããã <literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã«ãã£ã¦ä¿"
+"æãããkittensã³ã¬ã¯ã·ã§ã³ã¯ã criteriaã«ãã£ã¦äºåã«ãã£ã«ã¿ãªã³ã° "
+"<emphasis>ãããªã</emphasis> ãã¨ã«æ³¨æãã¦ãã ããã ããcriteriaã«é©åãã"
+"kittenãåå¾ããããªãã <literal>ResultTransformer</literal> ã使ããªããã°"
+"ãªãã¾ããã"
-#: index.docbook:114
+#. Tag: programlisting
+#: query_criteria.xml:114
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .createCriteria(\"kittens\", \"kt\")\n"
- " .add( Restrictions.eq(\"name\", \"F%\") )\n"
- " .setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP)\n"
- " .list();\n"
- "Iterator iter = cats.iterator();\n"
- "while ( iter.hasNext() ) {\n"
- " Map map = (Map) iter.next();\n"
- " Cat cat = (Cat) map.get(Criteria.ROOT_ALIAS);\n"
- " Cat kitten = (Cat) map.get(\"kt\");\n"
- "}]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .createCriteria(\"kittens\", \"kt\")\n"
+" .add( Restrictions.eq(\"name\", \"F%\") )\n"
+" .setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP)\n"
+" .list();\n"
+"Iterator iter = cats.iterator();\n"
+"while ( iter.hasNext() ) {\n"
+" Map map = (Map) iter.next();\n"
+" Cat cat = (Cat) map.get(Criteria.ROOT_ALIAS);\n"
+" Cat kitten = (Cat) map.get(\"kt\");\n"
+"}]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .createCriteria(\"kittens\", \"kt\")\n"
- " .add( Restrictions.eq(\"name\", \"F%\") )\n"
- " .setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP)\n"
- " .list();\n"
- "Iterator iter = cats.iterator();\n"
- "while ( iter.hasNext() ) {\n"
- " Map map = (Map) iter.next();\n"
- " Cat cat = (Cat) map.get(Criteria.ROOT_ALIAS);\n"
- " Cat kitten = (Cat) map.get(\"kt\");\n"
- "}]]>"
-#: index.docbook:119
+#. Tag: title
+#: query_criteria.xml:119
+#, no-c-format
msgid "Dynamic association fetching"
msgstr "é¢é£ã®åçãã§ãã"
-#: index.docbook:121
-msgid "You may specify association fetching semantics at runtime using <literal>setFetchMode()</literal>."
-msgstr "<literal>setFetchMode()</literal> ã使ãã å®è¡æã«é¢é£ã®å¾©å
æ¹æ³ãæå®ãã¦ãããã§ãã"
+#. Tag: para
+#: query_criteria.xml:121
+#, no-c-format
+msgid ""
+"You may specify association fetching semantics at runtime using "
+"<literal>setFetchMode()</literal>."
+msgstr ""
+"<literal>setFetchMode()</literal> ã使ãã å®è¡æã«é¢é£ã®å¾©å
æ¹æ³ãæå®ãã¦ã"
+"ããã§ãã"
-#: index.docbook:126
+#. Tag: programlisting
+#: query_criteria.xml:126
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .setFetchMode(\"mate\", FetchMode.EAGER)\n"
- " .setFetchMode(\"kittens\", FetchMode.EAGER)\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
+" .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
+" .setFetchMode(\"mate\", FetchMode.EAGER)\n"
+" .setFetchMode(\"kittens\", FetchMode.EAGER)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createCriteria(Cat.class)\n"
- " .add( Restrictions.like(\"name\", \"Fritz%\") )\n"
- " .setFetchMode(\"mate\", FetchMode.EAGER)\n"
- " .setFetchMode(\"kittens\", FetchMode.EAGER)\n"
- " .list();]]>"
-#: index.docbook:128
-msgid "This query will fetch both <literal>mate</literal> and <literal>kittens</literal> by outer join. See <xref linkend=\"performance-fetching\"/> for more information."
-msgstr "ãã®ã¯ã¨ãªã¯å¤é¨çµåã«ãã <literal>mate</literal> 㨠<literal>kittens</literal> ã®ä¸¡æ¹ããã§ãããã¾ãã ããå¤ãã®æ
å ±ã¯ <xref linkend=\"performance-fetching\"/> ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: query_criteria.xml:128
+#, no-c-format
+msgid ""
+"This query will fetch both <literal>mate</literal> and <literal>kittens</"
+"literal> by outer join. See <xref linkend=\"performance-fetching\"/> for "
+"more information."
+msgstr ""
+"ãã®ã¯ã¨ãªã¯å¤é¨çµåã«ãã <literal>mate</literal> 㨠<literal>kittens</"
+"literal> ã®ä¸¡æ¹ããã§ãããã¾ãã ããå¤ãã®æ
å ±ã¯ <xref linkend="
+"\"performance-fetching\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:136
+#. Tag: title
+#: query_criteria.xml:136
+#, no-c-format
msgid "Example queries"
msgstr "ã¯ã¨ãªã®ä¾"
-#: index.docbook:138
-msgid "The class <literal>org.hibernate.criterion.Example</literal> allows you to construct a query criterion from a given instance."
-msgstr "<literal>org.hibernate.criterion.Example</literal> ã¯ã©ã¹ã¯ã ä¸ããããã¤ã³ã¹ã¿ã³ã¹ããã¯ã¨ãªã¯ã©ã¤ããªãªã³ãæ§ç¯ã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:138
+#, no-c-format
+msgid ""
+"The class <literal>org.hibernate.criterion.Example</literal> allows you to "
+"construct a query criterion from a given instance."
+msgstr ""
+"<literal>org.hibernate.criterion.Example</literal> ã¯ã©ã¹ã¯ã ä¸ããããã¤ã³"
+"ã¹ã¿ã³ã¹ããã¯ã¨ãªã¯ã©ã¤ããªãªã³ãæ§ç¯ã§ãã¾ãã"
-#: index.docbook:143
+#. Tag: programlisting
+#: query_criteria.xml:143
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = new Cat();\n"
- "cat.setSex('F');\n"
- "cat.setColor(Color.BLACK);\n"
- "List results = session.createCriteria(Cat.class)\n"
- " .add( Example.create(cat) )\n"
- " .list();]]>"
+"<![CDATA[Cat cat = new Cat();\n"
+"cat.setSex('F');\n"
+"cat.setColor(Color.BLACK);\n"
+"List results = session.createCriteria(Cat.class)\n"
+" .add( Example.create(cat) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[Cat cat = new Cat();\n"
- "cat.setSex('F');\n"
- "cat.setColor(Color.BLACK);\n"
- "List results = session.createCriteria(Cat.class)\n"
- " .add( Example.create(cat) )\n"
- " .list();]]>"
-#: index.docbook:145
-msgid "Version properties, identifiers and associations are ignored. By default, null valued properties are excluded."
-msgstr "ãã¼ã¸ã§ã³ããããã£ãèå¥åãé¢é£ã¯ç¡è¦ããã¾ãã ããã©ã«ãã§ã¯nullå¤ã®ããããã£ã¯é¤å¤ããã¾ãã"
+#. Tag: para
+#: query_criteria.xml:145
+#, no-c-format
+msgid ""
+"Version properties, identifiers and associations are ignored. By default, "
+"null valued properties are excluded."
+msgstr ""
+"ãã¼ã¸ã§ã³ããããã£ãèå¥åãé¢é£ã¯ç¡è¦ããã¾ãã ããã©ã«ãã§ã¯nullå¤ã®ãã"
+"ããã£ã¯é¤å¤ããã¾ãã"
-#: index.docbook:150
+#. Tag: para
+#: query_criteria.xml:150
+#, no-c-format
msgid "You can adjust how the <literal>Example</literal> is applied."
-msgstr "ã©ã®ããã« <literal>Example</literal> ãé©ç¨ããã 調æ´ãããã¨ãã§ãã¾ãã"
+msgstr ""
+"ã©ã®ããã« <literal>Example</literal> ãé©ç¨ããã 調æ´ãããã¨ãã§ãã¾ãã"
-#: index.docbook:154
+#. Tag: programlisting
+#: query_criteria.xml:154
+#, no-c-format
msgid ""
- "<![CDATA[Example example = Example.create(cat)\n"
- " .excludeZeroes() //exclude zero valued properties\n"
- " .excludeProperty(\"color\") //exclude the property named \"color\"\n"
- " .ignoreCase() //perform case insensitive string comparisons\n"
- " .enableLike(); //use like for string comparisons\n"
- "List results = session.createCriteria(Cat.class)\n"
- " .add(example)\n"
- " .list();]]>"
+"<![CDATA[Example example = Example.create(cat)\n"
+" .excludeZeroes() //exclude zero valued properties\n"
+" .excludeProperty(\"color\") //exclude the property named \"color\"\n"
+" .ignoreCase() //perform case insensitive string "
+"comparisons\n"
+" .enableLike(); //use like for string comparisons\n"
+"List results = session.createCriteria(Cat.class)\n"
+" .add(example)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[Example example = Example.create(cat)\n"
- " .excludeZeroes() //exclude zero valued properties\n"
- " .excludeProperty(\"color\") //exclude the property named \"color\"\n"
- " .ignoreCase() //perform case insensitive string comparisons\n"
- " .enableLike(); //use like for string comparisons\n"
- "List results = session.createCriteria(Cat.class)\n"
- " .add(example)\n"
- " .list();]]>"
-#: index.docbook:156
+#. Tag: para
+#: query_criteria.xml:156
+#, no-c-format
msgid "You can even use examples to place criteria upon associated objects."
-msgstr "é¢é£ãªãã¸ã§ã¯ãã«criteriaãæå®ããããã«ãExampleã使ããã¨ãå¯è½ã§ãã"
+msgstr ""
+"é¢é£ãªãã¸ã§ã¯ãã«criteriaãæå®ããããã«ãExampleã使ããã¨ãå¯è½ã§ãã"
-#: index.docbook:160
+#. Tag: programlisting
+#: query_criteria.xml:160
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .add( Example.create(cat) )\n"
- " .createCriteria(\"mate\")\n"
- " .add( Example.create( cat.getMate() ) )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .add( Example.create(cat) )\n"
+" .createCriteria(\"mate\")\n"
+" .add( Example.create( cat.getMate() ) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .add( Example.create(cat) )\n"
- " .createCriteria(\"mate\")\n"
- " .add( Example.create( cat.getMate() ) )\n"
- " .list();]]>"
-#: index.docbook:165
+#. Tag: title
+#: query_criteria.xml:165
+#, no-c-format
msgid "Projections, aggregation and grouping"
msgstr "å°å½±ãéç´ãã°ã«ã¼ãå"
-#: index.docbook:166
-msgid "The class <literal>org.hibernate.criterion.Projections</literal> is a factory for <literal>Projection</literal> instances. We apply a projection to a query by calling <literal>setProjection()</literal>."
-msgstr "<literal>org.hibernate.criterion.Projections</literal> ã¯ã©ã¹ã¯ <literal>Projection</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ã¯ããªã§ãã <literal>setProjection()</literal> ãå¼ã³åºããã¨ã§ã ã¯ã¨ãªã«å°å½±ãé©ç¨ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:166
+#, no-c-format
+msgid ""
+"The class <literal>org.hibernate.criterion.Projections</literal> is a "
+"factory for <literal>Projection</literal> instances. We apply a projection "
+"to a query by calling <literal>setProjection()</literal>."
+msgstr ""
+"<literal>org.hibernate.criterion.Projections</literal> ã¯ã©ã¹ã¯ "
+"<literal>Projection</literal> ã¤ã³ã¹ã¿ã³ã¹ã®ãã¡ã¯ããªã§ãã "
+"<literal>setProjection()</literal> ãå¼ã³åºããã¨ã§ã ã¯ã¨ãªã«å°å½±ãé©ç¨ãã¾"
+"ãã"
-#: index.docbook:172
+#. Tag: programlisting
+#: query_criteria.xml:172
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.rowCount() )\n"
- " .add( Restrictions.eq(\"color\", Color.BLACK) )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.rowCount() )\n"
+" .add( Restrictions.eq(\"color\", Color.BLACK) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.rowCount() )\n"
- " .add( Restrictions.eq(\"color\", Color.BLACK) )\n"
- " .list();]]>"
-#: index.docbook:174
+#. Tag: programlisting
+#: query_criteria.xml:174
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount() )\n"
- " .add( Projections.avg(\"weight\") )\n"
- " .add( Projections.max(\"weight\") )\n"
- " .add( Projections.groupProperty(\"color\") )\n"
- " )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.projectionList()\n"
+" .add( Projections.rowCount() )\n"
+" .add( Projections.avg(\"weight\") )\n"
+" .add( Projections.max(\"weight\") )\n"
+" .add( Projections.groupProperty(\"color\") )\n"
+" )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount() )\n"
- " .add( Projections.avg(\"weight\") )\n"
- " .add( Projections.max(\"weight\") )\n"
- " .add( Projections.groupProperty(\"color\") )\n"
- " )\n"
- " .list();]]>"
-#: index.docbook:176
-msgid "There is no explicit \"group by\" necessary in a criteria query. Certain projection types are defined to be <emphasis>grouping projections</emphasis>, which also appear in the SQL <literal>group by</literal> clause."
-msgstr "å¿
è¦ã§ãã£ã¦ããcriteriaã¯ã¨ãªã«ãgroup byããæç¤ºããå¿
è¦ã¯ããã¾ããã ãã種ã®Projectionå㯠<emphasis>ã°ã«ã¼ãåå°å½±</emphasis> ã¨ãã¦å®ç¾©ããã SQLã® <literal>group by</literal> ç¯ã«ãç¾ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:176
+#, no-c-format
+msgid ""
+"There is no explicit \"group by\" necessary in a criteria query. Certain "
+"projection types are defined to be <emphasis>grouping projections</"
+"emphasis>, which also appear in the SQL <literal>group by</literal> clause."
+msgstr ""
+"å¿
è¦ã§ãã£ã¦ããcriteriaã¯ã¨ãªã«ãgroup byããæç¤ºããå¿
è¦ã¯ããã¾ããã ãã"
+"種ã®Projectionå㯠<emphasis>ã°ã«ã¼ãåå°å½±</emphasis> ã¨ãã¦å®ç¾©ããã SQL"
+"ã® <literal>group by</literal> ç¯ã«ãç¾ãã¾ãã"
-#: index.docbook:182
-msgid "An alias may optionally be assigned to a projection, so that the projected value may be referred to in restrictions or orderings. Here are two different ways to do this:"
-msgstr "ä»»æã§å°å½±ã«å¥åãä»ãããããããå°å½±ãããå¤ã¯restrictionãorderingå
ããåç
§ã§ãã¾ãã å¥åãã¤ããï¼ã¤ã®ç°ãªãæ¹æ³ã示ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:182
+#, no-c-format
+msgid ""
+"An alias may optionally be assigned to a projection, so that the projected "
+"value may be referred to in restrictions or orderings. Here are two "
+"different ways to do this:"
+msgstr ""
+"ä»»æã§å°å½±ã«å¥åãä»ãããããããå°å½±ãããå¤ã¯restrictionãorderingå
ããå"
+"ç
§ã§ãã¾ãã å¥åãã¤ããï¼ã¤ã®ç°ãªãæ¹æ³ã示ãã¾ãã"
-#: index.docbook:188
+#. Tag: programlisting
+#: query_criteria.xml:188
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.alias( Projections.groupProperty(\"color\"), \"colr\" ) )\n"
- " .addOrder( Order.asc(\"colr\") )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.alias( Projections.groupProperty(\"color\"), "
+"\"colr\" ) )\n"
+" .addOrder( Order.asc(\"colr\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.alias( Projections.groupProperty(\"color\"), \"colr\" ) )\n"
- " .addOrder( Order.asc(\"colr\") )\n"
- " .list();]]>"
-#: index.docbook:190
+#. Tag: programlisting
+#: query_criteria.xml:190
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.groupProperty(\"color\").as(\"colr\") )\n"
- " .addOrder( Order.asc(\"colr\") )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.groupProperty(\"color\").as(\"colr\") )\n"
+" .addOrder( Order.asc(\"colr\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.groupProperty(\"color\").as(\"colr\") )\n"
- " .addOrder( Order.asc(\"colr\") )\n"
- " .list();]]>"
-#: index.docbook:192
-msgid "The <literal>alias()</literal> and <literal>as()</literal> methods simply wrap a projection instance in another, aliased, instance of <literal>Projection</literal>. As a shortcut, you can assign an alias when you add the projection to a projection list:"
-msgstr "<literal>alias()</literal> 㨠<literal>as()</literal> ã¡ã½ããã¯ã Projectionã¤ã³ã¹ã¿ã³ã¹ãå¥ã®ååã® <literal>Projection</literal> ã¤ã³ã¹ã¿ã³ã¹ã§ ã©ããããã ãã§ãã ã·ã§ã¼ãã«ããã¨ãã¦ãå°å½±ãå°å½±ãªã¹ãã«è¿½å ããéã«ãå¥åãã¤ãããã¾ãã"
+#. Tag: para
+#: query_criteria.xml:192
+#, no-c-format
+msgid ""
+"The <literal>alias()</literal> and <literal>as()</literal> methods simply "
+"wrap a projection instance in another, aliased, instance of "
+"<literal>Projection</literal>. As a shortcut, you can assign an alias when "
+"you add the projection to a projection list:"
+msgstr ""
+"<literal>alias()</literal> 㨠<literal>as()</literal> ã¡ã½ããã¯ã Projection"
+"ã¤ã³ã¹ã¿ã³ã¹ãå¥ã®ååã® <literal>Projection</literal> ã¤ã³ã¹ã¿ã³ã¹ã§ ã©ãã"
+"ããã ãã§ãã ã·ã§ã¼ãã«ããã¨ãã¦ãå°å½±ãå°å½±ãªã¹ãã«è¿½å ããéã«ãå¥åãã¤"
+"ãããã¾ãã"
-#: index.docbook:199
+#. Tag: programlisting
+#: query_criteria.xml:199
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount(), \"catCountByColor\" )\n"
- " .add( Projections.avg(\"weight\"), \"avgWeight\" )\n"
- " .add( Projections.max(\"weight\"), \"maxWeight\" )\n"
- " .add( Projections.groupProperty(\"color\"), \"color\" )\n"
- " )\n"
- " .addOrder( Order.desc(\"catCountByColor\") )\n"
- " .addOrder( Order.desc(\"avgWeight\") )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.projectionList()\n"
+" .add( Projections.rowCount(), \"catCountByColor\" )\n"
+" .add( Projections.avg(\"weight\"), \"avgWeight\" )\n"
+" .add( Projections.max(\"weight\"), \"maxWeight\" )\n"
+" .add( Projections.groupProperty(\"color\"), \"color\" )\n"
+" )\n"
+" .addOrder( Order.desc(\"catCountByColor\") )\n"
+" .addOrder( Order.desc(\"avgWeight\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount(), \"catCountByColor\" )\n"
- " .add( Projections.avg(\"weight\"), \"avgWeight\" )\n"
- " .add( Projections.max(\"weight\"), \"maxWeight\" )\n"
- " .add( Projections.groupProperty(\"color\"), \"color\" )\n"
- " )\n"
- " .addOrder( Order.desc(\"catCountByColor\") )\n"
- " .addOrder( Order.desc(\"avgWeight\") )\n"
- " .list();]]>"
-#: index.docbook:201
+#. Tag: programlisting
+#: query_criteria.xml:201
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Domestic.class, \"cat\")\n"
- " .createAlias(\"kittens\", \"kit\")\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.property(\"cat.name\"), \"catName\" )\n"
- " .add( Projections.property(\"kit.name\"), \"kitName\" )\n"
- " )\n"
- " .addOrder( Order.asc(\"catName\") )\n"
- " .addOrder( Order.asc(\"kitName\") )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Domestic.class, \"cat\")\n"
+" .createAlias(\"kittens\", \"kit\")\n"
+" .setProjection( Projections.projectionList()\n"
+" .add( Projections.property(\"cat.name\"), \"catName\" )\n"
+" .add( Projections.property(\"kit.name\"), \"kitName\" )\n"
+" )\n"
+" .addOrder( Order.asc(\"catName\") )\n"
+" .addOrder( Order.asc(\"kitName\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Domestic.class, \"cat\")\n"
- " .createAlias(\"kittens\", \"kit\")\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.property(\"cat.name\"), \"catName\" )\n"
- " .add( Projections.property(\"kit.name\"), \"kitName\" )\n"
- " )\n"
- " .addOrder( Order.asc(\"catName\") )\n"
- " .addOrder( Order.asc(\"kitName\") )\n"
- " .list();]]>"
-#: index.docbook:203
-msgid "You can also use <literal>Property.forName()</literal> to express projections:"
+#. Tag: para
+#: query_criteria.xml:203
+#, no-c-format
+msgid ""
+"You can also use <literal>Property.forName()</literal> to express "
+"projections:"
msgstr "å°å½±ã®å¼ã« <literal>Property.forName()</literal> ã使ç¨ã§ãã¾ãã"
-#: index.docbook:207
+#. Tag: programlisting
+#: query_criteria.xml:207
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Property.forName(\"name\") )\n"
- " .add( Property.forName(\"color\").eq(Color.BLACK) )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Property.forName(\"name\") )\n"
+" .add( Property.forName(\"color\").eq(Color.BLACK) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Property.forName(\"name\") )\n"
- " .add( Property.forName(\"color\").eq(Color.BLACK) )\n"
- " .list();]]>"
-#: index.docbook:209
+#. Tag: programlisting
+#: query_criteria.xml:209
+#, no-c-format
msgid ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount().as(\"catCountByColor\") )\n"
- " .add( Property.forName(\"weight\").avg().as(\"avgWeight\") )\n"
- " .add( Property.forName(\"weight\").max().as(\"maxWeight\") )\n"
- " .add( Property.forName(\"color\").group().as(\"color\" )\n"
- " )\n"
- " .addOrder( Order.desc(\"catCountByColor\") )\n"
- " .addOrder( Order.desc(\"avgWeight\") )\n"
- " .list();]]>"
+"<![CDATA[List results = session.createCriteria(Cat.class)\n"
+" .setProjection( Projections.projectionList()\n"
+" .add( Projections.rowCount().as(\"catCountByColor\") )\n"
+" .add( Property.forName(\"weight\").avg().as(\"avgWeight\") )\n"
+" .add( Property.forName(\"weight\").max().as(\"maxWeight\") )\n"
+" .add( Property.forName(\"color\").group().as(\"color\" )\n"
+" )\n"
+" .addOrder( Order.desc(\"catCountByColor\") )\n"
+" .addOrder( Order.desc(\"avgWeight\") )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List results = session.createCriteria(Cat.class)\n"
- " .setProjection( Projections.projectionList()\n"
- " .add( Projections.rowCount().as(\"catCountByColor\") )\n"
- " .add( Property.forName(\"weight\").avg().as(\"avgWeight\") )\n"
- " .add( Property.forName(\"weight\").max().as(\"maxWeight\") )\n"
- " .add( Property.forName(\"color\").group().as(\"color\" )\n"
- " )\n"
- " .addOrder( Order.desc(\"catCountByColor\") )\n"
- " .addOrder( Order.desc(\"avgWeight\") )\n"
- " .list();]]>"
-#: index.docbook:214
+#. Tag: title
+#: query_criteria.xml:214
+#, no-c-format
msgid "Detached queries and subqueries"
msgstr "ã¯ã¨ãªããã³ãµãã¯ã¨ãªã®åé¢"
-#: index.docbook:215
-msgid "The <literal>DetachedCriteria</literal> class lets you create a query outside the scope of a session, and then later execute it using some arbitrary <literal>Session</literal>."
-msgstr "<literal>DetachedCriteria</literal> ã¯ã©ã¹ã«ããã ã»ãã·ã§ã³ã¹ã³ã¼ãå¤ã«ã¯ã¨ãªã使ã§ãã¾ãã å¾ã§ãä»»æã® <literal>Session</literal> ã使ã£ã¦ãå®è¡ã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:215
+#, no-c-format
+msgid ""
+"The <literal>DetachedCriteria</literal> class lets you create a query "
+"outside the scope of a session, and then later execute it using some "
+"arbitrary <literal>Session</literal>."
+msgstr ""
+"<literal>DetachedCriteria</literal> ã¯ã©ã¹ã«ããã ã»ãã·ã§ã³ã¹ã³ã¼ãå¤ã«ã¯ã¨"
+"ãªã使ã§ãã¾ãã å¾ã§ãä»»æã® <literal>Session</literal> ã使ã£ã¦ãå®è¡ã§ã"
+"ã¾ãã"
-#: index.docbook:220
+#. Tag: programlisting
+#: query_criteria.xml:220
+#, no-c-format
msgid ""
- "<![CDATA[DetachedCriteria query = DetachedCriteria.forClass(Cat.class)\n"
- " .add( Property.forName(\"sex\").eq('F') );\n"
- " \n"
- "Session session = ....;\n"
- "Transaction txn = session.beginTransaction();\n"
- "List results = query.getExecutableCriteria(session).setMaxResults(100).list();\n"
- "txn.commit();\n"
- "session.close();]]>"
+"<![CDATA[DetachedCriteria query = DetachedCriteria.forClass(Cat.class)\n"
+" .add( Property.forName(\"sex\").eq('F') );\n"
+" \n"
+"Session session = ....;\n"
+"Transaction txn = session.beginTransaction();\n"
+"List results = query.getExecutableCriteria(session).setMaxResults(100).list"
+"();\n"
+"txn.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[DetachedCriteria query = DetachedCriteria.forClass(Cat.class)\n"
- " .add( Property.forName(\"sex\").eq('F') );\n"
- " \n"
- "Session session = ....;\n"
- "Transaction txn = session.beginTransaction();\n"
- "List results = query.getExecutableCriteria(session).setMaxResults(100).list();\n"
- "txn.commit();\n"
- "session.close();]]>"
-#: index.docbook:222
-msgid "A <literal>DetachedCriteria</literal> may also be used to express a subquery. Criterion instances involving subqueries may be obtained via <literal>Subqueries</literal> or <literal>Property</literal>."
-msgstr "<literal>DetachedCriteria</literal> ã¯ããµãã¯ã¨ãªã表ç¾ããããã«ã使ãã¾ãã ãµãã¯ã¨ãªãä¼´ãCriterionã¤ã³ã¹ã¿ã³ã¹ã¯ã <literal>Subqueries</literal> ããã㯠<literal>Property</literal> ããå¾ããã¾ãã"
+#. Tag: para
+#: query_criteria.xml:222
+#, no-c-format
+msgid ""
+"A <literal>DetachedCriteria</literal> may also be used to express a "
+"subquery. Criterion instances involving subqueries may be obtained via "
+"<literal>Subqueries</literal> or <literal>Property</literal>."
+msgstr ""
+"<literal>DetachedCriteria</literal> ã¯ããµãã¯ã¨ãªã表ç¾ããããã«ã使ãã¾"
+"ãã ãµãã¯ã¨ãªãä¼´ãCriterionã¤ã³ã¹ã¿ã³ã¹ã¯ã <literal>Subqueries</literal> "
+"ããã㯠<literal>Property</literal> ããå¾ããã¾ãã"
-#: index.docbook:228
+#. Tag: programlisting
+#: query_criteria.xml:228
+#, no-c-format
msgid ""
- "<![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)\n"
- " .setProjection( Property.forName(\"weight\").avg() );\n"
- "session.createCriteria(Cat.class)\n"
- " .add( Property.forName(\"weight\").gt(avgWeight) )\n"
- " .list();]]>"
+"<![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)\n"
+" .setProjection( Property.forName(\"weight\").avg() );\n"
+"session.createCriteria(Cat.class)\n"
+" .add( Property.forName(\"weight\").gt(avgWeight) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[DetachedCriteria avgWeight = DetachedCriteria.forClass(Cat.class)\n"
- " .setProjection( Property.forName(\"weight\").avg() );\n"
- "session.createCriteria(Cat.class)\n"
- " .add( Property.forName(\"weight\").gt(avgWeight) )\n"
- " .list();]]>"
-#: index.docbook:230
+#. Tag: programlisting
+#: query_criteria.xml:230
+#, no-c-format
msgid ""
- "<![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)\n"
- " .setProjection( Property.forName(\"weight\") );\n"
- "session.createCriteria(Cat.class)\n"
- " .add( Subqueries.geAll(\"weight\", weights) )\n"
- " .list();]]>"
+"<![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)\n"
+" .setProjection( Property.forName(\"weight\") );\n"
+"session.createCriteria(Cat.class)\n"
+" .add( Subqueries.geAll(\"weight\", weights) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[DetachedCriteria weights = DetachedCriteria.forClass(Cat.class)\n"
- " .setProjection( Property.forName(\"weight\") );\n"
- "session.createCriteria(Cat.class)\n"
- " .add( Subqueries.geAll(\"weight\", weights) )\n"
- " .list();]]>"
-#: index.docbook:232
+#. Tag: para
+#: query_criteria.xml:232
+#, no-c-format
msgid "Even correlated subqueries are possible:"
msgstr "ç¸äºé¢ä¿ããããµãã¯ã¨ãªã§ãããå¯è½ã§ãã"
-#: index.docbook:236
+#. Tag: programlisting
+#: query_criteria.xml:236
+#, no-c-format
msgid ""
- "<![CDATA[DetachedCriteria avgWeightForSex = DetachedCriteria.forClass(Cat.class, \"cat2\")\n"
- " .setProjection( Property.forName(\"weight\").avg() )\n"
- " .add( Property.forName(\"cat2.sex\").eqProperty(\"cat.sex\") );\n"
- "session.createCriteria(Cat.class, \"cat\")\n"
- " .add( Property.forName(\"weight\").gt(avgWeightForSex) )\n"
- " .list();]]>"
+"<![CDATA[DetachedCriteria avgWeightForSex = DetachedCriteria.forClass(Cat."
+"class, \"cat2\")\n"
+" .setProjection( Property.forName(\"weight\").avg() )\n"
+" .add( Property.forName(\"cat2.sex\").eqProperty(\"cat.sex\") );\n"
+"session.createCriteria(Cat.class, \"cat\")\n"
+" .add( Property.forName(\"weight\").gt(avgWeightForSex) )\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[DetachedCriteria avgWeightForSex = DetachedCriteria.forClass(Cat.class, \"cat2\")\n"
- " .setProjection( Property.forName(\"weight\").avg() )\n"
- " .add( Property.forName(\"cat2.sex\").eqProperty(\"cat.sex\") );\n"
- "session.createCriteria(Cat.class, \"cat\")\n"
- " .add( Property.forName(\"weight\").gt(avgWeightForSex) )\n"
- " .list();]]>"
-#: index.docbook:245
+#. Tag: title
+#: query_criteria.xml:245
+#, no-c-format
msgid "Queries by natural identifier"
msgstr "èªç¶èå¥åã«ããã¯ã¨ãª"
-#: index.docbook:247
-msgid "For most queries, including criteria queries, the query cache is not very efficient, because query cache invalidation occurs too frequently. However, there is one special kind of query where we can optimize the cache invalidation algorithm: lookups by a constant natural key. In some applications, this kind of query occurs frequently. The criteria API provides special provision for this use case."
-msgstr "criteriaã¯ã¨ãªãå«ãããã¦ãã®ã¯ã¨ãªã«ã¨ã£ã¦ã ã¯ã¨ãªãã£ãã·ã¥ã¯ãã¾ãå¹çããããªãã§ãã ãªããªããã¯ã¨ãªãã£ãã·ã¥ãé »ç¹ã«ç¡å¹ã«ãªãããã§ãã ããããªããããã£ãã·ã¥ãç¡å¹ã«ããã¢ã«ã´ãªãºã ãæé©åã§ãã ç¹å¥ãªã¯ã¨ãªã®ç¨®é¡ãï¼ã¤ããã¾ãã æ´æ°ãããªãèªç¶ãã¼ã«ããæ¤ç´¢ã§ãã ããã¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããã®ç¨®é¡ã®ã¯ã¨ãªãé »ç¹ã«ç¾ãã¾ãã ãã®ãããªä½¿ããæ¹ã®ããã«ãcriteria APIã¯ç¹å¥ãªå¯¾çãæä¾ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:247
+#, no-c-format
+msgid ""
+"For most queries, including criteria queries, the query cache is not very "
+"efficient, because query cache invalidation occurs too frequently. However, "
+"there is one special kind of query where we can optimize the cache "
+"invalidation algorithm: lookups by a constant natural key. In some "
+"applications, this kind of query occurs frequently. The criteria API "
+"provides special provision for this use case."
+msgstr ""
+"criteriaã¯ã¨ãªãå«ãããã¦ãã®ã¯ã¨ãªã«ã¨ã£ã¦ã ã¯ã¨ãªãã£ãã·ã¥ã¯ãã¾ãå¹çã"
+"ãããªãã§ãã ãªããªããã¯ã¨ãªãã£ãã·ã¥ãé »ç¹ã«ç¡å¹ã«ãªãããã§ãã ããã"
+"ãªããããã£ãã·ã¥ãç¡å¹ã«ããã¢ã«ã´ãªãºã ãæé©åã§ãã ç¹å¥ãªã¯ã¨ãªã®ç¨®é¡ã"
+"ï¼ã¤ããã¾ãã æ´æ°ãããªãèªç¶ãã¼ã«ããæ¤ç´¢ã§ãã ããã¤ãã®ã¢ããªã±ã¼ã·ã§"
+"ã³ã§ã¯ããã®ç¨®é¡ã®ã¯ã¨ãªãé »ç¹ã«ç¾ãã¾ãã ãã®ãããªä½¿ããæ¹ã®ããã«ã"
+"criteria APIã¯ç¹å¥ãªå¯¾çãæä¾ãã¾ãã"
-#: index.docbook:255
-msgid "First, you should map the natural key of your entity using <literal><natural-id></literal>, and enable use of the second-level cache."
-msgstr "æåã«ã<literal><natural-id></literal> ã使ã£ã¦ã ã¨ã³ãã£ãã£ã®èªç¶ãã¼ãããããã¦ãã ããã ããã¦ãäºæ¬¡ãã£ãã·ã¥ãæå¹ã«ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:255
+#, no-c-format
+msgid ""
+"First, you should map the natural key of your entity using <literal><"
+"natural-id></literal>, and enable use of the second-level cache."
+msgstr ""
+"æåã«ã<literal><natural-id></literal> ã使ã£ã¦ã ã¨ã³ãã£ãã£ã®èªç¶"
+"ãã¼ãããããã¦ãã ããã ããã¦ãäºæ¬¡ãã£ãã·ã¥ãæå¹ã«ãã¾ãã"
-#: index.docbook:260
+#. Tag: programlisting
+#: query_criteria.xml:260
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"User\">\n"
- " <cache usage=\"read-write\"/>\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <natural-id>\n"
- " <property name=\"name\"/>\n"
- " <property name=\"org\"/>\n"
- " </natural-id>\n"
- " <property name=\"password\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"User\">\n"
+" <cache usage=\"read-write\"/>\n"
+" <id name=\"id\">\n"
+" <generator class=\"increment\"/>\n"
+" </id>\n"
+" <natural-id>\n"
+" <property name=\"name\"/>\n"
+" <property name=\"org\"/>\n"
+" </natural-id>\n"
+" <property name=\"password\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"User\">\n"
- " <cache usage=\"read-write\"/>\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <natural-id>\n"
- " <property name=\"name\"/>\n"
- " <property name=\"org\"/>\n"
- " </natural-id>\n"
- " <property name=\"password\"/>\n"
- "</class>]]>"
-#: index.docbook:262
-msgid "Note that this functionality is not intended for use with entities with <emphasis>mutable</emphasis> natural keys."
-msgstr "注æï¼ <emphasis>夿´ããã</emphasis> èªç¶ãã¼ãæã¤ã¨ã³ãã£ãã£ã« ãã®æ©è½ã使ãã®ã¯ãæå³ããã¦ããªãä½¿ãæ¹ã§ãã"
+#. Tag: para
+#: query_criteria.xml:262
+#, no-c-format
+msgid ""
+"Note that this functionality is not intended for use with entities with "
+"<emphasis>mutable</emphasis> natural keys."
+msgstr ""
+"注æï¼ <emphasis>夿´ããã</emphasis> èªç¶ãã¼ãæã¤ã¨ã³ãã£ãã£ã« ãã®æ©è½"
+"ã使ãã®ã¯ãæå³ããã¦ããªãä½¿ãæ¹ã§ãã"
-#: index.docbook:267
+#. Tag: para
+#: query_criteria.xml:267
+#, no-c-format
msgid "Next, enable the Hibernate query cache."
msgstr "次ã«ãHibernateã¯ã¨ãªãã£ãã·ã¥ãæå¹ã«ãã¾ãã"
-#: index.docbook:271
-msgid "Now, <literal>Restrictions.naturalId()</literal> allows us to make use of the more efficient cache algorithm."
-msgstr "ããã§ã<literal>Restrictions.naturalId()</literal> ã«ããã ããå¹ççãªãã£ãã·ã¥ã¢ã«ã´ãªãºã ã使ç¨ã§ãã¾ãã"
+#. Tag: para
+#: query_criteria.xml:271
+#, no-c-format
+msgid ""
+"Now, <literal>Restrictions.naturalId()</literal> allows us to make use of "
+"the more efficient cache algorithm."
+msgstr ""
+"ããã§ã<literal>Restrictions.naturalId()</literal> ã«ããã ããå¹ççãª"
+"ãã£ãã·ã¥ã¢ã«ã´ãªãºã ã使ç¨ã§ãã¾ãã"
-#: index.docbook:276
+#. Tag: programlisting
+#: query_criteria.xml:276
+#, no-c-format
msgid ""
- "<![CDATA[session.createCriteria(User.class)\n"
- " .add( Restrictions.naturalId()\n"
- " .set(\"name\", \"gavin\")\n"
- " .set(\"org\", \"hb\") \n"
- " ).setCacheable(true)\n"
- " .uniqueResult();]]>"
+"<![CDATA[session.createCriteria(User.class)\n"
+" .add( Restrictions.naturalId()\n"
+" .set(\"name\", \"gavin\")\n"
+" .set(\"org\", \"hb\") \n"
+" ).setCacheable(true)\n"
+" .uniqueResult();]]>"
msgstr ""
- "<![CDATA[session.createCriteria(User.class)\n"
- " .add( Restrictions.naturalId()\n"
- " .set(\"name\", \"gavin\")\n"
- " .set(\"org\", \"hb\") \n"
- " ).setCacheable(true)\n"
- " .uniqueResult();]]>"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/query_hql.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/query_hql.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/query_hql.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1694 +1,2399 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: query_hql.xml:5
+#, no-c-format
msgid "HQL: The Hibernate Query Language"
msgstr "HQL: The Hibernate Query Language"
-#: index.docbook:7
-msgid "Hibernate is equipped with an extremely powerful query language that (quite intentionally) looks very much like SQL. But don't be fooled by the syntax; HQL is fully object-oriented, understanding notions like inheritence, polymorphism and association."
-msgstr "Hibernateã¯SQLã«é常ã«ããä¼¼ã(æå³çã«ä¼¼ãã)å¼·åãªåãåããè¨èªãåãã¦ãã¾ãã ãããSQLã«ä¼¼ãæ§æã«æããããªãã§ãã ãããHQLã¯å®å
¨ã«ãªãã¸ã§ã¯ãæåã§ããã ç¶æ¿ãããªã¢ã¼ãã£ãºã ãé¢é£ã¨ãã£ãæ¦å¿µãçè§£ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:7
+#, no-c-format
+msgid ""
+"Hibernate is equipped with an extremely powerful query language that (quite "
+"intentionally) looks very much like SQL. But don't be fooled by the syntax; "
+"HQL is fully object-oriented, understanding notions like inheritence, "
+"polymorphism and association."
+msgstr ""
+"Hibernateã¯SQLã«é常ã«ããä¼¼ã(æå³çã«ä¼¼ãã)å¼·åãªåãåããè¨èªãåãã¦ã"
+"ã¾ãã ãããSQLã«ä¼¼ãæ§æã«æããããªãã§ãã ãããHQLã¯å®å
¨ã«ãªãã¸ã§ã¯ãæ"
+"åã§ããã ç¶æ¿ãããªã¢ã¼ãã£ãºã ãé¢é£ã¨ãã£ãæ¦å¿µãçè§£ãã¾ãã"
-#: index.docbook:14
+#. Tag: title
+#: query_hql.xml:14
+#, no-c-format
msgid "Case Sensitivity"
msgstr "大æåã¨å°æåã®åºå¥"
-#: index.docbook:16
-msgid "Queries are case-insensitive, except for names of Java classes and properties. So <literal>SeLeCT</literal> is the same as <literal>sELEct</literal> is the same as <literal>SELECT</literal> but <literal>org.hibernate.eg.FOO</literal> is not <literal>org.hibernate.eg.Foo</literal> and <literal>foo.barSet</literal> is not <literal>foo.BARSET</literal>."
-msgstr "ã¯ã¨ãªã¯Javaã®ã¯ã©ã¹åã¨ããããã£åãé¤ãã¦å¤§æåãå°æåãåºå¥ãã¾ããã å¾ã£ã¦ <literal>SeLeCT</literal> 㯠<literal>sELEct</literal> ã¨åãã§ãã㤠<literal>SELECT</literal> ã¨ãåãã§ãã <literal>net.sf.hibernate.eg.FOO</literal> 㯠<literal>net.sf.hibernate.eg.Foo</literal> ã¨ã¯éããã㤠<literal>foo.barSet</literal> 㯠<literal>foo.BARSET</literal> ã¨ãéãã¾ãã"
+#. Tag: para
+#: query_hql.xml:16
+#, no-c-format
+msgid ""
+"Queries are case-insensitive, except for names of Java classes and "
+"properties. So <literal>SeLeCT</literal> is the same as <literal>sELEct</"
+"literal> is the same as <literal>SELECT</literal> but <literal>org.hibernate."
+"eg.FOO</literal> is not <literal>org.hibernate.eg.Foo</literal> and "
+"<literal>foo.barSet</literal> is not <literal>foo.BARSET</literal>."
+msgstr ""
+"ã¯ã¨ãªã¯Javaã®ã¯ã©ã¹åã¨ããããã£åãé¤ãã¦å¤§æåãå°æåãåºå¥ãã¾ããã "
+"å¾ã£ã¦ <literal>SeLeCT</literal> 㯠<literal>sELEct</literal> ã¨åãã§ãã㤠"
+"<literal>SELECT</literal> ã¨ãåãã§ãã <literal>net.sf.hibernate.eg.FOO</"
+"literal> 㯠<literal>net.sf.hibernate.eg.Foo</literal> ã¨ã¯éããã㤠"
+"<literal>foo.barSet</literal> 㯠<literal>foo.BARSET</literal> ã¨ãéãã¾ãã"
-#: index.docbook:27
-msgid "This manual uses lowercase HQL keywords. Some users find queries with uppercase keywords more readable, but we find this convention ugly when embedded in Java code."
-msgstr "ãã®ããã¥ã¢ã«ã§ã¯å°æåã®HQLãã¼ã¯ã¼ãã使ç¨ãã¾ãã 大æåã®ãã¼ã¯ã¼ãã®ã¯ã¨ãªã®æ¹ãèªã¿ãããã¨æããã¦ã¼ã¶ã¼ãããã¨æãã¾ãã ã§ãããJavaã³ã¼ãå
ã«åãè¾¼ã¾ããã¨ãã«ã¯è¦ã¥ããã¨æãã¾ãã"
+#. Tag: para
+#: query_hql.xml:27
+#, no-c-format
+msgid ""
+"This manual uses lowercase HQL keywords. Some users find queries with "
+"uppercase keywords more readable, but we find this convention ugly when "
+"embedded in Java code."
+msgstr ""
+"ãã®ããã¥ã¢ã«ã§ã¯å°æåã®HQLãã¼ã¯ã¼ãã使ç¨ãã¾ãã 大æåã®ãã¼ã¯ã¼ãã®ã¯"
+"ã¨ãªã®æ¹ãèªã¿ãããã¨æããã¦ã¼ã¶ã¼ãããã¨æãã¾ãã ã§ãããJavaã³ã¼ãå
ã«"
+"åãè¾¼ã¾ããã¨ãã«ã¯è¦ã¥ããã¨æãã¾ãã"
-#: index.docbook:35
+#. Tag: title
+#: query_hql.xml:35
+#, no-c-format
msgid "The from clause"
msgstr "fromç¯"
-#: index.docbook:37
+#. Tag: para
+#: query_hql.xml:37
+#, no-c-format
msgid "The simplest possible Hibernate query is of the form:"
msgstr "ãã£ã¨ãåç´ãªHibernateã¯ã¨ãªã¯æ¬¡ã®å½¢å¼ã§ãã"
-#: index.docbook:41
+#. Tag: programlisting
+#: query_hql.xml:41
+#, no-c-format
msgid "<![CDATA[from eg.Cat]]>"
-msgstr "<![CDATA[from eg.Cat]]>"
+msgstr ""
-#: index.docbook:43
-msgid "which simply returns all instances of the class <literal>eg.Cat</literal>. We don't usually need to qualify the class name, since <literal>auto-import</literal> is the default. So we almost always just write:"
-msgstr "ããã¯åç´ã«ã<literal>eg.Cat</literal>ãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ããã¹ã¦è¿ãã¾ãã å¿
ãããã¯ã©ã¹åã修飾ããï¼ã¯ã©ã¹ã«ããã±ã¼ã¸åãä»ããï¼å¿
è¦ã¯ããã¾ããã ã¨ããã®ãã<literal>auto-import</literal> ãããã©ã«ãã«ãªã£ã¦ããããã§ãã ãã®ããã»ã¨ãã©ã®å ´åããã®ããã«æ¸ãã ãã§ååã§ãã"
+#. Tag: para
+#: query_hql.xml:43
+#, no-c-format
+msgid ""
+"which simply returns all instances of the class <literal>eg.Cat</literal>. "
+"We don't usually need to qualify the class name, since <literal>auto-import</"
+"literal> is the default. So we almost always just write:"
+msgstr ""
+"ããã¯åç´ã«ã<literal>eg.Cat</literal>ãã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ããã¹ã¦è¿ãã¾"
+"ãã å¿
ãããã¯ã©ã¹åã修飾ããï¼ã¯ã©ã¹ã«ããã±ã¼ã¸åãä»ããï¼å¿
è¦ã¯ããã¾ã"
+"ãã ã¨ããã®ãã<literal>auto-import</literal> ãããã©ã«ãã«ãªã£ã¦ãããã"
+"ã§ãã ãã®ããã»ã¨ãã©ã®å ´åããã®ããã«æ¸ãã ãã§ååã§ãã"
-#: index.docbook:49
+#. Tag: programlisting
+#: query_hql.xml:49
+#, no-c-format
msgid "<![CDATA[from Cat]]>"
-msgstr "<![CDATA[from Cat]]>"
+msgstr ""
-#: index.docbook:51
-msgid "Most of the time, you will need to assign an <emphasis>alias</emphasis>, since you will want to refer to the <literal>Cat</literal> in other parts of the query."
-msgstr "ã»ã¨ãã©ã®å ´åã¯ã¨ãªã®ã»ãã®é¨åã§ã<literal>Cat</literal>ããåç
§ããã®ã§ãå¥åãå²ãå½ã¦ãå¿
è¦ãããã§ãããã"
+#. Tag: para
+#: query_hql.xml:51
+#, no-c-format
+msgid ""
+"Most of the time, you will need to assign an <emphasis>alias</emphasis>, "
+"since you will want to refer to the <literal>Cat</literal> in other parts of "
+"the query."
+msgstr ""
+"ã»ã¨ãã©ã®å ´åã¯ã¨ãªã®ã»ãã®é¨åã§ã<literal>Cat</literal>ããåç
§ããã®ã§ã"
+"å¥åãå²ãå½ã¦ãå¿
è¦ãããã§ãããã"
-#: index.docbook:57, index.docbook:372
+#. Tag: programlisting
+#: query_hql.xml:57 query_hql.xml:372
+#, no-c-format
msgid "<![CDATA[from Cat as cat]]>"
-msgstr "<![CDATA[from Cat as cat]]>"
+msgstr ""
-#: index.docbook:59
-msgid "This query assigns the alias <literal>cat</literal> to <literal>Cat</literal> instances, so we could use that alias later in the query. The <literal>as</literal> keyword is optional; we could also write:"
-msgstr "ãã®ã¯ã¨ãªã§ã¯ <literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã« <literal>cat</literal> ã¨ããå¥åãä»ãã¦ãã¾ãã ãã®ãããå¾ã§ãã®ã¯ã¨ãªå
ã§ããã®å¥åã使ããã¨ãã§ãã¾ãã <literal>as</literal> ãã¼ã¯ã¼ãã¯ãªãã·ã§ã³ã§ããã¤ã¾ããã®ããã«æ¸ããã¨ãã§ãã¾ãï¼"
+#. Tag: para
+#: query_hql.xml:59
+#, no-c-format
+msgid ""
+"This query assigns the alias <literal>cat</literal> to <literal>Cat</"
+"literal> instances, so we could use that alias later in the query. The "
+"<literal>as</literal> keyword is optional; we could also write:"
+msgstr ""
+"ãã®ã¯ã¨ãªã§ã¯ <literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã« <literal>cat</literal> "
+"ã¨ããå¥åãä»ãã¦ãã¾ãã ãã®ãããå¾ã§ãã®ã¯ã¨ãªå
ã§ããã®å¥åã使ããã¨ã"
+"ã§ãã¾ãã <literal>as</literal> ãã¼ã¯ã¼ãã¯ãªãã·ã§ã³ã§ããã¤ã¾ããã®ããã«"
+"æ¸ããã¨ãã§ãã¾ãï¼"
-#: index.docbook:65
+#. Tag: programlisting
+#: query_hql.xml:65
+#, no-c-format
msgid "<![CDATA[from Cat cat]]>"
-msgstr "<![CDATA[from Cat cat]]>"
+msgstr ""
-#: index.docbook:67
-msgid "Multiple classes may appear, resulting in a cartesian product or \"cross\" join."
+#. Tag: para
+#: query_hql.xml:67
+#, no-c-format
+msgid ""
+"Multiple classes may appear, resulting in a cartesian product or \"cross\" "
+"join."
msgstr "ç´ç©ããããã¯ã¯ãã¹çµåã«ãã£ã¦å¤æ°ã®ã¯ã©ã¹ãåºç¾ãããã¨ãããã¾ãã"
-#: index.docbook:71
+#. Tag: programlisting
+#: query_hql.xml:71
+#, no-c-format
msgid "<![CDATA[from Formula, Parameter]]>"
-msgstr "<![CDATA[from Formula, Parameter]]>"
+msgstr ""
-#: index.docbook:72
+#. Tag: programlisting
+#: query_hql.xml:72
+#, no-c-format
msgid "<![CDATA[from Formula as form, Parameter as param]]>"
-msgstr "<![CDATA[from Formula as form, Parameter as param]]>"
+msgstr ""
-#: index.docbook:74
-msgid "It is considered good practice to name query aliases using an initial lowercase, consistent with Java naming standards for local variables (eg. <literal>domesticCat</literal>)."
-msgstr "ãã¼ã«ã«å¤æ°ã®Javaã®ãã¼ãã³ã°åºæºã¨ä¸è´ããã é æåã«å°æåã使ã£ãã¯ã¨ãªã®å¥åãä»ãããã¨ã¯ããç¿æ
£ã§ã(ä¾ãã° <literal>domesticCat</literal> )ã"
+#. Tag: para
+#: query_hql.xml:74
+#, no-c-format
+msgid ""
+"It is considered good practice to name query aliases using an initial "
+"lowercase, consistent with Java naming standards for local variables (eg. "
+"<literal>domesticCat</literal>)."
+msgstr ""
+"ãã¼ã«ã«å¤æ°ã®Javaã®ãã¼ãã³ã°åºæºã¨ä¸è´ããã é æåã«å°æåã使ã£ãã¯ã¨ãªã®"
+"å¥åãä»ãããã¨ã¯ããç¿æ
£ã§ã(ä¾ãã° <literal>domesticCat</literal> )ã"
-#: index.docbook:83
+#. Tag: title
+#: query_hql.xml:83
+#, no-c-format
msgid "Associations and joins"
msgstr "é¢é£ã¨çµå"
-#: index.docbook:85
-msgid "We may also assign aliases to associated entities, or even to elements of a collection of values, using a <literal>join</literal>."
-msgstr "é¢é£ããã¨ã³ãã£ãã£ãããã¯å¤ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«ãã<literal>çµå</literal> ã使ã£ã¦å¥åãå²ãå½ã¦ããã¨ãåºæ¥ã¾ãã"
+#. Tag: para
+#: query_hql.xml:85
+#, no-c-format
+msgid ""
+"We may also assign aliases to associated entities, or even to elements of a "
+"collection of values, using a <literal>join</literal>."
+msgstr ""
+"é¢é£ããã¨ã³ãã£ãã£ãããã¯å¤ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«ãã<literal>çµå</"
+"literal> ã使ã£ã¦å¥åãå²ãå½ã¦ããã¨ãåºæ¥ã¾ãã"
-#: index.docbook:90
+#. Tag: programlisting
+#: query_hql.xml:90
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- " inner join cat.mate as mate\n"
- " left outer join cat.kittens as kitten]]>"
+"<![CDATA[from Cat as cat\n"
+" inner join cat.mate as mate\n"
+" left outer join cat.kittens as kitten]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- " inner join cat.mate as mate
-\n"
- " left outer join cat.kittens as kitten]]>"
-#: index.docbook:92
+#. Tag: programlisting
+#: query_hql.xml:92
+#, no-c-format
msgid "<![CDATA[from Cat as cat left join cat.mate.kittens as kittens]]>"
-msgstr "<![CDATA[from Cat as cat left join cat.mate.kittens as kittens]]>"
+msgstr ""
-#: index.docbook:94
+#. Tag: programlisting
+#: query_hql.xml:94
+#, no-c-format
msgid "<![CDATA[from Formula form full join form.parameter param]]>"
-msgstr "<![CDATA[from Formula form full join form.parameter param]]>"
+msgstr ""
-#: index.docbook:96
+#. Tag: para
+#: query_hql.xml:96
+#, no-c-format
msgid "The supported join types are borrowed from ANSI SQL"
msgstr "ãµãã¼ããã¦ããçµåã®ã¿ã¤ãã¯ANSI SQLã¨åãã§ãã"
-#: index.docbook:103
+#. Tag: literal
+#: query_hql.xml:103
+#, no-c-format
msgid "inner join"
msgstr "inner join"
-#: index.docbook:108
+#. Tag: literal
+#: query_hql.xml:108
+#, no-c-format
msgid "left outer join"
msgstr "left outer join"
-#: index.docbook:113
+#. Tag: literal
+#: query_hql.xml:113
+#, no-c-format
msgid "right outer join"
msgstr "right outer join"
-#: index.docbook:117
+#. Tag: para
+#: query_hql.xml:117
+#, no-c-format
msgid "<literal>full join</literal> (not usually useful)"
msgstr "<literal>full join</literal> (ããã¦ãã®å ´å使ãã¥ãã)"
-#: index.docbook:123
-msgid "The <literal>inner join</literal>, <literal>left outer join</literal> and <literal>right outer join</literal> constructs may be abbreviated."
-msgstr "<literal>inner join</literal>ã<literal>left outer join</literal>ã<literal>right outer join</literal>ã«ã¯çç¥å½¢ã使ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:123
+#, no-c-format
+msgid ""
+"The <literal>inner join</literal>, <literal>left outer join</literal> and "
+"<literal>right outer join</literal> constructs may be abbreviated."
+msgstr ""
+"<literal>inner join</literal>ã<literal>left outer join</literal>ã"
+"<literal>right outer join</literal>ã«ã¯çç¥å½¢ã使ããã¨ãã§ãã¾ãã"
-#: index.docbook:128
+#. Tag: programlisting
+#: query_hql.xml:128
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- " join cat.mate as mate\n"
- " left join cat.kittens as kitten]]>"
+"<![CDATA[from Cat as cat\n"
+" join cat.mate as mate\n"
+" left join cat.kittens as kitten]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- " join cat.mate as mate
-\n"
- " left join cat.kittens as kitten]]>"
-#: index.docbook:130
-msgid "You may supply extra join conditions using the HQL <literal>with</literal> keyword."
-msgstr "HQLã® <literal>with</literal> ãã¼ã¯ã¼ãã使ãã¨ãçµåæ¡ä»¶ãä»ãå ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:130
+#, no-c-format
+msgid ""
+"You may supply extra join conditions using the HQL <literal>with</literal> "
+"keyword."
+msgstr ""
+"HQLã® <literal>with</literal> ãã¼ã¯ã¼ãã使ãã¨ãçµåæ¡ä»¶ãä»ãå ãããã¨ã"
+"ã§ãã¾ãã"
-#: index.docbook:135
+#. Tag: programlisting
+#: query_hql.xml:135
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- " left join cat.kittens as kitten\n"
- " with kitten.bodyWeight > 10.0]]>"
+"<![CDATA[from Cat as cat\n"
+" left join cat.kittens as kitten\n"
+" with kitten.bodyWeight > 10.0]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- " left join cat.kittens as kitten
-\n"
- " with kitten.bodyWeight > 10.0]]>"
-#: index.docbook:137
-msgid "In addition, a \"fetch\" join allows associations or collections of values to be initialized along with their parent objects, using a single select. This is particularly useful in the case of a collection. It effectively overrides the outer join and lazy declarations of the mapping file for associations and collections. See <xref linkend=\"performance-fetching\"/> for more information."
-msgstr "å ãã¦ãããã§ãããçµåã¯é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã親ãªãã¸ã§ã¯ãã¨ä¸ç·ã«1度ã®selectå¥ã§åæåãã¾ãã ããã¯ç¹ã«ã³ã¬ã¯ã·ã§ã³ã®å ´åã«æç¨ã§ããããã¯å®è³ªä¸ãé¢é£ã¨ã³ã¬ã¯ã·ã§ã³ã«å¯¾ãããããã³ã°å®ç¾©ãã¡ã¤ã«ã®å¤é¨çµåã¨lazyåæåã®å®ç¾©ã䏿¸ããããã¨ã«ãªãã¾ãã <xref linkend=\"performance-fetching\"/> ã«ããå¤ãã®æ
å ±ãããã¾ãã"
+#. Tag: para
+#: query_hql.xml:137
+#, no-c-format
+msgid ""
+"In addition, a \"fetch\" join allows associations or collections of values "
+"to be initialized along with their parent objects, using a single select. "
+"This is particularly useful in the case of a collection. It effectively "
+"overrides the outer join and lazy declarations of the mapping file for "
+"associations and collections. See <xref linkend=\"performance-fetching\"/> "
+"for more information."
+msgstr ""
+"å ãã¦ãããã§ãããçµåã¯é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã親ãªãã¸ã§ã¯ãã¨ä¸ç·ã«1度ã®"
+"selectå¥ã§åæåãã¾ãã ããã¯ç¹ã«ã³ã¬ã¯ã·ã§ã³ã®å ´åã«æç¨ã§ããããã¯å®è³ª"
+"ä¸ãé¢é£ã¨ã³ã¬ã¯ã·ã§ã³ã«å¯¾ãããããã³ã°å®ç¾©ãã¡ã¤ã«ã®å¤é¨çµåã¨lazyåæåã®"
+"å®ç¾©ã䏿¸ããããã¨ã«ãªãã¾ãã <xref linkend=\"performance-fetching\"/> ã«"
+"ããå¤ãã®æ
å ±ãããã¾ãã"
-#: index.docbook:145
+#. Tag: programlisting
+#: query_hql.xml:145
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- " inner join fetch cat.mate\n"
- " left join fetch cat.kittens]]>"
+"<![CDATA[from Cat as cat\n"
+" inner join fetch cat.mate\n"
+" left join fetch cat.kittens]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- " inner join fetch cat.mate
-\n"
- " left join fetch cat.kittens]]>"
-#: index.docbook:147
-msgid "A fetch join does not usually need to assign an alias, because the associated objects should not be used in the <literal>where</literal> clause (or any other clause). Also, the associated objects are not returned directly in the query results. Instead, they may be accessed via the parent object. The only reason we might need an alias is if we are recursively join fetching a further collection:"
-msgstr "çµåã«ãããã§ããã¯é¢é£ãããªãã¸ã§ã¯ãã <literal>where</literal> ç¯(ã¾ãã¯ä»ã®ã©ããªç¯ã§ã) ã§ä½¿ããã¦ã¯ãªããªãã®ã§ãé常å¥åãå²ãå½ã¦ãå¿
è¦ãããã¾ãããã¾ãé¢é£ãªãã¸ã§ã¯ãã¯åãåããçµæã¨ãã¦ ç´æ¥è¿ããã¾ããã代ããã«è¦ªãªãã¸ã§ã¯ããéãã¦ã¢ã¯ã»ã¹ã§ãã¾ãã ã³ã¬ã¯ã·ã§ã³ãå帰çã«çµåãã§ããããå ´åã®ã¿ãå¥åãå¿
è¦ã«ãªãã¾ãã"
+#. Tag: para
+#: query_hql.xml:147
+#, no-c-format
+msgid ""
+"A fetch join does not usually need to assign an alias, because the "
+"associated objects should not be used in the <literal>where</literal> clause "
+"(or any other clause). Also, the associated objects are not returned "
+"directly in the query results. Instead, they may be accessed via the parent "
+"object. The only reason we might need an alias is if we are recursively join "
+"fetching a further collection:"
+msgstr ""
+"çµåã«ãããã§ããã¯é¢é£ãããªãã¸ã§ã¯ãã <literal>where</literal> ç¯(ã¾ãã¯"
+"ä»ã®ã©ããªç¯ã§ã) ã§ä½¿ããã¦ã¯ãªããªãã®ã§ãé常å¥åãå²ãå½ã¦ãå¿
è¦ãããã¾"
+"ãããã¾ãé¢é£ãªãã¸ã§ã¯ãã¯åãåããçµæã¨ãã¦ ç´æ¥è¿ããã¾ããã代ããã«è¦ª"
+"ãªãã¸ã§ã¯ããéãã¦ã¢ã¯ã»ã¹ã§ãã¾ãã ã³ã¬ã¯ã·ã§ã³ãå帰çã«çµåãã§ãããã"
+"å ´åã®ã¿ãå¥åãå¿
è¦ã«ãªãã¾ãã"
-#: index.docbook:155
+#. Tag: programlisting
+#: query_hql.xml:155
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- " inner join fetch cat.mate\n"
- " left join fetch cat.kittens child\n"
- " left join fetch child.kittens]]>"
+"<![CDATA[from Cat as cat\n"
+" inner join fetch cat.mate\n"
+" left join fetch cat.kittens child\n"
+" left join fetch child.kittens]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- " inner join fetch cat.mate
-\n"
- " left join fetch cat.kittens child
-\n"
- " left join fetch child.kittens]]>"
-#: index.docbook:157
-msgid "Note that the <literal>fetch</literal> construct may not be used in queries called using <literal>iterate()</literal> (though <literal>scroll()</literal> can be used). Nor should <literal>fetch</literal> be used together with <literal>setMaxResults()</literal> or <literal>setFirstResult()</literal> as these operations are based on the result rows, which usually contain duplicates for eager collection fetching, hence, the number of rows is not what you'd expect. Nor may <literal>fetch</literal> be used together with an ad hoc <literal>with</literal> condition. It is possible to create a cartesian product by join fetching more than one collection in a query, so take care in this case. Join fetching multiple collection roles also sometimes gives unexpected results for bag mappings, so be careful about how you formulate your queries in this case. Finally, note that <literal>full join fetch</literal> and <literal>right join fetch</literal> are not meaningful."
-msgstr "<literal>fetch</literal> æ§æã¯ <literal>iterate()</literal> ã使ã£ãã¯ã¨ãªå¼ã³åºãã§ä½¿ç¨ã§ããªããã¨ã«æ³¨æãã¦ãã ãã ï¼ä¸æ¹ã§ <literal>scroll()</literal> ã¯ä½¿ç¨ã§ãã¾ãï¼ã ã¾ãããããã®æä½ã¯çµæã®è¡ã«åºã¥ãã¦ããããã <literal>fetch</literal> 㯠<literal>setMaxResults()</literal> ã <literal>setFirstResult()</literal> ã¨ä¸ç·ã«ä½¿ç¨ãã¹ãã§ã¯ããã¾ããã é常eagerãªã³ã¬ã¯ã·ã§ã³ãã§ãããããã¨éè¤ãåºã¦ãã¾ããããããªããæå¾
ãããããªè¡æ°ã«ã¯ãªããªãã®ã§ãã ããã¦ã¾ã <literal>fetch</literal> ã¯ãã¢ãããã¯ãª <literal>with</literal> æ¡ä»¶ã ä¸ç·ã«ä½¿ããã¨ãã§ãã¾ããã ä¸ã¤ã®ã¯ã¨ãªã§è¤æ°ã®ã³ã¬ã¯ã·ã§ã³ãçµåãã§ãããããã¨ã«ããç´ç©ã使ã§ããã®ã§ããã®å ´å注æãã¦ãã ããã ã¾ããè¤æ°ã®ã³ã¬ã¯ã·ã§ã³ã«å¯¾ããçµåãã§ãã!
ã¯bagãããã³ã°ã«å¯¾ãã¦äºæãã¬çµæããããããã¨ãããã®ã§ã ãã®å ´åã®ã¯ã¨ãªã®ä½æã«ã¯æ³¨æãã¦ãã ããã æå¾ã« <literal>å
¨å¤é¨çµåã«ãããã§ãã</literal> 㨠<literal>å³å¤é¨çµåã«ãããã§ãã</literal> ã¯æç¨ã§ã¯ãªããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: query_hql.xml:157
+#, no-c-format
+msgid ""
+"Note that the <literal>fetch</literal> construct may not be used in queries "
+"called using <literal>iterate()</literal> (though <literal>scroll()</"
+"literal> can be used). Nor should <literal>fetch</literal> be used together "
+"with <literal>setMaxResults()</literal> or <literal>setFirstResult()</"
+"literal> as these operations are based on the result rows, which usually "
+"contain duplicates for eager collection fetching, hence, the number of rows "
+"is not what you'd expect. Nor may <literal>fetch</literal> be used together "
+"with an ad hoc <literal>with</literal> condition. It is possible to create a "
+"cartesian product by join fetching more than one collection in a query, so "
+"take care in this case. Join fetching multiple collection roles also "
+"sometimes gives unexpected results for bag mappings, so be careful about how "
+"you formulate your queries in this case. Finally, note that <literal>full "
+"join fetch</literal> and <literal>right join fetch</literal> are not "
+"meaningful."
+msgstr ""
+"<literal>fetch</literal> æ§æã¯ <literal>iterate()</literal> ã使ã£ãã¯ã¨ãªå¼"
+"ã³åºãã§ä½¿ç¨ã§ããªããã¨ã«æ³¨æãã¦ãã ãã ï¼ä¸æ¹ã§ <literal>scroll()</"
+"literal> ã¯ä½¿ç¨ã§ãã¾ãï¼ã ã¾ãããããã®æä½ã¯çµæã®è¡ã«åºã¥ãã¦ããããã "
+"<literal>fetch</literal> 㯠<literal>setMaxResults()</literal> ã "
+"<literal>setFirstResult()</literal> ã¨ä¸ç·ã«ä½¿ç¨ãã¹ãã§ã¯ããã¾ããã é常"
+"eagerãªã³ã¬ã¯ã·ã§ã³ãã§ãããããã¨éè¤ãåºã¦ãã¾ããããããªããæå¾
ãããã"
+"ãªè¡æ°ã«ã¯ãªããªãã®ã§ãã ããã¦ã¾ã <literal>fetch</literal> ã¯ãã¢ãããã¯"
+"㪠<literal>with</literal> æ¡ä»¶ã ä¸ç·ã«ä½¿ããã¨ãã§ãã¾ããã ä¸ã¤ã®ã¯ã¨ãªã§"
+"è¤æ°ã®ã³ã¬ã¯ã·ã§ã³ãçµåãã§ãããããã¨ã«ããç´ç©ã使ã§ããã®ã§ããã®å ´å"
+"注æãã¦ãã ããã ã¾ããè¤æ°ã®ã³ã¬ã¯ã·ã§ã³ã«å¯¾ããçµåãã§ããã¯bagãããã³"
+"ã°ã«å¯¾ãã¦äºæãã¬çµæããããããã¨ãããã®ã§ã ãã®å ´åã®ã¯ã¨ãªã®ä½æã«ã¯æ³¨"
+"æãã¦ãã ããã æå¾ã« <literal>å
¨å¤é¨çµåã«ãããã§ãã</literal> 㨠"
+"<literal>å³å¤é¨çµåã«ãããã§ãã</literal> ã¯æç¨ã§ã¯ãªããã¨ã«æ³¨æãã¦ãã "
+"ããã"
-#: index.docbook:172
-msgid "If you are using property-level lazy fetching (with bytecode instrumentation), it is possible to force Hibernate to fetch the lazy properties immediately (in the first query) using <literal>fetch all properties</literal>."
-msgstr "ããããããã£ã¬ãã«ã®é
å»¶ãã§ããã使ãå ´åï¼å
é¨çã«ãã¤ãã³ã¼ãå¦çãããå ´åï¼ã <literal>fetch all properties</literal> ã使ããã¨ã§ Hibernateã«é
å»¶ããããã£ãéããã«ï¼æåã®ã¯ã¨ãªã§ï¼ãã§ããããããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:172
+#, no-c-format
+msgid ""
+"If you are using property-level lazy fetching (with bytecode "
+"instrumentation), it is possible to force Hibernate to fetch the lazy "
+"properties immediately (in the first query) using <literal>fetch all "
+"properties</literal>."
+msgstr ""
+"ããããããã£ã¬ãã«ã®é
å»¶ãã§ããã使ãå ´åï¼å
é¨çã«ãã¤ãã³ã¼ãå¦çããã"
+"å ´åï¼ã <literal>fetch all properties</literal> ã使ããã¨ã§ Hibernateã«é
å»¶"
+"ããããã£ãéããã«ï¼æåã®ã¯ã¨ãªã§ï¼ãã§ããããããã¨ãã§ãã¾ãã"
-#: index.docbook:178
+#. Tag: programlisting
+#: query_hql.xml:178
+#, no-c-format
msgid "<![CDATA[from Document fetch all properties order by name]]>"
-msgstr "<![CDATA[from Document fetch all properties order by name]]>"
+msgstr ""
-#: index.docbook:179
-msgid "<![CDATA[from Document doc fetch all properties where lower(doc.name) like '%cats%']]>"
-msgstr "<![CDATA[from Document doc fetch all properties where lower(doc.name) like '%cats%']]>"
+#. Tag: programlisting
+#: query_hql.xml:179
+#, no-c-format
+msgid ""
+"<![CDATA[from Document doc fetch all properties where lower(doc.name) like '%"
+"cats%']]>"
+msgstr ""
-#: index.docbook:184
+#. Tag: title
+#: query_hql.xml:184
+#, no-c-format
msgid "Forms of join syntax"
msgstr "çµåæ§æã®å½¢å¼"
-#: index.docbook:186
-msgid "HQL supports two forms of association joining: <literal>implicit</literal> and <literal>explicit</literal>."
-msgstr "HQLã¯ï¼ã¤ã®é¢é£çµåå½¢å¼ããµãã¼ããã¾ãï¼<literal>æé»ç</literal> 㨠<literal>æç¤ºç</literal>ã"
+#. Tag: para
+#: query_hql.xml:186
+#, no-c-format
+msgid ""
+"HQL supports two forms of association joining: <literal>implicit</literal> "
+"and <literal>explicit</literal>."
+msgstr ""
+"HQLã¯ï¼ã¤ã®é¢é£çµåå½¢å¼ããµãã¼ããã¾ãï¼<literal>æé»ç</literal> 㨠"
+"<literal>æç¤ºç</literal>ã"
-#: index.docbook:190
-msgid "The queries shown in the previous section all use the <literal>explicit</literal> form where the join keyword is explicitly used in the from clause. This is the recommended form."
-msgstr "ããã¾ã§ã®ã»ã¯ã·ã§ã³ã§ãè¦ãããä½¿ãæ¹ã¯ãã¹ã¦ <literal>æç¤ºçãª</literal> å½¢å¼ã§ã fromç¯ã§æç¤ºçã«joinãã¼ã¯ã¼ãã使ã£ã¦ãã¾ãã ãã®å½¢å¼ããããããã¾ãã"
+#. Tag: para
+#: query_hql.xml:190
+#, no-c-format
+msgid ""
+"The queries shown in the previous section all use the <literal>explicit</"
+"literal> form where the join keyword is explicitly used in the from clause. "
+"This is the recommended form."
+msgstr ""
+"ããã¾ã§ã®ã»ã¯ã·ã§ã³ã§ãè¦ãããä½¿ãæ¹ã¯ãã¹ã¦ <literal>æç¤ºçãª</literal> å½¢"
+"å¼ã§ã fromç¯ã§æç¤ºçã«joinãã¼ã¯ã¼ãã使ã£ã¦ãã¾ãã ãã®å½¢å¼ããããããã¾"
+"ãã"
-#: index.docbook:195
-msgid "The <literal>implicit</literal> form does not use the join keyword. Instead, the associations are \"dereferenced\" using dot-notation. <literal>implicit</literal> joins can appear in any of the HQL clauses. <literal>implicit</literal> join result in inner joins in the resulting SQL statement."
-msgstr "<literal>æé»ç</literal> ãã©ã¼ã ã¯ãjoinãã¼ã¯ã¼ãã使ãã¾ããã代ããã«ãåç
§ããé¢é£ã« ããã表è¨ã使ãã¾ãã<literal>æé»ç</literal> çµåã¯ããã¾ãã¾ãªHQLã«åºã¦ãã¾ãã <literal>æé»ç</literal> çµåã®çµæã¯ãSQLã¹ãã¼ãã¡ã³ãã®å
é¨çµåçµæã§ãã"
+#. Tag: para
+#: query_hql.xml:195
+#, no-c-format
+msgid ""
+"The <literal>implicit</literal> form does not use the join keyword. Instead, "
+"the associations are \"dereferenced\" using dot-notation. <literal>implicit</"
+"literal> joins can appear in any of the HQL clauses. <literal>implicit</"
+"literal> join result in inner joins in the resulting SQL statement."
+msgstr ""
+"<literal>æé»ç</literal> ãã©ã¼ã ã¯ãjoinãã¼ã¯ã¼ãã使ãã¾ããã代ããã«ã"
+"åç
§ããé¢é£ã« ããã表è¨ã使ãã¾ãã<literal>æé»ç</literal> çµåã¯ããã¾ã"
+"ã¾ãªHQLã«åºã¦ãã¾ãã <literal>æé»ç</literal> çµåã®çµæã¯ãSQLã¹ãã¼ãã¡ã³"
+"ãã®å
é¨çµåçµæã§ãã"
-#: index.docbook:202
+#. Tag: programlisting
+#: query_hql.xml:202
+#, no-c-format
msgid "<![CDATA[from Cat as cat where cat.mate.name like '%s%']]>"
-msgstr "<![CDATA[from Cat as cat where cat.mate.name like '%s%']]>"
+msgstr ""
-#: index.docbook:206
+#. Tag: title
+#: query_hql.xml:206
+#, no-c-format
msgid "Refering to identifier property"
-msgstr "Selectç¯"
+msgstr "Refering to identifier property"
-#: index.docbook:208
-msgid "There are, generally speaking, 2 ways to refer to an entity's identifier property:"
-msgstr "<literal>select</literal> ç¯ã¯ä»¥ä¸ã®ããã«ã©ã®ãªãã¸ã§ã¯ãã¨å±æ§ãã¯ã¨ãªãªã¶ã«ãã»ããã«è¿ããã鏿ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:208
+#, no-c-format
+msgid ""
+"There are, generally speaking, 2 ways to refer to an entity's identifier "
+"property:"
+msgstr ""
+"There are, generally speaking, 2 ways to refer to an entity's identifier "
+"property:"
-#: index.docbook:213
-msgid "The special property (lowercase) <literal>id</literal> may be used to reference the identifier property of an entity <emphasis>provided that entity does not define a non-identifier property named id</emphasis>."
+#. Tag: para
+#: query_hql.xml:213
+#, no-c-format
+msgid ""
+"The special property (lowercase) <literal>id</literal> may be used to "
+"reference the identifier property of an entity <emphasis>provided that "
+"entity does not define a non-identifier property named id</emphasis>."
msgstr ""
- "<![CDATA[select mate
-\n"
- "from Cat as cat
-\n"
- " inner join cat.mate as mate]]>"
+"The special property (lowercase) <literal>id</literal> may be used to "
+"reference the identifier property of an entity <emphasis>provided that "
+"entity does not define a non-identifier property named id</emphasis>."
-#: index.docbook:220
-msgid "If the entity defines a named identifier property, you may use that property name."
-msgstr "ä¸è¨ã®ã¯ã¨ãªã¯ä»ã® <literal>Cat</literal> ã® <literal>mate</literal> ã鏿ãã¾ãã å®éã«ã¯æ¬¡ã®ããã«ãããç°¡æ½ã«è¡¨ç¾ã§ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:220
+#, no-c-format
+msgid ""
+"If the entity defines a named identifier property, you may use that property "
+"name."
+msgstr ""
+"If the entity defines a named identifier property, you may use that property "
+"name."
-#: index.docbook:226
-msgid "References to composite identifier properties follow the same naming rules. If the entity has a non-identifier property named id, the composite identifier property can only be referenced by its defined named; otherwise, the special <literal>id</literal> property can be used to rerference the identifier property."
-msgstr "<![CDATA[select cat.mate from Cat cat]]>"
+#. Tag: para
+#: query_hql.xml:226
+#, no-c-format
+msgid ""
+"References to composite identifier properties follow the same naming rules. "
+"If the entity has a non-identifier property named id, the composite "
+"identifier property can only be referenced by its defined named; otherwise, "
+"the special <literal>id</literal> property can be used to rerference the "
+"identifier property."
+msgstr ""
+"References to composite identifier properties follow the same naming rules. "
+"If the entity has a non-identifier property named id, the composite "
+"identifier property can only be referenced by its defined named; otherwise, "
+"the special <literal>id</literal> property can be used to rerference the "
+"identifier property."
-#: index.docbook:233
-msgid "Note: this has changed significantly starting in version 3.2.2. In previous versions, <literal>id</literal> <emphasis>always</emphasis> referred to the identifier property no matter what its actual name. A ramification of that decision was that non-identifier properties named <literal>id</literal> could never be referenced in Hibernate queries."
-msgstr "ã¯ã¨ãªã¯ã³ã³ãã¼ãã³ãåã®ããããã£ãå«ããããããå¤åã®ããããã£ãè¿ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:233
+#, fuzzy, no-c-format
+msgid ""
+"Note: this has changed significantly starting in version 3.2.2. In previous "
+"versions, <literal>id</literal> <emphasis>always</emphasis> referred to the "
+"identifier property no matter what its actual name. A ramification of that "
+"decision was that non-identifier properties named <literal>id</literal> "
+"could never be referenced in Hibernate queries."
+msgstr ""
+"Note: this has changed significantly starting in version 3.2.2. In previous "
+"versions, <literal>id</literal><emphasis>always</emphasis> referred to the "
+"identifier property no matter what its actual name. A ramification of that "
+"decision was that non-identifier properties named <literal>id</literal> "
+"could never be referenced in Hibernate queries."
-#: index.docbook:242
+#. Tag: title
+#: query_hql.xml:242
+#, no-c-format
msgid "The select clause"
+msgstr "Selectç¯"
+
+#. Tag: para
+#: query_hql.xml:244
+#, no-c-format
+msgid ""
+"The <literal>select</literal> clause picks which objects and properties to "
+"return in the query result set. Consider:"
msgstr ""
- "<![CDATA[select cat.name from DomesticCat cat
-\n"
- "where cat.name like 'fri%']]>"
+"<literal>select</literal> ç¯ã¯ä»¥ä¸ã®ããã«ã©ã®ãªãã¸ã§ã¯ãã¨å±æ§ãã¯ã¨ãªãªã¶"
+"ã«ãã»ããã«è¿ããã鏿ãã¾ãã:"
-#: index.docbook:244
-msgid "The <literal>select</literal> clause picks which objects and properties to return in the query result set. Consider:"
-msgstr "<![CDATA[select cust.name.firstName from Customer as cust]]>"
+#. Tag: programlisting
+#: query_hql.xml:249
+#, no-c-format
+msgid ""
+"<![CDATA[select mate\n"
+"from Cat as cat\n"
+" inner join cat.mate as mate]]>"
+msgstr ""
-#: index.docbook:249
+#. Tag: para
+#: query_hql.xml:251
+#, no-c-format
msgid ""
- "<![CDATA[select mate\n"
- "from Cat as cat\n"
- " inner join cat.mate as mate]]>"
-msgstr "ã¯ã¨ãªã¯è¤æ°ã®ãªãã¸ã§ã¯ãã¨(ã¾ãã¯)ããããã£ã <literal>Object[]</literal> åã®é
åã¨ãã¦è¿ãã¾ãã"
-
-#: index.docbook:251
-msgid "The query will select <literal>mate</literal>s of other <literal>Cat</literal>s. Actually, you may express this query more compactly as:"
+"The query will select <literal>mate</literal>s of other <literal>Cat</"
+"literal>s. Actually, you may express this query more compactly as:"
msgstr ""
- "<![CDATA[select mother, offspr, mate.name
-\n"
- "from DomesticCat as mother
-\n"
- " inner join mother.mate as mate
-\n"
- " left outer join mother.kittens as offspr]]>"
+"ä¸è¨ã®ã¯ã¨ãªã¯ä»ã® <literal>Cat</literal> ã® <literal>mate</literal> ã鏿ã"
+"ã¾ãã å®éã«ã¯æ¬¡ã®ããã«ãããç°¡æ½ã«è¡¨ç¾ã§ãã¾ãã:"
-#: index.docbook:256
+#. Tag: programlisting
+#: query_hql.xml:256
+#, no-c-format
msgid "<![CDATA[select cat.mate from Cat cat]]>"
-msgstr "ããã㯠<literal>List</literal> ã¨ãã¦ã"
+msgstr ""
-#: index.docbook:258
-msgid "Queries may return properties of any value type including properties of component type:"
+#. Tag: para
+#: query_hql.xml:258
+#, no-c-format
+msgid ""
+"Queries may return properties of any value type including properties of "
+"component type:"
msgstr ""
- "<![CDATA[select new list(mother, offspr, mate.name)
-\n"
- "from DomesticCat as mother
-\n"
- " inner join mother.mate as mate
-\n"
- " left outer join mother.kittens as offspr]]>"
+"ã¯ã¨ãªã¯ã³ã³ãã¼ãã³ãåã®ããããã£ãå«ããããããå¤åã®ããããã£ãè¿ãã¾"
+"ãã:"
-#: index.docbook:262
+#. Tag: programlisting
+#: query_hql.xml:262
+#, no-c-format
msgid ""
- "<![CDATA[select cat.name from DomesticCat cat\n"
- "where cat.name like 'fri%']]>"
-msgstr "ã¾ãã¯ãã¿ã¤ãã»ã¼ããªJavaãªãã¸ã§ã¯ããè¿ãã¾ãã"
+"<![CDATA[select cat.name from DomesticCat cat\n"
+"where cat.name like 'fri%']]>"
+msgstr ""
-#: index.docbook:264
+#. Tag: programlisting
+#: query_hql.xml:264
+#, no-c-format
msgid "<![CDATA[select cust.name.firstName from Customer as cust]]>"
msgstr ""
- "<![CDATA[select new Family(mother, mate, offspr)
-\n"
- "from DomesticCat as mother
-\n"
- " join mother.mate as mate
-\n"
- " left join mother.kittens as offspr]]>"
-#: index.docbook:266
-msgid "Queries may return multiple objects and/or properties as an array of type <literal>Object[]</literal>,"
-msgstr "ããã㯠<literal>Family</literal> ã¯ã©ã¹ãé©åãªã³ã³ã¹ãã©ã¯ã¿ãæã£ã¦ããã¨ãããªãã°ã"
+#. Tag: para
+#: query_hql.xml:266
+#, no-c-format
+msgid ""
+"Queries may return multiple objects and/or properties as an array of type "
+"<literal>Object[]</literal>,"
+msgstr ""
+"ã¯ã¨ãªã¯è¤æ°ã®ãªãã¸ã§ã¯ãã¨(ã¾ãã¯)ããããã£ã <literal>Object[]</literal> "
+"åã®é
åã¨ãã¦è¿ãã¾ãã"
-#: index.docbook:271
+#. Tag: programlisting
+#: query_hql.xml:271
+#, no-c-format
msgid ""
- "<![CDATA[select mother, offspr, mate.name\n"
- "from DomesticCat as mother\n"
- " inner join mother.mate as mate\n"
- " left outer join mother.kittens as offspr]]>"
-msgstr "selectç¯ã« <literal>as</literal> ã使ã£ã¦å¥åãã¤ãããã¨ãã§ãã¾ãã"
+"<![CDATA[select mother, offspr, mate.name\n"
+"from DomesticCat as mother\n"
+" inner join mother.mate as mate\n"
+" left outer join mother.kittens as offspr]]>"
+msgstr ""
-#: index.docbook:273
+#. Tag: para
+#: query_hql.xml:273
+#, no-c-format
msgid "or as a <literal>List</literal>,"
-msgstr ""
- "<![CDATA[select max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n
-\n"
- "from Cat cat]]>"
+msgstr "ããã㯠<literal>List</literal> ã¨ãã¦ã"
-#: index.docbook:277
+#. Tag: programlisting
+#: query_hql.xml:277
+#, no-c-format
msgid ""
- "<![CDATA[select new list(mother, offspr, mate.name)\n"
- "from DomesticCat as mother\n"
- " inner join mother.mate as mate\n"
- " left outer join mother.kittens as offspr]]>"
-msgstr "<literal>select new map</literal> ã¨ä¸ç·ã«ä½¿ãã¨ãã«æãå½¹ç«ã¡ã¾ãï¼"
+"<![CDATA[select new list(mother, offspr, mate.name)\n"
+"from DomesticCat as mother\n"
+" inner join mother.mate as mate\n"
+" left outer join mother.kittens as offspr]]>"
+msgstr ""
-#: index.docbook:279
+#. Tag: para
+#: query_hql.xml:279
+#, no-c-format
msgid "or as an actual typesafe Java object,"
+msgstr "ã¾ãã¯ãã¿ã¤ãã»ã¼ããªJavaãªãã¸ã§ã¯ããè¿ãã¾ãã"
+
+#. Tag: programlisting
+#: query_hql.xml:283
+#, no-c-format
+msgid ""
+"<![CDATA[select new Family(mother, mate, offspr)\n"
+"from DomesticCat as mother\n"
+" join mother.mate as mate\n"
+" left join mother.kittens as offspr]]>"
msgstr ""
- "<![CDATA[select new map( max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n )
-\n"
- "from Cat cat]]>"
-#: index.docbook:283
+#. Tag: para
+#: query_hql.xml:285
+#, no-c-format
msgid ""
- "<![CDATA[select new Family(mother, mate, offspr)\n"
- "from DomesticCat as mother\n"
- " join mother.mate as mate\n"
- " left join mother.kittens as offspr]]>"
-msgstr "ãã®ã¯ã¨ãªã¯å¥åããselectããå¤ã¸ <literal>Map</literal> ãè¿ãã¾ãã"
+"assuming that the class <literal>Family</literal> has an appropriate "
+"constructor."
+msgstr ""
+"ããã㯠<literal>Family</literal> ã¯ã©ã¹ãé©åãªã³ã³ã¹ãã©ã¯ã¿ãæã£ã¦ããã¨"
+"ãããªãã°ã"
-#: index.docbook:285
-msgid "assuming that the class <literal>Family</literal> has an appropriate constructor."
-msgstr "éç´é¢æ°"
+#. Tag: para
+#: query_hql.xml:289
+#, no-c-format
+msgid ""
+"You may assign aliases to selected expressions using <literal>as</literal>:"
+msgstr "selectç¯ã« <literal>as</literal> ã使ã£ã¦å¥åãã¤ãããã¨ãã§ãã¾ãã"
-#: index.docbook:289
-msgid "You may assign aliases to selected expressions using <literal>as</literal>:"
-msgstr "HQLã®ã¯ã¨ãªã¯ããããã£ã®éç´é¢æ°ã®çµæãè¿ãã¾ãï¼"
-
-#: index.docbook:293
+#. Tag: programlisting
+#: query_hql.xml:293
+#, no-c-format
msgid ""
- "<![CDATA[select max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n\n"
- "from Cat cat]]>"
+"<![CDATA[select max(bodyWeight) as max, min(bodyWeight) as min, count(*) as "
+"n\n"
+"from Cat cat]]>"
msgstr ""
- "<![CDATA[select avg(cat.weight), sum(cat.weight), max(cat.weight), count(cat)
-\n"
- "from Cat cat]]>"
-#: index.docbook:295
-msgid "This is most useful when used together with <literal>select new map</literal>:"
-msgstr "ãµãã¼ããã¦ããéç´é¢æ°ã¯ä»¥ä¸ã®ãã®ã§ãã"
+#. Tag: para
+#: query_hql.xml:295
+#, no-c-format
+msgid ""
+"This is most useful when used together with <literal>select new map</"
+"literal>:"
+msgstr "<literal>select new map</literal> ã¨ä¸ç·ã«ä½¿ãã¨ãã«æãå½¹ç«ã¡ã¾ãï¼"
-#: index.docbook:299
+#. Tag: programlisting
+#: query_hql.xml:299
+#, no-c-format
msgid ""
- "<![CDATA[select new map( max(bodyWeight) as max, min(bodyWeight) as min, count(*) as n )\n"
- "from Cat cat]]>"
-msgstr "avg(...), sum(...), min(...), max(...)"
+"<![CDATA[select new map( max(bodyWeight) as max, min(bodyWeight) as min, "
+"count(*) as n )\n"
+"from Cat cat]]>"
+msgstr ""
-#: index.docbook:301
-msgid "This query returns a <literal>Map</literal> from aliases to selected values."
-msgstr "count(*)"
+#. Tag: para
+#: query_hql.xml:301
+#, no-c-format
+msgid ""
+"This query returns a <literal>Map</literal> from aliases to selected values."
+msgstr "ãã®ã¯ã¨ãªã¯å¥åããselectããå¤ã¸ <literal>Map</literal> ãè¿ãã¾ãã"
-#: index.docbook:308
+#. Tag: title
+#: query_hql.xml:308
+#, no-c-format
msgid "Aggregate functions"
-msgstr "count(...), count(distinct ...), count(all...)"
+msgstr "éç´é¢æ°"
-#: index.docbook:310
-msgid "HQL queries may even return the results of aggregate functions on properties:"
-msgstr "selectç¯ã«ããã¦ç®è¡æä½ãé£çµã¨æ¿èªãããSQL颿°ã使ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:310
+#, no-c-format
+msgid ""
+"HQL queries may even return the results of aggregate functions on properties:"
+msgstr "HQLã®ã¯ã¨ãªã¯ããããã£ã®éç´é¢æ°ã®çµæãè¿ãã¾ãï¼"
-#: index.docbook:314
+#. Tag: programlisting
+#: query_hql.xml:314
+#, no-c-format
msgid ""
- "<![CDATA[select avg(cat.weight), sum(cat.weight), max(cat.weight), count(cat)\n"
- "from Cat cat]]>"
+"<![CDATA[select avg(cat.weight), sum(cat.weight), max(cat.weight), count"
+"(cat)\n"
+"from Cat cat]]>"
msgstr ""
- "<![CDATA[select cat.weight + sum(kitten.weight)
-\n"
- "from Cat cat
-\n"
- " join cat.kittens kitten
-\n"
- "group by cat.id, cat.weight]]>"
-#: index.docbook:325
+#. Tag: para
+#: query_hql.xml:325
+#, no-c-format
msgid "The supported aggregate functions are"
-msgstr "<![CDATA[select firstName||' '||initial||' '||upper(lastName) from Person]]>"
+msgstr "ãµãã¼ããã¦ããéç´é¢æ°ã¯ä»¥ä¸ã®ãã®ã§ãã"
-#: index.docbook:332
+#. Tag: literal
+#: query_hql.xml:332
+#, no-c-format
msgid "avg(...), sum(...), min(...), max(...)"
-msgstr "SQLã¨åãæå³ãæã¤ <literal>distinct</literal> 㨠<literal>all</literal> ãã¼ã¯ã¼ãã使ããã¨ãã§ãã¾ãã"
+msgstr "avg(...), sum(...), min(...), max(...)"
-#: index.docbook:337
+#. Tag: literal
+#: query_hql.xml:337
+#, no-c-format
msgid "count(*)"
-msgstr ""
- "<![CDATA[select distinct cat.name from Cat cat
-\n"
- "
-\n"
- "select count(distinct cat.name), count(cat) from Cat cat]]>"
+msgstr "count(*)"
-#: index.docbook:342
+#. Tag: literal
+#: query_hql.xml:342
+#, no-c-format
msgid "count(...), count(distinct ...), count(all...)"
-msgstr "ããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãª"
+msgstr "count(...), count(distinct ...), count(all...)"
-#: index.docbook:347
-msgid "You may use arithmetic operators, concatenation, and recognized SQL functions in the select clause:"
-msgstr "次ã®ãããªã¯ã¨ãªï¼"
+#. Tag: para
+#: query_hql.xml:347
+#, no-c-format
+msgid ""
+"You may use arithmetic operators, concatenation, and recognized SQL "
+"functions in the select clause:"
+msgstr ""
+"selectç¯ã«ããã¦ç®è¡æä½ãé£çµã¨æ¿èªãããSQL颿°ã使ããã¨ãã§ãã¾ãã"
-#: index.docbook:352
+#. Tag: programlisting
+#: query_hql.xml:352
+#, no-c-format
msgid ""
- "<![CDATA[select cat.weight + sum(kitten.weight)\n"
- "from Cat cat\n"
- " join cat.kittens kitten\n"
- "group by cat.id, cat.weight]]>"
-msgstr "<![CDATA[from Cat as cat]]>"
+"<![CDATA[select cat.weight + sum(kitten.weight)\n"
+"from Cat cat\n"
+" join cat.kittens kitten\n"
+"group by cat.id, cat.weight]]>"
+msgstr ""
-#: index.docbook:354
-msgid "<![CDATA[select firstName||' '||initial||' '||upper(lastName) from Person]]>"
-msgstr "<literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã ãã§ã¯ãªãã<literal>DomesticCat</literal> ã®ãããªãµãã¯ã©ã¹ãè¿ããã¾ããHibernateã¯ã¨ãªã¯ <emphasis>ã©ããª</emphasis> Javaã¯ã©ã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã <literal>from</literal> ç¯ã«å
¥ãããã¨ãã§ãã¾ãã ã¯ã¨ãªã¯ãã®ã¯ã©ã¹ãæ¡å¼µããããããã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ããå
¨ã¦ã®æ°¸ç¶ã¯ã©ã¹ãè¿ãã¾ãã æ¬¡ã®ã¯ã¨ãªã¯æ°¸ç¶ãªãã¸ã§ã¯ãããã¹ã¦è¿ãã¾ã:"
+#. Tag: programlisting
+#: query_hql.xml:354
+#, no-c-format
+msgid ""
+"<![CDATA[select firstName||' '||initial||' '||upper(lastName) from Person]]>"
+msgstr ""
-#: index.docbook:356
-msgid "The <literal>distinct</literal> and <literal>all</literal> keywords may be used and have the same semantics as in SQL."
-msgstr "<![CDATA[from java.lang.Object o]]>"
+#. Tag: para
+#: query_hql.xml:356
+#, no-c-format
+msgid ""
+"The <literal>distinct</literal> and <literal>all</literal> keywords may be "
+"used and have the same semantics as in SQL."
+msgstr ""
+"SQLã¨åãæå³ãæã¤ <literal>distinct</literal> 㨠<literal>all</literal> "
+"ãã¼ã¯ã¼ãã使ããã¨ãã§ãã¾ãã"
-#: index.docbook:361
+#. Tag: programlisting
+#: query_hql.xml:361
+#, no-c-format
msgid ""
- "<![CDATA[select distinct cat.name from Cat cat\n"
- "\n"
- "select count(distinct cat.name), count(cat) from Cat cat]]>"
-msgstr "<literal>Named</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯æ§ã
ãªæ°¸ç¶ã¯ã©ã¹ã«ãã£ã¦å®è£
ããã¾ãã:"
+"<![CDATA[select distinct cat.name from Cat cat\n"
+"\n"
+"select count(distinct cat.name), count(cat) from Cat cat]]>"
+msgstr ""
-#: index.docbook:366
+#. Tag: title
+#: query_hql.xml:366
+#, no-c-format
msgid "Polymorphic queries"
-msgstr "<![CDATA[from Named n, Named m where n.name = m.name]]>"
+msgstr "ããªã¢ã¼ãã£ãã¯ãªã¯ã¨ãª"
-#: index.docbook:368
+#. Tag: para
+#: query_hql.xml:368
+#, no-c-format
msgid "A query like:"
-msgstr "æå¾ã®äºã¤ã®ã¯ã¨ãªã¯ãäºã¤ä»¥ä¸ã®SQL <literal>SELECT</literal> ãè¦æ±ãã¦ãããã¨ã«æ³¨æãã¦ãã ããã ãã®ãã¨ã¯ <literal>order by</literal> ç¯ããªã¶ã«ãã»ããå
¨ä½ãæ£ç¢ºã«ã¯æ´åããªããã¨ãæå³ãã¾ã (ããã«ããã¯ã<literal>Query.scroll()</literal> ã使ç¨ãã¦ãããã®ã¯ã¨ãªãå¼ã¶ãã¨ãã§ããªããã¨ãæå³ãã¾ãã)ã"
+msgstr "次ã®ãããªã¯ã¨ãªï¼"
-#: index.docbook:374
-msgid "returns instances not only of <literal>Cat</literal>, but also of subclasses like <literal>DomesticCat</literal>. Hibernate queries may name <emphasis>any</emphasis> Java class or interface in the <literal>from</literal> clause. The query will return instances of all persistent classes that extend that class or implement the interface. The following query would return all persistent objects:"
-msgstr "<literal>where</literal> ç¯ã¯è¿ãããã¤ã³ã¹ã¿ã³ã¹ã®ãªã¹ããçµããã¨ãã§ãã¾ãã ããå¥åããªãå ´åãååã§ããããã£ãåç
§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:374
+#, no-c-format
+msgid ""
+"returns instances not only of <literal>Cat</literal>, but also of subclasses "
+"like <literal>DomesticCat</literal>. Hibernate queries may name "
+"<emphasis>any</emphasis> Java class or interface in the <literal>from</"
+"literal> clause. The query will return instances of all persistent classes "
+"that extend that class or implement the interface. The following query would "
+"return all persistent objects:"
+msgstr ""
+"<literal>Cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã ãã§ã¯ãªãã<literal>DomesticCat</"
+"literal> ã®ãããªãµãã¯ã©ã¹ãè¿ããã¾ããHibernateã¯ã¨ãªã¯ <emphasis>ã©ããª</"
+"emphasis> Javaã¯ã©ã¹ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã <literal>from</literal> ç¯ã«å
¥ããã"
+"ã¨ãã§ãã¾ãã ã¯ã¨ãªã¯ãã®ã¯ã©ã¹ãæ¡å¼µããããããã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå®è£
ã"
+"ãå
¨ã¦ã®æ°¸ç¶ã¯ã©ã¹ãè¿ãã¾ãã æ¬¡ã®ã¯ã¨ãªã¯æ°¸ç¶ãªãã¸ã§ã¯ãããã¹ã¦è¿ãã¾ã:"
-#: index.docbook:382
+#. Tag: programlisting
+#: query_hql.xml:382
+#, no-c-format
msgid "<![CDATA[from java.lang.Object o]]>"
-msgstr "<![CDATA[from Cat where name='Fritz']]>"
+msgstr ""
-#: index.docbook:384
-msgid "The interface <literal>Named</literal> might be implemented by various persistent classes:"
-msgstr "ããå¥åãããå ´åã修飾åã使ã£ã¦ãã ããã"
+#. Tag: para
+#: query_hql.xml:384
+#, no-c-format
+msgid ""
+"The interface <literal>Named</literal> might be implemented by various "
+"persistent classes:"
+msgstr ""
+"<literal>Named</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯æ§ã
ãªæ°¸ç¶ã¯ã©ã¹ã«ãã£ã¦å®è£
ããã¾"
+"ãã:"
-#: index.docbook:389
+#. Tag: programlisting
+#: query_hql.xml:389
+#, no-c-format
msgid "<![CDATA[from Named n, Named m where n.name = m.name]]>"
-msgstr "<![CDATA[from Cat as cat where cat.name='Fritz']]>"
+msgstr ""
-#: index.docbook:391
-msgid "Note that these last two queries will require more than one SQL <literal>SELECT</literal>. This means that the <literal>order by</literal> clause does not correctly order the whole result set. (It also means you can't call these queries using <literal>Query.scroll()</literal>.)"
-msgstr "ååã'Fritz'ã¨ãã <literal>Cat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:391
+#, no-c-format
+msgid ""
+"Note that these last two queries will require more than one SQL "
+"<literal>SELECT</literal>. This means that the <literal>order by</literal> "
+"clause does not correctly order the whole result set. (It also means you "
+"can't call these queries using <literal>Query.scroll()</literal>.)"
+msgstr ""
+"æå¾ã®äºã¤ã®ã¯ã¨ãªã¯ãäºã¤ä»¥ä¸ã®SQL <literal>SELECT</literal> ãè¦æ±ãã¦ãã"
+"ãã¨ã«æ³¨æãã¦ãã ããã ãã®ãã¨ã¯ <literal>order by</literal> ç¯ããªã¶ã«ã"
+"ã»ããå
¨ä½ãæ£ç¢ºã«ã¯æ´åããªããã¨ãæå³ãã¾ã (ããã«ããã¯ã<literal>Query."
+"scroll()</literal> ã使ç¨ãã¦ãããã®ã¯ã¨ãªãå¼ã¶ãã¨ãã§ããªããã¨ãæå³ãã¾"
+"ãã)ã"
-#: index.docbook:400
+#. Tag: title
+#: query_hql.xml:400
+#, no-c-format
msgid "The where clause"
+msgstr "whereç¯"
+
+#. Tag: para
+#: query_hql.xml:402
+#, no-c-format
+msgid ""
+"The <literal>where</literal> clause allows you to narrow the list of "
+"instances returned. If no alias exists, you may refer to properties by name:"
msgstr ""
- "<![CDATA[select foo
-\n"
- "from Foo foo, Bar bar
-\n"
- "where foo.startDate = bar.date]]>"
+"<literal>where</literal> ç¯ã¯è¿ãããã¤ã³ã¹ã¿ã³ã¹ã®ãªã¹ããçµããã¨ãã§ãã¾"
+"ãã ããå¥åããªãå ´åãååã§ããããã£ãåç
§ãã¾ãã"
-#: index.docbook:402
-msgid "The <literal>where</literal> clause allows you to narrow the list of instances returned. If no alias exists, you may refer to properties by name:"
-msgstr "ä¸ã®HQLã¯ã<literal>Foo</literal> ã® <literal>startDate</literal> ããããã£ã¨çãã <literal>date</literal> ããããã£ãæã£ã <literal>bar</literal> ã¤ã³ã¹ã¿ã³ã¹ãåå¨ããã ãã¹ã¦ã® <literal>Foo</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã ã³ã³ãã¦ã³ããã¹å¼ï¼ä¾ãã°ãcat.mate.nameãï¼ã¯ <literal>where</literal> ç¯ãé常ã«å¼·åã«ãã¾ããæ³¨ç®ï¼"
-
-#: index.docbook:407
+#. Tag: programlisting
+#: query_hql.xml:407
+#, no-c-format
msgid "<![CDATA[from Cat where name='Fritz']]>"
-msgstr "<![CDATA[from Cat cat where cat.mate.name is not null]]>"
+msgstr ""
-#: index.docbook:409
+#. Tag: para
+#: query_hql.xml:409
+#, no-c-format
msgid "If there is an alias, use a qualified property name:"
-msgstr "ãã®ã¯ã¨ãªã¯ãã¼ãã«çµåï¼å
é¨çµåï¼ãæã¤SQLã¯ã¨ãªã«å¤æããã¾ãã ãã®ä»£ããã«ä»¥ä¸ã®ããã«æ¸ãã¨ã"
+msgstr "ããå¥åãããå ´åã修飾åã使ã£ã¦ãã ããã"
-#: index.docbook:413
+#. Tag: programlisting
+#: query_hql.xml:413
+#, no-c-format
msgid "<![CDATA[from Cat as cat where cat.name='Fritz']]>"
msgstr ""
- "<![CDATA[from Foo foo
-\n"
- "where foo.bar.baz.customer.address.city is not null]]>"
-#: index.docbook:415
+#. Tag: para
+#: query_hql.xml:415
+#, no-c-format
msgid "returns instances of <literal>Cat</literal> named 'Fritz'."
-msgstr "ããä¸ã®ã¯ã¨ãªãè¨è¿°ãããã¯ã¨ãªå
ã«4ã¤ã®ãã¼ãã«çµåãå¿
è¦ã¨ããSQLã¯ã¨ãªã«å¤æããã¾ãã"
+msgstr "ååã'Fritz'ã¨ãã <literal>Cat</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾ãã"
-#: index.docbook:419
+#. Tag: programlisting
+#: query_hql.xml:419
+#, no-c-format
msgid ""
- "<![CDATA[select foo\n"
- "from Foo foo, Bar bar\n"
- "where foo.startDate = bar.date]]>"
-msgstr "<literal>=</literal> æ¼ç®åã¯ä»¥ä¸ã®ããã«ãããããã£ã ãã§ãªãã¤ã³ã¹ã¿ã³ã¹ãæ¯è¼ããããã«ã使ããã¾ããï¼"
+"<![CDATA[select foo\n"
+"from Foo foo, Bar bar\n"
+"where foo.startDate = bar.date]]>"
+msgstr ""
-#: index.docbook:421
-msgid "will return all instances of <literal>Foo</literal> for which there exists an instance of <literal>bar</literal> with a <literal>date</literal> property equal to the <literal>startDate</literal> property of the <literal>Foo</literal>. Compound path expressions make the <literal>where</literal> clause extremely powerful. Consider:"
-msgstr "<![CDATA[from Cat cat, Cat rival where cat.mate = rival.mate]]>"
+#. Tag: para
+#: query_hql.xml:421
+#, no-c-format
+msgid ""
+"will return all instances of <literal>Foo</literal> for which there exists "
+"an instance of <literal>bar</literal> with a <literal>date</literal> "
+"property equal to the <literal>startDate</literal> property of the "
+"<literal>Foo</literal>. Compound path expressions make the <literal>where</"
+"literal> clause extremely powerful. Consider:"
+msgstr ""
+"ä¸ã®HQLã¯ã<literal>Foo</literal> ã® <literal>startDate</literal> ããããã£"
+"ã¨çãã <literal>date</literal> ããããã£ãæã£ã <literal>bar</literal> ã¤"
+"ã³ã¹ã¿ã³ã¹ãåå¨ããã ãã¹ã¦ã® <literal>Foo</literal> ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¾"
+"ãã ã³ã³ãã¦ã³ããã¹å¼ï¼ä¾ãã°ãcat.mate.nameãï¼ã¯ <literal>where</"
+"literal> ç¯ãé常ã«å¼·åã«ãã¾ããæ³¨ç®ï¼"
-#: index.docbook:430
+#. Tag: programlisting
+#: query_hql.xml:430
+#, no-c-format
msgid "<![CDATA[from Cat cat where cat.mate.name is not null]]>"
msgstr ""
- "<![CDATA[select cat, mate
-\n"
- "from Cat cat, Cat mate
-\n"
- "where cat.mate = mate]]>"
-#: index.docbook:432
-msgid "This query translates to an SQL query with a table (inner) join. If you were to write something like"
-msgstr "<literal>id</literal> (å°æå)ã¯ç¹å¥ãªããããã£ã§ããã ãªãã¸ã§ã¯ãã®ã¦ãã¼ã¯ãªèå¥åãåç
§ããããã«ä½¿ç¨ã§ãã¾ãã(ããã«ããã®ããããã£åã使ç¨ã§ãã¾ãã)"
+#. Tag: para
+#: query_hql.xml:432
+#, no-c-format
+msgid ""
+"This query translates to an SQL query with a table (inner) join. If you were "
+"to write something like"
+msgstr ""
+"ãã®ã¯ã¨ãªã¯ãã¼ãã«çµåï¼å
é¨çµåï¼ãæã¤SQLã¯ã¨ãªã«å¤æããã¾ãã ãã®ä»£ã"
+"ãã«ä»¥ä¸ã®ããã«æ¸ãã¨ã"
-#: index.docbook:437
+#. Tag: programlisting
+#: query_hql.xml:437
+#, no-c-format
msgid ""
- "<![CDATA[from Foo foo\n"
- "where foo.bar.baz.customer.address.city is not null]]>"
+"<![CDATA[from Foo foo\n"
+"where foo.bar.baz.customer.address.city is not null]]>"
msgstr ""
- "<![CDATA[from Cat as cat where cat.id = 123
-\n"
- "
-\n"
- "from Cat as cat where cat.mate.id = 69]]>"
-#: index.docbook:439
-msgid "you would end up with a query that would require four table joins in SQL."
-msgstr "2çªç®ã®ã¯ã¨ãªã¯å¹ççã§ãããã¼ãã«çµåãå¿
è¦ããã¾ããï¼"
+#. Tag: para
+#: query_hql.xml:439
+#, no-c-format
+msgid ""
+"you would end up with a query that would require four table joins in SQL."
+msgstr ""
+"ããä¸ã®ã¯ã¨ãªãè¨è¿°ãããã¯ã¨ãªå
ã«4ã¤ã®ãã¼ãã«çµåãå¿
è¦ã¨ããSQLã¯ã¨ãªã«"
+"夿ããã¾ãã"
-#: index.docbook:443
-msgid "The <literal>=</literal> operator may be used to compare not only properties, but also instances:"
-msgstr "ã¾ãè¤åèå¥åã®ããããã£ã使ç¨ã§ãã¾ããããã§ <literal>Person</literal> ã <literal>country</literal> 㨠<literal>medicareNumber</literal> ãããªãè¤åèå¥åãæã¤ã¨ä»®å®ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:443
+#, no-c-format
+msgid ""
+"The <literal>=</literal> operator may be used to compare not only "
+"properties, but also instances:"
+msgstr ""
+"<literal>=</literal> æ¼ç®åã¯ä»¥ä¸ã®ããã«ãããããã£ã ãã§ãªãã¤ã³ã¹ã¿ã³ã¹ã"
+"æ¯è¼ããããã«ã使ããã¾ããï¼"
-#: index.docbook:448
+#. Tag: programlisting
+#: query_hql.xml:448
+#, no-c-format
msgid "<![CDATA[from Cat cat, Cat rival where cat.mate = rival.mate]]>"
msgstr ""
- "<![CDATA[from bank.Person person
-\n"
- "where person.id.country = 'AU'
-\n"
- " and person.id.medicareNumber = 123456]]>"
-#: index.docbook:450
+#. Tag: programlisting
+#: query_hql.xml:450
+#, no-c-format
msgid ""
- "<![CDATA[select cat, mate\n"
- "from Cat cat, Cat mate\n"
- "where cat.mate = mate]]>"
+"<![CDATA[select cat, mate\n"
+"from Cat cat, Cat mate\n"
+"where cat.mate = mate]]>"
msgstr ""
- "<![CDATA[from bank.Account account
-\n"
- "where account.owner.id.country = 'AU'
-\n"
- " and account.owner.id.medicareNumber = 123456]]>"
-#: index.docbook:452
-msgid "The special property (lowercase) <literal>id</literal> may be used to reference the unique identifier of an object. See <xref linkend=\"queryhql-identifier-property\"/> for more information."
-msgstr "ããä¸åº¦è¨ãã¾ããã2çªç®ã®ã¯ã¨ãªã«ã¯ãã¼ãã«çµåãå¿
è¦ããã¾ããã"
+#. Tag: para
+#: query_hql.xml:452
+#, no-c-format
+msgid ""
+"The special property (lowercase) <literal>id</literal> may be used to "
+"reference the unique identifier of an object. See <xref linkend=\"queryhql-"
+"identifier-property\"/> for more information."
+msgstr ""
+"<literal>id</literal> (å°æå)ã¯ç¹å¥ãªããããã£ã§ããã ãªãã¸ã§ã¯ãã®ã¦ãã¼"
+"ã¯ãªèå¥åãåç
§ããããã«ä½¿ç¨ã§ãã¾ãã(ããã«ããã®ããããã£åã使ç¨ã§ãã¾"
+"ãã)"
-#: index.docbook:458
+#. Tag: programlisting
+#: query_hql.xml:458
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat where cat.id = 123\n"
- "\n"
- "from Cat as cat where cat.mate.id = 69]]>"
-msgstr "åæ§ã« <literal>class</literal> ã¯ç¹å¥ãªããããã£ã§ããã ããªã¢ã¼ãã£ãã¯ãªæ°¸ç¶åã«ãããã¤ã³ã¹ã¿ã³ã¹ã®discriminatorå¤ã«ã¢ã¯ã»ã¹ãã¾ãã whereç¯ã«åãè¾¼ã¾ããJavaã®ã¯ã©ã¹åã¯ãã®discriminatorå¤ã«å¤æããã¾ãã"
+"<![CDATA[from Cat as cat where cat.id = 123\n"
+"\n"
+"from Cat as cat where cat.mate.id = 69]]>"
+msgstr ""
-#: index.docbook:460
+#. Tag: para
+#: query_hql.xml:460
+#, no-c-format
msgid "The second query is efficient. No table join is required!"
-msgstr "<![CDATA[from Cat cat where cat.class = DomesticCat]]>"
+msgstr "2çªç®ã®ã¯ã¨ãªã¯å¹ççã§ãããã¼ãã«çµåãå¿
è¦ããã¾ããï¼"
-#: index.docbook:464
-msgid "Properties of composite identifiers may also be used. Suppose <literal>Person</literal> has a composite identifier consisting of <literal>country</literal> and <literal>medicareNumber</literal>. Again, see <xref linkend=\"queryhql-identifier-property\"/> for more information regarding referencing identifier properties."
-msgstr "ã¾ãã³ã³ãã¼ãã³ããè¤åã¦ã¼ã¶å(ã¾ããã®ã³ã³ãã¼ãã³ãã®ã³ã³ãã¼ãã³ããªã©)ã®ããããã£ãæå®ã§ãã¾ãã ãããæ±ºãã¦ï¼ã³ã³ãã¼ãã³ãã®ããããã£ã§ã¯ãªãï¼ã³ã³ãã¼ãã³ãåã®ããããã£ã§çµäºãããã¹å¼ã使ããªãã§ãã ããã ä¾ãã°ãã <literal>store.owner</literal> ã <literal>address</literal> ã³ã³ãã¼ãã³ããæã¤ã¨ã³ãã£ãã£ãªãã°ä»¥ä¸ã®ãããªçµæã¨ãªãã¾ãã"
+#. Tag: para
+#: query_hql.xml:464
+#, no-c-format
+msgid ""
+"Properties of composite identifiers may also be used. Suppose "
+"<literal>Person</literal> has a composite identifier consisting of "
+"<literal>country</literal> and <literal>medicareNumber</literal>. Again, see "
+"<xref linkend=\"queryhql-identifier-property\"/> for more information "
+"regarding referencing identifier properties."
+msgstr ""
+"ã¾ãè¤åèå¥åã®ããããã£ã使ç¨ã§ãã¾ããããã§ <literal>Person</literal> "
+"ã <literal>country</literal> 㨠<literal>medicareNumber</literal> ãããªãè¤"
+"åèå¥åãæã¤ã¨ä»®å®ãã¾ãã"
-#: index.docbook:471
+#. Tag: programlisting
+#: query_hql.xml:471
+#, no-c-format
msgid ""
- "<![CDATA[from bank.Person person\n"
- "where person.id.country = 'AU'\n"
- " and person.id.medicareNumber = 123456]]>"
+"<![CDATA[from bank.Person person\n"
+"where person.id.country = 'AU'\n"
+" and person.id.medicareNumber = 123456]]>"
msgstr ""
- "<![CDATA[store.owner.address.city // okay
-\n"
- "store.owner.address // error!]]>"
-#: index.docbook:473
+#. Tag: programlisting
+#: query_hql.xml:473
+#, no-c-format
msgid ""
- "<![CDATA[from bank.Account account\n"
- "where account.owner.id.country = 'AU'\n"
- " and account.owner.id.medicareNumber = 123456]]>"
-msgstr "\"any\"åã¯ç¹å¥ãªããããã£ã§ãã <literal>id</literal> 㨠<literal>class</literal> ãæã¡ã 以ä¸ã®æ¹æ³ã§çµåã表ç¾ãããã¨ãå¯è½ã«ãã¾ã(<literal>AuditLog.item</literal> 㯠<literal><any></literal> ã§ãããã³ã°ãããããããã£ã§ã)ã"
+"<![CDATA[from bank.Account account\n"
+"where account.owner.id.country = 'AU'\n"
+" and account.owner.id.medicareNumber = 123456]]>"
+msgstr ""
-#: index.docbook:475
+#. Tag: para
+#: query_hql.xml:475
+#, no-c-format
msgid "Once again, the second query requires no table join."
+msgstr "ããä¸åº¦è¨ãã¾ããã2çªç®ã®ã¯ã¨ãªã«ã¯ãã¼ãã«çµåãå¿
è¦ããã¾ããã"
+
+#. Tag: para
+#: query_hql.xml:479
+#, no-c-format
+msgid ""
+"Likewise, the special property <literal>class</literal> accesses the "
+"discriminator value of an instance in the case of polymorphic persistence. A "
+"Java class name embedded in the where clause will be translated to its "
+"discriminator value."
msgstr ""
- "<![CDATA[from AuditLog log, Payment payment
-\n"
- "where log.item.class = 'Payment' and log.item.id = payment.id]]>"
+"åæ§ã« <literal>class</literal> ã¯ç¹å¥ãªããããã£ã§ããã ããªã¢ã¼ãã£ãã¯ãª"
+"æ°¸ç¶åã«ãããã¤ã³ã¹ã¿ã³ã¹ã®discriminatorå¤ã«ã¢ã¯ã»ã¹ãã¾ãã whereç¯ã«åãè¾¼"
+"ã¾ããJavaã®ã¯ã©ã¹åã¯ãã®discriminatorå¤ã«å¤æããã¾ãã"
-#: index.docbook:479
-msgid "Likewise, the special property <literal>class</literal> accesses the discriminator value of an instance in the case of polymorphic persistence. A Java class name embedded in the where clause will be translated to its discriminator value."
-msgstr "<literal>log.item.class</literal> 㨠<literal>payment.class</literal> ã ä¸è¨ã®ã¯ã¨ãªä¸ã§å
¨ãç°ãªããã¼ã¿ãã¼ã¹ã«ã©ã ã®å¤ãåç
§ããã¨ãããã¨ã«æ³¨æãã¦ãã ããã"
-
-#: index.docbook:485
+#. Tag: programlisting
+#: query_hql.xml:485
+#, no-c-format
msgid "<![CDATA[from Cat cat where cat.class = DomesticCat]]>"
-msgstr "Expressions å¼"
+msgstr ""
-#: index.docbook:487
-msgid "You may also use components or composite user types, or properties of said component types. See <xref linkend=\"queryhql-coomponents\"/> for more details."
-msgstr "SQLã® <literal>where</literal> ç¯ã§è¨è¿°ãããã¨ãåºæ¥ãå¼ã®ã»ã¨ãã©ãHQLã§ãè¨è¿°ã§ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:487
+#, no-c-format
+msgid ""
+"You may also use components or composite user types, or properties of said "
+"component types. See <xref linkend=\"queryhql-components\"/> for more "
+"details."
+msgstr ""
+"ã¾ãã³ã³ãã¼ãã³ããè¤åã¦ã¼ã¶å(ã¾ããã®ã³ã³ãã¼ãã³ãã®ã³ã³ãã¼ãã³ããªã©)"
+"ã®ããããã£ãæå®ã§ãã¾ãã ãããæ±ºãã¦ï¼ã³ã³ãã¼ãã³ãã®ããããã£ã§ã¯ãª"
+"ãï¼ã³ã³ãã¼ãã³ãåã®ããããã£ã§çµäºãããã¹å¼ã使ããªãã§ãã ããã ä¾ãã°"
+"ãã <literal>store.owner</literal> ã <literal>address</literal> ã³ã³ãã¼ã"
+"ã³ããæã¤ã¨ã³ãã£ãã£ãªãã°ä»¥ä¸ã®ãããªçµæã¨ãªãã¾ãã"
-#: index.docbook:492
-msgid "An \"any\" type has the special properties <literal>id</literal> and <literal>class</literal>, allowing us to express a join in the following way (where <literal>AuditLog.item</literal> is a property mapped with <literal><any></literal>)."
-msgstr "ç®è¡æ¼ç®åï¼<literal>+, -, *, /</literal>"
+#. Tag: para
+#: query_hql.xml:492
+#, no-c-format
+msgid ""
+"An \"any\" type has the special properties <literal>id</literal> and "
+"<literal>class</literal>, allowing us to express a join in the following way "
+"(where <literal>AuditLog.item</literal> is a property mapped with "
+"<literal><any></literal>)."
+msgstr ""
+"\"any\"åã¯ç¹å¥ãªããããã£ã§ãã <literal>id</literal> 㨠<literal>class</"
+"literal> ãæã¡ã 以ä¸ã®æ¹æ³ã§çµåã表ç¾ãããã¨ãå¯è½ã«ãã¾ã"
+"(<literal>AuditLog.item</literal> 㯠<literal><any></literal> ã§ããã"
+"ã³ã°ãããããããã£ã§ã)ã"
-#: index.docbook:498
+#. Tag: programlisting
+#: query_hql.xml:498
+#, no-c-format
msgid ""
- "<![CDATA[from AuditLog log, Payment payment\n"
- "where log.item.class = 'Payment' and log.item.id = payment.id]]>"
-msgstr "2é
æ¯è¼æ¼ç®åï¼<literal>=, >=, <=, <>, !=, like</literal>"
+"<![CDATA[from AuditLog log, Payment payment\n"
+"where log.item.class = 'Payment' and log.item.id = payment.id]]>"
+msgstr ""
-#: index.docbook:500
-msgid "Notice that <literal>log.item.class</literal> and <literal>payment.class</literal> would refer to the values of completely different database columns in the above query."
-msgstr "è«çæ¼ç®åï¼<literal>and, or, not</literal>"
+#. Tag: para
+#: query_hql.xml:500
+#, no-c-format
+msgid ""
+"Notice that <literal>log.item.class</literal> and <literal>payment.class</"
+"literal> would refer to the values of completely different database columns "
+"in the above query."
+msgstr ""
+"<literal>log.item.class</literal> 㨠<literal>payment.class</literal> ã ä¸è¨"
+"ã®ã¯ã¨ãªä¸ã§å
¨ãç°ãªããã¼ã¿ãã¼ã¹ã«ã©ã ã®å¤ãåç
§ããã¨ãããã¨ã«æ³¨æãã¦ã"
+"ã ããã"
-#: index.docbook:508
+#. Tag: title
+#: query_hql.xml:508
+#, no-c-format
msgid "Expressions"
-msgstr "ã°ã«ã¼ãåããè¡¨ãæ¬å¼§ï¼<literal>( )</literal>"
+msgstr "Expressions å¼"
-#: index.docbook:510
-msgid "Expressions allowed in the <literal>where</literal> clause include most of the kind of things you could write in SQL:"
-msgstr "<literal>in</literal>, <literal>not in</literal>, <literal>between</literal>, <literal>is null</literal>, <literal>is not null</literal>, <literal>is empty</literal>, <literal>is not empty</literal>, <literal>member of</literal> and <literal>not member of</literal>"
+#. Tag: para
+#: query_hql.xml:510
+#, no-c-format
+msgid ""
+"Expressions allowed in the <literal>where</literal> clause include most of "
+"the kind of things you could write in SQL:"
+msgstr ""
+"SQLã® <literal>where</literal> ç¯ã§è¨è¿°ãããã¨ãåºæ¥ãå¼ã®ã»ã¨ãã©ãHQLã§ã"
+"è¨è¿°ã§ãã¾ãã:"
-#: index.docbook:517
+#. Tag: para
+#: query_hql.xml:517
+#, no-c-format
msgid "mathematical operators <literal>+, -, *, /</literal>"
-msgstr "\"ã·ã³ãã«\"ãªcase <literal>case ... when ... then ... else ... end</literal>ã \"æ¢ç´¢ç\"ãªcase <literal>case when ... then ... else ... end</literal>"
+msgstr "ç®è¡æ¼ç®åï¼<literal>+, -, *, /</literal>"
-#: index.docbook:522
-msgid "binary comparison operators <literal>=, >=, <=, <>, !=, like</literal>"
-msgstr "ã¹ããªã³ã°ã®é£çµ <literal>...||...</literal> ã¾ã㯠<literal>concat(...,...)</literal>"
+#. Tag: para
+#: query_hql.xml:522
+#, no-c-format
+msgid ""
+"binary comparison operators <literal>=, >=, <=, <>, !=, like</"
+"literal>"
+msgstr "2é
æ¯è¼æ¼ç®åï¼<literal>=, >=, <=, <>, !=, like</literal>"
-#: index.docbook:527
+#. Tag: para
+#: query_hql.xml:527
+#, no-c-format
msgid "logical operations <literal>and, or, not</literal>"
-msgstr "<literal>current_date()</literal>, <literal>current_time()</literal>, <literal>current_timestamp()</literal>"
+msgstr "è«çæ¼ç®åï¼<literal>and, or, not</literal>"
-#: index.docbook:532
+#. Tag: para
+#: query_hql.xml:532
+#, no-c-format
msgid "Parentheses <literal>( )</literal>, indicating grouping"
-msgstr "<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, <literal>year(...)</literal>,"
+msgstr "ã°ã«ã¼ãåããè¡¨ãæ¬å¼§ï¼<literal>( )</literal>"
-#: index.docbook:537
-msgid "<literal>in</literal>, <literal>not in</literal>, <literal>between</literal>, <literal>is null</literal>, <literal>is not null</literal>, <literal>is empty</literal>, <literal>is not empty</literal>, <literal>member of</literal> and <literal>not member of</literal>"
-msgstr "EJB-QL 3.0ã§å®ç¾©ããã¦ãã颿°ãæ¼ç®å: <literal>substring(), trim(), lower(), upper(), length(), locate(), abs(), sqrt(), bit_length()</literal>"
+#. Tag: para
+#: query_hql.xml:537
+#, no-c-format
+msgid ""
+"<literal>in</literal>, <literal>not in</literal>, <literal>between</"
+"literal>, <literal>is null</literal>, <literal>is not null</literal>, "
+"<literal>is empty</literal>, <literal>is not empty</literal>, "
+"<literal>member of</literal> and <literal>not member of</literal>"
+msgstr ""
+"<literal>in</literal>, <literal>not in</literal>, <literal>between</"
+"literal>, <literal>is null</literal>, <literal>is not null</literal>, "
+"<literal>is empty</literal>, <literal>is not empty</literal>, "
+"<literal>member of</literal> and <literal>not member of</literal>"
-#: index.docbook:550
-msgid "\"Simple\" case, <literal>case ... when ... then ... else ... end</literal>, and \"searched\" case, <literal>case when ... then ... else ... end</literal>"
-msgstr "<literal>coalesce()</literal> 㨠<literal>nullif()</literal>"
+#. Tag: para
+#: query_hql.xml:550
+#, no-c-format
+msgid ""
+"\"Simple\" case, <literal>case ... when ... then ... else ... end</literal>, "
+"and \"searched\" case, <literal>case when ... then ... else ... end</literal>"
+msgstr ""
+"\"ã·ã³ãã«\"ãªcase <literal>case ... when ... then ... else ... end</"
+"literal>ã \"æ¢ç´¢ç\"ãªcase <literal>case when ... then ... else ... end</"
+"literal>"
-#: index.docbook:556
-msgid "string concatenation <literal>...||...</literal> or <literal>concat(...,...)</literal>"
-msgstr "æ°åãæéã®å¤ãStringã«ã³ã³ãã¼ããã <literal>str()</literal>ï¼"
+#. Tag: para
+#: query_hql.xml:556
+#, no-c-format
+msgid ""
+"string concatenation <literal>...||...</literal> or <literal>concat(...,...)"
+"</literal>"
+msgstr ""
+"ã¹ããªã³ã°ã®é£çµ <literal>...||...</literal> ã¾ã㯠<literal>concat(...,...)"
+"</literal>"
-#: index.docbook:561
-msgid "<literal>current_date()</literal>, <literal>current_time()</literal>, <literal>current_timestamp()</literal>"
-msgstr "2çªç®ã®å¼æ°ãHibernateåã®ååã§ãã <literal>cast(... as ...)</literal> 㨠<literal>extract(... from ...)</literal>ã ãã ã使ç¨ãããã¼ã¿ãã¼ã¹ãANSI <literal>cast()</literal> 㨠<literal>extract()</literal> ããµãã¼ãããå ´åã«éãã¾ãã"
+#. Tag: para
+#: query_hql.xml:561
+#, no-c-format
+msgid ""
+"<literal>current_date()</literal>, <literal>current_time()</literal>, "
+"<literal>current_timestamp()</literal>"
+msgstr ""
+"<literal>current_date()</literal>, <literal>current_time()</literal>, "
+"<literal>current_timestamp()</literal>"
-#: index.docbook:567
-msgid "<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, <literal>year(...)</literal>,"
-msgstr "çµåããã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã®å¥åã«é©ç¨ãããHQLã® <literal>index()</literal> 颿°ã"
+#. Tag: para
+#: query_hql.xml:567
+#, no-c-format
+msgid ""
+"<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour"
+"(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, "
+"<literal>year(...)</literal>,"
+msgstr ""
+"<literal>second(...)</literal>, <literal>minute(...)</literal>, <literal>hour"
+"(...)</literal>, <literal>day(...)</literal>, <literal>month(...)</literal>, "
+"<literal>year(...)</literal>,"
-#: index.docbook:574
-msgid "Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim(), lower(), upper(), length(), locate(), abs(), sqrt(), bit_length(), mod()</literal>"
-msgstr "ã³ã¬ã¯ã·ã§ã³å¤ã®ãã¹å¼ãåãHQL颿°ï¼ <literal>size(), minelement(), maxelement(), minindex(), maxindex()</literal> ã <literal>some, all, exists, any, in</literal> ã使ã£ã¦ä¿®é£¾ãããã¨ãã§ããç¹å¥ãª <literal>elements()</literal> 㨠<literal>indices</literal> 颿°ã¨ä¸ç·ã«ä½¿ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:574
+#, no-c-format
+msgid ""
+"Any function or operator defined by EJB-QL 3.0: <literal>substring(), trim"
+"(), lower(), upper(), length(), locate(), abs(), sqrt(), bit_length(), mod()"
+"</literal>"
+msgstr ""
+"EJB-QL 3.0ã§å®ç¾©ããã¦ãã颿°ãæ¼ç®å: <literal>substring(), trim(), lower"
+"(), upper(), length(), locate(), abs(), sqrt(), bit_length()</literal>"
-#: index.docbook:580
+#. Tag: para
+#: query_hql.xml:580
+#, no-c-format
msgid "<literal>coalesce()</literal> and <literal>nullif()</literal>"
-msgstr "<literal>sign()</literal>, <literal>trunc()</literal>, <literal>rtrim()</literal>, <literal>sin()</literal> ã®ãããªãã¼ã¿ãã¼ã¹ããµãã¼ãããSQLã¹ã«ã©é¢æ°ã"
+msgstr "<literal>coalesce()</literal> 㨠<literal>nullif()</literal>"
-#: index.docbook:585
-msgid "<literal>str()</literal> for converting numeric or temporal values to a readable string"
-msgstr "JDBCã¹ã¿ã¤ã«ã®ä½ç½®ãã©ã¡ã¼ã¿ <literal>?</literal>"
+#. Tag: para
+#: query_hql.xml:585
+#, no-c-format
+msgid ""
+"<literal>str()</literal> for converting numeric or temporal values to a "
+"readable string"
+msgstr "æ°åãæéã®å¤ãStringã«ã³ã³ãã¼ããã <literal>str()</literal>ï¼"
-#: index.docbook:591
-msgid "<literal>cast(... as ...)</literal>, where the second argument is the name of a Hibernate type, and <literal>extract(... from ...)</literal> if ANSI <literal>cast()</literal> and <literal>extract()</literal> is supported by the underlying database"
-msgstr "ååä»ããã©ã¡ã¼ã¿: <literal>:name</literal>, <literal>:start_date</literal>, <literal>:x1</literal>"
+#. Tag: para
+#: query_hql.xml:591
+#, no-c-format
+msgid ""
+"<literal>cast(... as ...)</literal>, where the second argument is the name "
+"of a Hibernate type, and <literal>extract(... from ...)</literal> if ANSI "
+"<literal>cast()</literal> and <literal>extract()</literal> is supported by "
+"the underlying database"
+msgstr ""
+"2çªç®ã®å¼æ°ãHibernateåã®ååã§ãã <literal>cast(... as ...)</literal> 㨠"
+"<literal>extract(... from ...)</literal>ã ãã ã使ç¨ãããã¼ã¿ãã¼ã¹ãANSI "
+"<literal>cast()</literal> 㨠<literal>extract()</literal> ããµãã¼ãããå ´å"
+"ã«éãã¾ãã"
-#: index.docbook:599
-msgid "the HQL <literal>index()</literal> function, that applies to aliases of a joined indexed collection"
-msgstr "SQLãªãã©ã«ï¼<literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E+2</literal>, <literal>'1970-01-01 10:00:01.0'</literal>"
+#. Tag: para
+#: query_hql.xml:599
+#, no-c-format
+msgid ""
+"the HQL <literal>index()</literal> function, that applies to aliases of a "
+"joined indexed collection"
+msgstr ""
+"çµåããã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã®å¥åã«é©ç¨ãããHQLã® <literal>index"
+"()</literal> 颿°ã"
-#: index.docbook:605
-msgid "HQL functions that take collection-valued path expressions: <literal>size(), minelement(), maxelement(), minindex(), maxindex()</literal>, along with the special <literal>elements()</literal> and <literal>indices</literal> functions which may be quantified using <literal>some, all, exists, any, in</literal>."
-msgstr "Javaã® <literal>public static final</literal> 宿°ï¼<literal>eg.Color.TABBY</literal>"
+#. Tag: para
+#: query_hql.xml:605
+#, no-c-format
+msgid ""
+"HQL functions that take collection-valued path expressions: <literal>size(), "
+"minelement(), maxelement(), minindex(), maxindex()</literal>, along with the "
+"special <literal>elements()</literal> and <literal>indices</literal> "
+"functions which may be quantified using <literal>some, all, exists, any, in</"
+"literal>."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³å¤ã®ãã¹å¼ãåãHQL颿°ï¼ <literal>size(), minelement(), "
+"maxelement(), minindex(), maxindex()</literal> ã <literal>some, all, "
+"exists, any, in</literal> ã使ã£ã¦ä¿®é£¾ãããã¨ãã§ããç¹å¥ãª "
+"<literal>elements()</literal> 㨠<literal>indices</literal> 颿°ã¨ä¸ç·ã«ä½¿ã"
+"ã¾ãã"
-#: index.docbook:613
-msgid "Any database-supported SQL scalar function like <literal>sign()</literal>, <literal>trunc()</literal>, <literal>rtrim()</literal>, <literal>sin()</literal>"
-msgstr "<literal>in</literal> 㨠<literal>between</literal> ã¯ä»¥ä¸ã®ããã«ä½¿ç¨ã§ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:613
+#, no-c-format
+msgid ""
+"Any database-supported SQL scalar function like <literal>sign()</literal>, "
+"<literal>trunc()</literal>, <literal>rtrim()</literal>, <literal>sin()</"
+"literal>"
+msgstr ""
+"<literal>sign()</literal>, <literal>trunc()</literal>, <literal>rtrim()</"
+"literal>, <literal>sin()</literal> ã®ãããªãã¼ã¿ãã¼ã¹ããµãã¼ãããSQLã¹ã«"
+"ã©é¢æ°ã"
-#: index.docbook:619
+#. Tag: para
+#: query_hql.xml:619
+#, no-c-format
msgid "JDBC-style positional parameters <literal>?</literal>"
-msgstr "<![CDATA[from DomesticCat cat where cat.name between 'A' and 'B']]>"
+msgstr "JDBCã¹ã¿ã¤ã«ã®ä½ç½®ãã©ã¡ã¼ã¿ <literal>?</literal>"
-#: index.docbook:624
-msgid "named parameters <literal>:name</literal>, <literal>:start_date</literal>, <literal>:x1</literal>"
-msgstr "<![CDATA[from DomesticCat cat where cat.name in ( 'Foo', 'Bar', 'Baz' )]]>"
+#. Tag: para
+#: query_hql.xml:624
+#, no-c-format
+msgid ""
+"named parameters <literal>:name</literal>, <literal>:start_date</literal>, "
+"<literal>:x1</literal>"
+msgstr ""
+"ååä»ããã©ã¡ã¼ã¿: <literal>:name</literal>, <literal>:start_date</"
+"literal>, <literal>:x1</literal>"
-#: index.docbook:629
-msgid "SQL literals <literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E+2</literal>, <literal>'1970-01-01 10:00:01.0'</literal>"
-msgstr "ã¾ããå¦å®å½¢ã§è¨è¿°ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:629
+#, no-c-format
+msgid ""
+"SQL literals <literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E"
+"+2</literal>, <literal>'1970-01-01 10:00:01.0'</literal>"
+msgstr ""
+"SQLãªãã©ã«ï¼<literal>'foo'</literal>, <literal>69</literal>, <literal>6.66E"
+"+2</literal>, <literal>'1970-01-01 10:00:01.0'</literal>"
-#: index.docbook:635
-msgid "Java <literal>public static final</literal> constants <literal>eg.Color.TABBY</literal>"
-msgstr "<![CDATA[from DomesticCat cat where cat.name not between 'A' and 'B']]>"
+#. Tag: para
+#: query_hql.xml:635
+#, no-c-format
+msgid ""
+"Java <literal>public static final</literal> constants <literal>eg.Color."
+"TABBY</literal>"
+msgstr ""
+"Javaã® <literal>public static final</literal> 宿°ï¼<literal>eg.Color.TABBY</"
+"literal>"
-#: index.docbook:641
-msgid "<literal>in</literal> and <literal>between</literal> may be used as follows:"
-msgstr "<![CDATA[from DomesticCat cat where cat.name not in ( 'Foo', 'Bar', 'Baz' )]]>"
+#. Tag: para
+#: query_hql.xml:641
+#, no-c-format
+msgid ""
+"<literal>in</literal> and <literal>between</literal> may be used as follows:"
+msgstr ""
+"<literal>in</literal> 㨠<literal>between</literal> ã¯ä»¥ä¸ã®ããã«ä½¿ç¨ã§ãã¾"
+"ãã:"
-#: index.docbook:645
+#. Tag: programlisting
+#: query_hql.xml:645
+#, no-c-format
msgid "<![CDATA[from DomesticCat cat where cat.name between 'A' and 'B']]>"
-msgstr "åæ§ã« <literal>is null</literal> ã <literal>is not null</literal> ã¯nullå¤ããã¹ãããããã«ä½¿ç¨ã§ãã¾ãã"
+msgstr ""
-#: index.docbook:647
-msgid "<![CDATA[from DomesticCat cat where cat.name in ( 'Foo', 'Bar', 'Baz' )]]>"
-msgstr "Hibernateè¨å®ãã¡ã¤ã«ã§HQL query substitutionsãå®ç¾©ããã°ãbooleanå¤ãå¼ã®ä¸ã§ç°¡åã«ä½¿ç¨ã§ãã¾ãï¼"
+#. Tag: programlisting
+#: query_hql.xml:647
+#, no-c-format
+msgid ""
+"<![CDATA[from DomesticCat cat where cat.name in ( 'Foo', 'Bar', 'Baz' )]]>"
+msgstr ""
-#: index.docbook:649
+#. Tag: para
+#: query_hql.xml:649
+#, no-c-format
msgid "and the negated forms may be written"
-msgstr "<![CDATA[<property name=\"hibernate.query.substitutions\">true 1, false 0</property>]]>"
+msgstr "ã¾ããå¦å®å½¢ã§è¨è¿°ãããã¨ãã§ãã¾ãã"
-#: index.docbook:653
+#. Tag: programlisting
+#: query_hql.xml:653
+#, no-c-format
msgid "<![CDATA[from DomesticCat cat where cat.name not between 'A' and 'B']]>"
-msgstr "ãããããã¨ã§ä¸è¨ã®HQLãSQLã«å¤æããã¨ãã« <literal>true</literal> , <literal>false</literal> ãã¼ã¯ã¼ã㯠<literal>1</literal> , <literal>0</literal> ã«ç½®ãæãããã¾ãã:"
+msgstr ""
-#: index.docbook:655
-msgid "<![CDATA[from DomesticCat cat where cat.name not in ( 'Foo', 'Bar', 'Baz' )]]>"
-msgstr "<![CDATA[from Cat cat where cat.alive = true]]>"
+#. Tag: programlisting
+#: query_hql.xml:655
+#, no-c-format
+msgid ""
+"<![CDATA[from DomesticCat cat where cat.name not in ( 'Foo', 'Bar', 'Baz' )]]"
+">"
+msgstr ""
-#: index.docbook:657
-msgid "Likewise, <literal>is null</literal> and <literal>is not null</literal> may be used to test for null values."
-msgstr "ç¹å¥ãªãããã㣠<literal>size</literal>ãã¾ãã¯ç¹å¥ãªé¢æ° <literal>size()</literal> ã使ã£ã¦ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºããã¹ãã§ãã¾ãã:"
+#. Tag: para
+#: query_hql.xml:657
+#, no-c-format
+msgid ""
+"Likewise, <literal>is null</literal> and <literal>is not null</literal> may "
+"be used to test for null values."
+msgstr ""
+"åæ§ã« <literal>is null</literal> ã <literal>is not null</literal> ã¯nullå¤"
+"ããã¹ãããããã«ä½¿ç¨ã§ãã¾ãã"
-#: index.docbook:662
-msgid "Booleans may be easily used in expressions by declaring HQL query substitutions in Hibernate configuration:"
-msgstr "<![CDATA[from Cat cat where cat.kittens.size > 0]]>"
+#. Tag: para
+#: query_hql.xml:662
+#, no-c-format
+msgid ""
+"Booleans may be easily used in expressions by declaring HQL query "
+"substitutions in Hibernate configuration:"
+msgstr ""
+"Hibernateè¨å®ãã¡ã¤ã«ã§HQL query substitutionsãå®ç¾©ããã°ãbooleanå¤ãå¼ã®ä¸"
+"ã§ç°¡åã«ä½¿ç¨ã§ãã¾ãï¼"
-#: index.docbook:667
-msgid "<![CDATA[<property name=\"hibernate.query.substitutions\">true 1, false 0</property>]]>"
-msgstr "<![CDATA[from Cat cat where size(cat.kittens) > 0]]>"
+#. Tag: programlisting
+#: query_hql.xml:667
+#, no-c-format
+msgid ""
+"<![CDATA[<property name=\"hibernate.query.substitutions\">true 1, false 0</"
+"property>]]>"
+msgstr ""
-#: index.docbook:669
-msgid "This will replace the keywords <literal>true</literal> and <literal>false</literal> with the literals <literal>1</literal> and <literal>0</literal> in the translated SQL from this HQL:"
-msgstr "ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã§ã¯ã<literal>minindex</literal> 㨠<literal>maxindex</literal> 颿°ã使ã£ã¦ãã¤ã³ããã¯ã¹ã®æå°å¤ã¨æå¤§å¤ãåç
§ã§ãã¾ãã åæ§ã«ã<literal>minelement</literal> 㨠<literal>maxelement</literal> ã使ã£ã¦ã åºæ¬åã®ã³ã¬ã¯ã·ã§ã³è¦ç´ ã®æå°å¤ã¨æå¤§å¤ãåç
§ã§ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:669
+#, no-c-format
+msgid ""
+"This will replace the keywords <literal>true</literal> and <literal>false</"
+"literal> with the literals <literal>1</literal> and <literal>0</literal> in "
+"the translated SQL from this HQL:"
+msgstr ""
+"ãããããã¨ã§ä¸è¨ã®HQLãSQLã«å¤æããã¨ãã« <literal>true</literal> , "
+"<literal>false</literal> ãã¼ã¯ã¼ã㯠<literal>1</literal> , <literal>0</"
+"literal> ã«ç½®ãæãããã¾ãã:"
-#: index.docbook:674
+#. Tag: programlisting
+#: query_hql.xml:674
+#, no-c-format
msgid "<![CDATA[from Cat cat where cat.alive = true]]>"
-msgstr "<![CDATA[from Calendar cal where maxelement(cal.holidays) > current_date]]>"
+msgstr ""
-#: index.docbook:676
-msgid "You may test the size of a collection with the special property <literal>size</literal>, or the special <literal>size()</literal> function."
-msgstr "<![CDATA[from Order order where maxindex(order.items) > 100]]>"
+#. Tag: para
+#: query_hql.xml:676
+#, no-c-format
+msgid ""
+"You may test the size of a collection with the special property "
+"<literal>size</literal>, or the special <literal>size()</literal> function."
+msgstr ""
+"ç¹å¥ãªãããã㣠<literal>size</literal>ãã¾ãã¯ç¹å¥ãªé¢æ° <literal>size()</"
+"literal> ã使ã£ã¦ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºããã¹ãã§ãã¾ãã:"
-#: index.docbook:681
+#. Tag: programlisting
+#: query_hql.xml:681
+#, no-c-format
msgid "<![CDATA[from Cat cat where cat.kittens.size > 0]]>"
-msgstr "<![CDATA[from Order order where minelement(order.items) > 10000]]>"
+msgstr ""
-#: index.docbook:683
+#. Tag: programlisting
+#: query_hql.xml:683
+#, no-c-format
msgid "<![CDATA[from Cat cat where size(cat.kittens) > 0]]>"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãã¤ã³ããã¯ã¹ã®ã»ããï¼<literal>elements</literal> 㨠<literal>indices</literal> 颿°ï¼ãã¾ãã¯å¯åãåããï¼å¾è¿°ï¼ã®çµæãåãåããã¨ãã¯ã SQL颿° <literal>any, some, all, exists, in</literal> ããµãã¼ãããã¾ãã"
+msgstr ""
-#: index.docbook:685
-msgid "For indexed collections, you may refer to the minimum and maximum indices using <literal>minindex</literal> and <literal>maxindex</literal> functions. Similarly, you may refer to the minimum and maximum elements of a collection of basic type using the <literal>minelement</literal> and <literal>maxelement</literal> functions."
+#. Tag: para
+#: query_hql.xml:685
+#, no-c-format
+msgid ""
+"For indexed collections, you may refer to the minimum and maximum indices "
+"using <literal>minindex</literal> and <literal>maxindex</literal> functions. "
+"Similarly, you may refer to the minimum and maximum elements of a collection "
+"of basic type using the <literal>minelement</literal> and "
+"<literal>maxelement</literal> functions."
msgstr ""
- "<![CDATA[select mother from Cat as mother, Cat as kit
-\n"
- "where kit in elements(foo.kittens)]]>"
+"ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ã§ã¯ã<literal>minindex</literal> 㨠"
+"<literal>maxindex</literal> 颿°ã使ã£ã¦ãã¤ã³ããã¯ã¹ã®æå°å¤ã¨æå¤§å¤ãåç
§"
+"ã§ãã¾ãã åæ§ã«ã<literal>minelement</literal> 㨠<literal>maxelement</"
+"literal> ã使ã£ã¦ã åºæ¬åã®ã³ã¬ã¯ã·ã§ã³è¦ç´ ã®æå°å¤ã¨æå¤§å¤ãåç
§ã§ãã¾ãã"
-#: index.docbook:693
-msgid "<![CDATA[from Calendar cal where maxelement(cal.holidays) > current_date]]>"
+#. Tag: programlisting
+#: query_hql.xml:693
+#, no-c-format
+msgid ""
+"<![CDATA[from Calendar cal where maxelement(cal.holidays) > current_date]]>"
msgstr ""
- "<![CDATA[select p from NameList list, Person p
-\n"
- "where p.name = some elements(list.names)]]>"
-#: index.docbook:695
+#. Tag: programlisting
+#: query_hql.xml:695
+#, no-c-format
msgid "<![CDATA[from Order order where maxindex(order.items) > 100]]>"
-msgstr "<![CDATA[from Cat cat where exists elements(cat.kittens)]]>"
+msgstr ""
-#: index.docbook:697
+#. Tag: programlisting
+#: query_hql.xml:697
+#, no-c-format
msgid "<![CDATA[from Order order where minelement(order.items) > 10000]]>"
-msgstr "<![CDATA[from Player p where 3 > all elements(p.scores)]]>"
+msgstr ""
-#: index.docbook:699
-msgid "The SQL functions <literal>any, some, all, exists, in</literal> are supported when passed the element or index set of a collection (<literal>elements</literal> and <literal>indices</literal> functions) or the result of a subquery (see below)."
-msgstr "<![CDATA[from Show show where 'fizard' in indices(show.acts)]]>"
+#. Tag: para
+#: query_hql.xml:699
+#, no-c-format
+msgid ""
+"The SQL functions <literal>any, some, all, exists, in</literal> are "
+"supported when passed the element or index set of a collection "
+"(<literal>elements</literal> and <literal>indices</literal> functions) or "
+"the result of a subquery (see below)."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãã¤ã³ããã¯ã¹ã®ã»ããï¼<literal>elements</literal> 㨠"
+"<literal>indices</literal> 颿°ï¼ãã¾ãã¯å¯åãåããï¼å¾è¿°ï¼ã®çµæãåãåã"
+"ãã¨ãã¯ã SQL颿° <literal>any, some, all, exists, in</literal> ããµãã¼ãã"
+"ãã¾ãã"
-#: index.docbook:705
+#. Tag: programlisting
+#: query_hql.xml:705
+#, no-c-format
msgid ""
- "<![CDATA[select mother from Cat as mother, Cat as kit\n"
- "where kit in elements(foo.kittens)]]>"
-msgstr "<literal>size</literal>, <literal>elements</literal>, <literal>indices</literal>, <literal>minindex</literal>, <literal>maxindex</literal>, <literal>minelement</literal>, <literal>maxelement</literal> ã¯Hibernate3ã®whereç¯ã ãã§å©ç¨å¯è½ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
+"<![CDATA[select mother from Cat as mother, Cat as kit\n"
+"where kit in elements(foo.kittens)]]>"
+msgstr ""
-#: index.docbook:707
+#. Tag: programlisting
+#: query_hql.xml:707
+#, no-c-format
msgid ""
- "<![CDATA[select p from NameList list, Person p\n"
- "where p.name = some elements(list.names)]]>"
-msgstr "ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ï¼arrays, lists, mapsï¼ã®è¦ç´ ã¯ã ã¤ã³ããã¯ã¹ã§åç
§ã§ãã¾ãï¼whereç¯å
ã§ã®ã¿ï¼ã"
+"<![CDATA[select p from NameList list, Person p\n"
+"where p.name = some elements(list.names)]]>"
+msgstr ""
-#: index.docbook:709
+#. Tag: programlisting
+#: query_hql.xml:709
+#, no-c-format
msgid "<![CDATA[from Cat cat where exists elements(cat.kittens)]]>"
-msgstr "<![CDATA[from Order order where order.items[0].id = 1234]]>"
+msgstr ""
-#: index.docbook:711
+#. Tag: programlisting
+#: query_hql.xml:711
+#, no-c-format
msgid "<![CDATA[from Player p where 3 > all elements(p.scores)]]>"
msgstr ""
- "<![CDATA[select person from Person person, Calendar calendar
-\n"
- "where calendar.holidays['national day'] = person.birthDay
-\n"
- " and person.nationality.calendar = calendar]]>"
-#: index.docbook:713
+#. Tag: programlisting
+#: query_hql.xml:713
+#, no-c-format
msgid "<![CDATA[from Show show where 'fizard' in indices(show.acts)]]>"
msgstr ""
- "<![CDATA[select item from Item item, Order order
-\n"
- "where order.items[ order.deliveredItemIndices[0] ] = item and order.id = 11]]>"
-#: index.docbook:715
-msgid "Note that these constructs - <literal>size</literal>, <literal>elements</literal>, <literal>indices</literal>, <literal>minindex</literal>, <literal>maxindex</literal>, <literal>minelement</literal>, <literal>maxelement</literal> - may only be used in the where clause in Hibernate3."
+#. Tag: para
+#: query_hql.xml:715
+#, no-c-format
+msgid ""
+"Note that these constructs - <literal>size</literal>, <literal>elements</"
+"literal>, <literal>indices</literal>, <literal>minindex</literal>, "
+"<literal>maxindex</literal>, <literal>minelement</literal>, "
+"<literal>maxelement</literal> - may only be used in the where clause in "
+"Hibernate3."
msgstr ""
- "<![CDATA[select item from Item item, Order order
-\n"
- "where order.items[ maxindex(order.items) ] = item and order.id = 11]]>"
+"<literal>size</literal>, <literal>elements</literal>, <literal>indices</"
+"literal>, <literal>minindex</literal>, <literal>maxindex</literal>, "
+"<literal>minelement</literal>, <literal>maxelement</literal> ã¯Hibernate3ã®"
+"whereç¯ã ãã§å©ç¨å¯è½ã§ãããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:722
-msgid "Elements of indexed collections (arrays, lists, maps) may be referred to by index (in a where clause only):"
-msgstr "<literal>[]</literal> å
é¨ã®å¼ã¯ãç®è¡å¼ã§ãæ§ãã¾ããã"
+#. Tag: para
+#: query_hql.xml:722
+#, no-c-format
+msgid ""
+"Elements of indexed collections (arrays, lists, maps) may be referred to by "
+"index (in a where clause only):"
+msgstr ""
+"ã¤ã³ããã¯ã¹ä»ãã®ã³ã¬ã¯ã·ã§ã³ï¼arrays, lists, mapsï¼ã®è¦ç´ ã¯ã ã¤ã³ããã¯ã¹"
+"ã§åç
§ã§ãã¾ãï¼whereç¯å
ã§ã®ã¿ï¼ã"
-#: index.docbook:727
+#. Tag: programlisting
+#: query_hql.xml:727
+#, no-c-format
msgid "<![CDATA[from Order order where order.items[0].id = 1234]]>"
msgstr ""
- "<![CDATA[select item from Item item, Order order
-\n"
- "where order.items[ size(order.items) - 1 ] = item]]>"
-#: index.docbook:729
+#. Tag: programlisting
+#: query_hql.xml:729
+#, no-c-format
msgid ""
- "<![CDATA[select person from Person person, Calendar calendar\n"
- "where calendar.holidays['national day'] = person.birthDay\n"
- " and person.nationality.calendar = calendar]]>"
-msgstr "ä¸å¯¾å¤é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«å¯¾ãã¦ã¯ãHQLã¯çµã¿è¾¼ã¿ã® <literal>index()</literal> 颿°ãç¨æãã¦ãã¾ãã"
+"<![CDATA[select person from Person person, Calendar calendar\n"
+"where calendar.holidays['national day'] = person.birthDay\n"
+" and person.nationality.calendar = calendar]]>"
+msgstr ""
-#: index.docbook:731
+#. Tag: programlisting
+#: query_hql.xml:731
+#, no-c-format
msgid ""
- "<![CDATA[select item from Item item, Order order\n"
- "where order.items[ order.deliveredItemIndices[0] ] = item and order.id = 11]]>"
+"<![CDATA[select item from Item item, Order order\n"
+"where order.items[ order.deliveredItemIndices[0] ] = item and order.id = 11]]"
+">"
msgstr ""
- "<![CDATA[select item, index(item) from Order order
-\n"
- " join order.items item
-\n"
- "where index(item) < 5]]>"
-#: index.docbook:733
+#. Tag: programlisting
+#: query_hql.xml:733
+#, no-c-format
msgid ""
- "<![CDATA[select item from Item item, Order order\n"
- "where order.items[ maxindex(order.items) ] = item and order.id = 11]]>"
-msgstr "ãã¼ã¹ã¨ãªããã¼ã¿ãã¼ã¹ããµãã¼ããã¦ããã¹ã«ã©ã¼SQL颿°ã使ç¨ã§ãã¾ã"
+"<![CDATA[select item from Item item, Order order\n"
+"where order.items[ maxindex(order.items) ] = item and order.id = 11]]>"
+msgstr ""
-#: index.docbook:735
-msgid "The expression inside <literal>[]</literal> may even be an arithmetic expression."
-msgstr "<![CDATA[from DomesticCat cat where upper(cat.name) like 'FRI%']]>"
+#. Tag: para
+#: query_hql.xml:735
+#, no-c-format
+msgid ""
+"The expression inside <literal>[]</literal> may even be an arithmetic "
+"expression."
+msgstr "<literal>[]</literal> å
é¨ã®å¼ã¯ãç®è¡å¼ã§ãæ§ãã¾ããã"
-#: index.docbook:739
+#. Tag: programlisting
+#: query_hql.xml:739
+#, no-c-format
msgid ""
- "<![CDATA[select item from Item item, Order order\n"
- "where order.items[ size(order.items) - 1 ] = item]]>"
-msgstr "ããã¾ã å
¨ã¦ãçè§£ãã¦ããªããªããä¸ã®ã¯ã¨ãªãSQLã§ã©ãã ãé·ããèªã¿ã¥ããåºæ¥ããèãã¦ãã ããã:"
+"<![CDATA[select item from Item item, Order order\n"
+"where order.items[ size(order.items) - 1 ] = item]]>"
+msgstr ""
-#: index.docbook:741
-msgid "HQL also provides the built-in <literal>index()</literal> function, for elements of a one-to-many association or collection of values."
+#. Tag: para
+#: query_hql.xml:741
+#, no-c-format
+msgid ""
+"HQL also provides the built-in <literal>index()</literal> function, for "
+"elements of a one-to-many association or collection of values."
msgstr ""
- "<![CDATA[select cust
-\n"
- "from Product prod,
-\n"
- " Store store
-\n"
- " inner join store.customers cust
-\n"
- "where prod.name = 'widget'
-\n"
- " and store.location.name in ( 'Melbourne', 'Sydney' )
-\n"
- " and prod = all elements(cust.currentOrder.lineItems)]]>"
+"ä¸å¯¾å¤é¢é£ãå¤ã®ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«å¯¾ãã¦ã¯ãHQLã¯çµã¿è¾¼ã¿ã® <literal>index"
+"()</literal> 颿°ãç¨æãã¦ãã¾ãã"
-#: index.docbook:746
+#. Tag: programlisting
+#: query_hql.xml:746
+#, no-c-format
msgid ""
- "<![CDATA[select item, index(item) from Order order\n"
- " join order.items item\n"
- "where index(item) < 5]]>"
-msgstr "<emphasis>ãã³ã:</emphasis> ä¾ãã°ãã®ããã«åºæ¥ã¾ãã"
+"<![CDATA[select item, index(item) from Order order\n"
+" join order.items item\n"
+"where index(item) < 5]]>"
+msgstr ""
-#: index.docbook:748
+#. Tag: para
+#: query_hql.xml:748
+#, no-c-format
msgid "Scalar SQL functions supported by the underlying database may be used"
msgstr ""
- "<![CDATA[SELECT cust.name, cust.address, cust.phone, cust.id, cust.current_order
-\n"
- "FROM customers cust,
-\n"
- " stores store,
-\n"
- " locations loc,
-\n"
- " store_customers sc,
-\n"
- " product prod
-\n"
- "WHERE prod.name = 'widget'
-\n"
- " AND store.loc_id = loc.id
-\n"
- " AND loc.name IN ( 'Melbourne', 'Sydney' )
-\n"
- " AND sc.store_id = store.id
-\n"
- " AND sc.cust_id = cust.id
-\n"
- " AND prod.id = ALL(
-\n"
- " SELECT item.prod_id
-\n"
- " FROM line_items item, orders o
-\n"
- " WHERE item.order_id = o.id
-\n"
- " AND cust.current_order = o.id
-\n"
- " )]]>"
+"ãã¼ã¹ã¨ãªããã¼ã¿ãã¼ã¹ããµãã¼ããã¦ããã¹ã«ã©ã¼SQL颿°ã使ç¨ã§ãã¾ã"
-#: index.docbook:752
+#. Tag: programlisting
+#: query_hql.xml:752
+#, no-c-format
msgid "<![CDATA[from DomesticCat cat where upper(cat.name) like 'FRI%']]>"
-msgstr "order byç¯"
+msgstr ""
-#: index.docbook:754
-msgid "If you are not yet convinced by all this, think how much longer and less readable the following query would be in SQL:"
-msgstr "ã¯ã¨ãªãè¿ãlistã¯ãè¿ãããã¯ã©ã¹ãã³ã³ãã¼ãã³ãã®ä»»æã®å±æ§ã«ãã£ã¦ä¸¦ã¹æ¿ãããã¾ããï¼"
+#. Tag: para
+#: query_hql.xml:754
+#, no-c-format
+msgid ""
+"If you are not yet convinced by all this, think how much longer and less "
+"readable the following query would be in SQL:"
+msgstr ""
+"ããã¾ã å
¨ã¦ãçè§£ãã¦ããªããªããä¸ã®ã¯ã¨ãªãSQLã§ã©ãã ãé·ããèªã¿ã¥ããåº"
+"æ¥ããèãã¦ãã ããã:"
-#: index.docbook:759
+#. Tag: programlisting
+#: query_hql.xml:759
+#, no-c-format
msgid ""
- "<![CDATA[select cust\n"
- "from Product prod,\n"
- " Store store\n"
- " inner join store.customers cust\n"
- "where prod.name = 'widget'\n"
- " and store.location.name in ( 'Melbourne', 'Sydney' )\n"
- " and prod = all elements(cust.currentOrder.lineItems)]]>"
+"<![CDATA[select cust\n"
+"from Product prod,\n"
+" Store store\n"
+" inner join store.customers cust\n"
+"where prod.name = 'widget'\n"
+" and store.location.name in ( 'Melbourne', 'Sydney' )\n"
+" and prod = all elements(cust.currentOrder.lineItems)]]>"
msgstr ""
- "<![CDATA[from DomesticCat cat
-\n"
- "order by cat.name asc, cat.weight desc, cat.birthdate]]>"
-#: index.docbook:761
+#. Tag: para
+#: query_hql.xml:761
+#, no-c-format
msgid "<emphasis>Hint:</emphasis> something like"
-msgstr "ãªãã·ã§ã³ã® <literal>asc</literal> 㨠<literal>desc</literal> ã¯ããããæé ãéé ã®æ´åã示ãã¾ãã"
+msgstr "<emphasis>ãã³ã:</emphasis> ä¾ãã°ãã®ããã«åºæ¥ã¾ãã"
-#: index.docbook:765
+#. Tag: programlisting
+#: query_hql.xml:765
+#, no-c-format
msgid ""
- "<![CDATA[SELECT cust.name, cust.address, cust.phone, cust.id, cust.current_order\n"
- "FROM customers cust,\n"
- " stores store,\n"
- " locations loc,\n"
- " store_customers sc,\n"
- " product prod\n"
- "WHERE prod.name = 'widget'\n"
- " AND store.loc_id = loc.id\n"
- " AND loc.name IN ( 'Melbourne', 'Sydney' )\n"
- " AND sc.store_id = store.id\n"
- " AND sc.cust_id = cust.id\n"
- " AND prod.id = ALL(\n"
- " SELECT item.prod_id\n"
- " FROM line_items item, orders o\n"
- " WHERE item.order_id = o.id\n"
- " AND cust.current_order = o.id\n"
- " )]]>"
-msgstr "group byç¯"
+"<![CDATA[SELECT cust.name, cust.address, cust.phone, cust.id, cust."
+"current_order\n"
+"FROM customers cust,\n"
+" stores store,\n"
+" locations loc,\n"
+" store_customers sc,\n"
+" product prod\n"
+"WHERE prod.name = 'widget'\n"
+" AND store.loc_id = loc.id\n"
+" AND loc.name IN ( 'Melbourne', 'Sydney' )\n"
+" AND sc.store_id = store.id\n"
+" AND sc.cust_id = cust.id\n"
+" AND prod.id = ALL(\n"
+" SELECT item.prod_id\n"
+" FROM line_items item, orders o\n"
+" WHERE item.order_id = o.id\n"
+" AND cust.current_order = o.id\n"
+" )]]>"
+msgstr ""
-#: index.docbook:770
+#. Tag: title
+#: query_hql.xml:770
+#, no-c-format
msgid "The order by clause"
-msgstr "éç´å¤ãè¿ãã¯ã¨ãªã¯ãè¿ãããã¯ã©ã¹ãã³ã³ãã¼ãã³ãã®ä»»æã®ããããã£ã«ãã£ã¦ã°ã«ã¼ãåã§ãã¾ãã:"
+msgstr "order byç¯"
-#: index.docbook:772
-msgid "The list returned by a query may be ordered by any property of a returned class or components:"
+#. Tag: para
+#: query_hql.xml:772
+#, no-c-format
+msgid ""
+"The list returned by a query may be ordered by any property of a returned "
+"class or components:"
msgstr ""
- "<![CDATA[select cat.color, sum(cat.weight), count(cat)
-\n"
- "from Cat cat
-\n"
- "group by cat.color]]>"
+"ã¯ã¨ãªãè¿ãlistã¯ãè¿ãããã¯ã©ã¹ãã³ã³ãã¼ãã³ãã®ä»»æã®å±æ§ã«ãã£ã¦ä¸¦ã¹æ¿"
+"ãããã¾ããï¼"
-#: index.docbook:776
+#. Tag: programlisting
+#: query_hql.xml:776
+#, no-c-format
msgid ""
- "<![CDATA[from DomesticCat cat\n"
- "order by cat.name asc, cat.weight desc, cat.birthdate]]>"
+"<![CDATA[from DomesticCat cat\n"
+"order by cat.name asc, cat.weight desc, cat.birthdate]]>"
msgstr ""
- "<![CDATA[select foo.id, avg(name), max(name)
-\n"
- "from Foo foo join foo.names name
-\n"
- "group by foo.id]]>"
-#: index.docbook:778
-msgid "The optional <literal>asc</literal> or <literal>desc</literal> indicate ascending or descending order respectively."
-msgstr "<literal>having</literal> ç¯ã使ãã¾ãã"
+#. Tag: para
+#: query_hql.xml:778
+#, no-c-format
+msgid ""
+"The optional <literal>asc</literal> or <literal>desc</literal> indicate "
+"ascending or descending order respectively."
+msgstr ""
+"ãªãã·ã§ã³ã® <literal>asc</literal> 㨠<literal>desc</literal> ã¯ããããæé "
+"ãéé ã®æ´åã示ãã¾ãã"
-#: index.docbook:785
+#. Tag: title
+#: query_hql.xml:785
+#, no-c-format
msgid "The group by clause"
+msgstr "group byç¯"
+
+#. Tag: para
+#: query_hql.xml:787
+#, no-c-format
+msgid ""
+"A query that returns aggregate values may be grouped by any property of a "
+"returned class or components:"
msgstr ""
- "<![CDATA[select cat.color, sum(cat.weight), count(cat)
-\n"
- "from Cat cat
-\n"
- "group by cat.color
-\n"
- "having cat.color in (eg.Color.TABBY, eg.Color.BLACK)]]>"
+"éç´å¤ãè¿ãã¯ã¨ãªã¯ãè¿ãããã¯ã©ã¹ãã³ã³ãã¼ãã³ãã®ä»»æã®ããããã£ã«ãã£"
+"ã¦ã°ã«ã¼ãåã§ãã¾ãã:"
-#: index.docbook:787
-msgid "A query that returns aggregate values may be grouped by any property of a returned class or components:"
-msgstr "ãã使ç¨ãããã¼ã¿ãã¼ã¹ããµãã¼ããã¦ãããªãã <literal>having</literal> 㨠<literal>order by</literal> ç¯ã§SQL颿°ã¨éç´é¢æ°ã使ãã¾ã ï¼ä¾ãã°MySQLã«ã¯ããã¾ããï¼ã"
-
-#: index.docbook:791
+#. Tag: programlisting
+#: query_hql.xml:791
+#, no-c-format
msgid ""
- "<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
- "from Cat cat\n"
- "group by cat.color]]>"
+"<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
+"from Cat cat\n"
+"group by cat.color]]>"
msgstr ""
- "<![CDATA[select cat
-\n"
- "from Cat cat
-\n"
- " join cat.kittens kitten
-\n"
- "group by cat
-\n"
- "having avg(kitten.weight) > 100
-\n"
- "order by count(kitten) asc, sum(kitten.weight) desc]]>"
-#: index.docbook:793
+#. Tag: programlisting
+#: query_hql.xml:793
+#, no-c-format
msgid ""
- "<![CDATA[select foo.id, avg(name), max(name)\n"
- "from Foo foo join foo.names name\n"
- "group by foo.id]]>"
-msgstr "<literal>group by</literal> ç¯ã <literal>order by</literal> ç¯ã« ç®è¡å¼ãå«ããã¨ãã§ããªããã¨ã«æ³¨æãã¦ãã ããã"
+"<![CDATA[select foo.id, avg(name), max(name)\n"
+"from Foo foo join foo.names name\n"
+"group by foo.id]]>"
+msgstr ""
-#: index.docbook:795
+#. Tag: para
+#: query_hql.xml:795
+#, no-c-format
msgid "A <literal>having</literal> clause is also allowed."
-msgstr "å¯åãåãã"
+msgstr "<literal>having</literal> ç¯ã使ãã¾ãã"
-#: index.docbook:799
+#. Tag: programlisting
+#: query_hql.xml:799
+#, no-c-format
msgid ""
- "<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
- "from Cat cat\n"
- "group by cat.color\n"
- "having cat.color in (eg.Color.TABBY, eg.Color.BLACK)]]>"
-msgstr "ãµãã»ã¬ã¯ãããµãã¼ããããã¼ã¿ãã¼ã¹ã®ãããHibernateã¯å¯åãåããããµãã¼ããã¦ãã¾ãã å¯åãåããã¯æ¬å¼§ã§å²ã¾ãªããã°ãªãã¾ããï¼SQLã®éç´é¢æ°å¼ã³åºãã«ããäºãå¤ãã§ãï¼ã é¢é£å¯åãåãã(å¤é¨ã¯ã¨ãªä¸ã®å¥åãåç
§ããå¯åãåããã®ãã¨)ãã許å¯ããã¾ãã"
+"<![CDATA[select cat.color, sum(cat.weight), count(cat)\n"
+"from Cat cat\n"
+"group by cat.color\n"
+"having cat.color in (eg.Color.TABBY, eg.Color.BLACK)]]>"
+msgstr ""
-#: index.docbook:801
-msgid "SQL functions and aggregate functions are allowed in the <literal>having</literal> and <literal>order by</literal> clauses, if supported by the underlying database (eg. not in MySQL)."
+#. Tag: para
+#: query_hql.xml:801
+#, no-c-format
+msgid ""
+"SQL functions and aggregate functions are allowed in the <literal>having</"
+"literal> and <literal>order by</literal> clauses, if supported by the "
+"underlying database (eg. not in MySQL)."
msgstr ""
- "<![CDATA[from Cat as fatcat
-\n"
- "where fatcat.weight > (
-\n"
- " select avg(cat.weight) from DomesticCat cat
-\n"
- ")]]>"
+"ãã使ç¨ãããã¼ã¿ãã¼ã¹ããµãã¼ããã¦ãããªãã <literal>having</literal> "
+"㨠<literal>order by</literal> ç¯ã§SQL颿°ã¨éç´é¢æ°ã使ãã¾ã ï¼ä¾ãã°MySQL"
+"ã«ã¯ããã¾ããï¼ã"
-#: index.docbook:807
+#. Tag: programlisting
+#: query_hql.xml:807
+#, no-c-format
msgid ""
- "<![CDATA[select cat\n"
- "from Cat cat\n"
- " join cat.kittens kitten\n"
- "group by cat.id, cat.name, cat.other, cat.properties\n"
- "having avg(kitten.weight) > 100\n"
- "order by count(kitten) asc, sum(kitten.weight) desc]]>"
+"<![CDATA[select cat\n"
+"from Cat cat\n"
+" join cat.kittens kitten\n"
+"group by cat.id, cat.name, cat.other, cat.properties\n"
+"having avg(kitten.weight) > 100\n"
+"order by count(kitten) asc, sum(kitten.weight) desc]]>"
msgstr ""
- "<![CDATA[from DomesticCat as cat
-\n"
- "where cat.name = some (
-\n"
- " select name.nickName from Name as name
-\n"
- ")]]>"
-#: index.docbook:809
-msgid "Note that neither the <literal>group by</literal> clause nor the <literal>order by</literal> clause may contain arithmetic expressions. Also note that Hibernate currently does not expand a grouped entity, so you can't write <literal>group by cat</literal> if all properties of <literal>cat</literal> are non-aggregated. You have to list all non-aggregated properties explicitly."
+#. Tag: para
+#: query_hql.xml:809
+#, no-c-format
+msgid ""
+"Note that neither the <literal>group by</literal> clause nor the "
+"<literal>order by</literal> clause may contain arithmetic expressions. Also "
+"note that Hibernate currently does not expand a grouped entity, so you can't "
+"write <literal>group by cat</literal> if all properties of <literal>cat</"
+"literal> are non-aggregated. You have to list all non-aggregated properties "
+"explicitly."
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- "where not exists (
-\n"
- " from Cat as mate where mate.mate = cat
-\n"
- ")]]>"
+"Note that neither the <literal>group by</literal> clause nor the "
+"<literal>order by</literal> clause may contain arithmetic expressions. Also "
+"note that Hibernate currently does not expand a grouped entity, so you can't "
+"write <literal>group by cat</literal> if all properties of <literal>cat</"
+"literal> are non-aggregated. You have to list all non-aggregated properties "
+"explicitly."
-#: index.docbook:821
+#. Tag: title
+#: query_hql.xml:821
+#, no-c-format
msgid "Subqueries"
-msgstr ""
- "<![CDATA[from DomesticCat as cat
-\n"
- "where cat.name not in (
-\n"
- " select name.nickName from Name as name
-\n"
- ")]]>"
+msgstr "å¯åãåãã"
-#: index.docbook:823
-msgid "For databases that support subselects, Hibernate supports subqueries within queries. A subquery must be surrounded by parentheses (often by an SQL aggregate function call). Even correlated subqueries (subqueries that refer to an alias in the outer query) are allowed."
+#. Tag: para
+#: query_hql.xml:823
+#, no-c-format
+msgid ""
+"For databases that support subselects, Hibernate supports subqueries within "
+"queries. A subquery must be surrounded by parentheses (often by an SQL "
+"aggregate function call). Even correlated subqueries (subqueries that refer "
+"to an alias in the outer query) are allowed."
msgstr ""
- "<![CDATA[select cat.id, (select max(kit.weight) from cat.kitten kit)
-\n"
- "from Cat as cat]]>"
+"ãµãã»ã¬ã¯ãããµãã¼ããããã¼ã¿ãã¼ã¹ã®ãããHibernateã¯å¯åãåããããµãã¼"
+"ããã¦ãã¾ãã å¯åãåããã¯æ¬å¼§ã§å²ã¾ãªããã°ãªãã¾ããï¼SQLã®éç´é¢æ°å¼ã³"
+"åºãã«ããäºãå¤ãã§ãï¼ã é¢é£å¯åãåãã(å¤é¨ã¯ã¨ãªä¸ã®å¥åãåç
§ããå¯å"
+"ãåããã®ãã¨)ãã許å¯ããã¾ãã"
-#: index.docbook:829
+#. Tag: programlisting
+#: query_hql.xml:829
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as fatcat\n"
- "where fatcat.weight > (\n"
- " select avg(cat.weight) from DomesticCat cat\n"
- ")]]>"
-msgstr "HQLå¯åãåããã¯ãselectã¾ãã¯whereç¯ã ãã§ä½¿ããããã¨ã«æ³¨æãã¦ãã ããã"
+"<![CDATA[from Cat as fatcat\n"
+"where fatcat.weight > (\n"
+" select avg(cat.weight) from DomesticCat cat\n"
+")]]>"
+msgstr ""
-#: index.docbook:831
+#. Tag: programlisting
+#: query_hql.xml:831
+#, no-c-format
msgid ""
- "<![CDATA[from DomesticCat as cat\n"
- "where cat.name = some (\n"
- " select name.nickName from Name as name\n"
- ")]]>"
-msgstr "selectãªã¹ãã«è¤æ°ã®å¼ãæã¤å¯åãåããã«ã¯ãã¿ãã«ã使ããã¨ãã§ãã¾ãã"
+"<![CDATA[from DomesticCat as cat\n"
+"where cat.name = some (\n"
+" select name.nickName from Name as name\n"
+")]]>"
+msgstr ""
-#: index.docbook:833
+#. Tag: programlisting
+#: query_hql.xml:833
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- "where not exists (\n"
- " from Cat as mate where mate.mate = cat\n"
- ")]]>"
+"<![CDATA[from Cat as cat\n"
+"where not exists (\n"
+" from Cat as mate where mate.mate = cat\n"
+")]]>"
msgstr ""
- "<![CDATA[from Cat as cat
-\n"
- "where not ( cat.name, cat.color ) in (
-\n"
- " select cat.name, cat.color from DomesticCat cat
-\n"
- ")]]>"
-#: index.docbook:835
+#. Tag: programlisting
+#: query_hql.xml:835
+#, no-c-format
msgid ""
- "<![CDATA[from DomesticCat as cat\n"
- "where cat.name not in (\n"
- " select name.nickName from Name as name\n"
- ")]]>"
-msgstr "ããã¤ãã®ãã¼ã¿ãã¼ã¹ï¼OracleãHSQLã«ã¯ããã¾ããï¼ã§ã¯ã ä»ã®ã³ã³ããã¹ãã§ãã¿ãã«ã使ãã¾ãã ä¾ãã°ãã¯ã¨ãªã³ã³ãã¼ãã³ããè¤åã¦ã¼ã¶åã«ããã¦ã§ãã"
+"<![CDATA[from DomesticCat as cat\n"
+"where cat.name not in (\n"
+" select name.nickName from Name as name\n"
+")]]>"
+msgstr ""
-#: index.docbook:837
+#. Tag: programlisting
+#: query_hql.xml:837
+#, no-c-format
msgid ""
- "<![CDATA[select cat.id, (select max(kit.weight) from cat.kitten kit)\n"
- "from Cat as cat]]>"
-msgstr "<![CDATA[from Person where name = ('Gavin', 'A', 'King')]]>"
+"<![CDATA[select cat.id, (select max(kit.weight) from cat.kitten kit)\n"
+"from Cat as cat]]>"
+msgstr ""
-#: index.docbook:839
+#. Tag: para
+#: query_hql.xml:839
+#, no-c-format
msgid "Note that HQL subqueries may occur only in the select or where clauses."
-msgstr "åçã§ãããããåé·ãªã¯ã¨ãªã§ãï¼"
+msgstr ""
+"HQLå¯åãåããã¯ãselectã¾ãã¯whereç¯ã ãã§ä½¿ããããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:843
-msgid "Note that subqueries can also utilize <literal>row value constructor</literal> syntax. See <xref linkend=\"queryhql-tuple\"/> for more details."
-msgstr "<![CDATA[from Person where name.first = 'Gavin' and name.initial = 'A' and name.last = 'King')]]>"
+#. Tag: para
+#: query_hql.xml:843
+#, no-c-format
+msgid ""
+"Note that subqueries can also utilize <literal>row value constructor</"
+"literal> syntax. See <xref linkend=\"queryhql-tuple\"/> for more details."
+msgstr ""
+"Note that subqueries can also utilize <literal>row value constructor</"
+"literal> syntax. See <xref linkend=\"queryhql-tuple\"/> for more details."
-#: index.docbook:851
+#. Tag: title
+#: query_hql.xml:851
+#, no-c-format
msgid "HQL examples"
-msgstr "ãã®ãããªãã¨ãããããªãã®ã«ã¯2ã¤ã®çç±ãããã¾ãï¼ 1ã¤ç®ã¯ããã¼ã¿ãã¼ã¹ãã©ãããã©ã¼ã éã§å®å
¨ãªäºææ§ã¯ãªãããã§ãã 2ã¤ç®ã¯ãã¯ã¨ãªããããã³ã°ããã¥ã¡ã³ãã®ããããã£ã®é åºã«ä¾åããããã§ãã"
-
-#: index.docbook:853
-msgid "Hibernate queries can be quite powerful and complex. In fact, the power of the query language is one of Hibernate's main selling points. Here are some example queries very similar to queries that I used on a recent project. Note that most queries you will write are much simpler than these!"
msgstr "HQLã®ä¾"
-#: index.docbook:859
-msgid "The following query returns the order id, number of items and total value of the order for all unpaid orders for a particular customer and given minimum total value, ordering the results by total value. In determining the prices, it uses the current catalog. The resulting SQL query, against the <literal>ORDER</literal>, <literal>ORDER_LINE</literal>, <literal>PRODUCT</literal>, <literal>CATALOG</literal> and <literal>PRICE</literal> tables has four inner joins and an (uncorrelated) subselect."
-msgstr "Hibernateã¯ã¨ãªã¯é常ã«å¼·åã§è¤éã«ã§ãã¾ããå®éãã¯ã¨ãªè¨èªã®å¨åã¯Hibernateã®ä¸»è¦ãªã»ã¼ã«ã¹ãã¤ã³ãã®ä¸ã¤ã§ãã ããã«æè¿ã®ããã¸ã§ã¯ãã§ä½¿ç¨ããã¯ã¨ãªã¨é常ã«ããä¼¼ãä¾ãããã¾ãã ã»ã¨ãã©ã®ã¯ã¨ãªã¯ãããã®ä¾ããç°¡åã«è¨è¿°ã§ãããã¨ã«æ³¨æãã¦ãã ãã!"
+#. Tag: para
+#: query_hql.xml:853
+#, no-c-format
+msgid ""
+"Hibernate queries can be quite powerful and complex. In fact, the power of "
+"the query language is one of Hibernate's main selling points. Here are some "
+"example queries very similar to queries that I used on a recent project. "
+"Note that most queries you will write are much simpler than these!"
+msgstr ""
+"Hibernateã¯ã¨ãªã¯é常ã«å¼·åã§è¤éã«ã§ãã¾ããå®éãã¯ã¨ãªè¨èªã®å¨åã¯"
+"Hibernateã®ä¸»è¦ãªã»ã¼ã«ã¹ãã¤ã³ãã®ä¸ã¤ã§ãã ããã«æè¿ã®ããã¸ã§ã¯ãã§ä½¿ç¨"
+"ããã¯ã¨ãªã¨é常ã«ããä¼¼ãä¾ãããã¾ãã ã»ã¨ãã©ã®ã¯ã¨ãªã¯ãããã®ä¾ããç°¡å"
+"ã«è¨è¿°ã§ãããã¨ã«æ³¨æãã¦ãã ãã!"
-#: index.docbook:868
+#. Tag: para
+#: query_hql.xml:859
+#, no-c-format
msgid ""
- "<![CDATA[select order.id, sum(price.amount), count(item)\n"
- "from Order as order\n"
- " join order.lineItems as item\n"
- " join item.product as product,\n"
- " Catalog as catalog\n"
- " join catalog.prices as price\n"
- "where order.paid = false\n"
- " and order.customer = :customer\n"
- " and price.product = product\n"
- " and catalog.effectiveDate < sysdate\n"
- " and catalog.effectiveDate >= all (\n"
- " select cat.effectiveDate\n"
- " from Catalog as cat\n"
- " where cat.effectiveDate < sysdate\n"
- " )\n"
- "group by order\n"
- "having sum(price.amount) > :minAmount\n"
- "order by sum(price.amount) desc]]>"
-msgstr "以ä¸ã®ã¯ã¨ãªã¯ç¹å®ã®é¡§å®¢ã¨ä¸ããããæå°ã®åè¨å¤ã«å¯¾ããæªæã注æã®æ³¨æIDã ååã®æ°ã注æã®åè¨ãåè¨å¤ã§æ´åãã¦è¿ãã¾ãã ä¾¡æ ¼ãæ±ºå®ããéãç¾å¨ã®ã«ã¿ãã°ã使ãã¾ããçµæã¨ãã¦è¿ãããSQLã¯ã¨ãªã¯ <literal>ORDER</literal>, <literal>ORDER_LINE</literal>, <literal>PRODUCT</literal>, <literal>CATALOG</literal> ããã³ <literal>PRICE</literal> ãã¼ãã«ã«å¯¾ã4ã¤ã®å
é¨çµå㨠(é¢é£ããªã)å¯åãåãããæã¡ã¾ãã"
+"The following query returns the order id, number of items and total value of "
+"the order for all unpaid orders for a particular customer and given minimum "
+"total value, ordering the results by total value. In determining the prices, "
+"it uses the current catalog. The resulting SQL query, against the "
+"<literal>ORDER</literal>, <literal>ORDER_LINE</literal>, <literal>PRODUCT</"
+"literal>, <literal>CATALOG</literal> and <literal>PRICE</literal> tables has "
+"four inner joins and an (uncorrelated) subselect."
+msgstr ""
+"以ä¸ã®ã¯ã¨ãªã¯ç¹å®ã®é¡§å®¢ã¨ä¸ããããæå°ã®åè¨å¤ã«å¯¾ããæªæã注æã®æ³¨æIDã "
+"ååã®æ°ã注æã®åè¨ãåè¨å¤ã§æ´åãã¦è¿ãã¾ãã ä¾¡æ ¼ãæ±ºå®ããéãç¾å¨ã®ã«ã¿"
+"ãã°ã使ãã¾ããçµæã¨ãã¦è¿ãããSQLã¯ã¨ãªã¯ <literal>ORDER</literal>, "
+"<literal>ORDER_LINE</literal>, <literal>PRODUCT</literal>, <literal>CATALOG</"
+"literal> ããã³ <literal>PRICE</literal> ãã¼ãã«ã«å¯¾ã4ã¤ã®å
é¨çµå㨠(é¢é£"
+"ããªã)å¯åãåãããæã¡ã¾ãã"
-#: index.docbook:870
-msgid "What a monster! Actually, in real life, I'm not very keen on subqueries, so my query was really more like this:"
+#. Tag: programlisting
+#: query_hql.xml:868
+#, no-c-format
+msgid ""
+"<![CDATA[select order.id, sum(price.amount), count(item)\n"
+"from Order as order\n"
+" join order.lineItems as item\n"
+" join item.product as product,\n"
+" Catalog as catalog\n"
+" join catalog.prices as price\n"
+"where order.paid = false\n"
+" and order.customer = :customer\n"
+" and price.product = product\n"
+" and catalog.effectiveDate < sysdate\n"
+" and catalog.effectiveDate >= all (\n"
+" select cat.effectiveDate\n"
+" from Catalog as cat\n"
+" where cat.effectiveDate < sysdate\n"
+" )\n"
+"group by order\n"
+"having sum(price.amount) > :minAmount\n"
+"order by sum(price.amount) desc]]>"
msgstr ""
- "<![CDATA[select order.id, sum(price.amount), count(item)
-\n"
- "from Order as order
-\n"
- " join order.lineItems as item
-\n"
- " join item.product as product,
-\n"
- " Catalog as catalog
-\n"
- " join catalog.prices as price
-\n"
- "where order.paid = false
-\n"
- " and order.customer = :customer
-\n"
- " and price.product = product
-\n"
- " and catalog.effectiveDate < sysdate
-\n"
- " and catalog.effectiveDate >= all (
-\n"
- " select cat.effectiveDate
-\n"
- " from Catalog as cat
-\n"
- " where cat.effectiveDate < sysdate
-\n"
- " )
-\n"
- "group by order
-\n"
- "having sum(price.amount) > :minAmount
-\n"
- "order by sum(price.amount) desc]]>"
-#: index.docbook:875
+#. Tag: para
+#: query_hql.xml:870
+#, no-c-format
msgid ""
- "<![CDATA[select order.id, sum(price.amount), count(item)\n"
- "from Order as order\n"
- " join order.lineItems as item\n"
- " join item.product as product,\n"
- " Catalog as catalog\n"
- " join catalog.prices as price\n"
- "where order.paid = false\n"
- " and order.customer = :customer\n"
- " and price.product = product\n"
- " and catalog = :currentCatalog\n"
- "group by order\n"
- "having sum(price.amount) > :minAmount\n"
- "order by sum(price.amount) desc]]>"
-msgstr "ä½ã¦å·¨å¤§ãªã¯ã¨ãªãªã®ã§ããã! æ®æ®µç§ã¯å¯åãåããããã¾ã使ãã¾ããããããã£ã¦ç§ã®ã¯ã¨ãªã¯å®éã«ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã:"
+"What a monster! Actually, in real life, I'm not very keen on subqueries, so "
+"my query was really more like this:"
+msgstr ""
+"ä½ã¦å·¨å¤§ãªã¯ã¨ãªãªã®ã§ããã! æ®æ®µç§ã¯å¯åãåããããã¾ã使ãã¾ããããã"
+"ãã£ã¦ç§ã®ã¯ã¨ãªã¯å®éã«ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã:"
-#: index.docbook:877
-msgid "The next query counts the number of payments in each status, excluding all payments in the <literal>AWAITING_APPROVAL</literal> status where the most recent status change was made by the current user. It translates to an SQL query with two inner joins and a correlated subselect against the <literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal> and <literal>PAYMENT_STATUS_CHANGE</literal> tables."
+#. Tag: programlisting
+#: query_hql.xml:875
+#, no-c-format
+msgid ""
+"<![CDATA[select order.id, sum(price.amount), count(item)\n"
+"from Order as order\n"
+" join order.lineItems as item\n"
+" join item.product as product,\n"
+" Catalog as catalog\n"
+" join catalog.prices as price\n"
+"where order.paid = false\n"
+" and order.customer = :customer\n"
+" and price.product = product\n"
+" and catalog = :currentCatalog\n"
+"group by order\n"
+"having sum(price.amount) > :minAmount\n"
+"order by sum(price.amount) desc]]>"
msgstr ""
- "<![CDATA[select order.id, sum(price.amount), count(item)
-\n"
- "from Order as order
-\n"
- " join order.lineItems as item
-\n"
- " join item.product as product,
-\n"
- " Catalog as catalog
-\n"
- " join catalog.prices as price
-\n"
- "where order.paid = false
-\n"
- " and order.customer = :customer
-\n"
- " and price.product = product
-\n"
- " and catalog = :currentCatalog
-\n"
- "group by order
-\n"
- "having sum(price.amount) > :minAmount
-\n"
- "order by sum(price.amount) desc]]>"
-#: index.docbook:885
+#. Tag: para
+#: query_hql.xml:877
+#, no-c-format
msgid ""
- "<![CDATA[select count(payment), status.name\n"
- "from Payment as payment\n"
- " join payment.currentStatus as status\n"
- " join payment.statusChanges as statusChange\n"
- "where payment.status.name <> PaymentStatus.AWAITING_APPROVAL\n"
- " or (\n"
- " statusChange.timeStamp = (\n"
- " select max(change.timeStamp)\n"
- " from PaymentStatusChange change\n"
- " where change.payment = payment\n"
- " )\n"
- " and statusChange.user <> :currentUser\n"
- " )\n"
- "group by status.name, status.sortOrder\n"
- "order by status.sortOrder]]>"
-msgstr "次ã®ã¯ã¨ãªã¯åã¹ãã¼ã¿ã¹ã®æ¯æãæ°ãæ°ãã¾ãããã ããã¹ã¦ã®æ¯æããç¾å¨ã®å©ç¨è
ã«ãã ææ°ã®ã¹ãã¼ã¿ã¹å¤æ´ã§ãã <literal>AWAITING_APPROVAL</literal> ã§ããå ´åãé¤ãã¾ãã ãã®ã¯ã¨ãªã¯2ã¤ã®å
é¨çµå㨠<literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal> ããã³ <literal>PAYMENT_STATUS_CHANGE</literal> ãã¼ãã«ã«å¯¾ããé¢é£å¯åãåãããåããSQLã¯ã¨ãªã«å¤æããã¾ãã"
+"The next query counts the number of payments in each status, excluding all "
+"payments in the <literal>AWAITING_APPROVAL</literal> status where the most "
+"recent status change was made by the current user. It translates to an SQL "
+"query with two inner joins and a correlated subselect against the "
+"<literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal> and "
+"<literal>PAYMENT_STATUS_CHANGE</literal> tables."
+msgstr ""
+"次ã®ã¯ã¨ãªã¯åã¹ãã¼ã¿ã¹ã®æ¯æãæ°ãæ°ãã¾ãããã ããã¹ã¦ã®æ¯æããç¾å¨ã®å©"
+"ç¨è
ã«ãã ææ°ã®ã¹ãã¼ã¿ã¹å¤æ´ã§ãã <literal>AWAITING_APPROVAL</literal> ã§"
+"ããå ´åãé¤ãã¾ãã ãã®ã¯ã¨ãªã¯2ã¤ã®å
é¨çµå㨠<literal>PAYMENT</literal>, "
+"<literal>PAYMENT_STATUS</literal> ããã³ <literal>PAYMENT_STATUS_CHANGE</"
+"literal> ãã¼ãã«ã«å¯¾ããé¢é£å¯åãåãããåããSQLã¯ã¨ãªã«å¤æããã¾ãã"
-#: index.docbook:887
-msgid "If I would have mapped the <literal>statusChanges</literal> collection as a list, instead of a set, the query would have been much simpler to write."
+#. Tag: programlisting
+#: query_hql.xml:885
+#, no-c-format
+msgid ""
+"<![CDATA[select count(payment), status.name\n"
+"from Payment as payment\n"
+" join payment.currentStatus as status\n"
+" join payment.statusChanges as statusChange\n"
+"where payment.status.name <> PaymentStatus.AWAITING_APPROVAL\n"
+" or (\n"
+" statusChange.timeStamp = (\n"
+" select max(change.timeStamp)\n"
+" from PaymentStatusChange change\n"
+" where change.payment = payment\n"
+" )\n"
+" and statusChange.user <> :currentUser\n"
+" )\n"
+"group by status.name, status.sortOrder\n"
+"order by status.sortOrder]]>"
msgstr ""
- "<![CDATA[select count(payment), status.name
-\n"
- "from Payment as payment
-\n"
- " join payment.currentStatus as status
-\n"
- " join payment.statusChanges as statusChange
-\n"
- "where payment.status.name <> PaymentStatus.AWAITING_APPROVAL
-\n"
- " or (
-\n"
- " statusChange.timeStamp = (
-\n"
- " select max(change.timeStamp)
-\n"
- " from PaymentStatusChange change
-\n"
- " where change.payment = payment
-\n"
- " )
-\n"
- " and statusChange.user <> :currentUser
-\n"
- " )
-\n"
- "group by status.name, status.sortOrder
-\n"
- "order by status.sortOrder]]>"
-#: index.docbook:892
+#. Tag: para
+#: query_hql.xml:887
+#, no-c-format
msgid ""
- "<![CDATA[select count(payment), status.name\n"
- "from Payment as payment\n"
- " join payment.currentStatus as status\n"
- "where payment.status.name <> PaymentStatus.AWAITING_APPROVAL\n"
- " or payment.statusChanges[ maxIndex(payment.statusChanges) ].user <> :currentUser\n"
- "group by status.name, status.sortOrder\n"
- "order by status.sortOrder]]>"
-msgstr "ããç§ãsetã®ä»£ããã«listã¨ã㦠<literal>statusChanges</literal> ã³ã¬ã¯ã·ã§ã³ã ãããã³ã°ãããªãã°ãã¯ããã«ç°¡åã«ã¯ã¨ãªãè¨è¿°ã§ããã§ãããã"
+"If I would have mapped the <literal>statusChanges</literal> collection as a "
+"list, instead of a set, the query would have been much simpler to write."
+msgstr ""
+"ããç§ãsetã®ä»£ããã«listã¨ã㦠<literal>statusChanges</literal> ã³ã¬ã¯ã·ã§ã³"
+"ã ãããã³ã°ãããªãã°ãã¯ããã«ç°¡åã«ã¯ã¨ãªãè¨è¿°ã§ããã§ãããã"
-#: index.docbook:894
-msgid "The next query uses the MS SQL Server <literal>isNull()</literal> function to return all the accounts and unpaid payments for the organization to which the current user belongs. It translates to an SQL query with three inner joins, an outer join and a subselect against the <literal>ACCOUNT</literal>, <literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal>, <literal>ACCOUNT_TYPE</literal>, <literal>ORGANIZATION</literal> and <literal>ORG_USER</literal> tables."
+#. Tag: programlisting
+#: query_hql.xml:892
+#, no-c-format
+msgid ""
+"<![CDATA[select count(payment), status.name\n"
+"from Payment as payment\n"
+" join payment.currentStatus as status\n"
+"where payment.status.name <> PaymentStatus.AWAITING_APPROVAL\n"
+" or payment.statusChanges[ maxIndex(payment.statusChanges) ].user <> :"
+"currentUser\n"
+"group by status.name, status.sortOrder\n"
+"order by status.sortOrder]]>"
msgstr ""
- "<![CDATA[select count(payment), status.name
-\n"
- "from Payment as payment
-\n"
- " join payment.currentStatus as status
-\n"
- "where payment.status.name <> PaymentStatus.AWAITING_APPROVAL
-\n"
- " or payment.statusChanges[ maxIndex(payment.statusChanges) ].user <> :currentUser
-\n"
- "group by status.name, status.sortOrder
-\n"
- "order by status.sortOrder]]>"
-#: index.docbook:903
+#. Tag: para
+#: query_hql.xml:894
+#, no-c-format
msgid ""
- "<![CDATA[select account, payment\n"
- "from Account as account\n"
- " left outer join account.payments as payment\n"
- "where :currentUser in elements(account.holder.users)\n"
- " and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, PaymentStatus.UNPAID)\n"
- "order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
-msgstr "次ã®ã¯ã¨ãªã¯ç¾å¨ã®ã¦ã¼ã¶ãæå±ããçµç¹ã«å¯¾ããã¢ã«ã¦ã³ãããã³æªæãã®æ¯æãã ãã¹ã¦è¿ãMS SQL Server ã® <literal>isNull()</literal> 颿°ã使ç¨ãã¦ãã¾ãã ãã®ã¯ã¨ãªã¯3ã¤ã®å
é¨çµåã¨1ã¤ã®å¤é¨çµå ã ãã㦠<literal>ACCOUNT</literal>, <literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal>, <literal>ACCOUNT_TYPE</literal>, <literal>ORGANIZATION</literal> ããã³ <literal>ORG_USER</literal> ãã¼ãã«ã«å¯¾ããå¯åãåããæã£ãSQLã«å¤æããã¾ãã"
+"The next query uses the MS SQL Server <literal>isNull()</literal> function "
+"to return all the accounts and unpaid payments for the organization to which "
+"the current user belongs. It translates to an SQL query with three inner "
+"joins, an outer join and a subselect against the <literal>ACCOUNT</literal>, "
+"<literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal>, "
+"<literal>ACCOUNT_TYPE</literal>, <literal>ORGANIZATION</literal> and "
+"<literal>ORG_USER</literal> tables."
+msgstr ""
+"次ã®ã¯ã¨ãªã¯ç¾å¨ã®ã¦ã¼ã¶ãæå±ããçµç¹ã«å¯¾ããã¢ã«ã¦ã³ãããã³æªæãã®æ¯æã"
+"ã ãã¹ã¦è¿ãMS SQL Server ã® <literal>isNull()</literal> 颿°ã使ç¨ãã¦ãã¾"
+"ãã ãã®ã¯ã¨ãªã¯3ã¤ã®å
é¨çµåã¨1ã¤ã®å¤é¨çµå ã ãã㦠<literal>ACCOUNT</"
+"literal>, <literal>PAYMENT</literal>, <literal>PAYMENT_STATUS</literal>, "
+"<literal>ACCOUNT_TYPE</literal>, <literal>ORGANIZATION</literal> ããã³ "
+"<literal>ORG_USER</literal> ãã¼ãã«ã«å¯¾ããå¯åãåããæã£ãSQLã«å¤æããã¾"
+"ãã"
-#: index.docbook:905
-msgid "For some databases, we would need to do away with the (correlated) subselect."
+#. Tag: programlisting
+#: query_hql.xml:903
+#, no-c-format
+msgid ""
+"<![CDATA[select account, payment\n"
+"from Account as account\n"
+" left outer join account.payments as payment\n"
+"where :currentUser in elements(account.holder.users)\n"
+" and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, "
+"PaymentStatus.UNPAID)\n"
+"order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
msgstr ""
- "<![CDATA[select account, payment
-\n"
- "from Account as account
-\n"
- " left outer join account.payments as payment
-\n"
- "where :currentUser in elements(account.holder.users)
-\n"
- " and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, PaymentStatus.UNPAID)
-\n"
- "order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
-#: index.docbook:909
+#. Tag: para
+#: query_hql.xml:905
+#, no-c-format
msgid ""
- "<![CDATA[select account, payment\n"
- "from Account as account\n"
- " join account.holder.users as user\n"
- " left outer join account.payments as payment\n"
- "where :currentUser = user\n"
- " and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, PaymentStatus.UNPAID)\n"
- "order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
-msgstr "ããã¤ãã®ãã¼ã¿ãã¼ã¹ã«ã¤ãã¦ã¯ã(é¢é£ããããã)å¯åãåããã®ä½¿ç¨ãé¿ããå¿
è¦ãããã§ãããã"
+"For some databases, we would need to do away with the (correlated) subselect."
+msgstr ""
+"ããã¤ãã®ãã¼ã¿ãã¼ã¹ã«ã¤ãã¦ã¯ã(é¢é£ããããã)å¯åãåããã®ä½¿ç¨ãé¿ãã"
+"å¿
è¦ãããã§ãããã"
-#: index.docbook:914
-msgid "Bulk update and delete"
+#. Tag: programlisting
+#: query_hql.xml:909
+#, no-c-format
+msgid ""
+"<![CDATA[select account, payment\n"
+"from Account as account\n"
+" join account.holder.users as user\n"
+" left outer join account.payments as payment\n"
+"where :currentUser = user\n"
+" and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, "
+"PaymentStatus.UNPAID)\n"
+"order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
msgstr ""
- "<![CDATA[select account, payment
-\n"
- "from Account as account
-\n"
- " join account.holder.users as user
-\n"
- " left outer join account.payments as payment
-\n"
- "where :currentUser = user
-\n"
- " and PaymentStatus.UNPAID = isNull(payment.currentStatus.name, PaymentStatus.UNPAID)
-\n"
- "order by account.type.sortOrder, account.accountNumber, payment.dueDate]]>"
-#: index.docbook:916
-msgid "HQL now supports <literal>update</literal>, <literal>delete</literal> and <literal>insert ... select ...</literal> statements. See <xref linkend=\"batch-direct\"/> for details."
+#. Tag: title
+#: query_hql.xml:914
+#, no-c-format
+msgid "Bulk update and delete"
msgstr "大éã®UPDATEã¨DELETE"
-#: index.docbook:924
+#. Tag: para
+#: query_hql.xml:916
+#, no-c-format
+msgid ""
+"HQL now supports <literal>update</literal>, <literal>delete</literal> and "
+"<literal>insert ... select ...</literal> statements. See <xref linkend="
+"\"batch-direct\"/> for details."
+msgstr ""
+"HQLã¯ä»ã¯ <literal>update</literal> 㨠<literal>delete</literal>ã"
+"<literal>insert ... select ...</literal> ã¹ãã¼ãã¡ã³ããHQLã«å
¥ãããã¨ããµ"
+"ãã¼ããã¦ãã¾ãã <xref linkend=\"batch-direct\"/> ã«è©³ç´°ãããã¾ãã"
+
+#. Tag: title
+#: query_hql.xml:924
+#, no-c-format
msgid "Tips & Tricks"
-msgstr "HQLã¯ä»ã¯ <literal>update</literal> 㨠<literal>delete</literal>ã<literal>insert ... select ...</literal> ã¹ãã¼ãã¡ã³ããHQLã«å
¥ãããã¨ããµãã¼ããã¦ãã¾ãã <xref linkend=\"batch-direct\"/> ã«è©³ç´°ãããã¾ãã"
-
-#: index.docbook:926
-msgid "You can count the number of query results without actually returning them:"
msgstr "Tips & Tricks"
-#: index.docbook:930
-msgid "<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\").iterate().next() ).intValue()]]>"
+#. Tag: para
+#: query_hql.xml:926
+#, no-c-format
+msgid ""
+"You can count the number of query results without actually returning them:"
msgstr "å®éã«çµæãè¿ããªãã¦ãã¯ã¨ãªã®çµææ°ãæ°ãããã¨ãã§ãã¾ãã:"
-#: index.docbook:932
+#. Tag: programlisting
+#: query_hql.xml:930
+#, no-c-format
+msgid ""
+"<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\")."
+"iterate().next() ).intValue()]]>"
+msgstr ""
+
+#. Tag: para
+#: query_hql.xml:932
+#, no-c-format
msgid "To order a result by the size of a collection, use the following query:"
-msgstr "<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\").iterate().next() ).intValue()]]>"
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºã«ããçµæãä¸¦ã¹æ¿ããããã«ã¯ä»¥ä¸ã®ã¯ã¨ãªã使ç¨ãã¾ãã:"
-#: index.docbook:936
+#. Tag: programlisting
+#: query_hql.xml:936
+#, no-c-format
msgid ""
- "<![CDATA[select usr.id, usr.name\n"
- "from User as usr\n"
- " left join usr.messages as msg\n"
- "group by usr.id, usr.name\n"
- "order by count(msg)]]>"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºã«ããçµæãä¸¦ã¹æ¿ããããã«ã¯ä»¥ä¸ã®ã¯ã¨ãªã使ç¨ãã¾ãã:"
+"<![CDATA[select usr.id, usr.name\n"
+"from User as usr\n"
+" left join usr.messages as msg\n"
+"group by usr.id, usr.name\n"
+"order by count(msg)]]>"
+msgstr ""
-#: index.docbook:938
-msgid "If your database supports subselects, you can place a condition upon selection size in the where clause of your query:"
+#. Tag: para
+#: query_hql.xml:938
+#, no-c-format
+msgid ""
+"If your database supports subselects, you can place a condition upon "
+"selection size in the where clause of your query:"
msgstr ""
- "<![CDATA[select usr.id, usr.name
-\n"
- "from User as usr
-\n"
- " left join usr.messages as msg
-\n"
- "group by usr.id, usr.name
-\n"
- "order by count(msg)]]>"
+"使ç¨ãã¦ãããã¼ã¿ãã¼ã¹ããµãã»ã¬ã¯ãããµãã¼ãããå ´åãã¯ã¨ãªã®whereç¯ã§ãµ"
+"ã¤ãºã«ãã鏿æ¡ä»¶ãè¨å®ã§ãã¾ã:"
-#: index.docbook:943
+#. Tag: programlisting
+#: query_hql.xml:943
+#, no-c-format
msgid "<![CDATA[from User usr where size(usr.messages) >= 1]]>"
-msgstr "使ç¨ãã¦ãããã¼ã¿ãã¼ã¹ããµãã»ã¬ã¯ãããµãã¼ãããå ´åãã¯ã¨ãªã®whereç¯ã§ãµã¤ãºã«ãã鏿æ¡ä»¶ãè¨å®ã§ãã¾ã:"
+msgstr ""
-#: index.docbook:945
+#. Tag: para
+#: query_hql.xml:945
+#, no-c-format
msgid "If your database doesn't support subselects, use the following query:"
-msgstr "<![CDATA[from User usr where size(usr.messages) >= 1]]>"
+msgstr ""
+"使ç¨ãã¦ãããã¼ã¿ãã¼ã¹ããµãã»ã¬ã¯ãããµãã¼ãããªãå ´åã¯ã次ã®ã¯ã¨ãªã使"
+"ç¨ãã¦ãã ãã:"
-#: index.docbook:949
+#. Tag: programlisting
+#: query_hql.xml:949
+#, no-c-format
msgid ""
- "<![CDATA[select usr.id, usr.name\n"
- "from User usr.name\n"
- " join usr.messages msg\n"
- "group by usr.id, usr.name\n"
- "having count(msg) >= 1]]>"
-msgstr "使ç¨ãã¦ãããã¼ã¿ãã¼ã¹ããµãã»ã¬ã¯ãããµãã¼ãããªãå ´åã¯ã次ã®ã¯ã¨ãªã使ç¨ãã¦ãã ãã:"
+"<![CDATA[select usr.id, usr.name\n"
+"from User usr.name\n"
+" join usr.messages msg\n"
+"group by usr.id, usr.name\n"
+"having count(msg) >= 1]]>"
+msgstr ""
-#: index.docbook:951
-msgid "As this solution can't return a <literal>User</literal> with zero messages because of the inner join, the following form is also useful:"
+#. Tag: para
+#: query_hql.xml:951
+#, no-c-format
+msgid ""
+"As this solution can't return a <literal>User</literal> with zero messages "
+"because of the inner join, the following form is also useful:"
msgstr ""
- "<![CDATA[select usr.id, usr.name
-\n"
- "from User usr.name
-\n"
- " join usr.messages msg
-\n"
- "group by usr.id, usr.name
-\n"
- "having count(msg) >= 1]]>"
+"å
é¨çµåããã¦ããããã§ä¸ã®è§£æ±ºæ³ãmessageã®ä»¶æ°ã ã¼ãã® <literal>User</"
+"literal> ãè¿ããã¨ãã§ããªããªãã°ã以ä¸ã®å½¢å¼ã使ãã¾ãã"
-#: index.docbook:956
+#. Tag: programlisting
+#: query_hql.xml:956
+#, no-c-format
msgid ""
- "<![CDATA[select usr.id, usr.name\n"
- "from User as usr\n"
- " left join usr.messages as msg\n"
- "group by usr.id, usr.name\n"
- "having count(msg) = 0]]>"
-msgstr "å
é¨çµåããã¦ããããã§ä¸ã®è§£æ±ºæ³ãmessageã®ä»¶æ°ã ã¼ãã® <literal>User</literal> ãè¿ããã¨ãã§ããªããªãã°ã以ä¸ã®å½¢å¼ã使ãã¾ãã"
+"<![CDATA[select usr.id, usr.name\n"
+"from User as usr\n"
+" left join usr.messages as msg\n"
+"group by usr.id, usr.name\n"
+"having count(msg) = 0]]>"
+msgstr ""
-#: index.docbook:958
+#. Tag: para
+#: query_hql.xml:958
+#, no-c-format
msgid "Properties of a JavaBean can be bound to named query parameters:"
msgstr ""
- "<![CDATA[select usr.id, usr.name
-\n"
- "from User as usr
-\n"
- " left join usr.messages as msg
-\n"
- "group by usr.id, usr.name
-\n"
- "having count(msg) = 0]]>"
+"JavaBeanã®ããããã£ã¯ãååä»ãã®ã¯ã¨ãªãã©ã¡ã¼ã¿ã«çµã³ã¤ãããã¨ãåºæ¥ã¾"
+"ããï¼"
-#: index.docbook:962
+#. Tag: programlisting
+#: query_hql.xml:962
+#, no-c-format
msgid ""
- "<![CDATA[Query q = s.createQuery(\"from foo Foo as foo where foo.name=:name and foo.size=:size\");\n"
- "q.setProperties(fooBean); // fooBean has getName() and getSize()\n"
- "List foos = q.list();]]>"
-msgstr "JavaBeanã®ããããã£ã¯ãååä»ãã®ã¯ã¨ãªãã©ã¡ã¼ã¿ã«çµã³ã¤ãããã¨ãåºæ¥ã¾ããï¼"
+"<![CDATA[Query q = s.createQuery(\"from foo Foo as foo where foo.name=:name "
+"and foo.size=:size\");\n"
+"q.setProperties(fooBean); // fooBean has getName() and getSize()\n"
+"List foos = q.list();]]>"
+msgstr ""
-#: index.docbook:964
-msgid "Collections are pageable by using the <literal>Query</literal> interface with a filter:"
+#. Tag: para
+#: query_hql.xml:964
+#, no-c-format
+msgid ""
+"Collections are pageable by using the <literal>Query</literal> interface "
+"with a filter:"
msgstr ""
- "<![CDATA[Query q = s.createQuery(\"from foo Foo as foo where foo.name=:name and foo.size=:size\");
-\n"
- "q.setProperties(fooBean); // fooBean has getName() and getSize()
-\n"
- "List foos = q.list();]]>"
+"ã³ã¬ã¯ã·ã§ã³ã¯ãã£ã«ã¿ä»ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ç¨ã"
+"ããã¨ã§ãã¼ã¸ãã¤ãããã¨ãã§ãã¾ãã:"
-#: index.docbook:968
+#. Tag: programlisting
+#: query_hql.xml:968
+#, no-c-format
msgid ""
- "<![CDATA[Query q = s.createFilter( collection, \"\" ); // the trivial filter\n"
- "q.setMaxResults(PAGE_SIZE);\n"
- "q.setFirstResult(PAGE_SIZE * pageNumber);\n"
- "List page = q.list();]]>"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã¯ãã£ã«ã¿ä»ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ç¨ãããã¨ã§ãã¼ã¸ãã¤ãããã¨ãã§ãã¾ãã:"
+"<![CDATA[Query q = s.createFilter( collection, \"\" ); // the trivial "
+"filter\n"
+"q.setMaxResults(PAGE_SIZE);\n"
+"q.setFirstResult(PAGE_SIZE * pageNumber);\n"
+"List page = q.list();]]>"
+msgstr ""
-#: index.docbook:970
+#. Tag: para
+#: query_hql.xml:970
+#, no-c-format
msgid "Collection elements may be ordered or grouped using a query filter:"
msgstr ""
- "<![CDATA[Query q = s.createFilter( collection, \"\" ); // the trivial filter
-\n"
- "q.setMaxResults(PAGE_SIZE);
-\n"
- "q.setFirstResult(PAGE_SIZE * pageNumber);
-\n"
- "List page = q.list();]]>"
+"ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã¯ã¯ã¨ãªãã£ã«ã¿ã使ã£ã¦ãä¸¦ã¹æ¿ããã°ã«ã¼ãåããåºæ¥ã¾"
+"ãã:"
-#: index.docbook:974
+#. Tag: programlisting
+#: query_hql.xml:974
+#, no-c-format
msgid ""
- "<![CDATA[Collection orderedCollection = s.filter( collection, \"order by this.amount\" );\n"
- "Collection counts = s.filter( collection, \"select this.type, count(this) group by this.type\" );]]>"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã¯ã¯ã¨ãªãã£ã«ã¿ã使ã£ã¦ãä¸¦ã¹æ¿ããã°ã«ã¼ãåããåºæ¥ã¾ãã:"
+"<![CDATA[Collection orderedCollection = s.filter( collection, \"order by "
+"this.amount\" );\n"
+"Collection counts = s.filter( collection, \"select this.type, count(this) "
+"group by this.type\" );]]>"
+msgstr ""
-#: index.docbook:976
+#. Tag: para
+#: query_hql.xml:976
+#, no-c-format
msgid "You can find the size of a collection without initializing it:"
+msgstr "ã³ã¬ã¯ã·ã§ã³ãåæåããã«ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºãå¾ããã¨ãã§ãã¾ãã:"
+
+#. Tag: programlisting
+#: query_hql.xml:980
+#, no-c-format
+msgid ""
+"<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\")."
+"iterate().next() ).intValue();]]>"
msgstr ""
- "<![CDATA[Collection orderedCollection = s.filter( collection, \"order by this.amount\" );
-\n"
- "Collection counts = s.filter( collection, \"select this.type, count(this) group by this.type\" );]]>"
-#: index.docbook:980
-msgid "<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\").iterate().next() ).intValue();]]>"
-msgstr "ã³ã¬ã¯ã·ã§ã³ãåæåããã«ã³ã¬ã¯ã·ã§ã³ã®ãµã¤ãºãå¾ããã¨ãã§ãã¾ãã:"
-
-#: index.docbook:985
+#. Tag: title
+#: query_hql.xml:985
+#, no-c-format
msgid "Components"
-msgstr "<![CDATA[( (Integer) session.createQuery(\"select count(*) from ....\").iterate().next() ).intValue();]]>"
+msgstr "translator-credits"
-#: index.docbook:987
-msgid "Components might be used in just about every way that simple value types can be used in HQL queries. They can appear in the <literal>select</literal> clause:"
+#. Tag: para
+#: query_hql.xml:987
+#, no-c-format
+msgid ""
+"Components might be used in just about every way that simple value types can "
+"be used in HQL queries. They can appear in the <literal>select</literal> "
+"clause:"
msgstr ""
-#: index.docbook:992, index.docbook:1038
+#. Tag: programlisting
+#: query_hql.xml:992 query_hql.xml:1038
+#, no-c-format
msgid "<![CDATA[select p.name from from Person p]]>"
msgstr ""
-#: index.docbook:993
+#. Tag: programlisting
+#: query_hql.xml:993
+#, no-c-format
msgid "<![CDATA[select p.name.first from from Person p]]>"
msgstr ""
-#: index.docbook:995
-msgid "where the Person's name property is a component. Components can also be used in the <literal>where</literal> clause:"
+#. Tag: para
+#: query_hql.xml:995
+#, no-c-format
+msgid ""
+"where the Person's name property is a component. Components can also be used "
+"in the <literal>where</literal> clause:"
msgstr ""
-#: index.docbook:1000
+#. Tag: programlisting
+#: query_hql.xml:1000
+#, no-c-format
msgid "<![CDATA[from from Person p where p.name = :name]]>"
msgstr ""
-#: index.docbook:1001
+#. Tag: programlisting
+#: query_hql.xml:1001
+#, no-c-format
msgid "<![CDATA[from from Person p where p.name.first = :firstName]]>"
msgstr ""
-#: index.docbook:1003
+#. Tag: para
+#: query_hql.xml:1003
+#, no-c-format
msgid "Components can also be used in the <literal>order by</literal> clause:"
msgstr ""
-#: index.docbook:1007
+#. Tag: programlisting
+#: query_hql.xml:1007
+#, no-c-format
msgid "<![CDATA[from from Person p order by p.name]]>"
msgstr ""
-#: index.docbook:1008
+#. Tag: programlisting
+#: query_hql.xml:1008
+#, no-c-format
msgid "<![CDATA[from from Person p order by p.name.first]]>"
msgstr ""
-#: index.docbook:1010
-msgid "Another common use of components is in <xref linkend=\"queryhql-tuple\"/>row value constructors."
+#. Tag: para
+#: query_hql.xml:1010
+#, no-c-format
+msgid ""
+"Another common use of components is in <link linkend=\"queryhql-tuple\">row "
+"value constructors</link>."
msgstr ""
-#: index.docbook:1016
+#. Tag: title
+#: query_hql.xml:1016
+#, no-c-format
msgid "Row value constructor syntax"
msgstr ""
-#: index.docbook:1018
-msgid "HQL supports the use of ANSI SQL <literal>row value constructor</literal> syntax (sometimes called <literal>tuple</literal> syntax), even though the underlying database may not support that notion. Here we are generally referring to multi-valued comparisons, typically associated with components. Consider an entity Person which defines a name component:"
+#. Tag: para
+#: query_hql.xml:1018
+#, no-c-format
+msgid ""
+"HQL supports the use of ANSI SQL <literal>row value constructor</literal> "
+"syntax (sometimes called <literal>tuple</literal> syntax), even though the "
+"underlying database may not support that notion. Here we are generally "
+"referring to multi-valued comparisons, typically associated with components. "
+"Consider an entity Person which defines a name component:"
msgstr ""
-#: index.docbook:1025
-msgid "<![CDATA[from Person p where p.name.first='John' and p.name.last='Jingleheimer-Schmidt']]>"
+#. Tag: programlisting
+#: query_hql.xml:1025
+#, no-c-format
+msgid ""
+"<![CDATA[from Person p where p.name.first='John' and p.name."
+"last='Jingleheimer-Schmidt']]>"
msgstr ""
-#: index.docbook:1027
-msgid "That's valid syntax, although a little verbose. It be nice to make this a bit more concise and use <literal>row value constructor</literal> syntax:"
+#. Tag: para
+#: query_hql.xml:1027
+#, no-c-format
+msgid ""
+"That's valid syntax, although a little verbose. It be nice to make this a "
+"bit more concise and use <literal>row value constructor</literal> syntax:"
msgstr ""
-#: index.docbook:1032
+#. Tag: programlisting
+#: query_hql.xml:1032
+#, no-c-format
msgid "<![CDATA[from Person p where p.name=('John', 'Jingleheimer-Schmidt')]]>"
msgstr ""
-#: index.docbook:1034
-msgid "It can also be useful to specify this in the <literal>select</literal> clause:"
+#. Tag: para
+#: query_hql.xml:1034
+#, no-c-format
+msgid ""
+"It can also be useful to specify this in the <literal>select</literal> "
+"clause:"
msgstr ""
-#: index.docbook:1040
-msgid "Another time using <literal>row value constructor</literal> syntax can be beneficial is when using subqueries needing to compare against multiple values:"
+#. Tag: para
+#: query_hql.xml:1040
+#, no-c-format
+msgid ""
+"Another time using <literal>row value constructor</literal> syntax can be "
+"beneficial is when using subqueries needing to compare against multiple "
+"values:"
msgstr ""
-#: index.docbook:1045
+#. Tag: programlisting
+#: query_hql.xml:1045
+#, no-c-format
msgid ""
- "<![CDATA[from Cat as cat\n"
- "where not ( cat.name, cat.color ) in (\n"
- " select cat.name, cat.color from DomesticCat cat\n"
- ")]]>"
+"<![CDATA[from Cat as cat\n"
+"where not ( cat.name, cat.color ) in (\n"
+" select cat.name, cat.color from DomesticCat cat\n"
+")]]>"
msgstr ""
-#: index.docbook:1047
-msgid "One thing to consider when deciding if you want to use this syntax is that the query will be dependent upon the ordering of the component sub-properties in the metadata."
+#. Tag: para
+#: query_hql.xml:1047
+#, no-c-format
+msgid ""
+"One thing to consider when deciding if you want to use this syntax is that "
+"the query will be dependent upon the ordering of the component sub-"
+"properties in the metadata."
msgstr ""
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/query_sql.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/query_sql.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/query_sql.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1044 +1,1470 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: query_sql.xml:5
+#, no-c-format
msgid "Native SQL"
msgstr "ãã¤ãã£ãSQL"
-#: index.docbook:7
-msgid "You may also express queries in the native SQL dialect of your database. This is useful if you want to utilize database specific features such as query hints or the <literal>CONNECT</literal> keyword in Oracle. It also provides a clean migration path from a direct SQL/JDBC based application to Hibernate."
-msgstr "ãã¼ã¿ãã¼ã¹ã®ãã¤ãã£ãSQLæ¹è¨ã使ã£ã¦ã¯ã¨ãªã表ç¾ãããã¨ãã§ãã¾ãã ã¯ã¨ãªãã³ããOracleã® <literal>CONNECT</literal> ãã¼ã¯ã¼ãã®ããã«ã ãã¼ã¿ãã¼ã¹ç¬èªã®æ©è½ãå©ç¨ãããã¨ãã«ä½¿ãã¾ãã SQL/JDBCãç´æ¥ä½¿ç¨ãã¦ããã¢ããªã±ã¼ã·ã§ã³ããHibernateã¸ã®ç§»è¡ã容æã«ãã¦ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:7
+#, no-c-format
+msgid ""
+"You may also express queries in the native SQL dialect of your database. "
+"This is useful if you want to utilize database specific features such as "
+"query hints or the <literal>CONNECT</literal> keyword in Oracle. It also "
+"provides a clean migration path from a direct SQL/JDBC based application to "
+"Hibernate."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ã®ãã¤ãã£ãSQLæ¹è¨ã使ã£ã¦ã¯ã¨ãªã表ç¾ãããã¨ãã§ãã¾ãã ã¯ã¨"
+"ãªãã³ããOracleã® <literal>CONNECT</literal> ãã¼ã¯ã¼ãã®ããã«ã ãã¼ã¿ãã¼"
+"ã¹ç¬èªã®æ©è½ãå©ç¨ãããã¨ãã«ä½¿ãã¾ãã SQL/JDBCãç´æ¥ä½¿ç¨ãã¦ããã¢ããªã±ã¼"
+"ã·ã§ã³ããHibernateã¸ã®ç§»è¡ã容æã«ãã¦ãã¾ãã"
-#: index.docbook:13
-msgid "Hibernate3 allows you to specify handwritten SQL (including stored procedures) for all create, update, delete, and load operations."
-msgstr "Hibernate3ã§ã¯ãçæãæ´æ°ãåé¤ãèªã¿è¾¼ã¿å¦çã®ãããªãã¹ã¦ã® SQLï¼ã¹ãã¢ãããã·ã¼ã¸ã£ãå«ãï¼ãææ¸ãã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:13
+#, no-c-format
+msgid ""
+"Hibernate3 allows you to specify handwritten SQL (including stored "
+"procedures) for all create, update, delete, and load operations."
+msgstr ""
+"Hibernate3ã§ã¯ãçæãæ´æ°ãåé¤ãèªã¿è¾¼ã¿å¦çã®ãããªãã¹ã¦ã® SQLï¼ã¹ãã¢ã"
+"ããã·ã¼ã¸ã£ãå«ãï¼ãææ¸ãã§ãã¾ãã"
-#: index.docbook:17
+#. Tag: title
+#: query_sql.xml:17
+#, no-c-format
msgid "Using a <literal>SQLQuery</literal>"
msgstr "<literal>SQLQuery</literal> ã®ä½¿ç¨"
-#: index.docbook:19
-msgid "Execution of native SQL queries is controlled via the <literal>SQLQuery</literal> interface, which is obtained by calling <literal>Session.createSQLQuery()</literal>. The following describes how to use this API for querying."
-msgstr "ãã¤ãã£ããªSQLã¯ã¨ãªã®å®è¡ã¯ <literal>SQLQuery</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ãéãã¦å¶å¾¡ãã¾ãã <literal>SQLQuery</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ <literal>Session.createSQLQuery()</literal> ãå¼ã³åºãã¦åå¾ãã¾ãã ãã®APIã使ã£ã¦åãåããããæ¹æ³ã以ä¸ã§èª¬æãã¾ãã"
+#. Tag: para
+#: query_sql.xml:19
+#, no-c-format
+msgid ""
+"Execution of native SQL queries is controlled via the <literal>SQLQuery</"
+"literal> interface, which is obtained by calling <literal>Session."
+"createSQLQuery()</literal>. The following describes how to use this API for "
+"querying."
+msgstr ""
+"ãã¤ãã£ããªSQLã¯ã¨ãªã®å®è¡ã¯ <literal>SQLQuery</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã"
+"éãã¦å¶å¾¡ãã¾ãã <literal>SQLQuery</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã¯ "
+"<literal>Session.createSQLQuery()</literal> ãå¼ã³åºãã¦åå¾ãã¾ãã ãã®API"
+"ã使ã£ã¦åãåããããæ¹æ³ã以ä¸ã§èª¬æãã¾ãã"
-#: index.docbook:25
+#. Tag: title
+#: query_sql.xml:25
+#, no-c-format
msgid "Scalar queries"
msgstr "ã¹ã«ã©ã¼ã®ã¯ã¨ãª"
-#: index.docbook:27
+#. Tag: para
+#: query_sql.xml:27
+#, no-c-format
msgid "The most basic SQL query is to get a list of scalars (values)."
msgstr "æãåºæ¬çãªSQLã¯ã¨ãªã¯ã¹ã«ã©ã¼ï¼å¤ï¼ã®ãªã¹ããå¾ããã¨ã§ãã"
-#: index.docbook:30
+#. Tag: programlisting
+#: query_sql.xml:30
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").list();\n"
- "sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").list();\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").list();\n"
+"sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").list();\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").list();\n"
- "sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").list();\n"
- "]]>"
-#: index.docbook:32
-msgid "These will both return a List of Object arrays (Object[]) with scalar values for each column in the CATS table. Hibernate will use ResultSetMetadata to deduce the actual order and types of the returned scalar values."
-msgstr "ãããã¯ã©ã¡ãããCATSãã¼ãã«ã®åã«ã©ã ã®ã¹ã«ã©ã¼å¤ãå«ã Objecté
åï¼Object[]ï¼ã®ãªã¹ããè¿ãã¾ãã è¿ãã¹ã«ã©ã¼å¤ã®å®éã®é çªã¨åãæ¨å®ããããã«ã Hibernateã¯ResultSetMetadataã使ç¨ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:32
+#, no-c-format
+msgid ""
+"These will both return a List of Object arrays (Object[]) with scalar values "
+"for each column in the CATS table. Hibernate will use ResultSetMetadata to "
+"deduce the actual order and types of the returned scalar values."
+msgstr ""
+"ãããã¯ã©ã¡ãããCATSãã¼ãã«ã®åã«ã©ã ã®ã¹ã«ã©ã¼å¤ãå«ã Objecté
åï¼Object"
+"[]ï¼ã®ãªã¹ããè¿ãã¾ãã è¿ãã¹ã«ã©ã¼å¤ã®å®éã®é çªã¨åãæ¨å®ããããã«ã "
+"Hibernateã¯ResultSetMetadataã使ç¨ãã¾ãã"
-#: index.docbook:37
-msgid "To avoid the overhead of using <literal>ResultSetMetadata</literal> or simply to be more explicit in what is returned one can use <literal>addScalar()</literal>."
-msgstr "<literal>ResultSetMetadata</literal> ã使ç¨ãããªã¼ãã¼ããããé¿ããããã ãããã¯åã«ä½ãè¿ããããæç¢ºã«ããããã<literal>addScalar()</literal> ã使ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:37
+#, no-c-format
+msgid ""
+"To avoid the overhead of using <literal>ResultSetMetadata</literal> or "
+"simply to be more explicit in what is returned one can use <literal>addScalar"
+"()</literal>."
+msgstr ""
+"<literal>ResultSetMetadata</literal> ã使ç¨ãããªã¼ãã¼ããããé¿ããããã "
+"ãããã¯åã«ä½ãè¿ããããæç¢ºã«ããããã<literal>addScalar()</literal> ã使"
+"ãã¾ãã"
-#: index.docbook:41
+#. Tag: programlisting
+#: query_sql.xml:41
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
- " .addScalar(\"ID\", Hibernate.LONG)\n"
- " .addScalar(\"NAME\", Hibernate.STRING)\n"
- " .addScalar(\"BIRTHDATE\", Hibernate.DATE)\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
+" .addScalar(\"ID\", Hibernate.LONG)\n"
+" .addScalar(\"NAME\", Hibernate.STRING)\n"
+" .addScalar(\"BIRTHDATE\", Hibernate.DATE)\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
- " .addScalar(\"ID\", Hibernate.LONG)\n"
- " .addScalar(\"NAME\", Hibernate.STRING)\n"
- " .addScalar(\"BIRTHDATE\", Hibernate.DATE)\n"
- "]]>"
-#: index.docbook:43, index.docbook:89, index.docbook:170, index.docbook:321
+#. Tag: para
+#: query_sql.xml:43 query_sql.xml:89 query_sql.xml:170 query_sql.xml:321
+#, no-c-format
msgid "This query specified:"
msgstr "ãã®ã¯ã¨ãªã§æå®ããã¦ãããã®ãä¸è¨ã«ç¤ºãã¾ãã"
-#: index.docbook:47, index.docbook:93, index.docbook:325
+#. Tag: para
+#: query_sql.xml:47 query_sql.xml:93 query_sql.xml:325
+#, no-c-format
msgid "the SQL query string"
msgstr "SQLã¯ã¨ãªæåå"
-#: index.docbook:51
+#. Tag: para
+#: query_sql.xml:51
+#, no-c-format
msgid "the columns and types to return"
msgstr "è¿ãããã«ã©ã ã¨å"
-#: index.docbook:55
-msgid "This will still return Object arrays, but now it will not use <literal>ResultSetMetdata</literal> but will instead explicitly get the ID, NAME and BIRTHDATE column as respectively a Long, String and a Short from the underlying resultset. This also means that only these three columns will be returned, even though the query is using <literal>*</literal> and could return more than the three listed columns."
-msgstr "ããã¯ã¾ã Objecté
åãè¿ãã¾ããã <literal>ResultSetMetdata</literal> ã使ç¨ãã¾ããã ãã ãããã®ä»£ããã«åºç¤ã«ãããªã¶ã«ãã»ãããã IDãNAMEãBIRTHDATE ã«ã©ã ããããã LongãStringãShort ã¨ãã¦æç¤ºçã«åå¾ãã¾ãã ããã¯ï¼ã¤ã®ã«ã©ã ãè¿ãã®ã¿ã§ãããã¨ãæå³ãã¾ãã ãã¨ããã¯ã¨ãªã <literal>*</literal> ã使ç¨ãã åæããï¼ã¤ããå¤ãã®ã«ã©ã ãè¿ããã¨ãã¦ãã§ãã"
+#. Tag: para
+#: query_sql.xml:55
+#, no-c-format
+msgid ""
+"This will still return Object arrays, but now it will not use "
+"<literal>ResultSetMetdata</literal> but will instead explicitly get the ID, "
+"NAME and BIRTHDATE column as respectively a Long, String and a Short from "
+"the underlying resultset. This also means that only these three columns will "
+"be returned, even though the query is using <literal>*</literal> and could "
+"return more than the three listed columns."
+msgstr ""
+"ããã¯ã¾ã Objecté
åãè¿ãã¾ããã <literal>ResultSetMetdata</literal> ã使ç¨"
+"ãã¾ããã ãã ãããã®ä»£ããã«åºç¤ã«ãããªã¶ã«ãã»ãããã IDãNAMEã"
+"BIRTHDATE ã«ã©ã ããããã LongãStringãShort ã¨ãã¦æç¤ºçã«åå¾ãã¾ãã ã"
+"ãã¯ï¼ã¤ã®ã«ã©ã ãè¿ãã®ã¿ã§ãããã¨ãæå³ãã¾ãã ãã¨ããã¯ã¨ãªã "
+"<literal>*</literal> ã使ç¨ãã åæããï¼ã¤ããå¤ãã®ã«ã©ã ãè¿ããã¨ãã¦ã"
+"ã§ãã"
-#: index.docbook:63
-msgid "It is possible to leave out the type information for all or some of the scalars."
+#. Tag: para
+#: query_sql.xml:63
+#, no-c-format
+msgid ""
+"It is possible to leave out the type information for all or some of the "
+"scalars."
msgstr "ã¹ã«ã©ã¼ã®åæ
å ±ãçããã¨ãã§ãã¾ãã"
-#: index.docbook:66
+#. Tag: programlisting
+#: query_sql.xml:66
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
- " .addScalar(\"ID\", Hibernate.LONG)\n"
- " .addScalar(\"NAME\")\n"
- " .addScalar(\"BIRTHDATE\")\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
+" .addScalar(\"ID\", Hibernate.LONG)\n"
+" .addScalar(\"NAME\")\n"
+" .addScalar(\"BIRTHDATE\")\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\")\n"
- " .addScalar(\"ID\", Hibernate.LONG)\n"
- " .addScalar(\"NAME\")\n"
- " .addScalar(\"BIRTHDATE\")\n"
- "]]>"
-#: index.docbook:68
-msgid "This is essentially the same query as before, but now <literal>ResultSetMetaData</literal> is used to decide the type of NAME and BIRTHDATE where as the type of ID is explicitly specified."
-msgstr "ããã¯æ¬è³ªçã«åã¨åãã¯ã¨ãªã§ãããã NAME 㨠BIRTHDATE ã®åãæ±ºããããã« <literal>ResultSetMetaData</literal> ã使ç¨ãã¾ãã䏿¹ãID ã®åã¯æç¤ºçã«æå®ããã¦ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:68
+#, no-c-format
+msgid ""
+"This is essentially the same query as before, but now "
+"<literal>ResultSetMetaData</literal> is used to decide the type of NAME and "
+"BIRTHDATE where as the type of ID is explicitly specified."
+msgstr ""
+"ããã¯æ¬è³ªçã«åã¨åãã¯ã¨ãªã§ãããã NAME 㨠BIRTHDATE ã®åãæ±ºããããã« "
+"<literal>ResultSetMetaData</literal> ã使ç¨ãã¾ãã䏿¹ãID ã®åã¯æç¤ºçã«æ"
+"å®ããã¦ãã¾ãã"
-#: index.docbook:72
-msgid "How the java.sql.Types returned from ResultSetMetaData is mapped to Hibernate types is controlled by the Dialect. If a specific type is not mapped or does not result in the expected type it is possible to customize it via calls to <literal>registerHibernateType</literal> in the Dialect."
-msgstr "ResultSetMetaData ããè¿ããã java.sql.Types ã Hibernate ã®åã« ãããã³ã°ãããã¨ã¯ãDialect ãå¶å¾¡ãã¾ãã æç¤ºãããåããããã³ã°ããã¦ããªãããçµæã®åãæå¾
ãããã®ã¨ç°ãªãå ´åã Dialect ã® <literal>registerHibernateType</literal> ãå¼ã³åºãã ã«ã¹ã¿ãã¤ãºã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:72
+#, no-c-format
+msgid ""
+"How the java.sql.Types returned from ResultSetMetaData is mapped to "
+"Hibernate types is controlled by the Dialect. If a specific type is not "
+"mapped or does not result in the expected type it is possible to customize "
+"it via calls to <literal>registerHibernateType</literal> in the Dialect."
+msgstr ""
+"ResultSetMetaData ããè¿ããã java.sql.Types ã Hibernate ã®åã« ãããã³ã°"
+"ãããã¨ã¯ãDialect ãå¶å¾¡ãã¾ãã æç¤ºãããåããããã³ã°ããã¦ããªãããçµ"
+"æã®åãæå¾
ãããã®ã¨ç°ãªãå ´åã Dialect ã® "
+"<literal>registerHibernateType</literal> ãå¼ã³åºãã ã«ã¹ã¿ãã¤ãºã§ãã¾ãã"
-#: index.docbook:80
+#. Tag: title
+#: query_sql.xml:80
+#, no-c-format
msgid "Entity queries"
msgstr "ã¨ã³ãã£ãã£ã®ã¯ã¨ãª"
-#: index.docbook:82
-msgid "The above queries were all about returning scalar values, basically returning the \"raw\" values from the resultset. The following shows how to get entity objects from a native sql query via <literal>addEntity()</literal>."
-msgstr "ããã¾ã§ã®ã¯ã¨ãªã¯ããã¹ã¦ã¹ã«ã©ã¼å¤ãè¿ããã®ã§ããã åºæ¬çã«ããªã¶ã«ãã»ãããããæªå å·¥ãã®å¤ãè¿ãã¾ãã 以éã§ã¯ã<literal>addEntity()</literal> ã«ããããã¤ãã£ãSQLã¯ã¨ãªãã ã¨ã³ãã£ãã£ãªãã¸ã§ã¯ããåå¾ããæ¹æ³ã示ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:82
+#, no-c-format
+msgid ""
+"The above queries were all about returning scalar values, basically "
+"returning the \"raw\" values from the resultset. The following shows how to "
+"get entity objects from a native sql query via <literal>addEntity()</"
+"literal>."
+msgstr ""
+"ããã¾ã§ã®ã¯ã¨ãªã¯ããã¹ã¦ã¹ã«ã©ã¼å¤ãè¿ããã®ã§ããã åºæ¬çã«ããªã¶ã«ãã»ã"
+"ããããæªå å·¥ãã®å¤ãè¿ãã¾ãã 以éã§ã¯ã<literal>addEntity()</literal> ã«"
+"ããããã¤ãã£ãSQLã¯ã¨ãªãã ã¨ã³ãã£ãã£ãªãã¸ã§ã¯ããåå¾ããæ¹æ³ã示ãã¾"
+"ãã"
-#: index.docbook:87
+#. Tag: programlisting
+#: query_sql.xml:87
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").addEntity(Cat.class);\n"
- "sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").addEntity(Cat.class);\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").addEntity(Cat.class);\n"
+"sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").addEntity(Cat."
+"class);\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT * FROM CATS\").addEntity(Cat.class);\n"
- "sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE FROM CATS\").addEntity(Cat.class);\n"
- "]]>"
-#: index.docbook:97
+#. Tag: para
+#: query_sql.xml:97
+#, no-c-format
msgid "the entity returned by the query"
msgstr "ã¯ã¨ãªãè¿ãã¨ã³ãã£ãã£ã¨SQLãã¼ãã«ã®å¥å"
-#: index.docbook:101
-msgid "Assuming that Cat is mapped as a class with the columns ID, NAME and BIRTHDATE the above queries will both return a List where each element is a Cat entity."
-msgstr "CatãID, NAME, BIRTHDATEã®ã«ã©ã ã使ã£ã¦ã¯ã©ã¹ã«ãããã³ã°ãããå ´åã ä¸è¨ã®ã¯ã¨ãªã¯ã©ã¡ãããè¦ç´ ãCatã¨ã³ãã£ãã£ã§ãããªã¹ããè¿ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:101
+#, no-c-format
+msgid ""
+"Assuming that Cat is mapped as a class with the columns ID, NAME and "
+"BIRTHDATE the above queries will both return a List where each element is a "
+"Cat entity."
+msgstr ""
+"CatãID, NAME, BIRTHDATEã®ã«ã©ã ã使ã£ã¦ã¯ã©ã¹ã«ãããã³ã°ãããå ´åã ä¸è¨ã®"
+"ã¯ã¨ãªã¯ã©ã¡ãããè¦ç´ ãCatã¨ã³ãã£ãã£ã§ãããªã¹ããè¿ãã¾ãã"
-#: index.docbook:105
-msgid "If the entity is mapped with a <literal>many-to-one</literal> to another entity it is required to also return this when performing the native query, otherwise a database specific \"column not found\" error will occur. The additional columns will automatically be returned when using the * notation, but we prefer to be explicit as in the following example for a <literal>many-to-one</literal> to a <literal>Dog</literal>:"
-msgstr "ã¨ã³ãã£ãã£ãå¥ã®ã¨ã³ãã£ãã£ã« <literal>å¤å¯¾ä¸</literal> ã§ãããã³ã°ãã¦ããå ´åã¯ã ãã¤ãã£ãã¯ã¨ãªãå®è¡ããéã«ããã®å¥ã®ã¨ã³ãã£ãã£ãè¿ããã¨ãè¦æ±ãã¾ãã ãããªããã°ããã¼ã¿ãã¼ã¹åºæã®ãcolumn not found(ã«ã©ã ãè¦ã¤ããã¾ãã)ãã¨ã©ã¼ãçºçãã¾ãã * 表è¨ã使ç¨ããéã¯ã追å ã®ã«ã©ã ãèªåçã«è¿ããã¾ããã æ¬¡ã®ä¾ã®ããã«ã<literal>Dog</literal> ã« <literal>å¤å¯¾ä¸</literal> ã§ãããã¨ã æç¤ºãããã¨ãç§ãã¡ã¯å¥½ã¿ã¾ãã"
+#. Tag: para
+#: query_sql.xml:105
+#, no-c-format
+msgid ""
+"If the entity is mapped with a <literal>many-to-one</literal> to another "
+"entity it is required to also return this when performing the native query, "
+"otherwise a database specific \"column not found\" error will occur. The "
+"additional columns will automatically be returned when using the * notation, "
+"but we prefer to be explicit as in the following example for a <literal>many-"
+"to-one</literal> to a <literal>Dog</literal>:"
+msgstr ""
+"ã¨ã³ãã£ãã£ãå¥ã®ã¨ã³ãã£ãã£ã« <literal>å¤å¯¾ä¸</literal> ã§ãããã³ã°ãã¦ã"
+"ãå ´åã¯ã ãã¤ãã£ãã¯ã¨ãªãå®è¡ããéã«ããã®å¥ã®ã¨ã³ãã£ãã£ãè¿ããã¨ãè¦"
+"æ±ãã¾ãã ãããªããã°ããã¼ã¿ãã¼ã¹åºæã®ãcolumn not found(ã«ã©ã ãè¦ã¤ã"
+"ãã¾ãã)ãã¨ã©ã¼ãçºçãã¾ãã * 表è¨ã使ç¨ããéã¯ã追å ã®ã«ã©ã ãèªåçã«"
+"è¿ããã¾ããã æ¬¡ã®ä¾ã®ããã«ã<literal>Dog</literal> ã« <literal>å¤å¯¾ä¸</"
+"literal> ã§ãããã¨ã æç¤ºãããã¨ãç§ãã¡ã¯å¥½ã¿ã¾ãã"
-#: index.docbook:113
+#. Tag: programlisting
+#: query_sql.xml:113
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, DOG_ID FROM CATS\").addEntity(Cat.class);\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, DOG_ID FROM CATS"
+"\").addEntity(Cat.class);\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, DOG_ID FROM CATS\").addEntity(Cat.class);\n"
- "]]>"
-#: index.docbook:115
+#. Tag: para
+#: query_sql.xml:115
+#, no-c-format
msgid "This will allow cat.getDog() to function properly."
msgstr "ããã«ãã cat.getDog() ãæ£ããæ©è½ãã¾ãã"
-#: index.docbook:119
+#. Tag: title
+#: query_sql.xml:119
+#, no-c-format
msgid "Handling associations and collections"
msgstr "é¢é£ã¨ã³ã¬ã¯ã·ã§ã³ã®æä½"
-#: index.docbook:121
-msgid "It is possible to eagerly join in the <literal>Dog</literal> to avoid the possible extra roundtrip for initializing the proxy. This is done via the <literal>addJoin()</literal> method, which allows you to join in an association or collection."
-msgstr "ãããã·ãåæåããããã®ä½åãªå¦çãé¿ããããã <literal>Dog</literal> ã®ä¸ã§å³æçµåã§ãã¾ãã ãã㯠<literal>addJoin()</literal> ã¡ã½ããã«ããè¡ãã¾ãã é¢é£ãããã¯ã³ã¬ã¯ã·ã§ã³ã«çµåã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:121
+#, no-c-format
+msgid ""
+"It is possible to eagerly join in the <literal>Dog</literal> to avoid the "
+"possible extra roundtrip for initializing the proxy. This is done via the "
+"<literal>addJoin()</literal> method, which allows you to join in an "
+"association or collection."
+msgstr ""
+"ãããã·ãåæåããããã®ä½åãªå¦çãé¿ããããã <literal>Dog</literal> ã®"
+"ä¸ã§å³æçµåã§ãã¾ãã ãã㯠<literal>addJoin()</literal> ã¡ã½ããã«ããè¡ã"
+"ã¾ãã é¢é£ãããã¯ã³ã¬ã¯ã·ã§ã³ã«çµåã§ãã¾ãã"
-#: index.docbook:126
+#. Tag: programlisting
+#: query_sql.xml:126
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT c.ID, NAME, BIRTHDATE, DOG_ID, D_ID, D_NAME FROM CATS c, DOGS d WHERE c.DOG_ID = d.D_ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addJoin(\"cat.dog\");\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT c.ID, NAME, BIRTHDATE, DOG_ID, D_ID, "
+"D_NAME FROM CATS c, DOGS d WHERE c.DOG_ID = d.D_ID\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+" .addJoin(\"cat.dog\");\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT c.ID, NAME, BIRTHDATE, DOG_ID, D_ID, D_NAME FROM CATS c, DOGS d WHERE c.DOG_ID = d.D_ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addJoin(\"cat.dog\");\n"
- "]]>"
-#: index.docbook:128
-msgid "In this example the returned <literal>Cat</literal>'s will have their <literal>dog</literal> property fully initialized without any extra roundtrip to the database. Notice that we added a alias name (\"cat\") to be able to specify the target property path of the join. It is possible to do the same eager joining for collections, e.g. if the <literal>Cat</literal> had a one-to-many to <literal>Dog</literal> instead."
-msgstr "ãã®ä¾ã®ä¸ã§ãè¿ããã <literal>Cat</literal> ã¯ã ãã¼ã¿ãã¼ã¹ã¸ã®ä½åå¦çãªãã§ã å®å
¨ã«åæåããã <literal>dog</literal> ããããã£ãæã¡ã¾ãã çµå対象ã®ããããã£ã¸ã®ãã¹ãæå®ã§ããããã«ã å¥åï¼ãcatãï¼ã追å ãããã¨ã«æ³¨æãã¦ãã ããã ã³ã¬ã¯ã·ã§ã³ã®å³æçµåãåãããã«ã§ãã¾ãã ãã¨ãã°ã<literal>Cat</literal> ãä¸å¯¾å¤ã§ <literal>Dog</literal> ãæã£ã¦ããå ´åãæ¬¡ã®ããã«ãªãã¾ãã"
+#. Tag: para
+#: query_sql.xml:128
+#, no-c-format
+msgid ""
+"In this example the returned <literal>Cat</literal>'s will have their "
+"<literal>dog</literal> property fully initialized without any extra "
+"roundtrip to the database. Notice that we added a alias name (\"cat\") to be "
+"able to specify the target property path of the join. It is possible to do "
+"the same eager joining for collections, e.g. if the <literal>Cat</literal> "
+"had a one-to-many to <literal>Dog</literal> instead."
+msgstr ""
+"ãã®ä¾ã®ä¸ã§ãè¿ããã <literal>Cat</literal> ã¯ã ãã¼ã¿ãã¼ã¹ã¸ã®ä½åå¦çãª"
+"ãã§ã å®å
¨ã«åæåããã <literal>dog</literal> ããããã£ãæã¡ã¾ãã çµå"
+"対象ã®ããããã£ã¸ã®ãã¹ãæå®ã§ããããã«ã å¥åï¼ãcatãï¼ã追å ãããã¨ã«"
+"注æãã¦ãã ããã ã³ã¬ã¯ã·ã§ã³ã®å³æçµåãåãããã«ã§ãã¾ãã ãã¨ãã°ã"
+"<literal>Cat</literal> ãä¸å¯¾å¤ã§ <literal>Dog</literal> ãæã£ã¦ããå ´åãæ¬¡"
+"ã®ããã«ãªãã¾ãã"
-#: index.docbook:136
+#. Tag: programlisting
+#: query_sql.xml:136
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, D_ID, D_NAME, CAT_ID FROM CATS c, DOGS d WHERE c.ID = d.CAT_ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addJoin(\"cat.dogs\");\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, D_ID, D_NAME, "
+"CAT_ID FROM CATS c, DOGS d WHERE c.ID = d.CAT_ID\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+" .addJoin(\"cat.dogs\");\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT ID, NAME, BIRTHDATE, D_ID, D_NAME, CAT_ID FROM CATS c, DOGS d WHERE c.ID = d.CAT_ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addJoin(\"cat.dogs\");\n"
- "]]>"
-#: index.docbook:138
-msgid "At this stage we are reaching the limits of what is possible with native queries without starting to enhance the sql queries to make them usable in Hibernate; the problems starts to arise when returning multiple entities of the same type or when the default alias/column names are not enough."
-msgstr "ç¾å¨ã®ã¨ããã Hibernateã§ä½¿ããããããããã®SQLã¯ã¨ãªã®æ¡å¼µãªãã«ã ãã¤ãã£ãã¯ã¨ãªã§ä½ããå¯è½ã«ããéçã«æ¥ã¦ãã¾ãã åãåã®ã¨ã³ãã£ãã£ãè¤æ°è¿ãéããããã©ã«ãã®å¥åãååã§ååã§ã¯ãªãå ´åã«ã åé¡ã¯èµ·ããå§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:138
+#, no-c-format
+msgid ""
+"At this stage we are reaching the limits of what is possible with native "
+"queries without starting to enhance the sql queries to make them usable in "
+"Hibernate; the problems starts to arise when returning multiple entities of "
+"the same type or when the default alias/column names are not enough."
+msgstr ""
+"ç¾å¨ã®ã¨ããã Hibernateã§ä½¿ããããããããã®SQLã¯ã¨ãªã®æ¡å¼µãªãã«ã ãã¤"
+"ãã£ãã¯ã¨ãªã§ä½ããå¯è½ã«ããéçã«æ¥ã¦ãã¾ãã åãåã®ã¨ã³ãã£ãã£ãè¤æ°è¿"
+"ãéããããã©ã«ãã®å¥åãååã§ååã§ã¯ãªãå ´åã«ã åé¡ã¯èµ·ããå§ãã¾ãã"
-#: index.docbook:146
+#. Tag: title
+#: query_sql.xml:146
+#, no-c-format
msgid "Returning multiple entities"
msgstr "è¤æ°ã¨ã³ãã£ãã£ã®åå¾"
-#: index.docbook:148
-msgid "Until now the result set column names are assumed to be the same as the column names specified in the mapping document. This can be problematic for SQL queries which join multiple tables, since the same column names may appear in more than one table."
-msgstr "ããã¾ã§ã¯ããªã¶ã«ãã»ããã®ã«ã©ã åã¯ã ãããã³ã°ãã¡ã¤ã«ã§æå®ãããã«ã©ã åã¨åãã§ããã¨ä»®å®ãã¦ãã¾ããã è¤æ°ã®ãã¼ãã«ãåãã«ã©ã åãæã¤å ´åãããããã è¤æ°ãã¼ãã«ãçµåããSQLã¯ã¨ãªã§åé¡ã¨ãªãå ´åãããã¾ãã"
+#. Tag: para
+#: query_sql.xml:148
+#, no-c-format
+msgid ""
+"Until now the result set column names are assumed to be the same as the "
+"column names specified in the mapping document. This can be problematic for "
+"SQL queries which join multiple tables, since the same column names may "
+"appear in more than one table."
+msgstr ""
+"ããã¾ã§ã¯ããªã¶ã«ãã»ããã®ã«ã©ã åã¯ã ãããã³ã°ãã¡ã¤ã«ã§æå®ãããã«ã©ã "
+"åã¨åãã§ããã¨ä»®å®ãã¦ãã¾ããã è¤æ°ã®ãã¼ãã«ãåãã«ã©ã åãæã¤å ´åãã"
+"ãããã è¤æ°ãã¼ãã«ãçµåããSQLã¯ã¨ãªã§åé¡ã¨ãªãå ´åãããã¾ãã"
-#: index.docbook:153
-msgid "Column alias injection is needed in the following query (which most likely will fail):"
-msgstr "ä¸è¨ã®ãããªï¼å¤±æããããªï¼ã¯ã¨ãªã§ã¯ã ã«ã©ã å¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ï¼column alias injectionï¼ãå¿
è¦ã§ãã"
+#. Tag: para
+#: query_sql.xml:153
+#, no-c-format
+msgid ""
+"Column alias injection is needed in the following query (which most likely "
+"will fail):"
+msgstr ""
+"ä¸è¨ã®ãããªï¼å¤±æããããªï¼ã¯ã¨ãªã§ã¯ã ã«ã©ã å¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ï¼column "
+"alias injectionï¼ãå¿
è¦ã§ãã"
-#: index.docbook:156
+#. Tag: programlisting
+#: query_sql.xml:156
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT c.*, m.* FROM CATS c, CATS m WHERE c.MOTHER_ID = c.ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class)\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT c.*, m.* FROM CATS c, CATS m WHERE c."
+"MOTHER_ID = c.ID\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+" .addEntity(\"mother\", Cat.class)\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT c.*, m.* FROM CATS c, CATS m WHERE c.MOTHER_ID = m.ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class)\n"
- "]]>"
-#: index.docbook:158
-msgid "The intention for this query is to return two Cat instances per row, a cat and its mother. This will fail since there is a conflict of names since they are mapped to the same column names and on some databases the returned column aliases will most likely be on the form \"c.ID\", \"c.NAME\", etc. which are not equal to the columns specificed in the mappings (\"ID\" and \"NAME\")."
-msgstr "ãã®ã¯ã¨ãªã®æå³ã¯ã ï¼è¡ãã¨ã«ï¼ã¤ã®Catã¤ã³ã¹ã¿ã³ã¹ãã¤ã¾ãç«ã¨ãã®æ¯è¦ªãè¿ãã¨ãããã¨ã§ãã åãã«ã©ã åã«ãããã³ã°ãããã¨ã«ããååãè¡çªããããããã®ã¯ã¨ãªã¯å¤±æãã¾ãã ãã¼ã¿ãã¼ã¹ã«ãã£ã¦ã¯ãè¿ãããã«ã©ã ã®å¥åã \"c.ID\"ã\"c.NAME\" ãªã©ã®å½¢å¼ã§ããã ãããã³ã°ã§æå®ãããã«ã©ã ï¼\"ID\" 㨠\"NAME\"ï¼ã¨çãããªãããã失æãã¾ãã"
+#. Tag: para
+#: query_sql.xml:158
+#, no-c-format
+msgid ""
+"The intention for this query is to return two Cat instances per row, a cat "
+"and its mother. This will fail since there is a conflict of names since they "
+"are mapped to the same column names and on some databases the returned "
+"column aliases will most likely be on the form \"c.ID\", \"c.NAME\", etc. "
+"which are not equal to the columns specificed in the mappings (\"ID\" and "
+"\"NAME\")."
+msgstr ""
+"ãã®ã¯ã¨ãªã®æå³ã¯ã ï¼è¡ãã¨ã«ï¼ã¤ã®Catã¤ã³ã¹ã¿ã³ã¹ãã¤ã¾ãç«ã¨ãã®æ¯è¦ªãè¿"
+"ãã¨ãããã¨ã§ãã åãã«ã©ã åã«ãããã³ã°ãããã¨ã«ããååãè¡çªããããã"
+"ãã®ã¯ã¨ãªã¯å¤±æãã¾ãã ãã¼ã¿ãã¼ã¹ã«ãã£ã¦ã¯ãè¿ãããã«ã©ã ã®å¥åã \"c."
+"ID\"ã\"c.NAME\" ãªã©ã®å½¢å¼ã§ããã ãããã³ã°ã§æå®ãããã«ã©ã ï¼\"ID\" 㨠"
+"\"NAME\"ï¼ã¨çãããªãããã失æãã¾ãã"
-#: index.docbook:165
+#. Tag: para
+#: query_sql.xml:165
+#, no-c-format
msgid "The following form is not vulnerable to column name duplication:"
msgstr "ä¸è¨ã®å½¢å¼ã¯ãã«ã©ã åãéè¤ãã¦ã大ä¸å¤«ã§ãã"
-#: index.docbook:168
+#. Tag: programlisting
+#: query_sql.xml:168
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT {cat.*}, {mother.*} FROM CATS c, CATS m WHERE c.MOTHER_ID = c.ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class)\n"
- "]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT {cat.*}, {mother.*} FROM CATS c, CATS "
+"m WHERE c.MOTHER_ID = c.ID\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+" .addEntity(\"mother\", Cat.class)\n"
+"]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT {cat.*}, {mother.*} FROM CATS c, CATS m WHERE c.MOTHER_ID = m.ID\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class)\n"
- "]]>"
-#: index.docbook:174
-msgid "the SQL query string, with placeholders for Hibernate to inject column aliases"
-msgstr "SQLã¯ã¨ãªæåå ï¼Hibernateãã«ã©ã ã®å¥åãæ¿å
¥ããããã®ãã¬ã¼ã¹ãã«ããå«ãï¼"
+#. Tag: para
+#: query_sql.xml:174
+#, no-c-format
+msgid ""
+"the SQL query string, with placeholders for Hibernate to inject column "
+"aliases"
+msgstr ""
+"SQLã¯ã¨ãªæåå ï¼Hibernateãã«ã©ã ã®å¥åãæ¿å
¥ããããã®ãã¬ã¼ã¹ãã«ããå«"
+"ãï¼"
-#: index.docbook:179
+#. Tag: para
+#: query_sql.xml:179
+#, no-c-format
msgid "the entities returned by the query"
msgstr "ã¯ã¨ãªã«ãã£ã¦è¿ãããã¨ã³ãã£ãã£"
-#: index.docbook:183
-msgid "The {cat.*} and {mother.*} notation used above is a shorthand for \"all properties\". Alternatively, you may list the columns explicity, but even in this case we let Hibernate inject the SQL column aliases for each property. The placeholder for a column alias is just the property name qualified by the table alias. In the following example, we retrieve Cats and their mothers from a different table (cat_log) to the one declared in the mapping metadata. Notice that we may even use the property aliases in the where clause if we like."
-msgstr "ä¸è¨ã§ä½¿ç¨ãã¦ãã {cat.*} 㨠{mother.*} ã¨ãã表è¨ã¯ã ããã¹ã¦ã®ããããã£ãã表ãçç¥å½¢ã§ãã 代ããã«ãæç¤ºçã«ã«ã©ã ãåæãã¦ãããã§ããã ãã®å ´åã¯ãHibernateã«åããããã£ã«å¯¾å¿ããSQLã«ã©ã ã®å¥åãæ¿å
¥ãããã¹ãã§ãããã ã«ã©ã ã®å¥åã®ããã®ãã¬ã¼ã¹ãã«ãã¯ããã¼ãã«ã®å¥åã«ãã£ã¦ä¿®é£¾ãããããããã£åã§ãã ä¸è¨ã®ä¾ã§ã¯ãå¥ã®ãã¼ãã« cat_log ãã ãããã³ã°ã¡ã¿ãã¼ã¿ã§å®ç¾©ããã Cat ã¨ãã®æ¯è¦ªã復å
ãã¾ãã ãã好ããªããwhereç¯ã®ä¸ã§ããããããã£ã®å¥åã使ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:183
+#, no-c-format
+msgid ""
+"The {cat.*} and {mother.*} notation used above is a shorthand for \"all "
+"properties\". Alternatively, you may list the columns explicity, but even in "
+"this case we let Hibernate inject the SQL column aliases for each property. "
+"The placeholder for a column alias is just the property name qualified by "
+"the table alias. In the following example, we retrieve Cats and their "
+"mothers from a different table (cat_log) to the one declared in the mapping "
+"metadata. Notice that we may even use the property aliases in the where "
+"clause if we like."
+msgstr ""
+"ä¸è¨ã§ä½¿ç¨ãã¦ãã {cat.*} 㨠{mother.*} ã¨ãã表è¨ã¯ã ããã¹ã¦ã®ããã"
+"ãã£ãã表ãçç¥å½¢ã§ãã 代ããã«ãæç¤ºçã«ã«ã©ã ãåæãã¦ãããã§ããã ã"
+"ã®å ´åã¯ãHibernateã«åããããã£ã«å¯¾å¿ããSQLã«ã©ã ã®å¥åãæ¿å
¥ãããã¹ãã§"
+"ãããã ã«ã©ã ã®å¥åã®ããã®ãã¬ã¼ã¹ãã«ãã¯ããã¼ãã«ã®å¥åã«ãã£ã¦ä¿®é£¾ãã"
+"ãããããã£åã§ãã ä¸è¨ã®ä¾ã§ã¯ãå¥ã®ãã¼ãã« cat_log ãã ãããã³ã°ã¡ã¿"
+"ãã¼ã¿ã§å®ç¾©ããã Cat ã¨ãã®æ¯è¦ªã復å
ãã¾ãã ãã好ããªããwhereç¯ã®ä¸ã§"
+"ããããããã£ã®å¥åã使ãã¾ãã"
-#: index.docbook:192
+#. Tag: programlisting
+#: query_sql.xml:192
+#, no-c-format
msgid ""
- "<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" + \n"
- " \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*} \" +\n"
- " \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
- "\n"
- "List loggedCats = sess.createSQLQuery(sql)\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class).list()\n"
- "]]>"
+"<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" + \n"
+" \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*} "
+"\" +\n"
+" \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
+"\n"
+"List loggedCats = sess.createSQLQuery(sql)\n"
+" .addEntity(\"cat\", Cat.class)\n"
+" .addEntity(\"mother\", Cat.class).list()\n"
+"]]>"
msgstr ""
- "<![CDATA[String sql = \"SELECT ID as {c.id}, NAME as {c.name}, \" + \n"
- " \"BIRTHDATE as {c.birthDate}, MOTHER_ID as {c.mother}, {mother.*} \" +\n"
- " \"FROM CAT_LOG c, CAT_LOG m WHERE {c.mother} = c.ID\";\n"
- "\n"
- "List loggedCats = sess.createSQLQuery(sql)\n"
- " .addEntity(\"cat\", Cat.class)\n"
- " .addEntity(\"mother\", Cat.class).list()\n"
- "]]>"
-#: index.docbook:195
+#. Tag: title
+#: query_sql.xml:195
+#, no-c-format
msgid "Alias and property references"
msgstr "å¥åã¨ããããã£ã®ãªãã¡ã¬ã³ã¹"
-#: index.docbook:197
-msgid "For most cases the above alias injection is needed, but for queries relating to more complex mappings like composite properties, inheritance discriminators, collections etc. there are some specific aliases to use to allow Hibernate to inject the proper aliases."
-msgstr "å¤ãã®å ´åãä¸è¨ã®ãããªå¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ãå¿
è¦ã§ãã ãã ããè¤åããããã£ãç¶æ¿èå¥åãã³ã¬ã¯ã·ã§ã³ãªã©ã®ãã㪠ããè¤éãªãããã³ã°ã¨é¢é£ããã¯ã¨ãªããªããã°ã§ãã ããç¹å®ã®å¥åã使ç¨ãããã¨ã«ãããHibernateã¯é©åãªå¥åãæ¿å
¥ã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:197
+#, no-c-format
+msgid ""
+"For most cases the above alias injection is needed, but for queries relating "
+"to more complex mappings like composite properties, inheritance "
+"discriminators, collections etc. there are some specific aliases to use to "
+"allow Hibernate to inject the proper aliases."
+msgstr ""
+"å¤ãã®å ´åãä¸è¨ã®ãããªå¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ãå¿
è¦ã§ãã ãã ããè¤åããã"
+"ãã£ãç¶æ¿èå¥åãã³ã¬ã¯ã·ã§ã³ãªã©ã®ãã㪠ããè¤éãªãããã³ã°ã¨é¢é£ããã¯ã¨"
+"ãªããªããã°ã§ãã ããç¹å®ã®å¥åã使ç¨ãããã¨ã«ãããHibernateã¯é©åãªå¥å"
+"ãæ¿å
¥ã§ãã¾ãã"
-#: index.docbook:202
-msgid "The following table shows the different possibilities of using the alias injection. Note: the alias names in the result are examples, each alias will have a unique and probably different name when used."
-msgstr "å¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ã¨ãã¦ä½¿ç¨ã§ãããã®ãä¸è¡¨ã«ç¤ºãã¾ãã æ³¨æï¼ä¸è¡¨ã®å¥åã¯ä¸ä¾ã§ãã ããããã®å¥åã¯ä¸æã§ããã使ç¨ããéã«ã¯ããããç°ãªãååãæã¡ã¾ãã"
+#. Tag: para
+#: query_sql.xml:202
+#, no-c-format
+msgid ""
+"The following table shows the different possibilities of using the alias "
+"injection. Note: the alias names in the result are examples, each alias will "
+"have a unique and probably different name when used."
+msgstr ""
+"å¥åã¤ã³ã¸ã§ã¯ã·ã§ã³ã¨ãã¦ä½¿ç¨ã§ãããã®ãä¸è¡¨ã«ç¤ºãã¾ãã æ³¨æï¼ä¸è¡¨ã®å¥åã¯"
+"ä¸ä¾ã§ãã ããããã®å¥åã¯ä¸æã§ããã使ç¨ããéã«ã¯ããããç°ãªãååãæã¡"
+"ã¾ãã"
-#: index.docbook:208
+#. Tag: title
+#: query_sql.xml:208
+#, no-c-format
msgid "Alias injection names"
msgstr "å¥åã«æ¿å
¥ããåå"
-#: index.docbook:219
+#. Tag: entry
+#: query_sql.xml:219
+#, no-c-format
msgid "Description"
-msgstr "<entry>説æ</entry>"
+msgstr "説æ"
-#: index.docbook:221
+#. Tag: entry
+#: query_sql.xml:221
+#, no-c-format
msgid "Syntax"
-msgstr "<entry>æ§æ</entry>"
+msgstr "æ§æ"
-#: index.docbook:223
+#. Tag: entry
+#: query_sql.xml:223
+#, no-c-format
msgid "Example"
-msgstr "<entry>ä¾</entry>"
+msgstr "ä¾"
-#: index.docbook:229
+#. Tag: entry
+#: query_sql.xml:229
+#, no-c-format
msgid "A simple property"
msgstr "åç´ãªããããã£"
-#: index.docbook:231
+#. Tag: literal
+#: query_sql.xml:231
+#, no-c-format
msgid "{[aliasname].[propertyname]"
msgstr "{[aliasname].[propertyname]}"
-#: index.docbook:233
+#. Tag: literal
+#: query_sql.xml:233
+#, no-c-format
msgid "A_NAME as {item.name}"
msgstr "A_NAME as {item.name}"
-#: index.docbook:237
+#. Tag: entry
+#: query_sql.xml:237
+#, no-c-format
msgid "A composite property"
msgstr "è¤åããããã£"
-#: index.docbook:239
+#. Tag: literal
+#: query_sql.xml:239
+#, no-c-format
msgid "{[aliasname].[componentname].[propertyname]}"
msgstr "{[aliasname].[componentname].[propertyname]}"
-#: index.docbook:241
+#. Tag: literal
+#: query_sql.xml:241
+#, no-c-format
msgid "CURRENCY as {item.amount.currency}, VALUE as {item.amount.value}"
msgstr "CURRENCY as {item.amount.currency}, VALUE as {item.amount.value}"
-#: index.docbook:246
+#. Tag: entry
+#: query_sql.xml:246
+#, no-c-format
msgid "Discriminator of an entity"
msgstr "ã¨ã³ãã£ãã£ã®ã¯ã©ã¹ãèå¥ããå¤"
-#: index.docbook:248
+#. Tag: literal
+#: query_sql.xml:248
+#, no-c-format
msgid "{[aliasname].class}"
msgstr "{[aliasname].class}"
-#: index.docbook:250
+#. Tag: literal
+#: query_sql.xml:250
+#, no-c-format
msgid "DISC as {item.class}"
msgstr "DISC as {item.class}"
-#: index.docbook:254
+#. Tag: entry
+#: query_sql.xml:254
+#, no-c-format
msgid "All properties of an entity"
msgstr "ã¨ã³ãã£ãã£ã®å
¨ããããã£"
-#: index.docbook:256, index.docbook:304
+#. Tag: literal
+#: query_sql.xml:256 query_sql.xml:304
+#, no-c-format
msgid "{[aliasname].*}"
msgstr "{[aliasname].*}"
-#: index.docbook:258
+#. Tag: literal
+#: query_sql.xml:258
+#, no-c-format
msgid "{item.*}"
msgstr "{item.*}"
-#: index.docbook:262
+#. Tag: entry
+#: query_sql.xml:262
+#, no-c-format
msgid "A collection key"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ãã¼"
-#: index.docbook:264
+#. Tag: literal
+#: query_sql.xml:264
+#, no-c-format
msgid "{[aliasname].key}"
msgstr "{[aliasname].key}"
-#: index.docbook:266
+#. Tag: literal
+#: query_sql.xml:266
+#, no-c-format
msgid "ORGID as {coll.key}"
msgstr "ORGID as {coll.key}"
-#: index.docbook:270
+#. Tag: entry
+#: query_sql.xml:270
+#, no-c-format
msgid "The id of an collection"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ID"
-#: index.docbook:272
+#. Tag: literal
+#: query_sql.xml:272
+#, no-c-format
msgid "{[aliasname].id}"
msgstr "{[aliasname].id}"
-#: index.docbook:274
+#. Tag: literal
+#: query_sql.xml:274
+#, no-c-format
msgid "EMPID as {coll.id}"
msgstr "EMPID as {coll.id}"
-#: index.docbook:278
+#. Tag: entry
+#: query_sql.xml:278
+#, no-c-format
msgid "The element of an collection"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ "
-#: index.docbook:280
+#. Tag: literal
+#: query_sql.xml:280
+#, no-c-format
msgid "{[aliasname].element}"
msgstr "{[aliasname].element}"
-#: index.docbook:282
+#. Tag: literal
+#: query_sql.xml:282
+#, no-c-format
msgid "XID as {coll.element}"
msgstr "XID as {coll.element}"
-#: index.docbook:286
+#. Tag: entry
+#: query_sql.xml:286
+#, no-c-format
msgid "roperty of the element in the collection"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®ããããã£"
-#: index.docbook:288
+#. Tag: literal
+#: query_sql.xml:288
+#, no-c-format
msgid "{[aliasname].element.[propertyname]}"
msgstr "{[aliasname].element.[propertyname]}"
-#: index.docbook:290
+#. Tag: literal
+#: query_sql.xml:290
+#, no-c-format
msgid "NAME as {coll.element.name}"
msgstr "NAME as {coll.element.name}"
-#: index.docbook:294
+#. Tag: entry
+#: query_sql.xml:294
+#, no-c-format
msgid "All properties of the element in the collection"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã®å
¨ããããã£"
-#: index.docbook:296
+#. Tag: literal
+#: query_sql.xml:296
+#, no-c-format
msgid "{[aliasname].element.*}"
msgstr "{[aliasname].element.*}"
-#: index.docbook:298
+#. Tag: literal
+#: query_sql.xml:298
+#, no-c-format
msgid "{coll.element.*}"
msgstr "{coll.element.*}"
-#: index.docbook:302
+#. Tag: entry
+#: query_sql.xml:302
+#, no-c-format
msgid "All properties of the the collection"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®å
¨ããããã£"
-#: index.docbook:306
+#. Tag: literal
+#: query_sql.xml:306
+#, no-c-format
msgid "{coll.*}"
msgstr "{coll.*}"
-#: index.docbook:315
+#. Tag: title
+#: query_sql.xml:315
+#, no-c-format
msgid "Returning non-managed entities"
msgstr "管çããã¦ããªãã¨ã³ãã£ãã£ã®åå¾"
-#: index.docbook:317
-msgid "It is possible to apply a ResultTransformer to native sql queries. Allowing it to e.g. return non-managed entities."
-msgstr "ãã¤ãã£ãSQLã¯ã¨ãªã« ResultTransformer ãé©ç¨ã§ãã¾ãã ä¸è¨ã®ããã«ãä¾ãã°ã管çããã¦ããªãã¨ã³ãã£ãã£ãè¿ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:317
+#, no-c-format
+msgid ""
+"It is possible to apply a ResultTransformer to native sql queries. Allowing "
+"it to e.g. return non-managed entities."
+msgstr ""
+"ãã¤ãã£ãSQLã¯ã¨ãªã« ResultTransformer ãé©ç¨ã§ãã¾ãã ä¸è¨ã®ããã«ãä¾ã"
+"ã°ã管çããã¦ããªãã¨ã³ãã£ãã£ãè¿ãã¾ãã"
-#: index.docbook:319
+#. Tag: programlisting
+#: query_sql.xml:319
+#, no-c-format
msgid ""
- "<![CDATA[sess.createSQLQuery(\"SELECT NAME, BIRTHDATE FROM CATS\")\n"
- " .setResultTransformer(Transformers.aliasToBean(CatDTO.class))]]>"
+"<![CDATA[sess.createSQLQuery(\"SELECT NAME, BIRTHDATE FROM CATS\")\n"
+" .setResultTransformer(Transformers.aliasToBean(CatDTO.class))]]>"
msgstr ""
- "<![CDATA[sess.createSQLQuery(\"SELECT NAME, BIRTHDATE FROM CATS\")\n"
- " .setResultTransformer(Transformers.aliasToBean(CatDTO.class))]]>"
-#: index.docbook:329
+#. Tag: para
+#: query_sql.xml:329
+#, no-c-format
msgid "a result transformer"
msgstr "çµæã夿ãããã®"
-#: index.docbook:333
-msgid "The above query will return a list of <literal>CatDTO</literal> which has been instantiated and injected the values of NAME and BIRTHNAME into its corresponding properties or fields."
-msgstr "ä¸è¨ã®ã¯ã¨ãªã¯ãã¤ã³ã¹ã¿ã³ã¹åããNAME 㨠BIRTHDATE ã®å¤ã 対å¿ããããããã£ãããã¯ãã£ã¼ã«ãã«æ¿å
¥ãã <literal>CatDTO</literal> ã®ãªã¹ããè¿ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:333
+#, no-c-format
+msgid ""
+"The above query will return a list of <literal>CatDTO</literal> which has "
+"been instantiated and injected the values of NAME and BIRTHNAME into its "
+"corresponding properties or fields."
+msgstr ""
+"ä¸è¨ã®ã¯ã¨ãªã¯ãã¤ã³ã¹ã¿ã³ã¹åããNAME 㨠BIRTHDATE ã®å¤ã 対å¿ããããããã£"
+"ãããã¯ãã£ã¼ã«ãã«æ¿å
¥ãã <literal>CatDTO</literal> ã®ãªã¹ããè¿ãã¾ãã"
-#: index.docbook:340
+#. Tag: title
+#: query_sql.xml:340
+#, no-c-format
msgid "Handling inheritance"
msgstr "ç¶æ¿ã®å¶å¾¡"
-#: index.docbook:342
-msgid "Native sql queries which query for entities that is mapped as part of an inheritance must include all properties for the baseclass and all it subclasses."
-msgstr "ç¶æ¿ã®ä¸é¨ã¨ãã¦ãããã³ã°ãããã¨ã³ãã£ãã£ãåãåããããã¤ãã£ãSQLã¯ã¨ãªã¯ã ãã¼ã¹ã®ã¯ã©ã¹ã¨ãã®ãã¹ã¦ã®ãµãã¯ã©ã¹ã®ããããã£ãã¹ã¦ãå«ã¾ãªããã°ãªãã¾ããã"
+#. Tag: para
+#: query_sql.xml:342
+#, no-c-format
+msgid ""
+"Native sql queries which query for entities that is mapped as part of an "
+"inheritance must include all properties for the baseclass and all it "
+"subclasses."
+msgstr ""
+"ç¶æ¿ã®ä¸é¨ã¨ãã¦ãããã³ã°ãããã¨ã³ãã£ãã£ãåãåããããã¤ãã£ãSQLã¯ã¨ãª"
+"ã¯ã ãã¼ã¹ã®ã¯ã©ã¹ã¨ãã®ãã¹ã¦ã®ãµãã¯ã©ã¹ã®ããããã£ãã¹ã¦ãå«ã¾ãªããã°ãª"
+"ãã¾ããã"
-#: index.docbook:348
+#. Tag: title
+#: query_sql.xml:348
+#, no-c-format
msgid "Parameters"
msgstr "ãã©ã¡ã¼ã¿"
-#: index.docbook:350
+#. Tag: para
+#: query_sql.xml:350
+#, no-c-format
msgid "Native sql queries support positional as well as named parameters:"
-msgstr "ãã¤ãã£ãSQLã¯ã¨ãªã¯ã以ä¸ã®ããã«ã ååä»ããã©ã¡ã¼ã¿ï¼:nameï¼ã¨åæ§ã«ä½ç½®ãã©ã¡ã¼ã¿ããµãã¼ããã¾ãã"
+msgstr ""
+"ãã¤ãã£ãSQLã¯ã¨ãªã¯ã以ä¸ã®ããã«ã ååä»ããã©ã¡ã¼ã¿ï¼:nameï¼ã¨åæ§ã«ä½ç½®"
+"ãã©ã¡ã¼ã¿ããµãã¼ããã¾ãã"
-#: index.docbook:353
+#. Tag: programlisting
+#: query_sql.xml:353
+#, no-c-format
msgid ""
- "<![CDATA[Query query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME like ?\").addEntity(Cat.class);\n"
- "List pusList = query.setString(0, \"Pus%\").list();\n"
- " \n"
- "query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME like :name\").addEntity(Cat.class);\n"
- "List pusList = query.setString(\"name\", \"Pus%\").list(); ]]>"
+"<![CDATA[Query query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME "
+"like ?\").addEntity(Cat.class);\n"
+"List pusList = query.setString(0, \"Pus%\").list();\n"
+" \n"
+"query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME like :name\")."
+"addEntity(Cat.class);\n"
+"List pusList = query.setString(\"name\", \"Pus%\").list(); ]]>"
msgstr ""
- "<![CDATA[Query query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME like ?\").addEntity(Cat.class);\n"
- "List pusList = query.setString(0, \"Pus%\").list();\n"
- " \n"
- "query = sess.createSQLQuery(\"SELECT * FROM CATS WHERE NAME like :name\").addEntity(Cat.class);\n"
- "List pusList = query.setString(\"name\", \"Pus%\").list(); ]]>"
-#: index.docbook:361
+#. Tag: title
+#: query_sql.xml:361
+#, no-c-format
msgid "Named SQL queries"
msgstr "ååä»ãSQLã¯ã¨ãª"
-#: index.docbook:363
-msgid "Named SQL queries may be defined in the mapping document and called in exactly the same way as a named HQL query. In this case, we do <emphasis>not</emphasis> need to call <literal>addEntity()</literal>."
-msgstr "ååä»ãSQLã¯ã¨ãªã¯ãããã³ã°ããã¥ã¡ã³ãã§å®ç¾©ãããã¨ãã§ãã ååä»ãHQLã¯ã¨ãªã¨å
¨ãåãæ¹æ³ã§å¼ã¶ãã¨ãã§ãã¾ãã ãã®å ´åã<literal>addEntity()</literal> ãå¼ã³åºãå¿
è¦ã¯ <emphasis>ãªã</emphasis> ã§ãã"
+#. Tag: para
+#: query_sql.xml:363
+#, no-c-format
+msgid ""
+"Named SQL queries may be defined in the mapping document and called in "
+"exactly the same way as a named HQL query. In this case, we do "
+"<emphasis>not</emphasis> need to call <literal>addEntity()</literal>."
+msgstr ""
+"ååä»ãSQLã¯ã¨ãªã¯ãããã³ã°ããã¥ã¡ã³ãã§å®ç¾©ãããã¨ãã§ãã ååä»ãHQLã¯"
+"ã¨ãªã¨å
¨ãåãæ¹æ³ã§å¼ã¶ãã¨ãã§ãã¾ãã ãã®å ´åã<literal>addEntity()</"
+"literal> ãå¼ã³åºãå¿
è¦ã¯ <emphasis>ãªã</emphasis> ã§ãã"
-#: index.docbook:368
+#. Tag: programlisting
+#: query_sql.xml:368
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"persons\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex}\n"
- " FROM PERSON person\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"persons\">\n"
+" <return alias=\"person\" class=\"eg.Person\"/>\n"
+" SELECT person.NAME AS {person.name},\n"
+" person.AGE AS {person.age},\n"
+" person.SEX AS {person.sex}\n"
+" FROM PERSON person\n"
+" WHERE person.NAME LIKE :namePattern\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"persons\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex}\n"
- " FROM PERSON person\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
-#: index.docbook:370
+#. Tag: programlisting
+#: query_sql.xml:370
+#, no-c-format
msgid ""
- "<![CDATA[List people = sess.getNamedQuery(\"persons\")\n"
- " .setString(\"namePattern\", namePattern)\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
+"<![CDATA[List people = sess.getNamedQuery(\"persons\")\n"
+" .setString(\"namePattern\", namePattern)\n"
+" .setMaxResults(50)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List people = sess.getNamedQuery(\"persons\")\n"
- " .setString(\"namePattern\", namePattern)\n"
- " .setMaxResults(50)\n"
- " .list();]]>"
-#: index.docbook:372
-msgid "The <literal><return-join></literal> and <literal><load-collection></literal> elements are used to join associations and define queries which initialize collections, respectively."
-msgstr "é¢é£ãçµåããããã¨ã³ã¬ã¯ã·ã§ã³ãåæåããã¯ã¨ãªãå®ç¾©ããããã«ããããã <literal><return-join></literal> 㨠<literal><load-collection></literal> è¦ç´ ã使ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:372
+#, no-c-format
+msgid ""
+"The <literal><return-join></literal> and <literal><load-"
+"collection></literal> elements are used to join associations and define "
+"queries which initialize collections, respectively."
+msgstr ""
+"é¢é£ãçµåããããã¨ã³ã¬ã¯ã·ã§ã³ãåæåããã¯ã¨ãªãå®ç¾©ããããã«ããããã "
+"<literal><return-join></literal> 㨠<literal><load-collection></"
+"literal> è¦ç´ ã使ãã¾ãã"
-#: index.docbook:377
+#. Tag: programlisting
+#: query_sql.xml:377
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"personsWith\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex},\n"
- " address.STREET AS {address.street},\n"
- " address.CITY AS {address.city},\n"
- " address.STATE AS {address.state},\n"
- " address.ZIP AS {address.zip}\n"
- " FROM PERSON person\n"
- " JOIN ADDRESS address\n"
- " ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"personsWith\">\n"
+" <return alias=\"person\" class=\"eg.Person\"/>\n"
+" <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
+" SELECT person.NAME AS {person.name},\n"
+" person.AGE AS {person.age},\n"
+" person.SEX AS {person.sex},\n"
+" address.STREET AS {address.street},\n"
+" address.CITY AS {address.city},\n"
+" address.STATE AS {address.state},\n"
+" address.ZIP AS {address.zip}\n"
+" FROM PERSON person\n"
+" JOIN ADDRESS address\n"
+" ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
+" WHERE person.NAME LIKE :namePattern\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"personsWith\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex},\n"
- " address.STREET AS {address.street},\n"
- " address.CITY AS {address.city},\n"
- " address.STATE AS {address.state},\n"
- " address.ZIP AS {address.zip}\n"
- " FROM PERSON person\n"
- " JOIN ADDRESS address\n"
- " ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
-#: index.docbook:379
-msgid "A named SQL query may return a scalar value. You must declare the column alias and Hibernate type using the <literal><return-scalar></literal> element:"
-msgstr "ååä»ãSQLã¯ã¨ãªã¯ã¹ã«ã©å¤ãè¿ããã¨ãã§ãã¾ãã <literal><return-scalar></literal> è¦ç´ ã使ã£ã¦ã åã®å¥åã¨Hibernateã®åã宣è¨ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: query_sql.xml:379
+#, no-c-format
+msgid ""
+"A named SQL query may return a scalar value. You must declare the column "
+"alias and Hibernate type using the <literal><return-scalar></literal> "
+"element:"
+msgstr ""
+"ååä»ãSQLã¯ã¨ãªã¯ã¹ã«ã©å¤ãè¿ããã¨ãã§ãã¾ãã <literal><return-"
+"scalar></literal> è¦ç´ ã使ã£ã¦ã åã®å¥åã¨Hibernateã®åã宣è¨ããªããã°ãª"
+"ãã¾ããã"
-#: index.docbook:383
+#. Tag: programlisting
+#: query_sql.xml:383
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"mySqlQuery\">\n"
- " <return-scalar column=\"name\" type=\"string\"/>\n"
- " <return-scalar column=\"age\" type=\"long\"/>\n"
- " SELECT p.NAME AS name,\n"
- " p.AGE AS age,\n"
- " FROM PERSON p WHERE p.NAME LIKE 'Hiber%'\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"mySqlQuery\">\n"
+" <return-scalar column=\"name\" type=\"string\"/>\n"
+" <return-scalar column=\"age\" type=\"long\"/>\n"
+" SELECT p.NAME AS name,\n"
+" p.AGE AS age,\n"
+" FROM PERSON p WHERE p.NAME LIKE 'Hiber%'\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"mySqlQuery\">\n"
- " <return-scalar column=\"name\" type=\"string\"/>\n"
- " <return-scalar column=\"age\" type=\"long\"/>\n"
- " SELECT p.NAME AS name,\n"
- " p.AGE AS age,\n"
- " FROM PERSON p WHERE p.NAME LIKE 'Hiber%'\n"
- "</sql-query>]]>"
-#: index.docbook:385
-msgid "You can externalize the resultset mapping informations in a <literal><resultset></literal> element to either reuse them accross several named queries or through the <literal>setResultSetMapping()</literal> API."
-msgstr "ãªã¶ã«ãã»ããã®ãããã³ã°æ
å ±ã <literal><resultset></literal> ã«å¤åºããããã¨ãã§ãã¾ãã è¤æ°ã®ååä»ãã¯ã¨ãªã§åå©ç¨ãããã<literal>setResultSetMapping()</literal> APIãéãã¦åå©ç¨ãããã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:385
+#, no-c-format
+msgid ""
+"You can externalize the resultset mapping informations in a <literal><"
+"resultset></literal> element to either reuse them accross several named "
+"queries or through the <literal>setResultSetMapping()</literal> API."
+msgstr ""
+"ãªã¶ã«ãã»ããã®ãããã³ã°æ
å ±ã <literal><resultset></literal> ã«å¤åº"
+"ããããã¨ãã§ãã¾ãã è¤æ°ã®ååä»ãã¯ã¨ãªã§åå©ç¨ãããã"
+"<literal>setResultSetMapping()</literal> APIãéãã¦åå©ç¨ãããã§ãã¾ãã"
-#: index.docbook:390
+#. Tag: programlisting
+#: query_sql.xml:390
+#, no-c-format
msgid ""
- "<![CDATA[<resultset name=\"personAddress\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
- "</resultset>\n"
- "\n"
- "<sql-query name=\"personsWith\" resultset-ref=\"personAddress\">\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex},\n"
- " address.STREET AS {address.street},\n"
- " address.CITY AS {address.city},\n"
- " address.STATE AS {address.state},\n"
- " address.ZIP AS {address.zip}\n"
- " FROM PERSON person\n"
- " JOIN ADDRESS address\n"
- " ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
+"<![CDATA[<resultset name=\"personAddress\">\n"
+" <return alias=\"person\" class=\"eg.Person\"/>\n"
+" <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
+"</resultset>\n"
+"\n"
+"<sql-query name=\"personsWith\" resultset-ref=\"personAddress\">\n"
+" SELECT person.NAME AS {person.name},\n"
+" person.AGE AS {person.age},\n"
+" person.SEX AS {person.sex},\n"
+" address.STREET AS {address.street},\n"
+" address.CITY AS {address.city},\n"
+" address.STATE AS {address.state},\n"
+" address.ZIP AS {address.zip}\n"
+" FROM PERSON person\n"
+" JOIN ADDRESS address\n"
+" ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
+" WHERE person.NAME LIKE :namePattern\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<resultset name=\"personAddress\">\n"
- " <return alias=\"person\" class=\"eg.Person\"/>\n"
- " <return-join alias=\"address\" property=\"person.mailingAddress\"/>\n"
- "</resultset>\n"
- "\n"
- "<sql-query name=\"personsWith\" resultset-ref=\"personAddress\">\n"
- " SELECT person.NAME AS {person.name},\n"
- " person.AGE AS {person.age},\n"
- " person.SEX AS {person.sex},\n"
- " address.STREET AS {address.street},\n"
- " address.CITY AS {address.city},\n"
- " address.STATE AS {address.state},\n"
- " address.ZIP AS {address.zip}\n"
- " FROM PERSON person\n"
- " JOIN ADDRESS address\n"
- " ON person.ID = address.PERSON_ID AND address.TYPE='MAILING'\n"
- " WHERE person.NAME LIKE :namePattern\n"
- "</sql-query>]]>"
-#: index.docbook:392
-msgid "You can alternatively use the resultset mapping information in your hbm files directly in java code."
-msgstr "代ããã«ãhbmãã¡ã¤ã«å
ã®ãªã¶ã«ãã»ããã®ãããã³ã°æ
å ±ã ç´æ¥Javaã³ã¼ãã®ä¸ã§ä½¿ç¨ã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:392
+#, no-c-format
+msgid ""
+"You can alternatively use the resultset mapping information in your hbm "
+"files directly in java code."
+msgstr ""
+"代ããã«ãhbmãã¡ã¤ã«å
ã®ãªã¶ã«ãã»ããã®ãããã³ã°æ
å ±ã ç´æ¥Javaã³ã¼ãã®ä¸"
+"ã§ä½¿ç¨ã§ãã¾ãã"
-#: index.docbook:395
+#. Tag: programlisting
+#: query_sql.xml:395
+#, no-c-format
msgid ""
- "<![CDATA[List cats = sess.createSQLQuery(\n"
- " \"select {cat.*}, {kitten.*} from cats cat, cats kitten where kitten.mother = cat.id\"\n"
- " )\n"
- " .setResultSetMapping(\"catAndKitten\")\n"
- " .list();]]>"
+"<![CDATA[List cats = sess.createSQLQuery(\n"
+" \"select {cat.*}, {kitten.*} from cats cat, cats kitten where kitten."
+"mother = cat.id\"\n"
+" )\n"
+" .setResultSetMapping(\"catAndKitten\")\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[List cats = sess.createSQLQuery(\n"
- " \"select {cat.*}, {kitten.*} from cats cat, cats kitten where kitten.mother = cat.id\"\n"
- " )\n"
- " .setResultSetMapping(\"catAndKitten\")\n"
- " .list();]]>"
-#: index.docbook:398
+#. Tag: title
+#: query_sql.xml:398
+#, no-c-format
msgid "Using return-property to explicitly specify column/alias names"
msgstr "åã¨åã®å¥åãæç¤ºçã«æå®ããããã« return-property ã使ã"
-#: index.docbook:401
-msgid "With <literal><return-property></literal> you can explicitly tell Hibernate what column aliases to use, instead of using the <literal>{}</literal>-syntax to let Hibernate inject its own aliases."
-msgstr "å¥åãæ¿å
¥ããããã« <literal>{}</literal> æ§æã使ã代ããã«ã <literal><return-property></literal> ã使ãã ã©ã®åã®å¥åã使ãã®ããæç¤ºã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:401
+#, no-c-format
+msgid ""
+"With <literal><return-property></literal> you can explicitly tell "
+"Hibernate what column aliases to use, instead of using the <literal>{}</"
+"literal>-syntax to let Hibernate inject its own aliases."
+msgstr ""
+"å¥åãæ¿å
¥ããããã« <literal>{}</literal> æ§æã使ã代ããã«ã <literal><"
+"return-property></literal> ã使ãã ã©ã®åã®å¥åã使ãã®ããæç¤ºã§ãã¾ãã"
-#: index.docbook:406
+#. Tag: programlisting
+#: query_sql.xml:406
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"mySqlQuery\">\n"
- " <return alias=\"person\" class=\"eg.Person\">\n"
- " <return-property name=\"name\" column=\"myName\"/>\n"
- " <return-property name=\"age\" column=\"myAge\"/>\n"
- " <return-property name=\"sex\" column=\"mySex\"/>\n"
- " </return>\n"
- " SELECT person.NAME AS myName,\n"
- " person.AGE AS myAge,\n"
- " person.SEX AS mySex,\n"
- " FROM PERSON person WHERE person.NAME LIKE :name\n"
- "</sql-query>\n"
- "]]>"
+"<![CDATA[<sql-query name=\"mySqlQuery\">\n"
+" <return alias=\"person\" class=\"eg.Person\">\n"
+" <return-property name=\"name\" column=\"myName\"/>\n"
+" <return-property name=\"age\" column=\"myAge\"/>\n"
+" <return-property name=\"sex\" column=\"mySex\"/>\n"
+" </return>\n"
+" SELECT person.NAME AS myName,\n"
+" person.AGE AS myAge,\n"
+" person.SEX AS mySex,\n"
+" FROM PERSON person WHERE person.NAME LIKE :name\n"
+"</sql-query>\n"
+"]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"mySqlQuery\">\n"
- " <return alias=\"person\" class=\"eg.Person\">\n"
- " <return-property name=\"name\" column=\"myName\"/>\n"
- " <return-property name=\"age\" column=\"myAge\"/>\n"
- " <return-property name=\"sex\" column=\"mySex\"/>\n"
- " </return>\n"
- " SELECT person.NAME AS myName,\n"
- " person.AGE AS myAge,\n"
- " person.SEX AS mySex,\n"
- " FROM PERSON person WHERE person.NAME LIKE :name\n"
- "</sql-query>\n"
- "]]>"
-#: index.docbook:408
-msgid "<literal><return-property></literal> also works with multiple columns. This solves a limitation with the <literal>{}</literal>-syntax which can not allow fine grained control of multi-column properties."
-msgstr "<literal><return-property></literal> ã¯è¤æ°ã®åãæ±ãã¾ãã ããã¯ãè¤æ°åã®ããããã£ãããç´°ããå¶å¾¡ã§ããªãã¨ããã <literal>{}</literal> æ§æã®å¶éã解決ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:408
+#, no-c-format
+msgid ""
+"<literal><return-property></literal> also works with multiple columns. "
+"This solves a limitation with the <literal>{}</literal>-syntax which can not "
+"allow fine grained control of multi-column properties."
+msgstr ""
+"<literal><return-property></literal> ã¯è¤æ°ã®åãæ±ãã¾ãã ããã¯ãè¤"
+"æ°åã®ããããã£ãããç´°ããå¶å¾¡ã§ããªãã¨ããã <literal>{}</literal> æ§æã®"
+"å¶éã解決ãã¾ãã"
-#: index.docbook:413
+#. Tag: programlisting
+#: query_sql.xml:413
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"organizationCurrentEmployments\">\n"
- " <return alias=\"emp\" class=\"Employment\">\n"
- " <return-property name=\"salary\">\n"
- " <return-column name=\"VALUE\"/>\n"
- " <return-column name=\"CURRENCY\"/>\n"
- " </return-property>\n"
- " <return-property name=\"endDate\" column=\"myEndDate\"/>\n"
- " </return>\n"
- " SELECT EMPLOYEE AS {emp.employee}, EMPLOYER AS {emp.employer},\n"
- " STARTDATE AS {emp.startDate}, ENDDATE AS {emp.endDate},\n"
- " REGIONCODE as {emp.regionCode}, EID AS {emp.id}, VALUE, CURRENCY\n"
- " FROM EMPLOYMENT\n"
- " WHERE EMPLOYER = :id AND ENDDATE IS NULL\n"
- " ORDER BY STARTDATE ASC\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"organizationCurrentEmployments\">\n"
+" <return alias=\"emp\" class=\"Employment\">\n"
+" <return-property name=\"salary\">\n"
+" <return-column name=\"VALUE\"/>\n"
+" <return-column name=\"CURRENCY\"/>\n"
+" </return-property>\n"
+" <return-property name=\"endDate\" column=\"myEndDate\"/>\n"
+" </return>\n"
+" SELECT EMPLOYEE AS {emp.employee}, EMPLOYER AS {emp.employer},\n"
+" STARTDATE AS {emp.startDate}, ENDDATE AS {emp.endDate},\n"
+" REGIONCODE as {emp.regionCode}, EID AS {emp.id}, VALUE, CURRENCY\n"
+" FROM EMPLOYMENT\n"
+" WHERE EMPLOYER = :id AND ENDDATE IS NULL\n"
+" ORDER BY STARTDATE ASC\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"organizationCurrentEmployments\">\n"
- " <return alias=\"emp\" class=\"Employment\">\n"
- " <return-property name=\"salary\">\n"
- " <return-column name=\"VALUE\"/>\n"
- " <return-column name=\"CURRENCY\"/>\n"
- " </return-property>\n"
- " <return-property name=\"endDate\" column=\"myEndDate\"/>\n"
- " </return>\n"
- " SELECT EMPLOYEE AS {emp.employee}, EMPLOYER AS {emp.employer},\n"
- " STARTDATE AS {emp.startDate}, ENDDATE AS {emp.endDate},\n"
- " REGIONCODE as {emp.regionCode}, EID AS {emp.id}, VALUE, CURRENCY\n"
- " FROM EMPLOYMENT\n"
- " WHERE EMPLOYER = :id AND ENDDATE IS NULL\n"
- " ORDER BY STARTDATE ASC\n"
- "</sql-query>]]>"
-#: index.docbook:415
-msgid "Notice that in this example we used <literal><return-property></literal> in combination with the <literal>{}</literal>-syntax for injection. Allowing users to choose how they want to refer column and properties."
-msgstr "ãã®ä¾ã§ã¯ãæ¿å
¥ã®ããã® <literal>{}</literal> æ§æã¨ãã£ããã«ã <literal><return-property></literal> ã使ã£ã¦ãããã¨ã«æ³¨æãã¦ãã ããã åã¨ããããã£ãã©ã®ããã«åç
§ããããé¸ã¹ã¾ãã"
+#. Tag: para
+#: query_sql.xml:415
+#, no-c-format
+msgid ""
+"Notice that in this example we used <literal><return-property></"
+"literal> in combination with the <literal>{}</literal>-syntax for injection. "
+"Allowing users to choose how they want to refer column and properties."
+msgstr ""
+"ãã®ä¾ã§ã¯ãæ¿å
¥ã®ããã® <literal>{}</literal> æ§æã¨ãã£ããã«ã "
+"<literal><return-property></literal> ã使ã£ã¦ãããã¨ã«æ³¨æãã¦ãã ã"
+"ãã åã¨ããããã£ãã©ã®ããã«åç
§ããããé¸ã¹ã¾ãã"
-#: index.docbook:420
-msgid "If your mapping has a discriminator you must use <literal><return-discriminator></literal> to specify the discriminator column."
-msgstr "ãããã³ã°ã« discriminator ãå«ã¾ãã¦ããå ´åã discriminator ã®åãæå®ããããã«ã<return-discriminator> ã使ããªããã°ãªãã¾ããã"
+#. Tag: para
+#: query_sql.xml:420
+#, no-c-format
+msgid ""
+"If your mapping has a discriminator you must use <literal><return-"
+"discriminator></literal> to specify the discriminator column."
+msgstr ""
+"ãããã³ã°ã« discriminator ãå«ã¾ãã¦ããå ´åã discriminator ã®åãæå®ãã"
+"ããã«ã<return-discriminator> ã使ããªããã°ãªãã¾ããã"
-#: index.docbook:426
+#. Tag: title
+#: query_sql.xml:426
+#, no-c-format
msgid "Using stored procedures for querying"
msgstr "åãåããããããã«ã¹ãã¢ãããã·ã¼ã¸ã£ã使ã"
-#: index.docbook:428
-msgid "Hibernate 3 introduces support for queries via stored procedures and functions. Most of the following documentation is equivalent for both. The stored procedure/function must return a resultset as the first out-parameter to be able to work with Hibernate. An example of such a stored function in Oracle 9 and higher is as follows:"
-msgstr "Hibernateã¯ãã¼ã¸ã§ã³3ãããã¹ãã¢ãããã·ã¼ã¸ã£ã¨ã¹ãã¢ã颿°çµç±ã®åãåããã ãµãã¼ãããã¾ããã 以éã®ææ¸ã®å¤ãã¯ã両æ¹ã«å½ã¦ã¯ã¾ãã¾ãã ã¹ãã¢ãããã·ã¼ã¸ã£ãã¹ãã¢ã颿°ãHibernateã§ä½¿ãããã«ã¯ã 1çªç®ã®åºåãã©ã¡ã¼ã¿ã¨ãã¦ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã Oracle 9ï¼ãããã¯ãã以ä¸ã®ãã¼ã¸ã§ã³ï¼ã®ã¹ãã¢ãããã·ã¼ã¸ã£ã®ä¾ã以ä¸ã«ç¤ºãã¾ãã"
+#. Tag: para
+#: query_sql.xml:428
+#, no-c-format
+msgid ""
+"Hibernate 3 introduces support for queries via stored procedures and "
+"functions. Most of the following documentation is equivalent for both. The "
+"stored procedure/function must return a resultset as the first out-parameter "
+"to be able to work with Hibernate. An example of such a stored function in "
+"Oracle 9 and higher is as follows:"
+msgstr ""
+"Hibernateã¯ãã¼ã¸ã§ã³3ãããã¹ãã¢ãããã·ã¼ã¸ã£ã¨ã¹ãã¢ã颿°çµç±ã®åãåã"
+"ãã ãµãã¼ãããã¾ããã 以éã®ææ¸ã®å¤ãã¯ã両æ¹ã«å½ã¦ã¯ã¾ãã¾ãã ã¹ãã¢ã"
+"ããã·ã¼ã¸ã£ãã¹ãã¢ã颿°ãHibernateã§ä½¿ãããã«ã¯ã 1çªç®ã®åºåãã©ã¡ã¼ã¿ã¨"
+"ãã¦ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã Oracle 9ï¼ãããã¯ãã以ä¸ã®ãã¼"
+"ã¸ã§ã³ï¼ã®ã¹ãã¢ãããã·ã¼ã¸ã£ã®ä¾ã以ä¸ã«ç¤ºãã¾ãã"
-#: index.docbook:434
+#. Tag: programlisting
+#: query_sql.xml:434
+#, no-c-format
msgid ""
- "<![CDATA[CREATE OR REPLACE FUNCTION selectAllEmployments\n"
- " RETURN SYS_REFCURSOR\n"
- "AS\n"
- " st_cursor SYS_REFCURSOR;\n"
- "BEGIN\n"
- " OPEN st_cursor FOR\n"
- " SELECT EMPLOYEE, EMPLOYER,\n"
- " STARTDATE, ENDDATE,\n"
- " REGIONCODE, EID, VALUE, CURRENCY\n"
- " FROM EMPLOYMENT;\n"
- " RETURN st_cursor;\n"
- " END;]]>"
+"<![CDATA[CREATE OR REPLACE FUNCTION selectAllEmployments\n"
+" RETURN SYS_REFCURSOR\n"
+"AS\n"
+" st_cursor SYS_REFCURSOR;\n"
+"BEGIN\n"
+" OPEN st_cursor FOR\n"
+" SELECT EMPLOYEE, EMPLOYER,\n"
+" STARTDATE, ENDDATE,\n"
+" REGIONCODE, EID, VALUE, CURRENCY\n"
+" FROM EMPLOYMENT;\n"
+" RETURN st_cursor;\n"
+" END;]]>"
msgstr ""
- "<![CDATA[CREATE OR REPLACE FUNCTION selectAllEmployments\n"
- " RETURN SYS_REFCURSOR\n"
- "AS\n"
- " st_cursor SYS_REFCURSOR;\n"
- "BEGIN\n"
- " OPEN st_cursor FOR\n"
- " SELECT EMPLOYEE, EMPLOYER,\n"
- " STARTDATE, ENDDATE,\n"
- " REGIONCODE, EID, VALUE, CURRENCY\n"
- " FROM EMPLOYMENT;\n"
- " RETURN st_cursor;\n"
- " END;]]>"
-#: index.docbook:436
+#. Tag: para
+#: query_sql.xml:436
+#, no-c-format
msgid "To use this query in Hibernate you need to map it via a named query."
-msgstr "Hibernateã§ãã®ã¯ã¨ãªã使ãããã«ã¯ã ååä»ãã¯ã¨ãªã§ãããã³ã°ããå¿
è¦ãããã¾ãã"
+msgstr ""
+"Hibernateã§ãã®ã¯ã¨ãªã使ãããã«ã¯ã ååä»ãã¯ã¨ãªã§ãããã³ã°ããå¿
è¦ãã"
+"ãã¾ãã"
-#: index.docbook:439
+#. Tag: programlisting
+#: query_sql.xml:439
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"selectAllEmployees_SP\" callable=\"true\">\n"
- " <return alias=\"emp\" class=\"Employment\">\n"
- " <return-property name=\"employee\" column=\"EMPLOYEE\"/>\n"
- " <return-property name=\"employer\" column=\"EMPLOYER\"/>\n"
- " <return-property name=\"startDate\" column=\"STARTDATE\"/>\n"
- " <return-property name=\"endDate\" column=\"ENDDATE\"/>\n"
- " <return-property name=\"regionCode\" column=\"REGIONCODE\"/>\n"
- " <return-property name=\"id\" column=\"EID\"/>\n"
- " <return-property name=\"salary\">\n"
- " <return-column name=\"VALUE\"/>\n"
- " <return-column name=\"CURRENCY\"/>\n"
- " </return-property>\n"
- " </return>\n"
- " { ? = call selectAllEmployments() }\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"selectAllEmployees_SP\" callable=\"true\">\n"
+" <return alias=\"emp\" class=\"Employment\">\n"
+" <return-property name=\"employee\" column=\"EMPLOYEE\"/>\n"
+" <return-property name=\"employer\" column=\"EMPLOYER\"/>\n"
+" <return-property name=\"startDate\" column=\"STARTDATE\"/>\n"
+" <return-property name=\"endDate\" column=\"ENDDATE\"/>\n"
+" <return-property name=\"regionCode\" column=\"REGIONCODE\"/>\n"
+" <return-property name=\"id\" column=\"EID\"/>\n"
+" <return-property name=\"salary\">\n"
+" <return-column name=\"VALUE\"/>\n"
+" <return-column name=\"CURRENCY\"/>\n"
+" </return-property>\n"
+" </return>\n"
+" { ? = call selectAllEmployments() }\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"selectAllEmployees_SP\" callable=\"true\">\n"
- " <return alias=\"emp\" class=\"Employment\">\n"
- " <return-property name=\"employee\" column=\"EMPLOYEE\"/>\n"
- " <return-property name=\"employer\" column=\"EMPLOYER\"/>\n"
- " <return-property name=\"startDate\" column=\"STARTDATE\"/>\n"
- " <return-property name=\"endDate\" column=\"ENDDATE\"/>\n"
- " <return-property name=\"regionCode\" column=\"REGIONCODE\"/>\n"
- " <return-property name=\"id\" column=\"EID\"/>\n"
- " <return-property name=\"salary\">\n"
- " <return-column name=\"VALUE\"/>\n"
- " <return-column name=\"CURRENCY\"/>\n"
- " </return-property>\n"
- " </return>\n"
- " { ? = call selectAllEmployments() }\n"
- "</sql-query>]]>"
-#: index.docbook:441
-msgid "Notice stored procedures currently only return scalars and entities. <literal><return-join></literal> and <literal><load-collection></literal> are not supported."
-msgstr "注æï¼ä»ã®ã¨ãããã¹ãã¢ãããã·ã¼ã¸ã£ã¯ã¹ã«ã©ã¨ã¨ã³ãã£ãã£ãè¿ãã®ã¿ã§ãã <literal><return-join></literal> 㨠<literal><load-collection></literal> ã¯ãµãã¼ãããã¦ãã¾ããã"
+#. Tag: para
+#: query_sql.xml:441
+#, no-c-format
+msgid ""
+"Notice stored procedures currently only return scalars and entities. "
+"<literal><return-join></literal> and <literal><load-collection></"
+"literal> are not supported."
+msgstr ""
+"注æï¼ä»ã®ã¨ãããã¹ãã¢ãããã·ã¼ã¸ã£ã¯ã¹ã«ã©ã¨ã¨ã³ãã£ãã£ãè¿ãã®ã¿ã§ãã "
+"<literal><return-join></literal> 㨠<literal><load-collection></"
+"literal> ã¯ãµãã¼ãããã¦ãã¾ããã"
-#: index.docbook:446
+#. Tag: title
+#: query_sql.xml:446
+#, no-c-format
msgid "Rules/limitations for using stored procedures"
msgstr "ã¹ãã¢ãããã·ã¼ã¸ã£ã使ãä¸ã§ã®ã«ã¼ã«ã¨å¶é"
-#: index.docbook:448
-msgid "To use stored procedures with Hibernate the procedures/functions have to follow some rules. If they do not follow those rules they are not usable with Hibernate. If you still want to use these procedures you have to execute them via <literal>session.connection()</literal>. The rules are different for each database, since database vendors have different stored procedure semantics/syntax."
-msgstr "Hibernateã§ã¹ãã¢ãããã·ã¼ã¸ã£ã颿°ã使ãããã«ã¯ã ãã®ããã·ã¼ã¸ã£ã¯ããã¤ãã®ã«ã¼ã«ã«æºæ ããå¿
è¦ãããã¾ãã ã«ã¼ã«ã«æºæ ãã¦ããªãããã·ã¼ã¸ã£ã¯ãHibernateã§ä½¿ããã¨ã¯ã§ãã¾ããã ããã§ããæºæ ãã¦ããªãããã·ã¼ã¸ã£ã使ãããã®ã§ããã°ã <literal>session.connection()</literal> ãéãã¦å®è¡ããªããã°ãªãã¾ããã ã«ã¼ã«ã¯ãã¼ã¿ãã¼ã¹ãã¨ã«ç°ãªãã¾ãã ã¹ãã¢ãããã·ã¼ã¸ã£ã®ã»ãã³ãã£ãã¯ã¹ã¨ã·ã³ã¿ãã¯ã¹ã¯ã ãã¼ã¿ãã¼ã¹ãã³ããã¨ã«ç°ãªãããã§ãã"
+#. Tag: para
+#: query_sql.xml:448
+#, no-c-format
+msgid ""
+"To use stored procedures with Hibernate the procedures/functions have to "
+"follow some rules. If they do not follow those rules they are not usable "
+"with Hibernate. If you still want to use these procedures you have to "
+"execute them via <literal>session.connection()</literal>. The rules are "
+"different for each database, since database vendors have different stored "
+"procedure semantics/syntax."
+msgstr ""
+"Hibernateã§ã¹ãã¢ãããã·ã¼ã¸ã£ã颿°ã使ãããã«ã¯ã ãã®ããã·ã¼ã¸ã£ã¯ãã"
+"ã¤ãã®ã«ã¼ã«ã«æºæ ããå¿
è¦ãããã¾ãã ã«ã¼ã«ã«æºæ ãã¦ããªãããã·ã¼ã¸ã£ã¯ã"
+"Hibernateã§ä½¿ããã¨ã¯ã§ãã¾ããã ããã§ããæºæ ãã¦ããªãããã·ã¼ã¸ã£ã使ã"
+"ããã®ã§ããã°ã <literal>session.connection()</literal> ãéãã¦å®è¡ããªãã"
+"ã°ãªãã¾ããã ã«ã¼ã«ã¯ãã¼ã¿ãã¼ã¹ãã¨ã«ç°ãªãã¾ãã ã¹ãã¢ãããã·ã¼ã¸ã£ã®"
+"ã»ãã³ãã£ãã¯ã¹ã¨ã·ã³ã¿ãã¯ã¹ã¯ã ãã¼ã¿ãã¼ã¹ãã³ããã¨ã«ç°ãªãããã§ãã"
-#: index.docbook:455
-msgid "Stored procedure queries can't be paged with <literal>setFirstResult()/setMaxResults()</literal>."
-msgstr "<literal>setFirstResult()/setMaxResults()</literal> ã使ã£ã¦ã ã¹ãã¢ãããã·ã¼ã¸ã£ã¯ã¨ãªããã¼ã¸åããããã¨ã¯ã§ãã¾ããã"
+#. Tag: para
+#: query_sql.xml:455
+#, no-c-format
+msgid ""
+"Stored procedure queries can't be paged with <literal>setFirstResult()/"
+"setMaxResults()</literal>."
+msgstr ""
+"<literal>setFirstResult()/setMaxResults()</literal> ã使ã£ã¦ã ã¹ãã¢ããã"
+"ã·ã¼ã¸ã£ã¯ã¨ãªããã¼ã¸åããããã¨ã¯ã§ãã¾ããã"
-#: index.docbook:458
-msgid "Recommended call form is standard SQL92: <literal>{ ? = call functionName(<parameters>) }</literal> or <literal>{ ? = call procedureName(<parameters>}</literal>. Native call syntax is not supported."
-msgstr "æ¨å¥¨ããå¼ã³åºãæ¹ã¯ãæ¨æºã§ããSQL92ã«å¾ããã¨ã§ãã <literal>{ ? = call functionName(<parameters>) }</literal> ã <literal>{ ? = call procedureName(<parameters>) }</literal> ã§ãã ãã¤ãã£ããªå¼ã³åºãæ§æã¯ãµãã¼ãããã¦ãã¾ããã"
+#. Tag: para
+#: query_sql.xml:458
+#, no-c-format
+msgid ""
+"Recommended call form is standard SQL92: <literal>{ ? = call functionName"
+"(<parameters>) }</literal> or <literal>{ ? = call procedureName(<"
+"parameters>}</literal>. Native call syntax is not supported."
+msgstr ""
+"æ¨å¥¨ããå¼ã³åºãæ¹ã¯ãæ¨æºã§ããSQL92ã«å¾ããã¨ã§ãã <literal>{ ? = call "
+"functionName(<parameters>) }</literal> ã <literal>{ ? = call "
+"procedureName(<parameters>) }</literal> ã§ãã ãã¤ãã£ããªå¼ã³åºãæ§æ"
+"ã¯ãµãã¼ãããã¦ãã¾ããã"
-#: index.docbook:463
+#. Tag: para
+#: query_sql.xml:463
+#, no-c-format
msgid "For Oracle the following rules apply:"
msgstr "Oracleã«ã¯ä¸è¨ã®ã«ã¼ã«ãé©ç¨ããã¾ãã"
-#: index.docbook:467
-msgid "A function must return a result set. The first parameter of a procedure must be an <literal>OUT</literal> that returns a result set. This is done by using a <literal>SYS_REFCURSOR</literal> type in Oracle 9 or 10. In Oracle you need to define a <literal>REF CURSOR</literal> type, see Oracle literature."
-msgstr "颿°ã¯ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã ããã·ã¼ã¸ã£ã®ç¬¬ä¸å¼æ°ã¯ãªã¶ã«ãã»ãããè¿ãããã <literal>OUT</literal> ã§ãªããã°ãªãã¾ããã Oracle 9ã¨10ã§ã¯ã<literal>SYS_REFCURSOR</literal> ã使ããã¨ã«ãã£ã¦ã§ãã¾ãã Oracleã§ã¯ <literal>REF CURSOR</literal> åãå®ç¾©ããå¿
è¦ãããã¾ãã Oracleã®æç®ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: query_sql.xml:467
+#, no-c-format
+msgid ""
+"A function must return a result set. The first parameter of a procedure must "
+"be an <literal>OUT</literal> that returns a result set. This is done by "
+"using a <literal>SYS_REFCURSOR</literal> type in Oracle 9 or 10. In Oracle "
+"you need to define a <literal>REF CURSOR</literal> type, see Oracle "
+"literature."
+msgstr ""
+"颿°ã¯ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã ããã·ã¼ã¸ã£ã®ç¬¬ä¸å¼æ°ã¯ãªã¶ã«"
+"ãã»ãããè¿ãããã <literal>OUT</literal> ã§ãªããã°ãªãã¾ããã Oracle 9ã¨"
+"10ã§ã¯ã<literal>SYS_REFCURSOR</literal> ã使ããã¨ã«ãã£ã¦ã§ãã¾ãã Oracle"
+"ã§ã¯ <literal>REF CURSOR</literal> åãå®ç¾©ããå¿
è¦ãããã¾ãã Oracleã®æç®"
+"ãåç
§ãã¦ãã ããã"
-#: index.docbook:476
+#. Tag: para
+#: query_sql.xml:476
+#, no-c-format
msgid "For Sybase or MS SQL server the following rules apply:"
msgstr "Sybaseã¨MS SQLãµã¼ãã¼ã«é©ç¨ãããã«ã¼ã«ãä¸è¨ã«ç¤ºãã¾ãã"
-#: index.docbook:480
-msgid "The procedure must return a result set. Note that since these servers can/will return multiple result sets and update counts, Hibernate will iterate the results and take the first result that is a result set as its return value. Everything else will be discarded."
-msgstr "ããã·ã¼ã¸ã£ã¯ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã ãµã¼ãã¼ã¯è¤æ°ã®ãªã¶ã«ãã»ããã¨æ´æ°ã«ã¦ã³ããè¿ãã¾ããã Hibernateã¯1ã¤ç®ã®ãªã¶ã«ãã»ããã ããè¿ããã¨ã«æ³¨æãã¦ãã ããã ãã®ä»ã¯ãã¹ã¦æ¨ã¦ããã¾ãã"
+#. Tag: para
+#: query_sql.xml:480
+#, no-c-format
+msgid ""
+"The procedure must return a result set. Note that since these servers can/"
+"will return multiple result sets and update counts, Hibernate will iterate "
+"the results and take the first result that is a result set as its return "
+"value. Everything else will be discarded."
+msgstr ""
+"ããã·ã¼ã¸ã£ã¯ãªã¶ã«ãã»ãããè¿ããªããã°ãªãã¾ããã ãµã¼ãã¼ã¯è¤æ°ã®ãªã¶ã«"
+"ãã»ããã¨æ´æ°ã«ã¦ã³ããè¿ãã¾ããã Hibernateã¯1ã¤ç®ã®ãªã¶ã«ãã»ããã ããè¿"
+"ããã¨ã«æ³¨æãã¦ãã ããã ãã®ä»ã¯ãã¹ã¦æ¨ã¦ããã¾ãã"
-#: index.docbook:488
-msgid "If you can enable <literal>SET NOCOUNT ON</literal> in your procedure it will probably be more efficient, but this is not a requirement."
-msgstr "ããã·ã¼ã¸ã£ã®ä¸ã§ <literal>SET NOCOUNT ON</literal> ãæå¹ã«ã§ããã°ã ããããå¹çããããªãã§ãããã ããããããã¯å¿
è¦æ¡ä»¶ã§ã¯ããã¾ããã"
+#. Tag: para
+#: query_sql.xml:488
+#, no-c-format
+msgid ""
+"If you can enable <literal>SET NOCOUNT ON</literal> in your procedure it "
+"will probably be more efficient, but this is not a requirement."
+msgstr ""
+"ããã·ã¼ã¸ã£ã®ä¸ã§ <literal>SET NOCOUNT ON</literal> ãæå¹ã«ã§ããã°ã ãã"
+"ããå¹çããããªãã§ãããã ããããããã¯å¿
è¦æ¡ä»¶ã§ã¯ããã¾ããã"
-#: index.docbook:498
+#. Tag: title
+#: query_sql.xml:498
+#, no-c-format
msgid "Custom SQL for create, update and delete"
msgstr "ä½æãæ´æ°ãåé¤ã®ããã®ã«ã¹ã¿ã SQL"
-#: index.docbook:500
-msgid "Hibernate3 can use custom SQL statements for create, update, and delete operations. The class and collection persisters in Hibernate already contain a set of configuration time generated strings (insertsql, deletesql, updatesql etc.). The mapping tags <literal><sql-insert></literal>, <literal><sql-delete></literal>, and <literal><sql-update></literal> override these strings:"
-msgstr "Hibernate3ã¯ä½æãæ´æ°ãåé¤å¦çã®ããã®ã«ã¹ã¿ã SQLæã使ç¨ã§ãã¾ãã ã¯ã©ã¹ã¨ã³ã¬ã¯ã·ã§ã³ã®æ°¸ç¶åæ©æ§ã¯ãã³ã³ãã£ã°ã¬ã¼ã·ã§ã³æã«çæãããæåå ï¼insertsqlãdeletesqlãupdatesqlãªã©ï¼ã®ã»ããããã§ã«ä¿æãã¦ãã¾ãã ãããã®æååããã <literal><sql-insert></literal>ã <literal><sql-delete></literal>ã <literal><sql-update></literal> ã¨ãããããã³ã°ã¿ã°ãåªå
ããã¾ãã"
+#. Tag: para
+#: query_sql.xml:500
+#, no-c-format
+msgid ""
+"Hibernate3 can use custom SQL statements for create, update, and delete "
+"operations. The class and collection persisters in Hibernate already contain "
+"a set of configuration time generated strings (insertsql, deletesql, "
+"updatesql etc.). The mapping tags <literal><sql-insert></literal>, "
+"<literal><sql-delete></literal>, and <literal><sql-update></"
+"literal> override these strings:"
+msgstr ""
+"Hibernate3ã¯ä½æãæ´æ°ãåé¤å¦çã®ããã®ã«ã¹ã¿ã SQLæã使ç¨ã§ãã¾ãã ã¯ã©ã¹"
+"ã¨ã³ã¬ã¯ã·ã§ã³ã®æ°¸ç¶åæ©æ§ã¯ãã³ã³ãã£ã°ã¬ã¼ã·ã§ã³æã«çæãããæåå "
+"ï¼insertsqlãdeletesqlãupdatesqlãªã©ï¼ã®ã»ããããã§ã«ä¿æãã¦ãã¾ãã ãã"
+"ãã®æååããã <literal><sql-insert></literal>ã <literal><sql-"
+"delete></literal>ã <literal><sql-update></literal> ã¨ãããããã³ã°"
+"ã¿ã°ãåªå
ããã¾ãã"
-#: index.docbook:508
+#. Tag: programlisting
+#: query_sql.xml:508
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <sql-insert>INSERT INTO PERSON (NAME, ID) VALUES ( UPPER(?), ? )</sql-insert>\n"
- " <sql-update>UPDATE PERSON SET NAME=UPPER(?) WHERE ID=?</sql-update>\n"
- " <sql-delete>DELETE FROM PERSON WHERE ID=?</sql-delete>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"increment\"/>\n"
+" </id>\n"
+" <property name=\"name\" not-null=\"true\"/>\n"
+" <sql-insert>INSERT INTO PERSON (NAME, ID) VALUES ( UPPER(?), ? )</sql-"
+"insert>\n"
+" <sql-update>UPDATE PERSON SET NAME=UPPER(?) WHERE ID=?</sql-update>\n"
+" <sql-delete>DELETE FROM PERSON WHERE ID=?</sql-delete>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <sql-insert>INSERT INTO PERSON (NAME, ID) VALUES ( UPPER(?), ? )</sql-insert>\n"
- " <sql-update>UPDATE PERSON SET NAME=UPPER(?) WHERE ID=?</sql-update>\n"
- " <sql-delete>DELETE FROM PERSON WHERE ID=?</sql-delete>\n"
- "</class>]]>"
-#: index.docbook:510
-msgid "The SQL is directly executed in your database, so you are free to use any dialect you like. This will of course reduce the portability of your mapping if you use database specific SQL."
-msgstr "SQLãç´æ¥ãã¼ã¿ãã¼ã¹ã§å®è¡ããããã好ã¿ã®æ¹è¨ãèªç±ã«ä½¿ç¨ã§ãã¾ãã ãã¼ã¿ãã¼ã¹ç¬èªã®SQLã使ãã°ãå½ç¶ãããã³ã°ã®ãã¼ã¿ããªãã£ãä¸ããã¾ãã"
+#. Tag: para
+#: query_sql.xml:510
+#, no-c-format
+msgid ""
+"The SQL is directly executed in your database, so you are free to use any "
+"dialect you like. This will of course reduce the portability of your mapping "
+"if you use database specific SQL."
+msgstr ""
+"SQLãç´æ¥ãã¼ã¿ãã¼ã¹ã§å®è¡ããããã好ã¿ã®æ¹è¨ãèªç±ã«ä½¿ç¨ã§ãã¾ãã ãã¼ã¿"
+"ãã¼ã¹ç¬èªã®SQLã使ãã°ãå½ç¶ãããã³ã°ã®ãã¼ã¿ããªãã£ãä¸ããã¾ãã"
-#: index.docbook:514
-msgid "Stored procedures are supported if the <literal>callable</literal> attribute is set:"
-msgstr "<literal>callable</literal> 屿§ãã»ããããã°ã ã¹ãã¢ãããã·ã¼ã¸ã£ã使ç¨ã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:514
+#, no-c-format
+msgid ""
+"Stored procedures are supported if the <literal>callable</literal> attribute "
+"is set:"
+msgstr ""
+"<literal>callable</literal> 屿§ãã»ããããã°ã ã¹ãã¢ãããã·ã¼ã¸ã£ã使ç¨ã§"
+"ãã¾ãã"
-#: index.docbook:517
+#. Tag: programlisting
+#: query_sql.xml:517
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <sql-insert callable=\"true\">{call createPerson (?, ?)}</sql-insert>\n"
- " <sql-delete callable=\"true\">{? = call deletePerson (?)}</sql-delete>\n"
- " <sql-update callable=\"true\">{? = call updatePerson (?, ?)}</sql-update>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"increment\"/>\n"
+" </id>\n"
+" <property name=\"name\" not-null=\"true\"/>\n"
+" <sql-insert callable=\"true\">{call createPerson (?, ?)}</sql-insert>\n"
+" <sql-delete callable=\"true\">{? = call deletePerson (?)}</sql-delete>\n"
+" <sql-update callable=\"true\">{? = call updatePerson (?, ?)}</sql-"
+"update>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <sql-insert callable=\"true\">{call createPerson (?, ?)}</sql-insert>\n"
- " <sql-delete callable=\"true\">{? = call deletePerson (?)}</sql-delete>\n"
- " <sql-update callable=\"true\">{? = call updatePerson (?, ?)}</sql-update>\n"
- "</class>]]>"
-#: index.docbook:519
-msgid "The order of the positional parameters are currently vital, as they must be in the same sequence as Hibernate expects them."
-msgstr "ä»ã®ã¨ãããä½ç½®ãã©ã¡ã¼ã¿ã®é çªã¯ã¨ã¦ãéè¦ã§ãã ããªãã¡ãHibernateãæå¾
ããé åºã§ãªããã°ãªãã¾ããã"
+#. Tag: para
+#: query_sql.xml:519
+#, no-c-format
+msgid ""
+"The order of the positional parameters are currently vital, as they must be "
+"in the same sequence as Hibernate expects them."
+msgstr ""
+"ä»ã®ã¨ãããä½ç½®ãã©ã¡ã¼ã¿ã®é çªã¯ã¨ã¦ãéè¦ã§ãã ããªãã¡ãHibernateãæå¾
"
+"ããé åºã§ãªããã°ãªãã¾ããã"
-#: index.docbook:522
-msgid "You can see the expected order by enabling debug logging for the <literal>org.hibernate.persister.entity</literal> level. With this level enabled Hibernate will print out the static SQL that is used to create, update, delete etc. entities. (To see the expected sequence, remember to not include your custom SQL in the mapping files as that will override the Hibernate generated static sql.)"
-msgstr "<literal>org.hiberante.persister.entity</literal> ã¬ãã«ã®ãããã°ãã°ã æå¹ã«ãããã¨ã«ãã£ã¦ãæå¾
ãããé çªã確ããããã¾ãã ãã®ã¬ãã«ãæå¹ã«ãããã¨ã«ãããã¨ã³ãã£ãã£ã®ä½æãæ´æ°ãåé¤ãªã©ã§ 使ç¨ãããéçãªSQLãåºåããã¾ãã ï¼æå¾
ãããé åºã確èªããããã«ã¯ãHibernateãçæããéçãªSQLããªã¼ãã¼ã©ã¤ããã ã«ã¹ã¿ã SQLããããã³ã°ãã¡ã¤ã«ã«å«ããªããã¨ãå¿ããªãã§ãã ãããï¼"
+#. Tag: para
+#: query_sql.xml:522
+#, no-c-format
+msgid ""
+"You can see the expected order by enabling debug logging for the "
+"<literal>org.hibernate.persister.entity</literal> level. With this level "
+"enabled Hibernate will print out the static SQL that is used to create, "
+"update, delete etc. entities. (To see the expected sequence, remember to not "
+"include your custom SQL in the mapping files as that will override the "
+"Hibernate generated static sql.)"
+msgstr ""
+"<literal>org.hiberante.persister.entity</literal> ã¬ãã«ã®ãããã°ãã°ã æå¹"
+"ã«ãããã¨ã«ãã£ã¦ãæå¾
ãããé çªã確ããããã¾ãã ãã®ã¬ãã«ãæå¹ã«ããã"
+"ã¨ã«ãããã¨ã³ãã£ãã£ã®ä½æãæ´æ°ãåé¤ãªã©ã§ 使ç¨ãããéçãªSQLãåºåãã"
+"ã¾ãã ï¼æå¾
ãããé åºã確èªããããã«ã¯ãHibernateãçæããéçãªSQLããªã¼"
+"ãã¼ã©ã¤ããã ã«ã¹ã¿ã SQLããããã³ã°ãã¡ã¤ã«ã«å«ããªããã¨ãå¿ããªãã§ãã "
+"ãããï¼"
-#: index.docbook:529
-msgid "The stored procedures are in most cases (read: better do it than not) required to return the number of rows inserted/updated/deleted, as Hibernate has some runtime checks for the success of the statement. Hibernate always registers the first statement parameter as a numeric output parameter for the CUD operations:"
-msgstr "ã¹ãã¢ãããã·ã¼ã¸ã£ã¯æ¿å
¥/æ´æ°/åé¤ãããè¡æ°ãè¿ãå¿
è¦ãããã¾ã ï¼èªã¿è¾¼ã¿ã®å ´åã¯ãè¿ããªãããã¯è¿ãæ¹ãããã§ãï¼ã å®è¡æã«HibernateãSQLæã®æåããã§ãã¯ããããã§ãã Hibernateã¯ãCUDå¦çã®ããã®æ°å¤ã®åºåãã©ã¡ã¼ã¿ã¨ãã¦ã SQLæã®æåã®ãã©ã¡ã¼ã¿ããã¤ãè¨é²ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:529
+#, no-c-format
+msgid ""
+"The stored procedures are in most cases (read: better do it than not) "
+"required to return the number of rows inserted/updated/deleted, as Hibernate "
+"has some runtime checks for the success of the statement. Hibernate always "
+"registers the first statement parameter as a numeric output parameter for "
+"the CUD operations:"
+msgstr ""
+"ã¹ãã¢ãããã·ã¼ã¸ã£ã¯æ¿å
¥/æ´æ°/åé¤ãããè¡æ°ãè¿ãå¿
è¦ãããã¾ã ï¼èªã¿è¾¼ã¿"
+"ã®å ´åã¯ãè¿ããªãããã¯è¿ãæ¹ãããã§ãï¼ã å®è¡æã«HibernateãSQLæã®æåã"
+"ãã§ãã¯ããããã§ãã Hibernateã¯ãCUDå¦çã®ããã®æ°å¤ã®åºåãã©ã¡ã¼ã¿ã¨ã"
+"ã¦ã SQLæã®æåã®ãã©ã¡ã¼ã¿ããã¤ãè¨é²ãã¾ãã"
-#: index.docbook:535
+#. Tag: programlisting
+#: query_sql.xml:535
+#, no-c-format
msgid ""
- "<![CDATA[CREATE OR REPLACE FUNCTION updatePerson (uid IN NUMBER, uname IN VARCHAR2)\n"
- " RETURN NUMBER IS\n"
- "BEGIN\n"
- "\n"
- " update PERSON\n"
- " set\n"
- " NAME = uname,\n"
- " where\n"
- " ID = uid;\n"
- "\n"
- " return SQL%ROWCOUNT;\n"
- "\n"
- "END updatePerson;]]>"
+"<![CDATA[CREATE OR REPLACE FUNCTION updatePerson (uid IN NUMBER, uname IN "
+"VARCHAR2)\n"
+" RETURN NUMBER IS\n"
+"BEGIN\n"
+"\n"
+" update PERSON\n"
+" set\n"
+" NAME = uname,\n"
+" where\n"
+" ID = uid;\n"
+"\n"
+" return SQL%ROWCOUNT;\n"
+"\n"
+"END updatePerson;]]>"
msgstr ""
- "<![CDATA[CREATE OR REPLACE FUNCTION updatePerson (uid IN NUMBER, uname IN VARCHAR2)\n"
- " RETURN NUMBER IS\n"
- "BEGIN\n"
- "\n"
- " update PERSON\n"
- " set\n"
- " NAME = uname,\n"
- " where\n"
- " ID = uid;\n"
- "\n"
- " return SQL%ROWCOUNT;\n"
- "\n"
- "END updatePerson;]]>"
-#: index.docbook:539
+#. Tag: title
+#: query_sql.xml:539
+#, no-c-format
msgid "Custom SQL for loading"
msgstr "ãã¼ãã®ããã®ã«ã¹ã¿ã SQL"
-#: index.docbook:541
+#. Tag: para
+#: query_sql.xml:541
+#, no-c-format
msgid "You may also declare your own SQL (or HQL) queries for entity loading:"
-msgstr "ã¨ã³ãã£ãã£ãèªã¿è¾¼ãããã®ç¬èªã®SQLï¼ãããã¯HQLï¼ã¯ã¨ãªã宣è¨ã§ãã¾ãã"
+msgstr ""
+"ã¨ã³ãã£ãã£ãèªã¿è¾¼ãããã®ç¬èªã®SQLï¼ãããã¯HQLï¼ã¯ã¨ãªã宣è¨ã§ãã¾ãã"
-#: index.docbook:544
+#. Tag: programlisting
+#: query_sql.xml:544
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"person\">\n"
- " <return alias=\"pers\" class=\"Person\" lock-mode=\"upgrade\"/>\n"
- " SELECT NAME AS {pers.name}, ID AS {pers.id}\n"
- " FROM PERSON\n"
- " WHERE ID=?\n"
- " FOR UPDATE\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"person\">\n"
+" <return alias=\"pers\" class=\"Person\" lock-mode=\"upgrade\"/>\n"
+" SELECT NAME AS {pers.name}, ID AS {pers.id}\n"
+" FROM PERSON\n"
+" WHERE ID=?\n"
+" FOR UPDATE\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"person\">\n"
- " <return alias=\"pers\" class=\"Person\" lock-mode=\"upgrade\"/>\n"
- " SELECT NAME AS {pers.name}, ID AS {pers.id}\n"
- " FROM PERSON\n"
- " WHERE ID=?\n"
- " FOR UPDATE\n"
- "</sql-query>]]>"
-#: index.docbook:546
-msgid "This is just a named query declaration, as discussed earlier. You may reference this named query in a class mapping:"
-msgstr "ããã¯ãã¾ãã«ï¼ä»¥åè°è«ããï¼ååä»ãã¯ã¨ãªã®å®£è¨ã§ãã ãã®ååä»ãã¯ã¨ãªãã¯ã©ã¹ã®ãããã³ã°ããåç
§ã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:546
+#, no-c-format
+msgid ""
+"This is just a named query declaration, as discussed earlier. You may "
+"reference this named query in a class mapping:"
+msgstr ""
+"ããã¯ãã¾ãã«ï¼ä»¥åè°è«ããï¼ååä»ãã¯ã¨ãªã®å®£è¨ã§ãã ãã®ååä»ãã¯ã¨ãªã"
+"ã¯ã©ã¹ã®ãããã³ã°ããåç
§ã§ãã¾ãã"
-#: index.docbook:549
+#. Tag: programlisting
+#: query_sql.xml:549
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <loader query-ref=\"person\"/>\n"
- "</class>]]>"
+"<![CDATA[<class name=\"Person\">\n"
+" <id name=\"id\">\n"
+" <generator class=\"increment\"/>\n"
+" </id>\n"
+" <property name=\"name\" not-null=\"true\"/>\n"
+" <loader query-ref=\"person\"/>\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Person\">\n"
- " <id name=\"id\">\n"
- " <generator class=\"increment\"/>\n"
- " </id>\n"
- " <property name=\"name\" not-null=\"true\"/>\n"
- " <loader query-ref=\"person\"/>\n"
- "</class>]]>"
-#: index.docbook:551
+#. Tag: para
+#: query_sql.xml:551
+#, no-c-format
msgid "This even works with stored procedures."
msgstr "ããã¯ã¹ãã¢ãããã·ã¼ã¸ã£ã§ãããåä½ãã¾ãã"
-#: index.docbook:553
+#. Tag: para
+#: query_sql.xml:553
+#, no-c-format
msgid "You may even define a query for collection loading:"
msgstr "次ã®ããã«ãã³ã¬ã¯ã·ã§ã³ããã¼ãããããã®ã¯ã¨ãªããå®ç¾©ãã¦ããã§ãã"
-#: index.docbook:555
+#. Tag: programlisting
+#: query_sql.xml:555
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"employments\" inverse=\"true\">\n"
- " <key/>\n"
- " <one-to-many class=\"Employment\"/>\n"
- " <loader query-ref=\"employments\"/>\n"
- "</set>]]>"
+"<![CDATA[<set name=\"employments\" inverse=\"true\">\n"
+" <key/>\n"
+" <one-to-many class=\"Employment\"/>\n"
+" <loader query-ref=\"employments\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"employments\" inverse=\"true\">\n"
- " <key/>\n"
- " <one-to-many class=\"Employment\"/>\n"
- " <loader query-ref=\"employments\"/>\n"
- "</set>]]>"
-#: index.docbook:557
+#. Tag: programlisting
+#: query_sql.xml:557
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"employments\">\n"
- " <load-collection alias=\"emp\" role=\"Person.employments\"/>\n"
- " SELECT {emp.*}\n"
- " FROM EMPLOYMENT emp\n"
- " WHERE EMPLOYER = :id\n"
- " ORDER BY STARTDATE ASC, EMPLOYEE ASC\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"employments\">\n"
+" <load-collection alias=\"emp\" role=\"Person.employments\"/>\n"
+" SELECT {emp.*}\n"
+" FROM EMPLOYMENT emp\n"
+" WHERE EMPLOYER = :id\n"
+" ORDER BY STARTDATE ASC, EMPLOYEE ASC\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"employments\">\n"
- " <load-collection alias=\"emp\" role=\"Person.employments\"/>\n"
- " SELECT {emp.*}\n"
- " FROM EMPLOYMENT emp\n"
- " WHERE EMPLOYER = :id\n"
- " ORDER BY STARTDATE ASC, EMPLOYEE ASC\n"
- "</sql-query>]]>"
-#: index.docbook:559
-msgid "You could even define an entity loader that loads a collection by join fetching:"
-msgstr "次ã®ããã«ãçµåãã§ããã«ããã³ã¬ã¯ã·ã§ã³ããã¼ããã ã¨ã³ãã£ãã£ãã¼ãã¼ãå®ç¾©ã§ãã¾ãã"
+#. Tag: para
+#: query_sql.xml:559
+#, no-c-format
+msgid ""
+"You could even define an entity loader that loads a collection by join "
+"fetching:"
+msgstr ""
+"次ã®ããã«ãçµåãã§ããã«ããã³ã¬ã¯ã·ã§ã³ããã¼ããã ã¨ã³ãã£ãã£ãã¼ãã¼ã"
+"å®ç¾©ã§ãã¾ãã"
-#: index.docbook:562
+#. Tag: programlisting
+#: query_sql.xml:562
+#, no-c-format
msgid ""
- "<![CDATA[<sql-query name=\"person\">\n"
- " <return alias=\"pers\" class=\"Person\"/>\n"
- " <return-join alias=\"emp\" property=\"pers.employments\"/>\n"
- " SELECT NAME AS {pers.*}, {emp.*}\n"
- " FROM PERSON pers\n"
- " LEFT OUTER JOIN EMPLOYMENT emp\n"
- " ON pers.ID = emp.PERSON_ID\n"
- " WHERE ID=?\n"
- "</sql-query>]]>"
+"<![CDATA[<sql-query name=\"person\">\n"
+" <return alias=\"pers\" class=\"Person\"/>\n"
+" <return-join alias=\"emp\" property=\"pers.employments\"/>\n"
+" SELECT NAME AS {pers.*}, {emp.*}\n"
+" FROM PERSON pers\n"
+" LEFT OUTER JOIN EMPLOYMENT emp\n"
+" ON pers.ID = emp.PERSON_ID\n"
+" WHERE ID=?\n"
+"</sql-query>]]>"
msgstr ""
- "<![CDATA[<sql-query name=\"person\">\n"
- " <return alias=\"pers\" class=\"Person\"/>\n"
- " <return-join alias=\"emp\" property=\"pers.employments\"/>\n"
- " SELECT NAME AS {pers.*}, {emp.*}\n"
- " FROM PERSON pers\n"
- " LEFT OUTER JOIN EMPLOYMENT emp\n"
- " ON pers.ID = emp.PERSON_ID\n"
- " WHERE ID=?\n"
- "</sql-query>]]>"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
Modified: core/trunk/documentation/manual/translations/ja-JP/content/session_api.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/session_api.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/session_api.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,1426 +1,2218 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: session_api.xml:5
+#, no-c-format
msgid "Working with objects"
msgstr "ãªãã¸ã§ã¯ããæ±ã"
-#: index.docbook:7
-msgid "Hibernate is a full object/relational mapping solution that not only shields the developer from the details of the underlying database management system, but also offers <emphasis>state management</emphasis> of objects. This is, contrary to the management of SQL <literal>statements</literal> in common JDBC/SQL persistence layers, a very natural object-oriented view of persistence in Java applications."
-msgstr "Hibernate ã¯å®å
¨ãªãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã½ãªã¥ã¼ã·ã§ã³ã§ããã ãã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ã®è©³ç´°ãéçºè
ããé è½ããã ãã§ãªãã ãªãã¸ã§ã¯ãã® <emphasis>ç¶æ
管ç</emphasis> ãè¡ãã¾ãã ããã¯ãJDBC/SQLæ°¸ç¶å±¤ã¨åããããªSQL <literal>æ</literal> ã®ç®¡çã¨ã¯ç°ãªãã Javaã¢ããªã±ã¼ã·ã§ã³ã«ãããæ°¸ç¶åã«å¯¾ãããã¨ã¦ãèªç¶ãªãªãã¸ã§ã¯ãæåã®èãæ¹ãæä¾ãã¾ãã"
+#. Tag: para
+#: session_api.xml:7
+#, no-c-format
+msgid ""
+"Hibernate is a full object/relational mapping solution that not only shields "
+"the developer from the details of the underlying database management system, "
+"but also offers <emphasis>state management</emphasis> of objects. This is, "
+"contrary to the management of SQL <literal>statements</literal> in common "
+"JDBC/SQL persistence layers, a very natural object-oriented view of "
+"persistence in Java applications."
+msgstr ""
+"Hibernate ã¯å®å
¨ãªãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã½ãªã¥ã¼ã·ã§ã³ã§ã"
+"ãã ãã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ã®è©³ç´°ãéçºè
ããé è½ããã ãã§ãªãã ãªãã¸ã§"
+"ã¯ãã® <emphasis>ç¶æ
管ç</emphasis> ãè¡ãã¾ãã ããã¯ãJDBC/SQLæ°¸ç¶å±¤ã¨å"
+"ããããªSQL <literal>æ</literal> ã®ç®¡çã¨ã¯ç°ãªãã Javaã¢ããªã±ã¼ã·ã§ã³ã«ã"
+"ããæ°¸ç¶åã«å¯¾ãããã¨ã¦ãèªç¶ãªãªãã¸ã§ã¯ãæåã®èãæ¹ãæä¾ãã¾ãã"
-#: index.docbook:16
-msgid "In other words, Hibernate application developers should always think about the <emphasis>state</emphasis> of their objects, and not necessarily about the execution of SQL statements. This part is taken care of by Hibernate and is only relevant for the application developer when tuning the performance of the system."
-msgstr "è¨ããããã°ãHibernateãç¨ããã¢ããªã±ã¼ã·ã§ã³éçºè
ã¯ããªãã¸ã§ã¯ãã® <emphasis>ç¶æ
</emphasis> ã«ã¤ãã¦ã¯ å¸¸ã«æèãã¹ãã§ãããSQLæã®å®è¡ã«ã¤ãã¦ã¯å¿
ãããããã§ã¯ããã¾ããã ãã®é¨åã¯ãé常ãHibernateãå¦çããã·ã¹ãã ã®ããã©ã¼ãã³ã¹ããã¥ã¼ãã³ã°ããã¨ãã«ã ãã åé¡ã«ãªã£ã¦ãã¾ãã"
+#. Tag: para
+#: session_api.xml:16
+#, no-c-format
+msgid ""
+"In other words, Hibernate application developers should always think about "
+"the <emphasis>state</emphasis> of their objects, and not necessarily about "
+"the execution of SQL statements. This part is taken care of by Hibernate and "
+"is only relevant for the application developer when tuning the performance "
+"of the system."
+msgstr ""
+"è¨ããããã°ãHibernateãç¨ããã¢ããªã±ã¼ã·ã§ã³éçºè
ã¯ããªãã¸ã§ã¯ãã® "
+"<emphasis>ç¶æ
</emphasis> ã«ã¤ãã¦ã¯ å¸¸ã«æèãã¹ãã§ãããSQLæã®å®è¡ã«ã¤ã"
+"ã¦ã¯å¿
ãããããã§ã¯ããã¾ããã ãã®é¨åã¯ãé常ãHibernateãå¦çããã·ã¹ã"
+"ã ã®ããã©ã¼ãã³ã¹ããã¥ã¼ãã³ã°ããã¨ãã«ã ãã åé¡ã«ãªã£ã¦ãã¾ãã"
-#: index.docbook:24
+#. Tag: title
+#: session_api.xml:24
+#, no-c-format
msgid "Hibernate object states"
msgstr "Hibernateã«ããããªãã¸ã§ã¯ãã®ç¶æ
"
-#: index.docbook:26
+#. Tag: para
+#: session_api.xml:26
+#, no-c-format
msgid "Hibernate defines and supports the following object states:"
msgstr "Hibernateã¯æ¬¡ã®ãããªãªãã¸ã§ã¯ãã®ç¶æ
ãå®ç¾©ãããµãã¼ããã¦ãã¾ãã"
-#: index.docbook:32
-msgid "<emphasis>Transient</emphasis> - an object is transient if it has just been instantiated using the <literal>new</literal> operator, and it is not associated with a Hibernate <literal>Session</literal>. It has no persistent representation in the database and no identifier value has been assigned. Transient instances will be destroyed by the garbage collector if the application doesn't hold a reference anymore. Use the Hibernate <literal>Session</literal> to make an object persistent (and let Hibernate take care of the SQL statements that need to be executed for this transition)."
-msgstr "<emphasis> 䏿ç(Transient) </emphasis> - <literal>new</literal> æ¼ç®åã使ã£ã¦ ã¤ã³ã¹ã¿ã³ã¹åãããã ãã§ã Hibernateã® <literal>Session</literal> ã«é¢é£ä»ãããã¦ããªããªãã¸ã§ã¯ãã¯ã 䏿ç(transient)ã§ãã ããã¯ããã¼ã¿ãã¼ã¹ã«æ°¸ç¶çãªè¡¨ç¾ãæãããèå¥åã¨ãªãå¤ã¯å²ãå½ã¦ããã¦ãã¾ããã 䏿çãªã¤ã³ã¹ã¿ã³ã¹ã¯ãã¢ããªã±ã¼ã·ã§ã³ããã®åç
§ãã©ãã«ãä¿æããªãå ´åã«ã ã¬ãã¼ã¸ã³ã¬ã¯ã¿ã«ãã£ã¦ç ´æ£ããã¾ãã ãªãã¸ã§ã¯ããæ°¸ç¶ç(persistent)ãªç¶æ
ã«ããããã«ã¯ãHibernateã® <literal>Session</literal> ã使ãã¾ãããã ï¼ãã®ç¶æ
é·ç§»ã«å¿
è¦ã¨ãªãSQLæã®çºè¡ã¯ãHibernateã«ä»»ãã¾ããããï¼"
+#. Tag: para
+#: session_api.xml:32
+#, no-c-format
+msgid ""
+"<emphasis>Transient</emphasis> - an object is transient if it has just been "
+"instantiated using the <literal>new</literal> operator, and it is not "
+"associated with a Hibernate <literal>Session</literal>. It has no persistent "
+"representation in the database and no identifier value has been assigned. "
+"Transient instances will be destroyed by the garbage collector if the "
+"application doesn't hold a reference anymore. Use the Hibernate "
+"<literal>Session</literal> to make an object persistent (and let Hibernate "
+"take care of the SQL statements that need to be executed for this "
+"transition)."
+msgstr ""
+"<emphasis> 䏿ç(Transient) </emphasis> - <literal>new</literal> æ¼ç®åã"
+"使ã£ã¦ ã¤ã³ã¹ã¿ã³ã¹åãããã ãã§ã Hibernateã® <literal>Session</literal> ã«"
+"é¢é£ä»ãããã¦ããªããªãã¸ã§ã¯ãã¯ã 䏿ç(transient)ã§ãã ããã¯ããã¼ã¿"
+"ãã¼ã¹ã«æ°¸ç¶çãªè¡¨ç¾ãæãããèå¥åã¨ãªãå¤ã¯å²ãå½ã¦ããã¦ãã¾ããã 䏿ç"
+"ãªã¤ã³ã¹ã¿ã³ã¹ã¯ãã¢ããªã±ã¼ã·ã§ã³ããã®åç
§ãã©ãã«ãä¿æããªãå ´åã«ã ã¬"
+"ãã¼ã¸ã³ã¬ã¯ã¿ã«ãã£ã¦ç ´æ£ããã¾ãã ãªãã¸ã§ã¯ããæ°¸ç¶ç(persistent)ãªç¶æ
ã«"
+"ããããã«ã¯ãHibernateã® <literal>Session</literal> ã使ãã¾ãããã ï¼ãã®"
+"ç¶æ
é·ç§»ã«å¿
è¦ã¨ãªãSQLæã®çºè¡ã¯ãHibernateã«ä»»ãã¾ããããï¼"
-#: index.docbook:44
-msgid "<emphasis>Persistent</emphasis> - a persistent instance has a representation in the database and an identifier value. It might just have been saved or loaded, however, it is by definition in the scope of a <literal>Session</literal>. Hibernate will detect any changes made to an object in persistent state and synchronize the state with the database when the unit of work completes. Developers don't execute manual <literal>UPDATE</literal> statements, or <literal>DELETE</literal> statements when an object should be made transient."
-msgstr "<emphasis>æ°¸ç¶ç(Persistent)</emphasis> - æ°¸ç¶çãªã¤ã³ã¹ã¿ã³ã¹ã¯ãã¼ã¿ãã¼ã¹ã« æ°¸ç¶çãªè¡¨ç¾ãæã¡ãèå¥åã¨ãªãå¤ãæã£ã¦ãã¾ãã ããã¯ãã»ã¼ãããããããã¼ãããããããããããã¾ãããã å®ç¾©ä¸ã¯ã <literal>Session</literal> ã®ã¹ã³ã¼ãã®ä¸ã«åå¨ãã¦ãã¾ãã Hibernateã¯ã使¥åä½ï¼Unit of workï¼ãå®äºããã¨ãã«ã æ°¸ç¶ç¶æ
ã®ãªãã¸ã§ã¯ãã«å ãããã夿´ãæ¤åºãã ãªãã¸ã§ã¯ãã®ç¶æ
ã¨ãã¼ã¿ãã¼ã¹ãåæãã¾ãã ãªãã¸ã§ã¯ãã䏿ç(transient)ã«ããã¨ãã¯ãéçºè
ã¯ãæä½æ¥ã§ <literal>UPDATE</literal> æã <literal>DELETE</literal> æãå®è¡ãã¾ããã"
+#. Tag: para
+#: session_api.xml:44
+#, no-c-format
+msgid ""
+"<emphasis>Persistent</emphasis> - a persistent instance has a representation "
+"in the database and an identifier value. It might just have been saved or "
+"loaded, however, it is by definition in the scope of a <literal>Session</"
+"literal>. Hibernate will detect any changes made to an object in persistent "
+"state and synchronize the state with the database when the unit of work "
+"completes. Developers don't execute manual <literal>UPDATE</literal> "
+"statements, or <literal>DELETE</literal> statements when an object should be "
+"made transient."
+msgstr ""
+"<emphasis>æ°¸ç¶ç(Persistent)</emphasis> - æ°¸ç¶çãªã¤ã³ã¹ã¿ã³ã¹ã¯ãã¼ã¿ãã¼ã¹"
+"ã« æ°¸ç¶çãªè¡¨ç¾ãæã¡ãèå¥åã¨ãªãå¤ãæã£ã¦ãã¾ãã ããã¯ãã»ã¼ãããã"
+"ãããã¼ãããããããããããã¾ãããã å®ç¾©ä¸ã¯ã <literal>Session</"
+"literal> ã®ã¹ã³ã¼ãã®ä¸ã«åå¨ãã¦ãã¾ãã Hibernateã¯ã使¥åä½ï¼Unit of "
+"workï¼ãå®äºããã¨ãã«ã æ°¸ç¶ç¶æ
ã®ãªãã¸ã§ã¯ãã«å ãããã夿´ãæ¤åºãã ãª"
+"ãã¸ã§ã¯ãã®ç¶æ
ã¨ãã¼ã¿ãã¼ã¹ãåæãã¾ãã ãªãã¸ã§ã¯ãã䏿ç(transient)"
+"ã«ããã¨ãã¯ãéçºè
ã¯ãæä½æ¥ã§ <literal>UPDATE</literal> æã "
+"<literal>DELETE</literal> æãå®è¡ãã¾ããã"
-#: index.docbook:55
-msgid "<emphasis>Detached</emphasis> - a detached instance is an object that has been persistent, but its <literal>Session</literal> has been closed. The reference to the object is still valid, of course, and the detached instance might even be modified in this state. A detached instance can be reattached to a new <literal>Session</literal> at a later point in time, making it (and all the modifications) persistent again. This feature enables a programming model for long running units of work that require user think-time. We call them <emphasis>application transactions</emphasis>, i.e. a unit of work from the point of view of the user."
-msgstr "<emphasis>åé¢(Detached)</emphasis> - åé¢ãããã¤ã³ã¹ã¿ã³ã¹ã¨ã¯ãæ°¸ç¶åããã¦ãããã ããã¨é¢é£ä»ãã¦ãã <literal>Session</literal> ãã¯ãã¼ãºããã¦ãããªãã¸ã§ã¯ãã®ãã¨ã§ãã ãã®ãªãã¸ã§ã¯ãã¸ã®åç
§ã¯ãä¾ç¶ã¨ãã¦æå¹ã§ãã ããã¦ããã¡ãããåé¢ãããç¶æ
ã«ãããªãã¸ã§ã¯ãã¯ãä¿®æ£ãããã¨ããã§ãã¾ãã åé¢ãããã¤ã³ã¹ã¿ã³ã¹ã¯ãããä¸åº¦æ°¸ç¶åãããï¼ããã¦ããã¹ã¦ã®å¤æ´ãæ°¸ç¶åãããï¼ã¨ãã«ã æ°ãã <literal>Session</literal> ã«å追å ã§ãã¾ãã ãã®æ©è½ã¯ãã¦ã¼ã¶ãèããæéãå¿
è¦ã¨ãããããªãé·æéã«åã¶ä½æ¥åä½ã«å¯¾ãã ããã°ã©ãã³ã°ã¢ãã«ãå¯è½ã«ãã¾ãã æã
ã¯ãããã <emphasis>ã¢ããªã±ã¼ã·ã§ã³ã®ãã©ã³ã¶ã¯ã·ã§ã³ï¼application transactionsï¼</emphasis> ã¨å¼ãã§ãã¾ãã ããªãã¡ãã¦ã¼!
ã¶ããè¦ã使¥åä½ã ã¨ãããã¨ã§ãã"
+#. Tag: para
+#: session_api.xml:55
+#, no-c-format
+msgid ""
+"<emphasis>Detached</emphasis> - a detached instance is an object that has "
+"been persistent, but its <literal>Session</literal> has been closed. The "
+"reference to the object is still valid, of course, and the detached instance "
+"might even be modified in this state. A detached instance can be reattached "
+"to a new <literal>Session</literal> at a later point in time, making it (and "
+"all the modifications) persistent again. This feature enables a programming "
+"model for long running units of work that require user think-time. We call "
+"them <emphasis>application transactions</emphasis>, i.e. a unit of work from "
+"the point of view of the user."
+msgstr ""
+"<emphasis>åé¢(Detached)</emphasis> - åé¢ãããã¤ã³ã¹ã¿ã³ã¹ã¨ã¯ãæ°¸ç¶åãã"
+"ã¦ãããã ããã¨é¢é£ä»ãã¦ãã <literal>Session</literal> ãã¯ãã¼ãºããã¦ã"
+"ããªãã¸ã§ã¯ãã®ãã¨ã§ãã ãã®ãªãã¸ã§ã¯ãã¸ã®åç
§ã¯ãä¾ç¶ã¨ãã¦æå¹ã§ãã "
+"ããã¦ããã¡ãããåé¢ãããç¶æ
ã«ãããªãã¸ã§ã¯ãã¯ãä¿®æ£ãããã¨ããã§ãã¾"
+"ãã åé¢ãããã¤ã³ã¹ã¿ã³ã¹ã¯ãããä¸åº¦æ°¸ç¶åãããï¼ããã¦ããã¹ã¦ã®å¤æ´ãæ°¸"
+"ç¶åãããï¼ã¨ãã«ã æ°ãã <literal>Session</literal> ã«å追å ã§ãã¾ãã ã"
+"ã®æ©è½ã¯ãã¦ã¼ã¶ãèããæéãå¿
è¦ã¨ãããããªãé·æéã«åã¶ä½æ¥åä½ã«å¯¾ãã "
+"ããã°ã©ãã³ã°ã¢ãã«ãå¯è½ã«ãã¾ãã æã
ã¯ãããã <emphasis>ã¢ããªã±ã¼ã·ã§"
+"ã³ã®ãã©ã³ã¶ã¯ã·ã§ã³ï¼application transactionsï¼</emphasis> ã¨å¼ãã§ãã¾ãã "
+"ããªãã¡ãã¦ã¼ã¶ããè¦ã使¥åä½ã ã¨ãããã¨ã§ãã"
-#: index.docbook:69
-msgid "We'll now discuss the states and state transitions (and the Hibernate methods that trigger a transition) in more detail."
-msgstr "ãããããç¶æ
ã¨ç¶æ
é·ç§»ï¼ããã¦ãé·ç§»ã®ãã£ããã¨ãªãHibernateã®ã¡ã½ããï¼ã«ã¤ã㦠ã詳細ã«è¿°ã¹ã¾ãã"
+#. Tag: para
+#: session_api.xml:69
+#, no-c-format
+msgid ""
+"We'll now discuss the states and state transitions (and the Hibernate "
+"methods that trigger a transition) in more detail."
+msgstr ""
+"ãããããç¶æ
ã¨ç¶æ
é·ç§»ï¼ããã¦ãé·ç§»ã®ãã£ããã¨ãªãHibernateã®ã¡ã½ããï¼ã«"
+"ã¤ã㦠ã詳細ã«è¿°ã¹ã¾ãã"
-#: index.docbook:77
+#. Tag: title
+#: session_api.xml:77
+#, no-c-format
msgid "Making objects persistent"
msgstr "ãªãã¸ã§ã¯ããæ°¸ç¶ç¶æ
ã«ãã"
-#: index.docbook:79
-msgid "Newly instantiated instances of a a persistent class are considered <emphasis>transient</emphasis> by Hibernate. We can make a transient instance <emphasis>persistent</emphasis> by associating it with a session:"
-msgstr "æ°ããã¤ã³ã¹ã¿ã³ã¹åãããæ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã Hibernateã§ã¯ <emphasis>䏿ç(transient)</emphasis> ã¨è¦ãªããã¾ãã 以ä¸ã®ããã«ãã»ãã·ã§ã³ã¨é¢é£ã¥ãããã¨ã§ã䏿çãªã¤ã³ã¹ã¿ã³ã¹ã <emphasis>æ°¸ç¶ç¶æ
(persistent)</emphasis> ã«ã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:79
+#, no-c-format
+msgid ""
+"Newly instantiated instances of a a persistent class are considered "
+"<emphasis>transient</emphasis> by Hibernate. We can make a transient "
+"instance <emphasis>persistent</emphasis> by associating it with a session:"
+msgstr ""
+"æ°ããã¤ã³ã¹ã¿ã³ã¹åãããæ°¸ç¶ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã Hibernateã§ã¯ "
+"<emphasis>䏿ç(transient)</emphasis> ã¨è¦ãªããã¾ãã 以ä¸ã®ããã«ãã»ã"
+"ã·ã§ã³ã¨é¢é£ã¥ãããã¨ã§ã䏿çãªã¤ã³ã¹ã¿ã³ã¹ã <emphasis>æ°¸ç¶ç¶æ
"
+"(persistent)</emphasis> ã«ã§ãã¾ãã"
-#: index.docbook:86
+#. Tag: programlisting
+#: session_api.xml:86
+#, no-c-format
msgid ""
- "<![CDATA[DomesticCat fritz = new DomesticCat();\n"
- "fritz.setColor(Color.GINGER);\n"
- "fritz.setSex('M');\n"
- "fritz.setName(\"Fritz\");\n"
- "Long generatedId = (Long) sess.save(fritz);]]>"
+"<![CDATA[DomesticCat fritz = new DomesticCat();\n"
+"fritz.setColor(Color.GINGER);\n"
+"fritz.setSex('M');\n"
+"fritz.setName(\"Fritz\");\n"
+"Long generatedId = (Long) sess.save(fritz);]]>"
msgstr ""
- "<![CDATA[DomesticCat fritz = new DomesticCat();
-\n"
- "fritz.setColor(Color.GINGER);
-\n"
- "fritz.setSex('M');
-\n"
- "fritz.setName(\"Fritz\");
-\n"
- "Long generatedId = (Long) sess.save(fritz);]]>"
-#: index.docbook:88
-msgid "If <literal>Cat</literal> has a generated identifier, the identifier is generated and assigned to the <literal>cat</literal> when <literal>save()</literal> is called. If <literal>Cat</literal> has an <literal>assigned</literal> identifier, or a composite key, the identifier should be assigned to the <literal>cat</literal> instance before calling <literal>save()</literal>. You may also use <literal>persist()</literal> instead of <literal>save()</literal>, with the semantics defined in the EJB3 early draft."
-msgstr "<literal>Cat</literal> ã¯ã©ã¹ã®èå¥åãèªåçæãããã®ã§ããã°ã <literal>save()</literal> ãå¼ã°ããã¨ãã«ã èå¥åãçæããã <literal>cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã«å²ãå½ã¦ããã¾ãã <literal>Cat</literal> ã®èå¥åãä»ããå²ãå½ã¦ãããï¼ <literal>assigned</literal> èå¥åãæã¤ï¼ããè¤åãã¼ã§ãããªãã <literal>save()</literal> ãå¼ã³åºãåã«ãèå¥åãå²ãå½ã¦ãªããã°ãªãã¾ããã <literal>save()</literal> ã®ä»£ããã«ãEJB3 ã®åæãã©ããã§å®ç¾©ããã <literal>persist()</literal> ã使ããã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: session_api.xml:88
+#, no-c-format
+msgid ""
+"If <literal>Cat</literal> has a generated identifier, the identifier is "
+"generated and assigned to the <literal>cat</literal> when <literal>save()</"
+"literal> is called. If <literal>Cat</literal> has an <literal>assigned</"
+"literal> identifier, or a composite key, the identifier should be assigned "
+"to the <literal>cat</literal> instance before calling <literal>save()</"
+"literal>. You may also use <literal>persist()</literal> instead of "
+"<literal>save()</literal>, with the semantics defined in the EJB3 early "
+"draft."
+msgstr ""
+"<literal>Cat</literal> ã¯ã©ã¹ã®èå¥åãèªåçæãããã®ã§ããã°ã "
+"<literal>save()</literal> ãå¼ã°ããã¨ãã«ã èå¥åãçæããã "
+"<literal>cat</literal> ã¤ã³ã¹ã¿ã³ã¹ã«å²ãå½ã¦ããã¾ãã <literal>Cat</"
+"literal> ã®èå¥åãä»ããå²ãå½ã¦ãããï¼ <literal>assigned</literal> èå¥å"
+"ãæã¤ï¼ããè¤åãã¼ã§ãããªãã <literal>save()</literal> ãå¼ã³åºãåã«ãè"
+"å¥åãå²ãå½ã¦ãªããã°ãªãã¾ããã <literal>save()</literal> ã®ä»£ããã«ã"
+"EJB3 ã®åæãã©ããã§å®ç¾©ããã <literal>persist()</literal> ã使ããã¨ãå¯è½"
+"ã§ãã"
-#: index.docbook:100
-msgid "<literal>persist()</literal> makes a transient instance persistent. However, it doesn't guarantee that the identifier value will be assigned to the persistent instance immediately, the assignment might happen at flush time. <literal>persist()</literal> also guarantees that it will not execute an <literal>INSERT</literal> statement if it is called outside of transaction boundaries. This is useful in long-running conversations with an extended Session/persistence context."
-msgstr "代ããã«ãèå¥åã弿°ã«ã¨ã <literal>save()</literal> ã¡ã½ããã使ã£ã¦ã èå¥åãå²ãå½ã¦ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:100
+#, no-c-format
+msgid ""
+"<literal>persist()</literal> makes a transient instance persistent. However, "
+"it doesn't guarantee that the identifier value will be assigned to the "
+"persistent instance immediately, the assignment might happen at flush time. "
+"<literal>persist()</literal> also guarantees that it will not execute an "
+"<literal>INSERT</literal> statement if it is called outside of transaction "
+"boundaries. This is useful in long-running conversations with an extended "
+"Session/persistence context."
+msgstr ""
+"<literal>persist()</literal> makes a transient instance persistent. However, "
+"it doesn't guarantee that the identifier value will be assigned to the "
+"persistent instance immediately, the assignment might happen at flush time. "
+"<literal>persist()</literal> also guarantees that it will not execute an "
+"<literal>INSERT</literal> statement if it is called outside of transaction "
+"boundaries. This is useful in long-running conversations with an extended "
+"Session/persistence context."
-#: index.docbook:111
-msgid "<literal>save()</literal> does guarantee to return an identifier. If an INSERT has to be executed to get the identifier ( e.g. \"identity\" generator, not \"sequence\"), this INSERT happens immediately, no matter if you are inside or outside of a transaction. This is problematic in a long-running conversation with an extended Session/persistence context."
+#. Tag: para
+#: session_api.xml:111
+#, no-c-format
+msgid ""
+"<literal>save()</literal> does guarantee to return an identifier. If an "
+"INSERT has to be executed to get the identifier ( e.g. \"identity\" "
+"generator, not \"sequence\"), this INSERT happens immediately, no matter if "
+"you are inside or outside of a transaction. This is problematic in a long-"
+"running conversation with an extended Session/persistence context."
msgstr ""
- "<![CDATA[DomesticCat pk = new DomesticCat();
-\n"
- "pk.setColor(Color.TABBY);
-\n"
- "pk.setSex('F');
-\n"
- "pk.setName(\"PK\");
-\n"
- "pk.setKittens( new HashSet() );
-\n"
- "pk.addKitten(fritz);
-\n"
- "sess.save( pk, new Long(1234) );]]>"
+"<literal>save()</literal> does guarantee to return an identifier. If an "
+"INSERT has to be executed to get the identifier ( e.g. \"identity\" "
+"generator, not \"sequence\"), this INSERT happens immediately, no matter if "
+"you are inside or outside of a transaction. This is problematic in a long-"
+"running conversation with an extended Session/persistence context."
-#: index.docbook:121
-msgid "Alternatively, you may assign the identifier using an overloaded version of <literal>save()</literal>."
-msgstr "æ°¸ç¶åãããªãã¸ã§ã¯ããé¢é£ãªãã¸ã§ã¯ããæã£ã¦ããå ´å ï¼ä¾ãã°ãåã®ä¾ã«ããã <literal>kittens</literal> ã³ã¬ã¯ã·ã§ã³ã®ããã«ï¼ã å¤é¨ãã¼ã«ã©ã ã«ã <literal>NOT NULL</literal> å¶ç´ãã¤ããªãéãã¯ã ãããã®ä¸é£ã®ãªãã¸ã§ã¯ããã©ããªé çªã§æ°¸ç¶åãã¦ããã¾ãã¾ããã å¤é¨ãã¼å¶ç´ãéåããæãã¯ããã¾ããã ãããã <literal>NOT NULL</literal> å¶ç´ãããå ´åãééã£ãé çªã§ãªãã¸ã§ã¯ãã <literal>save()</literal> ãã¦ãã¾ãã¨ã å¶ç´ã«éåããããããã¾ããã"
+#. Tag: para
+#: session_api.xml:121
+#, no-c-format
+msgid ""
+"Alternatively, you may assign the identifier using an overloaded version of "
+"<literal>save()</literal>."
+msgstr ""
+"代ããã«ãèå¥åã弿°ã«ã¨ã <literal>save()</literal> ã¡ã½ããã使ã£ã¦ã è"
+"å¥åãå²ãå½ã¦ããã¨ãã§ãã¾ãã"
-#: index.docbook:126
+#. Tag: programlisting
+#: session_api.xml:126
+#, no-c-format
msgid ""
- "<![CDATA[DomesticCat pk = new DomesticCat();\n"
- "pk.setColor(Color.TABBY);\n"
- "pk.setSex('F');\n"
- "pk.setName(\"PK\");\n"
- "pk.setKittens( new HashSet() );\n"
- "pk.addKitten(fritz);\n"
- "sess.save( pk, new Long(1234) );]]>"
-msgstr "é¢é£ãããªãã¸ã§ã¯ããèªåçã«ä¿åããã Hibernateã® <emphasis>é·ç§»çãªæ°¸ç¶å(transitive persistence)</emphasis> æ©è½ã 使ãã¤ãããªãã°ããã®ãããªè©³ç´°ãæ°ã«ããå¿
è¦ã¯ããã¾ããã ããã¦ã <literal>NOT NULL</literal> å¶ç´ã®éåããèµ·ããã¾ããã Hibernateããã¹ã¦é¢åãã¿ã¦ããã¾ããé·ç§»çãªæ°¸ç¶åã¯ããã®ç« ã®å¾åã«æ¸ããã¦ãã¾ãã"
+"<![CDATA[DomesticCat pk = new DomesticCat();\n"
+"pk.setColor(Color.TABBY);\n"
+"pk.setSex('F');\n"
+"pk.setName(\"PK\");\n"
+"pk.setKittens( new HashSet() );\n"
+"pk.addKitten(fritz);\n"
+"sess.save( pk, new Long(1234) );]]>"
+msgstr ""
-#: index.docbook:128
-msgid "If the object you make persistent has associated objects (e.g. the <literal>kittens</literal> collection in the previous example), these objects may be made persistent in any order you like unless you have a <literal>NOT NULL</literal> constraint upon a foreign key column. There is never a risk of violating foreign key constraints. However, you might violate a <literal>NOT NULL</literal> constraint if you <literal>save()</literal> the objects in the wrong order."
-msgstr "ãªãã¸ã§ã¯ãã®ãã¼ã"
+#. Tag: para
+#: session_api.xml:128
+#, no-c-format
+msgid ""
+"If the object you make persistent has associated objects (e.g. the "
+"<literal>kittens</literal> collection in the previous example), these "
+"objects may be made persistent in any order you like unless you have a "
+"<literal>NOT NULL</literal> constraint upon a foreign key column. There is "
+"never a risk of violating foreign key constraints. However, you might "
+"violate a <literal>NOT NULL</literal> constraint if you <literal>save()</"
+"literal> the objects in the wrong order."
+msgstr ""
+"æ°¸ç¶åãããªãã¸ã§ã¯ããé¢é£ãªãã¸ã§ã¯ããæã£ã¦ããå ´å ï¼ä¾ãã°ãåã®ä¾ã«ã"
+"ãã <literal>kittens</literal> ã³ã¬ã¯ã·ã§ã³ã®ããã«ï¼ã å¤é¨ãã¼ã«ã©ã ã«ã "
+"<literal>NOT NULL</literal> å¶ç´ãã¤ããªãéãã¯ã ãããã®ä¸é£ã®ãªãã¸ã§ã¯ã"
+"ãã©ããªé çªã§æ°¸ç¶åãã¦ããã¾ãã¾ããã å¤é¨ãã¼å¶ç´ãéåããæãã¯ããã¾ã"
+"ãã ãããã <literal>NOT NULL</literal> å¶ç´ãããå ´åãééã£ãé çªã§ãªã"
+"ã¸ã§ã¯ãã <literal>save()</literal> ãã¦ãã¾ãã¨ã å¶ç´ã«éåããããããã¾"
+"ããã"
-#: index.docbook:138
-msgid "Usually you don't bother with this detail, as you'll very likely use Hibernate's <emphasis>transitive persistence</emphasis> feature to save the associated objects automatically. Then, even <literal>NOT NULL</literal> constraint violations don't occur - Hibernate will take care of everything. Transitive persistence is discussed later in this chapter."
-msgstr "æ°¸ç¶åãããã¤ã³ã¹ã¿ã³ã¹ã®èå¥åããããããåãã£ã¦ãããªãã <literal>Session</literal> ã® <literal>load()</literal> ã¡ã½ããã使ã£ã¦ã復å
ã§ãã¾ãã <literal>load()</literal> ã¯ãClass ãªãã¸ã§ã¯ãã弿°ã«ã¨ãã ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæ°ãã«çæããç¶æ
ããã¼ããã¾ãã ãã®ã¤ã³ã¹ã¿ã³ã¹ã®ç¶æ
ã¯ãæ°¸ç¶(persistent)ç¶æ
ã§ãã"
+#. Tag: para
+#: session_api.xml:138
+#, no-c-format
+msgid ""
+"Usually you don't bother with this detail, as you'll very likely use "
+"Hibernate's <emphasis>transitive persistence</emphasis> feature to save the "
+"associated objects automatically. Then, even <literal>NOT NULL</literal> "
+"constraint violations don't occur - Hibernate will take care of everything. "
+"Transitive persistence is discussed later in this chapter."
+msgstr ""
+"é¢é£ãããªãã¸ã§ã¯ããèªåçã«ä¿åããã Hibernateã® <emphasis>é·ç§»çãªæ°¸ç¶å"
+"(transitive persistence)</emphasis> æ©è½ã 使ãã¤ãããªãã°ããã®ãããªè©³ç´°ã"
+"æ°ã«ããå¿
è¦ã¯ããã¾ããã ããã¦ã <literal>NOT NULL</literal> å¶ç´ã®éåã"
+"ãèµ·ããã¾ããã Hibernateããã¹ã¦é¢åãã¿ã¦ããã¾ããé·ç§»çãªæ°¸ç¶åã¯ããã®"
+"ç« ã®å¾åã«æ¸ããã¦ãã¾ãã"
-#: index.docbook:149
+#. Tag: title
+#: session_api.xml:149
+#, no-c-format
msgid "Loading an object"
-msgstr "<![CDATA[Cat fritz = (Cat) sess.load(Cat.class, generatedId);]]>"
+msgstr "ãªãã¸ã§ã¯ãã®ãã¼ã"
-#: index.docbook:151
-msgid "The <literal>load()</literal> methods of <literal>Session</literal> gives you a way to retrieve a persistent instance if you already know its identifier. <literal>load()</literal> takes a class object and will load the state into a newly instantiated instance of that class, in persistent state."
+#. Tag: para
+#: session_api.xml:151
+#, no-c-format
+msgid ""
+"The <literal>load()</literal> methods of <literal>Session</literal> gives "
+"you a way to retrieve a persistent instance if you already know its "
+"identifier. <literal>load()</literal> takes a class object and will load the "
+"state into a newly instantiated instance of that class, in persistent state."
msgstr ""
- "<![CDATA[// you need to wrap primitive identifiers
-\n"
- "long id = 1234;
-\n"
- "DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long(id) );]]>"
+"æ°¸ç¶åãããã¤ã³ã¹ã¿ã³ã¹ã®èå¥åããããããåãã£ã¦ãããªãã "
+"<literal>Session</literal> ã® <literal>load()</literal> ã¡ã½ããã使ã£ã¦ã復"
+"å
ã§ãã¾ãã <literal>load()</literal> ã¯ãClass ãªãã¸ã§ã¯ãã弿°ã«ã¨ãã "
+"ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãæ°ãã«çæããç¶æ
ããã¼ããã¾ãã ãã®ã¤ã³ã¹ã¿ã³ã¹"
+"ã®ç¶æ
ã¯ãæ°¸ç¶(persistent)ç¶æ
ã§ãã"
-#: index.docbook:158
+#. Tag: programlisting
+#: session_api.xml:158
+#, no-c-format
msgid "<![CDATA[Cat fritz = (Cat) sess.load(Cat.class, generatedId);]]>"
-msgstr "ãããã¯ã以ä¸ã®ããã«ãæ¢åã®ã¤ã³ã¹ã¿ã³ã¹ã«ç¶æ
ããã¼ããããã¨ãã§ãã¾ãã"
+msgstr ""
-#: index.docbook:160
+#. Tag: programlisting
+#: session_api.xml:160
+#, no-c-format
msgid ""
- "<![CDATA[// you need to wrap primitive identifiers\n"
- "long id = 1234;\n"
- "DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long(id) );]]>"
+"<![CDATA[// you need to wrap primitive identifiers\n"
+"long id = 1234;\n"
+"DomesticCat pk = (DomesticCat) sess.load( DomesticCat.class, new Long"
+"(id) );]]>"
msgstr ""
- "<![CDATA[Cat cat = new DomesticCat();
-\n"
- "// load pk's state into cat
-\n"
- "sess.load( cat, new Long(pkId) );
-\n"
- "Set kittens = cat.getKittens();]]>"
-#: index.docbook:162
+#. Tag: para
+#: session_api.xml:162
+#, no-c-format
msgid "Alternatively, you can load state into a given instance:"
-msgstr "DBã«è©²å½ããè¡ãç¡ãå ´åã <literal>load()</literal> ã¯å復ä¸å¯è½ãªä¾å¤ã æãããã¨ã«æ³¨æãã¾ãããã ãã®ã¯ã©ã¹ããããã·ã使ã£ã¦ãããã³ã°ããã¦ããå ´åã <literal>load()</literal> ã¯åæåããã¦ããªããããã·ãè¿ãããããã·ã®ã¡ã½ãããå¼ã°ããã¾ã§å®éã«ã¯ ãã¼ã¿ãã¼ã¹ã«ã¢ã¯ã»ã¹ãã¾ããã ãããå®éã«ãã¼ã¿ãã¼ã¹ãããã¼ãããã«ããªãã¸ã§ã¯ãã«å¯¾ããé¢é£ãä½ãããå ´åã ãã®æ¯ãèãã¯ã¨ã¦ãå½¹ç«ã¡ã¾ãã <literal>batch-size</literal> ãã¯ã©ã¹ãããã³ã°ã«å®ç¾©ããã¦ãããªãã°ã è¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ã䏿¬ã§ãã¼ããããã¨ãå¯è½ã§ãã"
+msgstr ""
+"ãããã¯ã以ä¸ã®ããã«ãæ¢åã®ã¤ã³ã¹ã¿ã³ã¹ã«ç¶æ
ããã¼ããããã¨ãã§ãã¾ãã"
-#: index.docbook:166
+#. Tag: programlisting
+#: session_api.xml:166
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = new DomesticCat();\n"
- "// load pk's state into cat\n"
- "sess.load( cat, new Long(pkId) );\n"
- "Set kittens = cat.getKittens();]]>"
-msgstr "該å½ããè¡ãåå¨ãããã¨ã確信ã§ããªãå ´åã¯ã <literal>get()</literal> ã¡ã½ããã使ãã¹ãã§ãã ããã¯ããã¼ã¿ãã¼ã¹ã«ããã«ã¢ã¯ã»ã¹ãã該å½ããè¡ãç¡ãå ´åã¯nullãè¿ãã¾ãã"
+"<![CDATA[Cat cat = new DomesticCat();\n"
+"// load pk's state into cat\n"
+"sess.load( cat, new Long(pkId) );\n"
+"Set kittens = cat.getKittens();]]>"
+msgstr ""
-#: index.docbook:168
-msgid "Note that <literal>load()</literal> will throw an unrecoverable exception if there is no matching database row. If the class is mapped with a proxy, <literal>load()</literal> just returns an uninitialized proxy and does not actually hit the database until you invoke a method of the proxy. This behaviour is very useful if you wish to create an association to an object without actually loading it from the database. It also allows multiple instances to be loaded as a batch if <literal>batch-size</literal> is defined for the class mapping."
+#. Tag: para
+#: session_api.xml:168
+#, no-c-format
+msgid ""
+"Note that <literal>load()</literal> will throw an unrecoverable exception if "
+"there is no matching database row. If the class is mapped with a proxy, "
+"<literal>load()</literal> just returns an uninitialized proxy and does not "
+"actually hit the database until you invoke a method of the proxy. This "
+"behaviour is very useful if you wish to create an association to an object "
+"without actually loading it from the database. It also allows multiple "
+"instances to be loaded as a batch if <literal>batch-size</literal> is "
+"defined for the class mapping."
msgstr ""
- "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id);
-\n"
- "if (cat==null) {
-\n"
- " cat = new Cat();
-\n"
- " sess.save(cat, id);
-\n"
- "}
-\n"
- "return cat;]]>"
+"DBã«è©²å½ããè¡ãç¡ãå ´åã <literal>load()</literal> ã¯å復ä¸å¯è½ãªä¾å¤ã æ"
+"ãããã¨ã«æ³¨æãã¾ãããã ãã®ã¯ã©ã¹ããããã·ã使ã£ã¦ãããã³ã°ããã¦ããå ´"
+"åã <literal>load()</literal> ã¯åæåããã¦ããªããããã·ãè¿ãããããã·ã®"
+"ã¡ã½ãããå¼ã°ããã¾ã§å®éã«ã¯ ãã¼ã¿ãã¼ã¹ã«ã¢ã¯ã»ã¹ãã¾ããã ãããå®éã«"
+"ãã¼ã¿ãã¼ã¹ãããã¼ãããã«ããªãã¸ã§ã¯ãã«å¯¾ããé¢é£ãä½ãããå ´åã ãã®æ¯"
+"ãèãã¯ã¨ã¦ãå½¹ç«ã¡ã¾ãã <literal>batch-size</literal> ãã¯ã©ã¹ãããã³ã°ã«"
+"å®ç¾©ããã¦ãããªãã°ã è¤æ°ã®ã¤ã³ã¹ã¿ã³ã¹ã䏿¬ã§ãã¼ããããã¨ãå¯è½ã§ãã"
-#: index.docbook:179
-msgid "If you are not certain that a matching row exists, you should use the <literal>get()</literal> method, which hits the database immediately and returns null if there is no matching row."
-msgstr "<literal>LockMode</literal> ã使ãã°ã <literal>SELECT ... FOR UPDATE</literal>ã¨ããSQLã 使ã£ã¦ãªãã¸ã§ã¯ãããã¼ããããã¨ãã§ãã¾ãã è©³ç´°ãªæ
å ±ã¯ãAPIããã¥ã¡ã³ããåç
§ãã¦ãã ããã"
+#. Tag: para
+#: session_api.xml:179
+#, no-c-format
+msgid ""
+"If you are not certain that a matching row exists, you should use the "
+"<literal>get()</literal> method, which hits the database immediately and "
+"returns null if there is no matching row."
+msgstr ""
+"該å½ããè¡ãåå¨ãããã¨ã確信ã§ããªãå ´åã¯ã <literal>get()</literal> ã¡"
+"ã½ããã使ãã¹ãã§ãã ããã¯ããã¼ã¿ãã¼ã¹ã«ããã«ã¢ã¯ã»ã¹ãã該å½ããè¡ãç¡"
+"ãå ´åã¯nullãè¿ãã¾ãã"
-#: index.docbook:185
+#. Tag: programlisting
+#: session_api.xml:185
+#, no-c-format
msgid ""
- "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id);\n"
- "if (cat==null) {\n"
- " cat = new Cat();\n"
- " sess.save(cat, id);\n"
- "}\n"
- "return cat;]]>"
-msgstr "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id, LockMode.UPGRADE);]]>"
+"<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id);\n"
+"if (cat==null) {\n"
+" cat = new Cat();\n"
+" sess.save(cat, id);\n"
+"}\n"
+"return cat;]]>"
+msgstr ""
-#: index.docbook:187
-msgid "You may even load an object using an SQL <literal>SELECT ... FOR UPDATE</literal>, using a <literal>LockMode</literal>. See the API documentation for more information."
-msgstr "é¢é£ã«å¯¾ããã«ã¹ã±ã¼ãæ¹æ³ã¨ã㦠<literal>lock</literal> ã <literal>all</literal> ã æå®ããªãéããé¢é£ããã¤ã³ã¹ã¿ã³ã¹ãå«ã¾ããã³ã¬ã¯ã·ã§ã³ã¯ <literal>FOR UPDATE</literal> ã§å¾©å
<emphasis>ãããªã</emphasis> ãã¨ã«æ³¨æãã¾ãããã"
+#. Tag: para
+#: session_api.xml:187
+#, no-c-format
+msgid ""
+"You may even load an object using an SQL <literal>SELECT ... FOR UPDATE</"
+"literal>, using a <literal>LockMode</literal>. See the API documentation for "
+"more information."
+msgstr ""
+"<literal>LockMode</literal> ã使ãã°ã <literal>SELECT ... FOR UPDATE</"
+"literal>ã¨ããSQLã 使ã£ã¦ãªãã¸ã§ã¯ãããã¼ããããã¨ãã§ãã¾ãã è©³ç´°ãªæ
å ±"
+"ã¯ãAPIããã¥ã¡ã³ããåç
§ãã¦ãã ããã"
-#: index.docbook:192
+#. Tag: programlisting
+#: session_api.xml:192
+#, no-c-format
msgid "<![CDATA[Cat cat = (Cat) sess.get(Cat.class, id, LockMode.UPGRADE);]]>"
-msgstr "<literal>refresh()</literal> ã¡ã½ããã使ããã¨ã§ãã©ããªã¨ãã§ãããªãã¸ã§ã¯ãããã®ã³ã¬ã¯ã·ã§ã³ã ãªãã¼ããããã¨ãã§ãã¾ãã ãã¼ã¿ãã¼ã¹ã®ããªã¬ããã¼ãã«ãæ´æ°ããéã«ã ãã®ãã¼ãã«ã«å¯¾å¿ãããªãã¸ã§ã¯ãã®ããããã£ãåæããå ´åããã®ã¡ã½ãããå½¹ã«ç«ã¡ã¾ãã"
+msgstr ""
-#: index.docbook:194
-msgid "Note that any associated instances or contained collections are <emphasis>not</emphasis> selected <literal>FOR UPDATE</literal>, unless you decide to specify <literal>lock</literal> or <literal>all</literal> as a cascade style for the association."
+#. Tag: para
+#: session_api.xml:194
+#, no-c-format
+msgid ""
+"Note that any associated instances or contained collections are "
+"<emphasis>not</emphasis> selected <literal>FOR UPDATE</literal>, unless you "
+"decide to specify <literal>lock</literal> or <literal>all</literal> as a "
+"cascade style for the association."
msgstr ""
- "<![CDATA[sess.save(cat);
-\n"
- "sess.flush(); //force the SQL INSERT
-\n"
- "sess.refresh(cat); //re-read the state (after the trigger executes)]]>"
+"é¢é£ã«å¯¾ããã«ã¹ã±ã¼ãæ¹æ³ã¨ã㦠<literal>lock</literal> ã <literal>all</"
+"literal> ã æå®ããªãéããé¢é£ããã¤ã³ã¹ã¿ã³ã¹ãå«ã¾ããã³ã¬ã¯ã·ã§ã³ã¯ "
+"<literal>FOR UPDATE</literal> ã§å¾©å
<emphasis>ãããªã</emphasis> ãã¨ã«æ³¨æ"
+"ãã¾ãããã"
-#: index.docbook:201
-msgid "It is possible to re-load an object and all its collections at any time, using the <literal>refresh()</literal> method. This is useful when database triggers are used to initialize some of the properties of the object."
-msgstr "大åãªåé¡ã¯ããã¤ã次ã®ç¹ã«é¢ãããã®ã§ããããã¯ãHibernateããã¼ã¿ãã¼ã¹ããã ã©ã®ãããã®éã復å
ããã®ãã¨ãã©ã®ãããã®æ°ã®SQLã® <literal>SELECT</literal> æã使ãããã®ãã§ãã ããã¯ã <emphasis>ãã§ããã®æ¦ç¥</emphasis> ã«ããã¾ããããã«ã¤ãã¦ã¯ã<xref linkend=\"performance-fetching\"/> ã§èª¬æãã¦ãã¾ãã"
+#. Tag: para
+#: session_api.xml:201
+#, no-c-format
+msgid ""
+"It is possible to re-load an object and all its collections at any time, "
+"using the <literal>refresh()</literal> method. This is useful when database "
+"triggers are used to initialize some of the properties of the object."
+msgstr ""
+"<literal>refresh()</literal> ã¡ã½ããã使ããã¨ã§ãã©ããªã¨ãã§ãããªãã¸ã§ã¯"
+"ãããã®ã³ã¬ã¯ã·ã§ã³ã ãªãã¼ããããã¨ãã§ãã¾ãã ãã¼ã¿ãã¼ã¹ã®ããªã¬ã"
+"ãã¼ãã«ãæ´æ°ããéã«ã ãã®ãã¼ãã«ã«å¯¾å¿ãããªãã¸ã§ã¯ãã®ããããã£ãåæ"
+"ããå ´åããã®ã¡ã½ãããå½¹ã«ç«ã¡ã¾ãã"
-#: index.docbook:207
+#. Tag: programlisting
+#: session_api.xml:207
+#, no-c-format
msgid ""
- "<![CDATA[sess.save(cat);\n"
- "sess.flush(); //force the SQL INSERT\n"
- "sess.refresh(cat); //re-read the state (after the trigger executes)]]>"
-msgstr "<title>ã¯ã¨ãª</title>"
+"<![CDATA[sess.save(cat);\n"
+"sess.flush(); //force the SQL INSERT\n"
+"sess.refresh(cat); //re-read the state (after the trigger executes)]]>"
+msgstr ""
-#: index.docbook:209
-msgid "An important question usually appears at this point: How much does Hibernate load from the database and how many SQL <literal>SELECT</literal>s will it use? This depends on the <emphasis>fetching strategy</emphasis> and is explained in <xref linkend=\"performance-fetching\"/>."
-msgstr "æ¢ããããªãã¸ã§ã¯ãã®èå¥åãåãããªãå ´åã¯ãã¯ã¨ãªãå¿
è¦ã«ãªãã¾ãã Hibernateã¯ä½¿ããããã¦å¼·åãªãªãã¸ã§ã¯ãæåã®ã¯ã¨ãªè¨èª (HQL)ããµãã¼ããã¦ãã¾ãã ããã°ã©ã ã«ãã£ã¦ã¯ã¨ãªã使ã§ããããã«ãHibernateã¯æ´ç·´ãããCriteriaã¨Exampleã¯ã¨ãªæ©è½(QBCã¨QBEï¼ã ãµãã¼ããã¦ãã¾ããResultSetããªãã¸ã§ã¯ãã«å¤æããHibernateã®ãªãã·ã§ã³æ©è½ã使ããã¨ã§ã ãã¼ã¿ãã¼ã¹ã®ãã¤ãã£ããªSQLã§ã¯ã¨ãªã表ç¾ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:209
+#, no-c-format
+msgid ""
+"An important question usually appears at this point: How much does Hibernate "
+"load from the database and how many SQL <literal>SELECT</literal>s will it "
+"use? This depends on the <emphasis>fetching strategy</emphasis> and is "
+"explained in <xref linkend=\"performance-fetching\"/>."
+msgstr ""
+"大åãªåé¡ã¯ããã¤ã次ã®ç¹ã«é¢ãããã®ã§ããããã¯ãHibernateããã¼ã¿ãã¼ã¹ã"
+"ãã ã©ã®ãããã®éã復å
ããã®ãã¨ãã©ã®ãããã®æ°ã®SQLã® <literal>SELECT</"
+"literal> æã使ãããã®ãã§ãã ããã¯ã <emphasis>ãã§ããã®æ¦ç¥</emphasis> "
+"ã«ããã¾ããããã«ã¤ãã¦ã¯ã<xref linkend=\"performance-fetching\"/> ã§èª¬æã"
+"ã¦ãã¾ãã"
-#: index.docbook:219
+#. Tag: title
+#: session_api.xml:219
+#, no-c-format
msgid "Querying"
-msgstr "ã¯ã¨ãªã®å®è¡"
+msgstr "ã¯ã¨ãª"
-#: index.docbook:221
-msgid "If you don't know the identifiers of the objects you are looking for, you need a query. Hibernate supports an easy-to-use but powerful object oriented query language (HQL). For programmatic query creation, Hibernate supports a sophisticated Criteria and Example query feature (QBC and QBE). You may also express your query in the native SQL of your database, with optional support from Hibernate for result set conversion into objects."
-msgstr "HQLããã¤ãã£ããªSQLã¯ã¨ãªã¯ã <literal>org.hibernate.Query</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦è¡¨ç¾ããã¾ãã ãã®ã¤ã³ã¿ãã§ã¼ã¹ã¯ããã©ã¡ã¼ã¿ãã¤ã³ãã£ã³ã°ãResultSetã®ãã³ããªã³ã°ã ã¯ã¨ãªã®å®è¡ãè¡ãã¡ã½ãããç¨æãã¦ãã¾ãã é常ã <literal>Query</literal> ã¯ã以ä¸ã«ç¤ºãããã«ã ãã®æç¹ã® <literal>Session</literal> ã使ã£ã¦åå¾ãã¾ãã"
+#. Tag: para
+#: session_api.xml:221
+#, no-c-format
+msgid ""
+"If you don't know the identifiers of the objects you are looking for, you "
+"need a query. Hibernate supports an easy-to-use but powerful object oriented "
+"query language (HQL). For programmatic query creation, Hibernate supports a "
+"sophisticated Criteria and Example query feature (QBC and QBE). You may also "
+"express your query in the native SQL of your database, with optional support "
+"from Hibernate for result set conversion into objects."
+msgstr ""
+"æ¢ããããªãã¸ã§ã¯ãã®èå¥åãåãããªãå ´åã¯ãã¯ã¨ãªãå¿
è¦ã«ãªãã¾ãã "
+"Hibernateã¯ä½¿ããããã¦å¼·åãªãªãã¸ã§ã¯ãæåã®ã¯ã¨ãªè¨èª (HQL)ããµãã¼ããã¦"
+"ãã¾ãã ããã°ã©ã ã«ãã£ã¦ã¯ã¨ãªã使ã§ããããã«ãHibernateã¯æ´ç·´ããã"
+"Criteriaã¨Exampleã¯ã¨ãªæ©è½(QBCã¨QBEï¼ã ãµãã¼ããã¦ãã¾ããResultSetããªã"
+"ã¸ã§ã¯ãã«å¤æããHibernateã®ãªãã·ã§ã³æ©è½ã使ããã¨ã§ã ãã¼ã¿ãã¼ã¹ã®ãã¤"
+"ãã£ããªSQLã§ã¯ã¨ãªã表ç¾ãããã¨ãã§ãã¾ãã"
-#: index.docbook:231
+#. Tag: title
+#: session_api.xml:231
+#, no-c-format
msgid "Executing queries"
+msgstr "ã¯ã¨ãªã®å®è¡"
+
+#. Tag: para
+#: session_api.xml:233
+#, no-c-format
+msgid ""
+"HQL and native SQL queries are represented with an instance of <literal>org."
+"hibernate.Query</literal>. This interface offers methods for parameter "
+"binding, result set handling, and for the execution of the actual query. You "
+"always obtain a <literal>Query</literal> using the current <literal>Session</"
+"literal>:"
msgstr ""
- "<![CDATA[List cats = session.createQuery(
-\n"
- " \"from Cat as cat where cat.birthdate < ?\")
-\n"
- " .setDate(0, date)
-\n"
- " .list();
-\n"
- "
-\n"
- "List mothers = session.createQuery(
-\n"
- " \"select mother from Cat as cat join cat.mother as mother where cat.name = ?\")
-\n"
- " .setString(0, name)
-\n"
- " .list();
-\n"
- "
-\n"
- "List kittens = session.createQuery(
-\n"
- " \"from Cat as cat where cat.mother = ?\")
-\n"
- " .setEntity(0, pk)
-\n"
- " .list();
-\n"
- "
-\n"
- "Cat mother = (Cat) session.createQuery(
-\n"
- " \"select cat.mother from Cat as cat where cat = ?\")
-\n"
- " .setEntity(0, izi)
-\n"
- " .uniqueResult();]]
-\n"
- "
-\n"
- "Query mothersWithKittens = (Cat) session.createQuery(
-\n"
- " \"select mother from Cat as mother left join fetch mother.kittens\");
-\n"
- "Set uniqueMothers = new HashSet(mothersWithKittens.list());
-\n"
- "
-\n"
- " ]]>"
+"HQLããã¤ãã£ããªSQLã¯ã¨ãªã¯ã <literal>org.hibernate.Query</literal> ã®ã¤ã³"
+"ã¹ã¿ã³ã¹ã¨ãã¦è¡¨ç¾ããã¾ãã ãã®ã¤ã³ã¿ãã§ã¼ã¹ã¯ããã©ã¡ã¼ã¿ãã¤ã³ãã£ã³ã°ã"
+"ResultSetã®ãã³ããªã³ã°ã ã¯ã¨ãªã®å®è¡ãè¡ãã¡ã½ãããç¨æãã¦ãã¾ãã é"
+"常ã <literal>Query</literal> ã¯ã以ä¸ã«ç¤ºãããã«ã ãã®æç¹ã® "
+"<literal>Session</literal> ã使ã£ã¦åå¾ãã¾ãã"
-#: index.docbook:233
-msgid "HQL and native SQL queries are represented with an instance of <literal>org.hibernate.Query</literal>. This interface offers methods for parameter binding, result set handling, and for the execution of the actual query. You always obtain a <literal>Query</literal> using the current <literal>Session</literal>:"
-msgstr "ã¯ã¨ãªã¯ãæ®éã <literal>list()</literal> ãå¼ã³åºããã¨ã«ãã£ã¦å®è¡ããã¾ãã ã¯ã¨ãªã®çµæã¯ãã¡ã¢ãªä¸ã«ããã³ã¬ã¯ã·ã§ã³ã«ãã¹ã¦ãã¼ãããã¾ãã ã¯ã¨ãªã«ãã£ã¦å¾©å
ãããã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãæ°¸ç¶ç¶æ
ã§ãã ãããã¯ã¨ãªããã£ã1åã®ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¨åãã£ã¦ãããªãã <literal>uniqueResult()</literal> ã¡ã½ãããæã£åãæ©ãæ¹æ³ã§ãã 峿ãã§ãããå©ç¨ããã¯ã¨ãªã®å ´åããµã¤ããå¾ãããã³ã¬ã¯ã·ã§ã³ã«ã¯ã ã«ã¼ãã®ãªãã¸ã§ã¯ããéè¤ãã¦å«ã¾ãã¦ãã¾ã ï¼ããããã«ã¼ããæã¤ã³ã¬ã¯ã·ã§ã³ã¯åæå(ãã¼ãï¼ããã¦ãã¾ãï¼ã ãã®éè¤ã¯ <literal>Set</literal> ã使ã£ã¦åãé¤ããã¨ãã§ãã¾ãã"
+#. Tag: programlisting
+#: session_api.xml:240
+#, no-c-format
+msgid ""
+"<![CDATA[List cats = session.createQuery(\n"
+" \"from Cat as cat where cat.birthdate < ?\")\n"
+" .setDate(0, date)\n"
+" .list();\n"
+"\n"
+"List mothers = session.createQuery(\n"
+" \"select mother from Cat as cat join cat.mother as mother where cat.name "
+"= ?\")\n"
+" .setString(0, name)\n"
+" .list();\n"
+"\n"
+"List kittens = session.createQuery(\n"
+" \"from Cat as cat where cat.mother = ?\")\n"
+" .setEntity(0, pk)\n"
+" .list();\n"
+"\n"
+"Cat mother = (Cat) session.createQuery(\n"
+" \"select cat.mother from Cat as cat where cat = ?\")\n"
+" .setEntity(0, izi)\n"
+" .uniqueResult();]]\n"
+"\n"
+"Query mothersWithKittens = (Cat) session.createQuery(\n"
+" \"select mother from Cat as mother left join fetch mother.kittens\");\n"
+"Set uniqueMothers = new HashSet(mothersWithKittens.list());]]>"
+msgstr ""
-#: index.docbook:240
+#. Tag: para
+#: session_api.xml:242
+#, no-c-format
msgid ""
- "<![CDATA[List cats = session.createQuery(\n"
- " \"from Cat as cat where cat.birthdate < ?\")\n"
- " .setDate(0, date)\n"
- " .list();\n"
- "\n"
- "List mothers = session.createQuery(\n"
- " \"select mother from Cat as cat join cat.mother as mother where cat.name = ?\")\n"
- " .setString(0, name)\n"
- " .list();\n"
- "\n"
- "List kittens = session.createQuery(\n"
- " \"from Cat as cat where cat.mother = ?\")\n"
- " .setEntity(0, pk)\n"
- " .list();\n"
- "\n"
- "Cat mother = (Cat) session.createQuery(\n"
- " \"select cat.mother from Cat as cat where cat = ?\")\n"
- " .setEntity(0, izi)\n"
- " .uniqueResult();]]\n"
- "\n"
- "Query mothersWithKittens = (Cat) session.createQuery(\n"
- " \"select mother from Cat as mother left join fetch mother.kittens\");\n"
- "Set uniqueMothers = new HashSet(mothersWithKittens.list());]]>"
+"A query is usually executed by invoking <literal>list()</literal>, the "
+"result of the query will be loaded completely into a collection in memory. "
+"Entity instances retrieved by a query are in persistent state. The "
+"<literal>uniqueResult()</literal> method offers a shortcut if you know your "
+"query will only return a single object. Note that queries that make use of "
+"eager fetching of collections usually return duplicates of the root objects "
+"(but with their collections initialized). You can filter these duplicates "
+"simply through a <literal>Set</literal>."
+msgstr ""
+"ã¯ã¨ãªã¯ãæ®éã <literal>list()</literal> ãå¼ã³åºããã¨ã«ãã£ã¦å®è¡ããã¾"
+"ãã ã¯ã¨ãªã®çµæã¯ãã¡ã¢ãªä¸ã«ããã³ã¬ã¯ã·ã§ã³ã«ãã¹ã¦ãã¼ãããã¾ãã ã¯ã¨"
+"ãªã«ãã£ã¦å¾©å
ãããã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãæ°¸ç¶ç¶æ
ã§ãã ãããã¯ã¨ãª"
+"ããã£ã1åã®ã¤ã³ã¹ã¿ã³ã¹ãè¿ãã¨åãã£ã¦ãããªãã <literal>uniqueResult()</"
+"literal> ã¡ã½ãããæã£åãæ©ãæ¹æ³ã§ãã 峿ãã§ãããå©ç¨ããã¯ã¨ãªã®å ´"
+"åããµã¤ããå¾ãããã³ã¬ã¯ã·ã§ã³ã«ã¯ã ã«ã¼ãã®ãªãã¸ã§ã¯ããéè¤ãã¦å«ã¾ãã¦"
+"ãã¾ã ï¼ããããã«ã¼ããæã¤ã³ã¬ã¯ã·ã§ã³ã¯åæå(ãã¼ãï¼ããã¦ãã¾ãï¼ã ã"
+"ã®éè¤ã¯ <literal>Set</literal> ã使ã£ã¦åãé¤ããã¨ãã§ãã¾ãã"
+
+#. Tag: title
+#: session_api.xml:254
+#, no-c-format
+msgid "Iterating results"
msgstr "çµæãã¤ãã¬ã¼ããã"
-#: index.docbook:242
-msgid "A query is usually executed by invoking <literal>list()</literal>, the result of the query will be loaded completely into a collection in memory. Entity instances retrieved by a query are in persistent state. The <literal>uniqueResult()</literal> method offers a shortcut if you know your query will only return a single object. Note that queries that make use of eager fetching of collections usually return duplicates of the root objects (but with their collections initialized). You can filter these duplicates simply through a <literal>Set</literal>."
-msgstr "æã
ã <literal>iterate()</literal> ã¡ã½ããã使ã£ã¦ã¯ã¨ãªãå®è¡ãããã¨ã§ã ããè¯ãããã©ã¼ãã³ã¹ãå¾ããã¨ãã§ãã¾ãã ããã¯ãé常ãã¯ã¨ãªã«ãã£ã¦å¾ãããå®éã®ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãã ãã§ã«ã»ãã·ã§ã³ã¾ãã¯äºæ¬¡ãã£ãã·ã¥ã«åå¨ãããã¨ãæå¾
ã§ããå ´åã ãã§ãã ãããããã¾ã ãã£ãã·ã¥ããã¦ããªããªãã <literal>iterate()</literal> ã¯ã <literal>list()</literal> ãããé
ããç°¡åãªã¯ã¨ãªã«å¯¾ãã¦ãå¤ãã®ãã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã å¿
è¦ã¨ãã¾ãããã®ã¢ã¯ã»ã¹ã¨ã¯ãèå¥åã ããåå¾ããããã®æåã®selectï¼åã¨ã å®éã®ã¤ã³ã¹ã¿ã³ã¹ãåæåããããã«å¾ããè¡ãnåã®selectã®ãã¨ã§ãã"
+#. Tag: para
+#: session_api.xml:256
+#, no-c-format
+msgid ""
+"Occasionally, you might be able to achieve better performance by executing "
+"the query using the <literal>iterate()</literal> method. This will only "
+"usually be the case if you expect that the actual entity instances returned "
+"by the query will already be in the session or second-level cache. If they "
+"are not already cached, <literal>iterate()</literal> will be slower than "
+"<literal>list()</literal> and might require many database hits for a simple "
+"query, usually <emphasis>1</emphasis> for the initial select which only "
+"returns identifiers, and <emphasis>n</emphasis> additional selects to "
+"initialize the actual instances."
+msgstr ""
+"æã
ã <literal>iterate()</literal> ã¡ã½ããã使ã£ã¦ã¯ã¨ãªãå®è¡ãããã¨ã§ã "
+"ããè¯ãããã©ã¼ãã³ã¹ãå¾ããã¨ãã§ãã¾ãã ããã¯ãé常ãã¯ã¨ãªã«ãã£ã¦å¾ã"
+"ããå®éã®ã¨ã³ãã£ãã£ã®ã¤ã³ã¹ã¿ã³ã¹ãã ãã§ã«ã»ãã·ã§ã³ã¾ãã¯äºæ¬¡ãã£ãã·ã¥"
+"ã«åå¨ãããã¨ãæå¾
ã§ããå ´åã ãã§ãã ãããããã¾ã ãã£ãã·ã¥ããã¦ããªã"
+"ãªãã <literal>iterate()</literal> ã¯ã <literal>list()</literal> ãããé
"
+"ããç°¡åãªã¯ã¨ãªã«å¯¾ãã¦ãå¤ãã®ãã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã å¿
è¦ã¨ãã¾ãããã®ã¢ã¯"
+"ã»ã¹ã¨ã¯ãèå¥åã ããåå¾ããããã®æåã®selectï¼åã¨ã å®éã®ã¤ã³ã¹ã¿ã³ã¹ã"
+"åæåããããã«å¾ããè¡ãnåã®selectã®ãã¨ã§ãã"
-#: index.docbook:254
-msgid "Iterating results"
+#. Tag: programlisting
+#: session_api.xml:268
+#, no-c-format
+msgid ""
+"<![CDATA[// fetch ids\n"
+"Iterator iter = sess.createQuery(\"from eg.Qux q order by q.likeliness\")."
+"iterate();\n"
+"while ( iter.hasNext() ) {\n"
+" Qux qux = (Qux) iter.next(); // fetch the object\n"
+" // something we couldnt express in the query\n"
+" if ( qux.calculateComplicatedAlgorithm() ) {\n"
+" // delete the current instance\n"
+" iter.remove();\n"
+" // dont need to process the rest\n"
+" break;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[// fetch ids
-\n"
- "Iterator iter = sess.createQuery(\"from eg.Qux q order by q.likeliness\").iterate();
-\n"
- "while ( iter.hasNext() ) {
-\n"
- " Qux qux = (Qux) iter.next(); // fetch the object
-\n"
- " // something we couldnt express in the query
-\n"
- " if ( qux.calculateComplicatedAlgorithm() ) {
-\n"
- " // delete the current instance
-\n"
- " iter.remove();
-\n"
- " // dont need to process the rest
-\n"
- " break;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:256
-msgid "Occasionally, you might be able to achieve better performance by executing the query using the <literal>iterate()</literal> method. This will only usually be the case if you expect that the actual entity instances returned by the query will already be in the session or second-level cache. If they are not already cached, <literal>iterate()</literal> will be slower than <literal>list()</literal> and might require many database hits for a simple query, usually <emphasis>1</emphasis> for the initial select which only returns identifiers, and <emphasis>n</emphasis> additional selects to initialize the actual instances."
+#. Tag: title
+#: session_api.xml:272
+#, no-c-format
+msgid "Queries that return tuples"
msgstr "ãªãã¸ã§ã¯ãã®çµï¼tupleï¼ãè¿ãã¯ã¨ãª"
-#: index.docbook:268
+#. Tag: para
+#: session_api.xml:274
+#, no-c-format
msgid ""
- "<![CDATA[// fetch ids\n"
- "Iterator iter = sess.createQuery(\"from eg.Qux q order by q.likeliness\").iterate();\n"
- "while ( iter.hasNext() ) {\n"
- " Qux qux = (Qux) iter.next(); // fetch the object\n"
- " // something we couldnt express in the query\n"
- " if ( qux.calculateComplicatedAlgorithm() ) {\n"
- " // delete the current instance\n"
- " iter.remove();\n"
- " // dont need to process the rest\n"
- " break;\n"
- " }\n"
- "}]]>"
-msgstr "Hibernateã®ã¯ã¨ãªã§ã¯ãæã
ããªãã¸ã§ã¯ãã®çµãè¿ããã¨ãããã¾ãã ãã®å ´åã¯ãåã¿ãã«ã¯é
åã¨ãã¦è¿ããã¾ãã"
+"Hibernate queries sometimes return tuples of objects, in which case each "
+"tuple is returned as an array:"
+msgstr ""
+"Hibernateã®ã¯ã¨ãªã§ã¯ãæã
ããªãã¸ã§ã¯ãã®çµãè¿ããã¨ãããã¾ãã ãã®å ´å"
+"ã¯ãåã¿ãã«ã¯é
åã¨ãã¦è¿ããã¾ãã"
-#: index.docbook:272
-msgid "Queries that return tuples"
+#. Tag: programlisting
+#: session_api.xml:279
+#, no-c-format
+msgid ""
+"<![CDATA[Iterator kittensAndMothers = sess.createQuery(\n"
+" \"select kitten, mother from Cat kitten join kitten.mother mother"
+"\")\n"
+" .list()\n"
+" .iterator();\n"
+"\n"
+"while ( kittensAndMothers.hasNext() ) {\n"
+" Object[] tuple = (Object[]) kittensAndMothers.next();\n"
+" Cat kitten = (Cat) tuple[0];\n"
+" Cat mother = (Cat) tuple[1];\n"
+" ....\n"
+"}]]>"
msgstr ""
- "<![CDATA[Iterator kittensAndMothers = sess.createQuery(
-\n"
- " \"select kitten, mother from Cat kitten join kitten.mother mother\")
-\n"
- " .list()
-\n"
- " .iterator();
-\n"
- "
-\n"
- "while ( kittensAndMothers.hasNext() ) {
-\n"
- " Object[] tuple = (Object[]) kittensAndMothers.next();
-\n"
- " Cat kitten = (Cat) tuple[0];
-\n"
- " Cat mother = (Cat) tuple[1];
-\n"
- " ....
-\n"
- "}]]>"
-#: index.docbook:274
-msgid "Hibernate queries sometimes return tuples of objects, in which case each tuple is returned as an array:"
+#. Tag: title
+#: session_api.xml:284
+#, no-c-format
+msgid "Scalar results"
msgstr "ã¹ã«ã©ã¼ã®çµæ"
-#: index.docbook:279
+#. Tag: para
+#: session_api.xml:286
+#, no-c-format
msgid ""
- "<![CDATA[Iterator kittensAndMothers = sess.createQuery(\n"
- " \"select kitten, mother from Cat kitten join kitten.mother mother\")\n"
- " .list()\n"
- " .iterator();\n"
- "\n"
- "while ( kittensAndMothers.hasNext() ) {\n"
- " Object[] tuple = (Object[]) kittensAndMothers.next();\n"
- " Cat kitten = (Cat) tuple[0];\n"
- " Cat mother = (Cat) tuple[1];\n"
- " ....\n"
- "}]]>"
-msgstr "ã¯ã¨ãªã§ã¯ã <literal>select</literal> ç¯ã§ã¯ã©ã¹ã®ããããã£ãæå®ã§ãã¾ãã SQLã®éå颿°ãå¼ã¶ãã¨ãã§ãã¾ããããããã£ãéå颿°ã¯ã ï¼æ°¸ç¶ç¶æ
ã®ã¨ã³ãã£ãã£ã§ã¯ãªãï¼ãã¹ã«ã©ã¼å¤ãã§ããã¨è¦ãªããã¾ãã"
+"Queries may specify a property of a class in the <literal>select</literal> "
+"clause. They may even call SQL aggregate functions. Properties or aggregates "
+"are considered \"scalar\" results (and not entities in persistent state)."
+msgstr ""
+"ã¯ã¨ãªã§ã¯ã <literal>select</literal> ç¯ã§ã¯ã©ã¹ã®ããããã£ãæå®ã§ãã¾"
+"ãã SQLã®éå颿°ãå¼ã¶ãã¨ãã§ãã¾ããããããã£ãéå颿°ã¯ã ï¼æ°¸ç¶ç¶æ
ã®"
+"ã¨ã³ãã£ãã£ã§ã¯ãªãï¼ãã¹ã«ã©ã¼å¤ãã§ããã¨è¦ãªããã¾ãã"
-#: index.docbook:284
-msgid "Scalar results"
+#. Tag: programlisting
+#: session_api.xml:292
+#, no-c-format
+msgid ""
+"<![CDATA[Iterator results = sess.createQuery(\n"
+" \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" "
+"+\n"
+" \"group by cat.color\")\n"
+" .list()\n"
+" .iterator();\n"
+"\n"
+"while ( results.hasNext() ) {\n"
+" Object[] row = (Object[]) results.next();\n"
+" Color type = (Color) row[0];\n"
+" Date oldest = (Date) row[1];\n"
+" Integer count = (Integer) row[2];\n"
+" .....\n"
+"}]]>"
msgstr ""
- "<![CDATA[Iterator results = sess.createQuery(
-\n"
- " \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" +
-\n"
- " \"group by cat.color\")
-\n"
- " .list()
-\n"
- " .iterator();
-\n"
- "
-\n"
- "while ( results.hasNext() ) {
-\n"
- " Object[] row = (Object[]) results.next();
-\n"
- " Color type = (Color) row[0];
-\n"
- " Date oldest = (Date) row[1];
-\n"
- " Integer count = (Integer) row[2];
-\n"
- " .....
-\n"
- "}]]>"
-#: index.docbook:286
-msgid "Queries may specify a property of a class in the <literal>select</literal> clause. They may even call SQL aggregate functions. Properties or aggregates are considered \"scalar\" results (and not entities in persistent state)."
+#. Tag: title
+#: session_api.xml:297
+#, no-c-format
+msgid "Bind parameters"
msgstr "ãã©ã¡ã¼ã¿ã®ãã¤ã³ã"
-#: index.docbook:292
+#. Tag: para
+#: session_api.xml:299
+#, no-c-format
msgid ""
- "<![CDATA[Iterator results = sess.createQuery(\n"
- " \"select cat.color, min(cat.birthdate), count(cat) from Cat cat \" +\n"
- " \"group by cat.color\")\n"
- " .list()\n"
- " .iterator();\n"
- "\n"
- "while ( results.hasNext() ) {\n"
- " Object[] row = (Object[]) results.next();\n"
- " Color type = (Color) row[0];\n"
- " Date oldest = (Date) row[1];\n"
- " Integer count = (Integer) row[2];\n"
- " .....\n"
- "}]]>"
-msgstr "<literal>Query</literal> ã¯ãååä»ãã®ãã©ã¡ã¼ã¿ãJDBCã¹ã¿ã¤ã«ã® <literal>?</literal> ãã©ã¡ã¼ã¿ã«å¤ããã¤ã³ãããããã®ã¡ã½ãããæã£ã¦ãã¾ãã <emphasis>JDBCã¨ã¯éããHibernateã¯ãã©ã¡ã¼ã¿ã«ã¼ãããçªå·ãæ¯ã£ã¦ããã¾ãã</emphasis> ååä»ãã®ãã©ã¡ã¼ã¿ã¨ã¯ãã¯ã¨ãªæååã®ãªãã«ãã <literal>:name</literal> å½¢å¼ã®èå¥åã§ãã ååä»ããã©ã¡ã¼ã¿ã®å©ç¹ã¯æ¬¡ã®éãã§ãã"
+"Methods on <literal>Query</literal> are provided for binding values to named "
+"parameters or JDBC-style <literal>?</literal> parameters. <emphasis>Contrary "
+"to JDBC, Hibernate numbers parameters from zero.</emphasis> Named parameters "
+"are identifiers of the form <literal>:name</literal> in the query string. "
+"The advantages of named parameters are:"
+msgstr ""
+"<literal>Query</literal> ã¯ãååä»ãã®ãã©ã¡ã¼ã¿ãJDBCã¹ã¿ã¤ã«ã® <literal>?"
+"</literal> ãã©ã¡ã¼ã¿ã«å¤ããã¤ã³ãããããã®ã¡ã½ãããæã£ã¦ãã¾ãã "
+"<emphasis>JDBCã¨ã¯éããHibernateã¯ãã©ã¡ã¼ã¿ã«ã¼ãããçªå·ãæ¯ã£ã¦ããã¾ãã"
+"</emphasis> ååä»ãã®ãã©ã¡ã¼ã¿ã¨ã¯ãã¯ã¨ãªæååã®ãªãã«ãã <literal>:"
+"name</literal> å½¢å¼ã®èå¥åã§ãã ååä»ããã©ã¡ã¼ã¿ã®å©ç¹ã¯æ¬¡ã®éãã§ãã"
-#: index.docbook:297
-msgid "Bind parameters"
+#. Tag: para
+#: session_api.xml:309
+#, no-c-format
+msgid ""
+"named parameters are insensitive to the order they occur in the query string"
msgstr "ååä»ããã©ã¡ã¼ã¿ã¯ãã¯ã¨ãªæååã«ç»å ´ããé çªã¨ç¡é¢ä¿ã§ã"
-#: index.docbook:299
-msgid "Methods on <literal>Query</literal> are provided for binding values to named parameters or JDBC-style <literal>?</literal> parameters. <emphasis>Contrary to JDBC, Hibernate numbers parameters from zero.</emphasis> Named parameters are identifiers of the form <literal>:name</literal> in the query string. The advantages of named parameters are:"
+#. Tag: para
+#: session_api.xml:315
+#, no-c-format
+msgid "they may occur multiple times in the same query"
msgstr "åãã¯ã¨ãªå
ã«è¤æ°åç»å ´ãããã¨ãã§ãã¾ã"
-#: index.docbook:309
-msgid "named parameters are insensitive to the order they occur in the query string"
+#. Tag: para
+#: session_api.xml:320
+#, no-c-format
+msgid "they are self-documenting"
msgstr "èªåèªèº«ã説æãã¾ã"
-#: index.docbook:315
-msgid "they may occur multiple times in the same query"
+#. Tag: programlisting
+#: session_api.xml:326
+#, no-c-format
+msgid ""
+"<![CDATA[//named parameter (preferred)\n"
+"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = :name"
+"\");\n"
+"q.setString(\"name\", \"Fritz\");\n"
+"Iterator cats = q.iterate();]]>"
msgstr ""
- "<![CDATA[//named parameter (preferred)
-\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name = :name\");
-\n"
- "q.setString(\"name\", \"Fritz\");
-\n"
- "Iterator cats = q.iterate();]]>"
-#: index.docbook:320
-msgid "they are self-documenting"
+#. Tag: programlisting
+#: session_api.xml:328
+#, no-c-format
+msgid ""
+"<![CDATA[//positional parameter\n"
+"Query q = sess.createQuery(\"from DomesticCat cat where cat.name = ?\");\n"
+"q.setString(0, \"Izi\");\n"
+"Iterator cats = q.iterate();]]>"
msgstr ""
- "<![CDATA[//positional parameter
-\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name = ?\");
-\n"
- "q.setString(0, \"Izi\");
-\n"
- "Iterator cats = q.iterate();]]>"
-#: index.docbook:326
+#. Tag: programlisting
+#: session_api.xml:330
+#, no-c-format
msgid ""
- "<![CDATA[//named parameter (preferred)\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name = :name\");\n"
- "q.setString(\"name\", \"Fritz\");\n"
- "Iterator cats = q.iterate();]]>"
+"<![CDATA[//named parameter list\n"
+"List names = new ArrayList();\n"
+"names.add(\"Izi\");\n"
+"names.add(\"Fritz\");\n"
+"Query q = sess.createQuery(\"from DomesticCat cat where cat.name in (:"
+"namesList)\");\n"
+"q.setParameterList(\"namesList\", names);\n"
+"List cats = q.list();]]>"
msgstr ""
- "<![CDATA[//named parameter list
-\n"
- "List names = new ArrayList();
-\n"
- "names.add(\"Izi\");
-\n"
- "names.add(\"Fritz\");
-\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name in (:namesList)\");
-\n"
- "q.setParameterList(\"namesList\", names);
-\n"
- "List cats = q.list();]]>"
-#: index.docbook:328
-msgid ""
- "<![CDATA[//positional parameter\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name = ?\");\n"
- "q.setString(0, \"Izi\");\n"
- "Iterator cats = q.iterate();]]>"
+#. Tag: title
+#: session_api.xml:335
+#, no-c-format
+msgid "Pagination"
msgstr "ãã¼ã¸åã"
-#: index.docbook:330
+#. Tag: para
+#: session_api.xml:337
+#, no-c-format
msgid ""
- "<![CDATA[//named parameter list\n"
- "List names = new ArrayList();\n"
- "names.add(\"Izi\");\n"
- "names.add(\"Fritz\");\n"
- "Query q = sess.createQuery(\"from DomesticCat cat where cat.name in (:namesList)\");\n"
- "q.setParameterList(\"namesList\", names);\n"
- "List cats = q.list();]]>"
-msgstr "ResultSetã«å¶éï¼å¾©å
ãããæå¤§è¡æ°ã復å
ãããæåã®è¡ï¼ãå ããå¿
è¦ãããã°ã 以ä¸ã®ããã«ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¡ã½ããã使ãã¾ãã"
+"If you need to specify bounds upon your result set (the maximum number of "
+"rows you want to retrieve and / or the first row you want to retrieve) you "
+"should use methods of the <literal>Query</literal> interface:"
+msgstr ""
+"ResultSetã«å¶éï¼å¾©å
ãããæå¤§è¡æ°ã復å
ãããæåã®è¡ï¼ãå ããå¿
è¦ããã"
+"ã°ã 以ä¸ã®ããã«ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¡ã½ããã使ã"
+"ã¾ãã"
-#: index.docbook:335
-msgid "Pagination"
+#. Tag: programlisting
+#: session_api.xml:343
+#, no-c-format
+msgid ""
+"<![CDATA[Query q = sess.createQuery(\"from DomesticCat cat\");\n"
+"q.setFirstResult(20);\n"
+"q.setMaxResults(10);\n"
+"List cats = q.list();]]>"
msgstr ""
- "<![CDATA[Query q = sess.createQuery(\"from DomesticCat cat\");
-\n"
- "q.setFirstResult(20);
-\n"
- "q.setMaxResults(10);
-\n"
- "List cats = q.list();]]>"
-#: index.docbook:337
-msgid "If you need to specify bounds upon your result set (the maximum number of rows you want to retrieve and / or the first row you want to retrieve) you should use methods of the <literal>Query</literal> interface:"
-msgstr "å¶éä»ãã®ã¯ã¨ãªãDBMSã®ãã¤ãã£ããªSQLã«å¤æããæ¹æ³ããHibernateã¯ç¥ã£ã¦ãã¾ãã"
+#. Tag: para
+#: session_api.xml:345
+#, no-c-format
+msgid ""
+"Hibernate knows how to translate this limit query into the native SQL of "
+"your DBMS."
+msgstr ""
+"å¶éä»ãã®ã¯ã¨ãªãDBMSã®ãã¤ãã£ããªSQLã«å¤æããæ¹æ³ããHibernateã¯ç¥ã£ã¦ã"
+"ã¾ãã"
-#: index.docbook:343
-msgid ""
- "<![CDATA[Query q = sess.createQuery(\"from DomesticCat cat\");\n"
- "q.setFirstResult(20);\n"
- "q.setMaxResults(10);\n"
- "List cats = q.list();]]>"
+#. Tag: title
+#: session_api.xml:353
+#, no-c-format
+msgid "Scrollable iteration"
msgstr "ã¹ã¯ãã¼ã«å¯è½ãªã¤ãã¬ã¼ã·ã§ã³"
-#: index.docbook:345
-msgid "Hibernate knows how to translate this limit query into the native SQL of your DBMS."
-msgstr "JDBCãã©ã¤ããã¹ã¯ãã¼ã«å¯è½ãª <literal>ResultSet</literal> ããµãã¼ããã¦ããã°ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ã <literal>ScrollableResults</literal> ãªãã¸ã§ã¯ãã åå¾ã§ãã¾ããããã使ãã¨ãã¯ã¨ãªã®çµæã«å¯¾ãã¦æè»ã«ããã²ã¼ã·ã§ã³ã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:355
+#, no-c-format
+msgid ""
+"If your JDBC driver supports scrollable <literal>ResultSet</literal>s, the "
+"<literal>Query</literal> interface may be used to obtain a "
+"<literal>ScrollableResults</literal> object, which allows flexible "
+"navigation of the query results."
+msgstr ""
+"JDBCãã©ã¤ããã¹ã¯ãã¼ã«å¯è½ãª <literal>ResultSet</literal> ããµãã¼ããã¦ã"
+"ãã°ã <literal>Query</literal> ã¤ã³ã¿ã¼ãã§ã¤ã¹ã使ã£ã¦ã "
+"<literal>ScrollableResults</literal> ãªãã¸ã§ã¯ãã åå¾ã§ãã¾ããããã使ã"
+"ã¨ãã¯ã¨ãªã®çµæã«å¯¾ãã¦æè»ã«ããã²ã¼ã·ã§ã³ã§ãã¾ãã"
-#: index.docbook:353
-msgid "Scrollable iteration"
+#. Tag: programlisting
+#: session_api.xml:362
+#, no-c-format
+msgid ""
+"<![CDATA[Query q = sess.createQuery(\"select cat.name, cat from DomesticCat "
+"cat \" +\n"
+" \"order by cat.name\");\n"
+"ScrollableResults cats = q.scroll();\n"
+"if ( cats.first() ) {\n"
+"\n"
+" // find the first name on each page of an alphabetical list of cats by "
+"name\n"
+" firstNamesOfPages = new ArrayList();\n"
+" do {\n"
+" String name = cats.getString(0);\n"
+" firstNamesOfPages.add(name);\n"
+" }\n"
+" while ( cats.scroll(PAGE_SIZE) );\n"
+"\n"
+" // Now get the first page of cats\n"
+" pageOfCats = new ArrayList();\n"
+" cats.beforeFirst();\n"
+" int i=0;\n"
+" while( ( PAGE_SIZE > i++ ) && cats.next() ) pageOfCats.add( cats.get"
+"(1) );\n"
+"\n"
+"}\n"
+"cats.close()]]>"
msgstr ""
- "<![CDATA[Query q = sess.createQuery(\"select cat.name, cat from DomesticCat cat \" +
-\n"
- " \"order by cat.name\");
-\n"
- "ScrollableResults cats = q.scroll();
-\n"
- "if ( cats.first() ) {
-\n"
- "
-\n"
- " // find the first name on each page of an alphabetical list of cats by name
-\n"
- " firstNamesOfPages = new ArrayList();
-\n"
- " do {
-\n"
- " String name = cats.getString(0);
-\n"
- " firstNamesOfPages.add(name);
-\n"
- " }
-\n"
- " while ( cats.scroll(PAGE_SIZE) );
-\n"
- "
-\n"
- " // Now get the first page of cats
-\n"
- " pageOfCats = new ArrayList();
-\n"
- " cats.beforeFirst();
-\n"
- " int i=0;
-\n"
- " while( ( PAGE_SIZE > i++ ) && cats.next() ) pageOfCats.add( cats.get(1) );
-\n"
- "
-\n"
- "}
-\n"
- "cats.close()]]>"
-#: index.docbook:355
-msgid "If your JDBC driver supports scrollable <literal>ResultSet</literal>s, the <literal>Query</literal> interface may be used to obtain a <literal>ScrollableResults</literal> object, which allows flexible navigation of the query results."
-msgstr "ãã®æ©è½ã«ã¯ãªã¼ãã³ç¶æ
ã®ãã¼ã¿ãã¼ã¹ã³ãã¯ã·ã§ã³ãå¿
è¦ã§ãããã¨ã«æ³¨æãã¦ãã ããã ããããªãã©ã¤ã³ã®ãã¼ã¸åãæ©è½ãå¿
è¦ã§ããã°ã <literal>setMaxResult()</literal> / <literal>setFirstResult()</literal> ã使ãã¾ãããã"
+#. Tag: para
+#: session_api.xml:364
+#, no-c-format
+msgid ""
+"Note that an open database connection (and cursor) is required for this "
+"functionality, use <literal>setMaxResult()</literal>/<literal>setFirstResult"
+"()</literal> if you need offline pagination functionality."
+msgstr ""
+"ãã®æ©è½ã«ã¯ãªã¼ãã³ç¶æ
ã®ãã¼ã¿ãã¼ã¹ã³ãã¯ã·ã§ã³ãå¿
è¦ã§ãããã¨ã«æ³¨æãã¦"
+"ãã ããã ããããªãã©ã¤ã³ã®ãã¼ã¸åãæ©è½ãå¿
è¦ã§ããã°ã "
+"<literal>setMaxResult()</literal> / <literal>setFirstResult()</literal> ã使"
+"ãã¾ãããã"
-#: index.docbook:362
-msgid ""
- "<![CDATA[Query q = sess.createQuery(\"select cat.name, cat from DomesticCat cat \" +\n"
- " \"order by cat.name\");\n"
- "ScrollableResults cats = q.scroll();\n"
- "if ( cats.first() ) {\n"
- "\n"
- " // find the first name on each page of an alphabetical list of cats by name\n"
- " firstNamesOfPages = new ArrayList();\n"
- " do {\n"
- " String name = cats.getString(0);\n"
- " firstNamesOfPages.add(name);\n"
- " }\n"
- " while ( cats.scroll(PAGE_SIZE) );\n"
- "\n"
- " // Now get the first page of cats\n"
- " pageOfCats = new ArrayList();\n"
- " cats.beforeFirst();\n"
- " int i=0;\n"
- " while( ( PAGE_SIZE > i++ ) && cats.next() ) pageOfCats.add( cats.get(1) );\n"
- "\n"
- "}\n"
- "cats.close()]]>"
+#. Tag: title
+#: session_api.xml:373
+#, no-c-format
+msgid "Externalizing named queries"
msgstr "ååä»ãã¯ã¨ãªã®å¤åºã"
-#: index.docbook:364
-msgid "Note that an open database connection (and cursor) is required for this functionality, use <literal>setMaxResult()</literal>/<literal>setFirstResult()</literal> if you need offline pagination functionality."
-msgstr "ãããã³ã°ããã¥ã¡ã³ãã«ååä»ãã®ã¯ã¨ãªãå®ç¾©ãããã¨ãã§ãã¾ãã ï¼ãã¼ã¯ã¢ããã¨è§£éãããæåãã¯ã¨ãªã«å«ã¾ãããªãã <literal>CDATA</literal> ã»ã¯ã·ã§ã³ã 使ããã¨ãå¿ããªãããã«ãã¾ããããï¼"
+#. Tag: para
+#: session_api.xml:375
+#, no-c-format
+msgid ""
+"You may also define named queries in the mapping document. (Remember to use "
+"a <literal>CDATA</literal> section if your query contains characters that "
+"could be interpreted as markup.)"
+msgstr ""
+"ãããã³ã°ããã¥ã¡ã³ãã«ååä»ãã®ã¯ã¨ãªãå®ç¾©ãããã¨ãã§ãã¾ãã ï¼ãã¼ã¯"
+"ã¢ããã¨è§£éãããæåãã¯ã¨ãªã«å«ã¾ãããªãã <literal>CDATA</literal> ã»ã¯"
+"ã·ã§ã³ã 使ããã¨ãå¿ããªãããã«ãã¾ããããï¼"
-#: index.docbook:373
-msgid "Externalizing named queries"
+#. Tag: programlisting
+#: session_api.xml:381
+#, no-c-format
+msgid ""
+"<![CDATA[<query name=\"ByNameAndMaximumWeight\"><![CDATA[\n"
+" from eg.DomesticCat as cat\n"
+" where cat.name = ?\n"
+" and cat.weight > ?\n"
+"] ]></query>]]>"
msgstr ""
- "<![CDATA[<query name=\"ByNameAndMaximumWeight\"><![CDATA[
-\n"
- " from eg.DomesticCat as cat
-\n"
- " where cat.name = ?
-\n"
- " and cat.weight > ?
-\n"
- "] ]></query>]]>"
-#: index.docbook:375
-msgid "You may also define named queries in the mapping document. (Remember to use a <literal>CDATA</literal> section if your query contains characters that could be interpreted as markup.)"
-msgstr "ãã©ã¡ã¼ã¿ã®ãã¤ã³ãã£ã³ã°ã¨å®è¡ã¯ã以ä¸ã®ãããªããã°ã©ã ã§è¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:383
+#, no-c-format
+msgid "Parameter binding and executing is done programatically:"
+msgstr ""
+"ãã©ã¡ã¼ã¿ã®ãã¤ã³ãã£ã³ã°ã¨å®è¡ã¯ã以ä¸ã®ãããªããã°ã©ã ã§è¡ããã¾ãã"
-#: index.docbook:381
+#. Tag: programlisting
+#: session_api.xml:387
+#, no-c-format
msgid ""
- "<![CDATA[<query name=\"ByNameAndMaximumWeight\"><![CDATA[\n"
- " from eg.DomesticCat as cat\n"
- " where cat.name = ?\n"
- " and cat.weight > ?\n"
- "] ]></query>]]>"
+"<![CDATA[Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");\n"
+"q.setString(0, name);\n"
+"q.setInt(1, minWeight);\n"
+"List cats = q.list();]]>"
msgstr ""
- "<![CDATA[Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");
-\n"
- "q.setString(0, name);
-\n"
- "q.setInt(1, minWeight);
-\n"
- "List cats = q.list();]]>"
-#: index.docbook:383
-msgid "Parameter binding and executing is done programatically:"
-msgstr "å®éã®ããã°ã©ã ã³ã¼ãã¯ã使ãããã¯ã¨ãªè¨èªã«ä¾åãã¦ããªããã¨ã«æ³¨æãã¾ãããã ã¡ã¿ãã¼ã¿ã«ã¯ããã¤ãã£ãSQLã¯ã¨ãªãå®ç¾©ãããã¨ãã§ãã¾ãã ã¾ããæ¢åã®ã¯ã¨ãªããããã³ã°ãã¡ã¤ã«ã«ç§»ããã¨ã§ã Hibernateã«ç§»è¡ãããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:389
+#, no-c-format
+msgid ""
+"Note that the actual program code is independent of the query language that "
+"is used, you may also define native SQL queries in metadata, or migrate "
+"existing queries to Hibernate by placing them in mapping files."
+msgstr ""
+"å®éã®ããã°ã©ã ã³ã¼ãã¯ã使ãããã¯ã¨ãªè¨èªã«ä¾åãã¦ããªããã¨ã«æ³¨æãã¾"
+"ãããã ã¡ã¿ãã¼ã¿ã«ã¯ããã¤ãã£ãSQLã¯ã¨ãªãå®ç¾©ãããã¨ãã§ãã¾ãã ã¾ãã"
+"æ¢åã®ã¯ã¨ãªããããã³ã°ãã¡ã¤ã«ã«ç§»ããã¨ã§ã Hibernateã«ç§»è¡ãããã¨ãã§ã"
+"ã¾ãã"
-#: index.docbook:387
+#. Tag: para
+#: session_api.xml:395
+#, no-c-format
msgid ""
- "<![CDATA[Query q = sess.getNamedQuery(\"ByNameAndMaximumWeight\");\n"
- "q.setString(0, name);\n"
- "q.setInt(1, minWeight);\n"
- "List cats = q.list();]]>"
-msgstr "<literal><hibernate-mapping></literal> ã®ä¸ã®ã¯ã¨ãªå®ç¾©ã¯ãã¯ã¨ãªã«å¯¾ãã ã¦ãã¼ã¯ãªååãå¿
è¦ãªãã¨ã«ã注æãã¦ãã ãããããã«å¯¾ãã¦ã <literal><class></literal> ã®ä¸ã® ã¯ã¨ãªå®ç¾©ã¯ãã¯ã©ã¹ã®å®å
¨éå®åãåã«ä»ããããã®ã§ãèªåçã«ã¦ãã¼ã¯ãªååã«ãªãã¾ãã ä¾ï¼ <literal>eg.Cat.ByNameAndMaximumWeight</literal>"
+"Also note that a query declaration inside a <literal><hibernate-"
+"mapping></literal> element requires a global unique name for the query, "
+"while a query declaration inside a <literal><class></literal> element "
+"is made unique automatically by prepending the fully qualified name of the "
+"class, for example <literal>eg.Cat.ByNameAndMaximumWeight</literal>."
+msgstr ""
+"<literal><hibernate-mapping></literal> ã®ä¸ã®ã¯ã¨ãªå®ç¾©ã¯ãã¯ã¨ãªã«å¯¾ã"
+"ã ã¦ãã¼ã¯ãªååãå¿
è¦ãªãã¨ã«ã注æãã¦ãã ãããããã«å¯¾ãã¦ã "
+"<literal><class></literal> ã®ä¸ã® ã¯ã¨ãªå®ç¾©ã¯ãã¯ã©ã¹ã®å®å
¨éå®åãå"
+"ã«ä»ããããã®ã§ãèªåçã«ã¦ãã¼ã¯ãªååã«ãªãã¾ãã ä¾ï¼ <literal>eg.Cat."
+"ByNameAndMaximumWeight</literal>"
-#: index.docbook:389
-msgid "Note that the actual program code is independent of the query language that is used, you may also define native SQL queries in metadata, or migrate existing queries to Hibernate by placing them in mapping files."
+#. Tag: title
+#: session_api.xml:408
+#, no-c-format
+msgid "Filtering collections"
msgstr "ã³ã¬ã¯ã·ã§ã³ã®ãã£ã«ã¿ãªã³ã°"
-#: index.docbook:395
-msgid "Also note that a query declaration inside a <literal><hibernate-mapping></literal> element requires a global unique name for the query, while a query declaration inside a <literal><class></literal> element is made unique automatically by prepending the fully qualified name of the class, for example <literal>eg.Cat.ByNameAndMaximumWeight</literal>."
-msgstr "ã³ã¬ã¯ã·ã§ã³ <emphasis>ãã£ã«ã¿</emphasis> ã¯ãæ°¸ç¶åããã¦ããã³ã¬ã¯ã·ã§ã³ãé
åã«é©ç¨ããã ç¹æ®ãªã¿ã¤ãã®ã¯ã¨ãªã§ãããã®ã¯ã¨ãªæååã§ã¯ãã³ã¬ã¯ã·ã§ã³ã®ãã®æç¹ã§ã®è¦ç´ ãæå³ãã <literal>this</literal> ã使ãã¾ãã"
+#. Tag: para
+#: session_api.xml:409
+#, no-c-format
+msgid ""
+"A collection <emphasis>filter</emphasis> is a special type of query that may "
+"be applied to a persistent collection or array. The query string may refer "
+"to <literal>this</literal>, meaning the current collection element."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ <emphasis>ãã£ã«ã¿</emphasis> ã¯ãæ°¸ç¶åããã¦ããã³ã¬ã¯ã·ã§ã³ã"
+"é
åã«é©ç¨ããã ç¹æ®ãªã¿ã¤ãã®ã¯ã¨ãªã§ãããã®ã¯ã¨ãªæååã§ã¯ãã³ã¬ã¯ã·ã§ã³"
+"ã®ãã®æç¹ã§ã®è¦ç´ ãæå³ãã <literal>this</literal> ã使ãã¾ãã"
-#: index.docbook:408
-msgid "Filtering collections"
+#. Tag: programlisting
+#: session_api.xml:415
+#, no-c-format
+msgid ""
+"<![CDATA[Collection blackKittens = session.createFilter(\n"
+" pk.getKittens(), \n"
+" \"where this.color = ?\")\n"
+" .setParameter( Color.BLACK, Hibernate.custom(ColorUserType.class) )\n"
+" .list()\n"
+");]]>"
msgstr ""
- "<![CDATA[Collection blackKittens = session.createFilter(
-\n"
- " pk.getKittens(),
-\n"
- " \"where this.color = ?\")
-\n"
- " .setParameter( Color.BLACK, Hibernate.custom(ColorUserType.class) )
-\n"
- " .list()
-\n"
- ");]]>"
-#: index.docbook:409
-msgid "A collection <emphasis>filter</emphasis> is a special type of query that may be applied to a persistent collection or array. The query string may refer to <literal>this</literal>, meaning the current collection element."
-msgstr "è¿ãããã³ã¬ã¯ã·ã§ã³ã¯Bagã¨ã¿ãªããã¾ããããã¦ãããã¯ãã¨ã®ã³ã¬ã¯ã·ã§ã³ã®ã³ãã¼ã«ãªãã¾ãã å
ã®ã³ã¬ã¯ã·ã§ã³ã¯ä¿®æ£ããã¾ããï¼ããã¯ã\"filter\"ã¨ããååã®æå³ã¨ã¯ç°ãªãã¾ããã æå¾
ãããåãã¨ã¯ä¸è´ãã¦ãã¾ãï¼ã"
+#. Tag: para
+#: session_api.xml:417
+#, no-c-format
+msgid ""
+"The returned collection is considered a bag, and it's a copy of the given "
+"collection. The original collection is not modified (this is contrary to the "
+"implication of the name \"filter\", but consistent with expected behavior)."
+msgstr ""
+"è¿ãããã³ã¬ã¯ã·ã§ã³ã¯Bagã¨ã¿ãªããã¾ããããã¦ãããã¯ãã¨ã®ã³ã¬ã¯ã·ã§ã³ã®ã³"
+"ãã¼ã«ãªãã¾ãã å
ã®ã³ã¬ã¯ã·ã§ã³ã¯ä¿®æ£ããã¾ããï¼ããã¯ã\"filter\"ã¨ããå"
+"åã®æå³ã¨ã¯ç°ãªãã¾ããã æå¾
ãããåãã¨ã¯ä¸è´ãã¦ãã¾ãï¼ã"
-#: index.docbook:415
+#. Tag: para
+#: session_api.xml:423
+#, no-c-format
msgid ""
- "<![CDATA[Collection blackKittens = session.createFilter(\n"
- " pk.getKittens(), \n"
- " \"where this.color = ?\")\n"
- " .setParameter( Color.BLACK, Hibernate.custom(ColorUserType.class) )\n"
- " .list()\n"
- ");]]>"
-msgstr "ãã£ã«ã¿ã«ã¯ <literal>from</literal> ç¯ãä¸è¦ã§ãããã¨ã«æ°ã¥ãã§ãããï¼å¿
è¦ãªããæã¤ãã¨ãå¯è½ã§ããï¼ã ãã£ã«ã¿ã¯ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ èªä½ãè¿ãã¦æ§ãã¾ããã"
+"Observe that filters do not require a <literal>from</literal> clause (though "
+"they may have one if required). Filters are not limited to returning the "
+"collection elements themselves."
+msgstr ""
+"ãã£ã«ã¿ã«ã¯ <literal>from</literal> ç¯ãä¸è¦ã§ãããã¨ã«æ°ã¥ãã§ãããï¼å¿
è¦"
+"ãªããæã¤ãã¨ãå¯è½ã§ããï¼ã ãã£ã«ã¿ã¯ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ èªä½ãè¿ãã¦æ§ã"
+"ã¾ããã"
-#: index.docbook:417
-msgid "The returned collection is considered a bag, and it's a copy of the given collection. The original collection is not modified (this is contrary to the implication of the name \"filter\", but consistent with expected behavior)."
+#. Tag: programlisting
+#: session_api.xml:428
+#, no-c-format
+msgid ""
+"<![CDATA[Collection blackKittenMates = session.createFilter(\n"
+" pk.getKittens(), \n"
+" \"select this.mate where this.color = eg.Color.BLACK.intValue\")\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[Collection blackKittenMates = session.createFilter(
-\n"
- " pk.getKittens(),
-\n"
- " \"select this.mate where this.color = eg.Color.BLACK.intValue\")
-\n"
- " .list();]]>"
-#: index.docbook:423
-msgid "Observe that filters do not require a <literal>from</literal> clause (though they may have one if required). Filters are not limited to returning the collection elements themselves."
-msgstr "ã¯ã¨ãªãå«ã¾ãªããã£ã«ã¿ãå½¹ã«ç«ã¡ã¾ãã ä¾ãã°ãé常ã«å¤§ããªã³ã¬ã¯ã·ã§ã³ã®é¨åéåããã¼ãããããã«ä½¿ãã¾ãã"
+#. Tag: para
+#: session_api.xml:430
+#, no-c-format
+msgid ""
+"Even an empty filter query is useful, e.g. to load a subset of elements in a "
+"huge collection:"
+msgstr ""
+"ã¯ã¨ãªãå«ã¾ãªããã£ã«ã¿ãå½¹ã«ç«ã¡ã¾ãã ä¾ãã°ãé常ã«å¤§ããªã³ã¬ã¯ã·ã§ã³ã®é¨"
+"åéåããã¼ãããããã«ä½¿ãã¾ãã"
-#: index.docbook:428
+#. Tag: programlisting
+#: session_api.xml:435
+#, no-c-format
msgid ""
- "<![CDATA[Collection blackKittenMates = session.createFilter(\n"
- " pk.getKittens(), \n"
- " \"select this.mate where this.color = eg.Color.BLACK.intValue\")\n"
- " .list();]]>"
+"<![CDATA[Collection tenKittens = session.createFilter(\n"
+" mother.getKittens(), \"\")\n"
+" .setFirstResult(0).setMaxResults(10)\n"
+" .list();]]>"
msgstr ""
- "<![CDATA[Collection tenKittens = session.createFilter(
-\n"
- " mother.getKittens(), \"\")
-\n"
- " .setFirstResult(0).setMaxResults(10)
-\n"
- " .list();]]>"
-#: index.docbook:430
-msgid "Even an empty filter query is useful, e.g. to load a subset of elements in a huge collection:"
+#. Tag: title
+#: session_api.xml:440
+#, no-c-format
+msgid "Criteria queries"
msgstr "ã¯ã©ã¤ããªã¢ã®ã¯ã¨ãª"
-#: index.docbook:435
+#. Tag: para
+#: session_api.xml:442
+#, no-c-format
msgid ""
- "<![CDATA[Collection tenKittens = session.createFilter(\n"
- " mother.getKittens(), \"\")\n"
- " .setFirstResult(0).setMaxResults(10)\n"
- " .list();]]>"
-msgstr "HQLã¯é常ã«å¼·åã§ãããã¯ã¨ãªæååãä½ããããããªãã¸ã§ã¯ãæåã®APIã使ã£ã¦ åçã«ã¯ã¨ãªãä½ãæ¹ã好ãéçºè
ããã¾ãã ãããã£ãå ´åã®ããã«ãHibernateã¯ç´æç㪠<literal>Criteria</literal> ã¯ã¨ãªAPIãæä¾ãã¦ãã¾ãã"
+"HQL is extremely powerful but some developers prefer to build queries "
+"dynamically, using an object-oriented API, rather than building query "
+"strings. Hibernate provides an intuitive <literal>Criteria</literal> query "
+"API for these cases:"
+msgstr ""
+"HQLã¯é常ã«å¼·åã§ãããã¯ã¨ãªæååãä½ããããããªãã¸ã§ã¯ãæåã®APIã使ã£"
+"㦠åçã«ã¯ã¨ãªãä½ãæ¹ã好ãéçºè
ããã¾ãã ãããã£ãå ´åã®ããã«ã"
+"Hibernateã¯ç´æç㪠<literal>Criteria</literal> ã¯ã¨ãªAPIãæä¾ãã¦ãã¾ãã"
-#: index.docbook:440
-msgid "Criteria queries"
+#. Tag: programlisting
+#: session_api.xml:448
+#, no-c-format
+msgid ""
+"<![CDATA[Criteria crit = session.createCriteria(Cat.class);\n"
+"crit.add( Restrictions.eq( \"color\", eg.Color.BLACK ) );\n"
+"crit.setMaxResults(10);\n"
+"List cats = crit.list();]]>"
msgstr ""
- "<![CDATA[Criteria crit = session.createCriteria(Cat.class);
-\n"
- "crit.add( Restrictions.eq( \"color\", eg.Color.BLACK ) );
-\n"
- "crit.setMaxResults(10);
-\n"
- "List cats = crit.list();]]>"
-#: index.docbook:442
-msgid "HQL is extremely powerful but some developers prefer to build queries dynamically, using an object-oriented API, rather than building query strings. Hibernate provides an intuitive <literal>Criteria</literal> query API for these cases:"
-msgstr "<literal>Criteria</literal> 㨠<literal>Example</literal> APIã®è©³ç´°ã¯ã <xref linkend=\"querycriteria\"/> ã«è¿°ã¹ããã¦ãã¾ãã"
+#. Tag: para
+#: session_api.xml:450
+#, no-c-format
+msgid ""
+"The <literal>Criteria</literal> and the associated <literal>Example</"
+"literal> API are discussed in more detail in <xref linkend=\"querycriteria\"/"
+">."
+msgstr ""
+"<literal>Criteria</literal> 㨠<literal>Example</literal> APIã®è©³ç´°ã¯ã "
+"<xref linkend=\"querycriteria\"/> ã«è¿°ã¹ããã¦ãã¾ãã"
-#: index.docbook:448
-msgid ""
- "<![CDATA[Criteria crit = session.createCriteria(Cat.class);\n"
- "crit.add( Restrictions.eq( \"color\", eg.Color.BLACK ) );\n"
- "crit.setMaxResults(10);\n"
- "List cats = crit.list();]]>"
+#. Tag: title
+#: session_api.xml:458
+#, no-c-format
+msgid "Queries in native SQL"
msgstr "ãã¤ãã£ãSQLã®ã¯ã¨ãª"
-#: index.docbook:450
-msgid "The <literal>Criteria</literal> and the associated <literal>Example</literal> API are discussed in more detail in <xref linkend=\"querycriteria\"/>."
-msgstr "<literal>createSQLQuery()</literal> ã使ã£ã¦ãSQLã§ã¯ã¨ãªã表ç¾ãããã¨ãã§ãã¾ãã ããã¦ãHibernateã«ãResultSet ãããªãã¸ã§ã¯ãã¸ã®ãããã³ã°ãã¾ããã¾ãã <literal>session.connection()</literal> ãå¼ã¹ã°ã©ããªã¨ãã§ããç´æ¥ãJDBC <literal>Connection</literal> ã使ç¨ã§ãããã¨ãè¦ãã¦ããã¾ãããã ãããHibernate APIã使ãã®ã§ããã°ãä¸è¨ã®ããã«SQLã®å¥åãæ¬å¼§ã§ããããªããã°ãªãã¾ããã"
+#. Tag: para
+#: session_api.xml:460
+#, no-c-format
+msgid ""
+"You may express a query in SQL, using <literal>createSQLQuery()</literal> "
+"and let Hibernate take care of the mapping from result sets to objects. Note "
+"that you may at any time call <literal>session.connection()</literal> and "
+"use the JDBC <literal>Connection</literal> directly. If you chose to use the "
+"Hibernate API, you must enclose SQL aliases in braces:"
+msgstr ""
+"<literal>createSQLQuery()</literal> ã使ã£ã¦ãSQLã§ã¯ã¨ãªã表ç¾ãããã¨ãã§ã"
+"ã¾ãã ããã¦ãHibernateã«ãResultSet ãããªãã¸ã§ã¯ãã¸ã®ãããã³ã°ãã¾ãã"
+"ã¾ãã <literal>session.connection()</literal> ãå¼ã¹ã°ã©ããªã¨ãã§ããç´æ¥ã"
+"JDBC <literal>Connection</literal> ã使ç¨ã§ãããã¨ãè¦ãã¦ããã¾ãããã ã"
+"ããHibernate APIã使ãã®ã§ããã°ãä¸è¨ã®ããã«SQLã®å¥åãæ¬å¼§ã§ããããªãã"
+"ã°ãªãã¾ããã"
-#: index.docbook:458
-msgid "Queries in native SQL"
+#. Tag: programlisting
+#: session_api.xml:468
+#, no-c-format
+msgid ""
+"<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} "
+"WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list();]]>"
msgstr ""
- "<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} WHERE ROWNUM<10\")
-\n"
- " .addEntity(\"cat\", Cat.class)
-\n"
- ".list();]]>"
-#: index.docbook:460
-msgid "You may express a query in SQL, using <literal>createSQLQuery()</literal> and let Hibernate take care of the mapping from result sets to objects. Note that you may at any time call <literal>session.connection()</literal> and use the JDBC <literal>Connection</literal> directly. If you chose to use the Hibernate API, you must enclose SQL aliases in braces:"
+#. Tag: programlisting
+#: session_api.xml:470
+#, no-c-format
+msgid ""
+"<![CDATA[List cats = session.createSQLQuery(\n"
+" \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
+" \"{cat}.MATE AS {cat.mate}, {cat}.SUBCLASS AS {cat.class}, ... \" "
+"+\n"
+" \"FROM CAT {cat} WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list()]]>"
msgstr ""
- "<![CDATA[List cats = session.createSQLQuery(
-\n"
- " \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +
-\n"
- " \"{cat}.MATE AS {cat.mate}, {cat}.SUBCLASS AS {cat.class}, ... \" +
-\n"
- " \"FROM CAT {cat} WHERE ROWNUM<10\")
-\n"
- " .addEntity(\"cat\", Cat.class)
-\n"
- ".list()]]>"
-#: index.docbook:468
+#. Tag: para
+#: session_api.xml:472
+#, no-c-format
msgid ""
- "<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} WHERE ROWNUM<10\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- ".list();]]>"
-msgstr "SQLã¯ã¨ãªã¯ãHibernateã¯ã¨ãªã¨åãããã«ãååä»ãã®ãã©ã¡ã¼ã¿ã¨ä½ç½®ãã©ã¡ã¼ã¿ãæã¤ãã¨ãã§ãã¾ãã Hibernateã«ããããã¤ãã£ããªSQLã¯ã¨ãªã®è©³ç´°ã«ã¤ãã¦ã¯ã <xref linkend=\"querysql\"/> ãåç
§ãã¦ãã ããã"
+"SQL queries may contain named and positional parameters, just like Hibernate "
+"queries. More information about native SQL queries in Hibernate can be found "
+"in <xref linkend=\"querysql\"/>."
+msgstr ""
+"SQLã¯ã¨ãªã¯ãHibernateã¯ã¨ãªã¨åãããã«ãååä»ãã®ãã©ã¡ã¼ã¿ã¨ä½ç½®ãã©ã¡ã¼"
+"ã¿ãæã¤ãã¨ãã§ãã¾ãã Hibernateã«ããããã¤ãã£ããªSQLã¯ã¨ãªã®è©³ç´°ã«ã¤ãã¦"
+"ã¯ã <xref linkend=\"querysql\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:470
-msgid ""
- "<![CDATA[List cats = session.createSQLQuery(\n"
- " \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
- " \"{cat}.MATE AS {cat.mate}, {cat}.SUBCLASS AS {cat.class}, ... \" +\n"
- " \"FROM CAT {cat} WHERE ROWNUM<10\")\n"
- " .addEntity(\"cat\", Cat.class)\n"
- ".list()]]>"
+#. Tag: title
+#: session_api.xml:483
+#, no-c-format
+msgid "Modifying persistent objects"
msgstr "æ°¸ç¶ãªãã¸ã§ã¯ãã®ä¿®æ£"
-#: index.docbook:472
-msgid "SQL queries may contain named and positional parameters, just like Hibernate queries. More information about native SQL queries in Hibernate can be found in <xref linkend=\"querysql\"/>."
-msgstr "<emphasis>å¦çä¸ã®æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹</emphasis> ï¼ä¾ï¼ <literal>Session</literal> ã«ãã£ã¦ã ãã¼ããã»ã¼ãã使ãã¯ã¨ãªããããªãã¸ã§ã¯ãï¼ã¯ãã¢ããªã±ã¼ã·ã§ã³ã«æä½ããã¾ãã ãã®éã«å¤æ´ãããæ°¸ç¶ç¶æ
ã¯ã <literal>Session</literal> ã <emphasis>ãã©ãã·ã¥</emphasis> ãããã¨ãã«ãæ°¸ç¶åããã¾ãï¼ããã¯ããã®ç« ã®å¾åã§è¿°ã¹ã¦ãã¾ãï¼ã 夿´ãæ°¸ç¶åããããã«ãç¹æ®ãªã¡ã½ããï¼ <literal>update()</literal> ã®ãããªãã®ãããã¯ãå¥ã®ç®çã§ä½¿ç¨ãã¾ãï¼ã å¼ã¶å¿
è¦ã¯ããã¾ããã ãªãã¸ã§ã¯ãã®ç¶æ
ãæ´æ°ããä¸çªç°¡åãªæ¹æ³ã¯ããªãã¸ã§ã¯ãã <literal>load()</literal> ãã <literal>Session</literal> ããªã¼ãã³ã«ãã¦ããéã«ãç´æ¥æä½ãããã¨ã§ãã"
+#. Tag: para
+#: session_api.xml:485
+#, no-c-format
+msgid ""
+"<emphasis>Transactional persistent instances</emphasis> (ie. objects loaded, "
+"saved, created or queried by the <literal>Session</literal>) may be "
+"manipulated by the application and any changes to persistent state will be "
+"persisted when the <literal>Session</literal> is <emphasis>flushed</"
+"emphasis> (discussed later in this chapter). There is no need to call a "
+"particular method (like <literal>update()</literal>, which has a different "
+"purpose) to make your modifications persistent. So the most straightforward "
+"way to update the state of an object is to <literal>load()</literal> it, and "
+"then manipulate it directly, while the <literal>Session</literal> is open:"
+msgstr ""
+"<emphasis>å¦çä¸ã®æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹</emphasis> ï¼ä¾ï¼ <literal>Session</"
+"literal> ã«ãã£ã¦ã ãã¼ããã»ã¼ãã使ãã¯ã¨ãªããããªãã¸ã§ã¯ãï¼ã¯ãã¢ã"
+"ãªã±ã¼ã·ã§ã³ã«æä½ããã¾ãã ãã®éã«å¤æ´ãããæ°¸ç¶ç¶æ
ã¯ã "
+"<literal>Session</literal> ã <emphasis>ãã©ãã·ã¥</emphasis> ãããã¨ãã«ã"
+"æ°¸ç¶åããã¾ãï¼ããã¯ããã®ç« ã®å¾åã§è¿°ã¹ã¦ãã¾ãï¼ã 夿´ãæ°¸ç¶åãããã"
+"ã«ãç¹æ®ãªã¡ã½ããï¼ <literal>update()</literal> ã®ãããªãã®ãããã¯ãå¥ã®ç®"
+"çã§ä½¿ç¨ãã¾ãï¼ã å¼ã¶å¿
è¦ã¯ããã¾ããã ãªãã¸ã§ã¯ãã®ç¶æ
ãæ´æ°ããä¸çªç°¡"
+"åãªæ¹æ³ã¯ããªãã¸ã§ã¯ãã <literal>load()</literal> ãã <literal>Session</"
+"literal> ããªã¼ãã³ã«ãã¦ããéã«ãç´æ¥æä½ãããã¨ã§ãã"
-#: index.docbook:483
-msgid "Modifying persistent objects"
+#. Tag: programlisting
+#: session_api.xml:496
+#, no-c-format
+msgid ""
+"<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long"
+"(69) );\n"
+"cat.setName(\"PK\");\n"
+"sess.flush(); // changes to cat are automatically detected and persisted]]>"
msgstr ""
- "<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long(69) );
-\n"
- "cat.setName(\"PK\");
-\n"
- "sess.flush(); // changes to cat are automatically detected and persisted
-\n"
- "]]>"
-#: index.docbook:485
-msgid "<emphasis>Transactional persistent instances</emphasis> (ie. objects loaded, saved, created or queried by the <literal>Session</literal>) may be manipulated by the application and any changes to persistent state will be persisted when the <literal>Session</literal> is <emphasis>flushed</emphasis> (discussed later in this chapter). There is no need to call a particular method (like <literal>update()</literal>, which has a different purpose) to make your modifications persistent. So the most straightforward way to update the state of an object is to <literal>load()</literal> it, and then manipulate it directly, while the <literal>Session</literal> is open:"
-msgstr "ï¼ãªãã¸ã§ã¯ãããã¼ãããããã®ï¼SQLã® <literal>SELECT</literal> ã¨ï¼æ´æ°ãããç¶æ
ãæ°¸ç¶åããããã®ï¼ SQLã® <literal>UPDATE</literal> ãåãã»ãã·ã§ã³ã§å¿
è¦ã¨ãªãã®ã§ããã®ããã°ã©ãã³ã°ã¢ãã«ã¯ã å¹çãæªããªãå ´åãããã¾ãã ãã®ãããHibernateã¯å¥ã®æ¹æ³ãç¨æãã¦ãã¾ããããã¯ãã¤ã³ã¹ã¿ã³ã¹ãåé¢ããï¼detachedï¼æ¹æ³ã§ãã"
+#. Tag: para
+#: session_api.xml:498
+#, no-c-format
+msgid ""
+"Sometimes this programming model is inefficient since it would require both "
+"an SQL <literal>SELECT</literal> (to load an object) and an SQL "
+"<literal>UPDATE</literal> (to persist its updated state) in the same "
+"session. Therefore Hibernate offers an alternate approach, using detached "
+"instances."
+msgstr ""
+"ï¼ãªãã¸ã§ã¯ãããã¼ãããããã®ï¼SQLã® <literal>SELECT</literal> ã¨ï¼æ´æ°ã"
+"ããç¶æ
ãæ°¸ç¶åããããã®ï¼ SQLã® <literal>UPDATE</literal> ãåãã»ãã·ã§ã³"
+"ã§å¿
è¦ã¨ãªãã®ã§ããã®ããã°ã©ãã³ã°ã¢ãã«ã¯ã å¹çãæªããªãå ´åãããã¾"
+"ãã ãã®ãããHibernateã¯å¥ã®æ¹æ³ãç¨æãã¦ãã¾ããããã¯ãã¤ã³ã¹ã¿ã³ã¹ãå"
+"é¢ããï¼detachedï¼æ¹æ³ã§ãã"
-#: index.docbook:496
+#. Tag: emphasis
+#: session_api.xml:506
+#, fuzzy, no-c-format
msgid ""
- "<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long(69) );\n"
- "cat.setName(\"PK\");\n"
- "sess.flush(); // changes to cat are automatically detected and persisted]]>"
-msgstr "Hibernateã¯ã <literal>UPDATE</literal> æã <literal>DELETE</literal> æãç´æ¥å®è¡ããAPIãç¨æãã¦ãã¾ããã Hibernateã¯ã <emphasis>ç¶æ
管ç</emphasis> ãµã¼ãã¹ã§ããã使ãããSQL <emphasis>æ</emphasis> ã®ãã¨ãéçºè
ãèããå¿
è¦ã¯ããã¾ããã JDBCã¯SQLæãå®è¡ããå®ç§ãªAPIã§ããã <literal>session.connection()</literal> ãå¼ã¶ãã¨ã§ ãã¤ã§ããJDBC <literal>Connection</literal> ãéçºè
ã¯åå¾ã§ãã¾ãã ããã«ã大éã®ãã¼ã¿æä½ã®èãæ¹ã¯ããªã³ã©ã¤ã³ãã©ã³ã¶ã¯ã·ã§ã³å¦çåãã¢ããªã±ã¼ã·ã§ã³ã® ãªãã¸ã§ã¯ã/ãªã¬ã¼ã·ã§ãã«ãããã³ã°ã¨è¡çªãã¾ãã ããããHibernateã®ä»å¾ã®ãã¼ã¸ã§ã³ã§ã¯ã大éãã¼ã¿ãå¦çããç¹å¥ãªæ©è½ãæä¾ããããããã¾ããã ãããæä½ã«å©ç¨ã§ããããã¤ãã®å·¥å¤«ã«ã¤ãã¦ã¯ã <xref linkend=\"batch\"/> ãåç
§ãã¦ãã !
ããã"
+"Note that Hibernate does not offer its own API for direct execution of "
+"<literal>UPDATE</literal> or <literal>DELETE</literal> statements. Hibernate "
+"is a <emphasis>state management</emphasis> service, you don't have to think "
+"in <emphasis>statements</emphasis> to use it. JDBC is a perfect API for "
+"executing SQL statements, you can get a JDBC <literal>Connection</literal> "
+"at any time by calling <literal>session.connection()</literal>. Furthermore, "
+"the notion of mass operations conflicts with object/relational mapping for "
+"online transaction processing-oriented applications. Future versions of "
+"Hibernate may however provide special mass operation functions. See <xref "
+"linkend=\"batch\"/> for some possible batch operation tricks."
+msgstr ""
+"Hibernateã¯ã <placeholder-1/> æã <placeholder-2/> æãç´æ¥å®è¡ããAPIãç¨"
+"æãã¦ãã¾ããã Hibernateã¯ã <placeholder-3/> ãµã¼ãã¹ã§ããã使ãããSQL "
+"<placeholder-4/> ã®ãã¨ãéçºè
ãèããå¿
è¦ã¯ããã¾ããã JDBCã¯SQLæãå®è¡ã"
+"ãå®ç§ãªAPIã§ããã <placeholder-5/> ãå¼ã¶ãã¨ã§ ãã¤ã§ããJDBC "
+"<placeholder-6/> ãéçºè
ã¯åå¾ã§ãã¾ãã ããã«ã大éã®ãã¼ã¿æä½ã®èãæ¹"
+"ã¯ããªã³ã©ã¤ã³ãã©ã³ã¶ã¯ã·ã§ã³å¦çåãã¢ããªã±ã¼ã·ã§ã³ã® ãªãã¸ã§ã¯ã/ãªã¬ã¼"
+"ã·ã§ãã«ãããã³ã°ã¨è¡çªãã¾ãã ããããHibernateã®ä»å¾ã®ãã¼ã¸ã§ã³ã§ã¯ã大"
+"éãã¼ã¿ãå¦çããç¹å¥ãªæ©è½ãæä¾ããããããã¾ããã ãããæä½ã«å©ç¨ã§ãã"
+"ããã¤ãã®å·¥å¤«ã«ã¤ãã¦ã¯ã <xref linkend=\"batch\"/> ãåç
§ãã¦ãã ããã"
-#: index.docbook:498
-msgid "Sometimes this programming model is inefficient since it would require both an SQL <literal>SELECT</literal> (to load an object) and an SQL <literal>UPDATE</literal> (to persist its updated state) in the same session. Therefore Hibernate offers an alternate approach, using detached instances."
+#. Tag: title
+#: session_api.xml:521
+#, no-c-format
+msgid "Modifying detached objects"
msgstr "åé¢ãªãã¸ã§ã¯ãã®ä¿®æ£"
-#: index.docbook:506
-msgid "Note that Hibernate does not offer its own API for direct execution of <literal>UPDATE</literal> or <literal>DELETE</literal> statements. Hibernate is a <emphasis>state management</emphasis> service, you don't have to think in <emphasis>statements</emphasis> to use it. JDBC is a perfect API for executing SQL statements, you can get a JDBC <literal>Connection</literal> at any time by calling <literal>session.connection()</literal>. Furthermore, the notion of mass operations conflicts with object/relational mapping for online transaction processing-oriented applications. Future versions of Hibernate may however provide special mass operation functions. See <xref linkend=\"batch\"/> for some possible batch operation tricks."
-msgstr "å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯æ¬¡ã®ãã¨ãå¿
è¦ã«ãªãã¾ãã ããã¯ããããã©ã³ã¶ã¯ã·ã§ã³ã§ãªãã¸ã§ã¯ãã復å
ããæä½ããããã«ãããUI層ã«éãã ãã®å¾ã«ãæ°ãããã©ã³ã¶ã¯ã·ã§ã³ã§å¤æ´ãã»ã¼ãããã¨ãã£ããã¨ã§ãã ä¸¦è¡æ§ã®é«ãç°å¢ã§ããã®ã¿ã¤ãã®ã¢ããã¼ãã使ãã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã \"æéã®é·ã\" 使¥åä½ã®é颿§ãä¿è¨¼ããããã«ããã¼ã¸ã§ã³ãã¼ã¿ãé常使ããã¾ãã"
+#. Tag: para
+#: session_api.xml:523
+#, no-c-format
+msgid ""
+"Many applications need to retrieve an object in one transaction, send it to "
+"the UI layer for manipulation, then save the changes in a new transaction. "
+"Applications that use this kind of approach in a high-concurrency "
+"environment usually use versioned data to ensure isolation for the \"long\" "
+"unit of work."
+msgstr ""
+"å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯æ¬¡ã®ãã¨ãå¿
è¦ã«ãªãã¾ãã ããã¯ããããã©ã³ã¶ã¯"
+"ã·ã§ã³ã§ãªãã¸ã§ã¯ãã復å
ããæä½ããããã«ãããUI層ã«éãã ãã®å¾ã«ãæ°ã"
+"ããã©ã³ã¶ã¯ã·ã§ã³ã§å¤æ´ãã»ã¼ãããã¨ãã£ããã¨ã§ãã ä¸¦è¡æ§ã®é«ãç°å¢ã§ãã"
+"ã®ã¿ã¤ãã®ã¢ããã¼ãã使ãã¢ããªã±ã¼ã·ã§ã³ã§ã¯ã \"æéã®é·ã\" 使¥åä½ã®é"
+"颿§ãä¿è¨¼ããããã«ããã¼ã¸ã§ã³ãã¼ã¿ãé常使ããã¾ãã"
-#: index.docbook:521
-msgid "Modifying detached objects"
-msgstr "Hibernateã¯ã <literal>Session.update()</literal> ã <literal>Session.merge()</literal> ã¡ã½ããã 使ã£ã¦ãåé¢ã¤ã³ã¹ã¿ã³ã¹ãå追å ãããã¨ã§ããã®ã¢ãã«ã«å¯¾å¿ãã¾ãã"
+#. Tag: para
+#: session_api.xml:530
+#, no-c-format
+msgid ""
+"Hibernate supports this model by providing for reattachment of detached "
+"instances using the <literal>Session.update()</literal> or <literal>Session."
+"merge()</literal> methods:"
+msgstr ""
+"Hibernateã¯ã <literal>Session.update()</literal> ã <literal>Session.merge()"
+"</literal> ã¡ã½ããã 使ã£ã¦ãåé¢ã¤ã³ã¹ã¿ã³ã¹ãå追å ãããã¨ã§ããã®ã¢ãã«"
+"ã«å¯¾å¿ãã¾ãã"
-#: index.docbook:523
-msgid "Many applications need to retrieve an object in one transaction, send it to the UI layer for manipulation, then save the changes in a new transaction. Applications that use this kind of approach in a high-concurrency environment usually use versioned data to ensure isolation for the \"long\" unit of work."
+#. Tag: programlisting
+#: session_api.xml:536
+#, no-c-format
+msgid ""
+"<![CDATA[// in the first session\n"
+"Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
+"Cat potentialMate = new Cat();\n"
+"firstSession.save(potentialMate);\n"
+"\n"
+"// in a higher layer of the application\n"
+"cat.setMate(potentialMate);\n"
+"\n"
+"// later, in a new session\n"
+"secondSession.update(cat); // update cat\n"
+"secondSession.update(mate); // update mate]]>"
msgstr ""
- "<![CDATA[// in the first session
-\n"
- "Cat cat = (Cat) firstSession.load(Cat.class, catId);
-\n"
- "Cat potentialMate = new Cat();
-\n"
- "firstSession.save(potentialMate);
-\n"
- "
-\n"
- "// in a higher layer of the application
-\n"
- "cat.setMate(potentialMate);
-\n"
- "
-\n"
- "// later, in a new session
-\n"
- "secondSession.update(cat); // update cat
-\n"
- "secondSession.update(mate); // update mate]]>"
-#: index.docbook:530
-msgid "Hibernate supports this model by providing for reattachment of detached instances using the <literal>Session.update()</literal> or <literal>Session.merge()</literal> methods:"
-msgstr "èå¥å<literal>catId</literal> ãæã¤ <literal>Cat</literal> ããæ¢ã« <literal>secondSession</literal> ã§ãã¼ãããã¦ããå ´åã¯ãå追å ãããã¨ããã¨ãã«ãä¾å¤ãæãããã¾ãã"
+#. Tag: para
+#: session_api.xml:538
+#, no-c-format
+msgid ""
+"If the <literal>Cat</literal> with identifier <literal>catId</literal> had "
+"already been loaded by <literal>secondSession</literal> when the application "
+"tried to reattach it, an exception would have been thrown."
+msgstr ""
+"èå¥å<literal>catId</literal> ãæã¤ <literal>Cat</literal> ããæ¢ã« "
+"<literal>secondSession</literal> ã§ãã¼ãããã¦ããå ´åã¯ãå追å ãããã¨ãã"
+"ã¨ãã«ãä¾å¤ãæãããã¾ãã"
-#: index.docbook:536
+#. Tag: para
+#: session_api.xml:544
+#, no-c-format
msgid ""
- "<![CDATA[// in the first session\n"
- "Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
- "Cat potentialMate = new Cat();\n"
- "firstSession.save(potentialMate);\n"
- "\n"
- "// in a higher layer of the application\n"
- "cat.setMate(potentialMate);\n"
- "\n"
- "// later, in a new session\n"
- "secondSession.update(cat); // update cat\n"
- "secondSession.update(mate); // update mate]]>"
-msgstr "åãèå¥åãæã¤æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ãã»ãã·ã§ã³ãæ¢ã«ä¿æãã¦ããªããã¨ã 確信ã§ãããªã <literal>update()</literal> ã使ãã¾ãããã ããã¦ãã»ãã·ã§ã³ã®ç¶æ
ãèããã«ãã©ããªå ´åã§ã夿´ããã¼ã¸ãããå ´åã¯ã <literal>merge()</literal> ã使ãã¾ãããã ããªãã¡ãåé¢ãªãã¸ã§ã¯ãã®åè¿½å æä½ããæåã«å®è¡ããããã¨ã確å®ã«ããããã«ã é常㯠<literal>update()</literal> ãæ°ããã»ãã·ã§ã³ã®ãªãã§æåã«å¼ã°ããã¡ã½ããã«ãªãã¾ãã"
+"Use <literal>update()</literal> if you are sure that the session does not "
+"contain an already persistent instance with the same identifier, and "
+"<literal>merge()</literal> if you want to merge your modifications at any "
+"time without consideration of the state of the session. In other words, "
+"<literal>update()</literal> is usually the first method you would call in a "
+"fresh session, ensuring that reattachment of your detached instances is the "
+"first operation that is executed."
+msgstr ""
+"åãèå¥åãæã¤æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ãã»ãã·ã§ã³ãæ¢ã«ä¿æãã¦ããªããã¨ã 確信ã§"
+"ãããªã <literal>update()</literal> ã使ãã¾ãããã ããã¦ãã»ãã·ã§ã³ã®ç¶"
+"æ
ãèããã«ãã©ããªå ´åã§ã夿´ããã¼ã¸ãããå ´åã¯ã <literal>merge()</"
+"literal> ã使ãã¾ãããã ããªãã¡ãåé¢ãªãã¸ã§ã¯ãã®åè¿½å æä½ããæåã«å®"
+"è¡ããããã¨ã確å®ã«ããããã«ã é常㯠<literal>update()</literal> ãæ°ãã"
+"ã»ãã·ã§ã³ã®ãªãã§æåã«å¼ã°ããã¡ã½ããã«ãªãã¾ãã"
-#: index.docbook:538
-msgid "If the <literal>Cat</literal> with identifier <literal>catId</literal> had already been loaded by <literal>secondSession</literal> when the application tried to reattach it, an exception would have been thrown."
-msgstr "åé¢ã¤ã³ã¹ã¿ã³ã¹ããå°éå¯è½ãªãåé¢ã¤ã³ã¹ã¿ã³ã¹ãã¢ããªã±ã¼ã·ã§ã³ã¯åå¥ã« <literal>update()</literal> ãã¹ãã§ããããã¯ããã®ç¶æ
ãæ´æ°ãããå ´åã« <emphasis>éã</emphasis> ã¾ãã <emphasis>é·ç§»çãªæ°¸ç¶å</emphasis> ã使ãã°ããã¡ããèªååã§ãã¾ãã <xref linkend=\"objectstate-transitive\"/> ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: session_api.xml:553
+#, no-c-format
+msgid ""
+"The application should individually <literal>update()</literal> detached "
+"instances reachable from the given detached instance if and <emphasis>only</"
+"emphasis> if it wants their state also updated. This can be automated of "
+"course, using <emphasis>transitive persistence</emphasis>, see <xref linkend="
+"\"objectstate-transitive\"/>."
+msgstr ""
+"åé¢ã¤ã³ã¹ã¿ã³ã¹ããå°éå¯è½ãªãåé¢ã¤ã³ã¹ã¿ã³ã¹ãã¢ããªã±ã¼ã·ã§ã³ã¯åå¥ã« "
+"<literal>update()</literal> ãã¹ãã§ããããã¯ããã®ç¶æ
ãæ´æ°ãããå ´åã« "
+"<emphasis>éã</emphasis> ã¾ãã <emphasis>é·ç§»çãªæ°¸ç¶å</emphasis> ã使ã"
+"ã°ããã¡ããèªååã§ãã¾ãã <xref linkend=\"objectstate-transitive\"/> ãå"
+"ç
§ãã¦ãã ããã"
-#: index.docbook:544
-msgid "Use <literal>update()</literal> if you are sure that the session does not contain an already persistent instance with the same identifier, and <literal>merge()</literal> if you want to merge your modifications at any time without consideration of the state of the session. In other words, <literal>update()</literal> is usually the first method you would call in a fresh session, ensuring that reattachment of your detached instances is the first operation that is executed."
-msgstr "ã¡ã½ããã§ãã¾ããæ°ããã»ãã·ã§ã³ã«ãªãã¸ã§ã¯ããåé¢é£ä»ãã§ãã¾ãã ããããåé¢ã¤ã³ã¹ã¿ã³ã¹ã¯ç¡ä¿®æ£ã§ãªããã°ãªãã¾ããã"
+#. Tag: para
+#: session_api.xml:560
+#, no-c-format
+msgid ""
+"The <literal>lock()</literal> method also allows an application to "
+"reassociate an object with a new session. However, the detached instance has "
+"to be unmodified!"
+msgstr ""
+"ã¡ã½ããã§ãã¾ããæ°ããã»ãã·ã§ã³ã«ãªãã¸ã§ã¯ããåé¢é£ä»ãã§ãã¾ãã ãã"
+"ããåé¢ã¤ã³ã¹ã¿ã³ã¹ã¯ç¡ä¿®æ£ã§ãªããã°ãªãã¾ããã"
-#: index.docbook:553
-msgid "The application should individually <literal>update()</literal> detached instances reachable from the given detached instance if and <emphasis>only</emphasis> if it wants their state also updated. This can be automated of course, using <emphasis>transitive persistence</emphasis>, see <xref linkend=\"objectstate-transitive\"/>."
+#. Tag: programlisting
+#: session_api.xml:565
+#, no-c-format
+msgid ""
+"<![CDATA[//just reassociate:\n"
+"sess.lock(fritz, LockMode.NONE);\n"
+"//do a version check, then reassociate:\n"
+"sess.lock(izi, LockMode.READ);\n"
+"//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
+"sess.lock(pk, LockMode.UPGRADE);]]>"
msgstr ""
- "<![CDATA[//just reassociate:
-\n"
- "sess.lock(fritz, LockMode.NONE);
-\n"
- "//do a version check, then reassociate:
-\n"
- "sess.lock(izi, LockMode.READ);
-\n"
- "//do a version check, using SELECT ... FOR UPDATE, then reassociate:
-\n"
- "sess.lock(pk, LockMode.UPGRADE);]]>"
-#: index.docbook:560
-msgid "The <literal>lock()</literal> method also allows an application to reassociate an object with a new session. However, the detached instance has to be unmodified!"
-msgstr "<literal>lock()</literal> ã¯ããã¾ãã¾ãª <literal>LockMode</literal> ã¨ã¨ãã«ä½¿ããã¨ãã§ãã¾ãã 詳細ã¯ãAPIããã¥ã¡ã³ãã¨ãã©ã³ã¶ã¯ã·ã§ã³å¦çã®ç« ãåç
§ãã¦ãã ããã å追å ã®ã¨ãã«ã ãã <literal>lock()</literal> ã使ãããããã§ã¯ããã¾ããã"
+#. Tag: para
+#: session_api.xml:567
+#, no-c-format
+msgid ""
+"Note that <literal>lock()</literal> can be used with various "
+"<literal>LockMode</literal>s, see the API documentation and the chapter on "
+"transaction handling for more information. Reattachment is not the only "
+"usecase for <literal>lock()</literal>."
+msgstr ""
+"<literal>lock()</literal> ã¯ããã¾ãã¾ãª <literal>LockMode</literal> ã¨ã¨ãã«"
+"使ããã¨ãã§ãã¾ãã 詳細ã¯ãAPIããã¥ã¡ã³ãã¨ãã©ã³ã¶ã¯ã·ã§ã³å¦çã®ç« ãåç
§"
+"ãã¦ãã ããã å追å ã®ã¨ãã«ã ãã <literal>lock()</literal> ã使ããããã"
+"ã§ã¯ããã¾ããã"
-#: index.docbook:565
+#. Tag: para
+#: session_api.xml:574
+#, no-c-format
msgid ""
- "<![CDATA[//just reassociate:\n"
- "sess.lock(fritz, LockMode.NONE);\n"
- "//do a version check, then reassociate:\n"
- "sess.lock(izi, LockMode.READ);\n"
- "//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
- "sess.lock(pk, LockMode.UPGRADE);]]>"
-msgstr "æéã®é·ã使¥åä½ã®ããã®ä»ã®ã¢ãã«ã¯ã<xref linked=\"transactions-optimistic\"/> ã§è¿°ã¹ã¦ãã¾ãã"
+"Other models for long units of work are discussed in <xref linkend="
+"\"transactions-optimistic\"/>."
+msgstr ""
+"æéã®é·ã使¥åä½ã®ããã®ä»ã®ã¢ãã«ã¯ã<xref linked=\"transactions-"
+"optimistic\"/> ã§è¿°ã¹ã¦ãã¾ãã"
-#: index.docbook:567
-msgid "Note that <literal>lock()</literal> can be used with various <literal>LockMode</literal>s, see the API documentation and the chapter on transaction handling for more information. Reattachment is not the only usecase for <literal>lock()</literal>."
+#. Tag: title
+#: session_api.xml:581
+#, no-c-format
+msgid "Automatic state detection"
msgstr "èªåçãªç¶æ
æ¤åº"
-#: index.docbook:574
-msgid "Other models for long units of work are discussed in <xref linkend=\"transactions-optimistic\"/>."
-msgstr "Hibernateã®ã¦ã¼ã¶ã¯æ¬¡ã®2ã¤ã®ã±ã¼ã¹ã®ã©ã¡ãã«ã使ããæ±ç¨çãªã¡ã½ãããè¦æ±ãã¦ãã¾ããã ããã¯ãæ°ããèå¥åãçæãã¦ä¸æçãªã¤ã³ã¹ã¿ã³ã¹ãã»ã¼ããããã¨ã¨ã ãã®æç¹ã®èå¥åã¨é¢é£ã¥ãã¦ããåé¢ã¤ã³ã¹ã¿ã³ã¹ãæ´æ°/å追å ãããã¨ã®ã§ããã¡ã½ããã§ãã <literal>saveOrUpdate()</literal> ã¯ãã®ãããªæ©è½ãå®ç¾ããã¡ã½ããã§ãã"
+#. Tag: para
+#: session_api.xml:583
+#, no-c-format
+msgid ""
+"Hibernate users have requested a general purpose method that either saves a "
+"transient instance by generating a new identifier or updates/reattaches the "
+"detached instances associated with its current identifier. The "
+"<literal>saveOrUpdate()</literal> method implements this functionality."
+msgstr ""
+"Hibernateã®ã¦ã¼ã¶ã¯æ¬¡ã®2ã¤ã®ã±ã¼ã¹ã®ã©ã¡ãã«ã使ããæ±ç¨çãªã¡ã½ãããè¦æ±ã"
+"ã¦ãã¾ããã ããã¯ãæ°ããèå¥åãçæãã¦ä¸æçãªã¤ã³ã¹ã¿ã³ã¹ãã»ã¼ãããã"
+"ã¨ã¨ã ãã®æç¹ã®èå¥åã¨é¢é£ã¥ãã¦ããåé¢ã¤ã³ã¹ã¿ã³ã¹ãæ´æ°/å追å ãããã¨"
+"ã®ã§ããã¡ã½ããã§ãã <literal>saveOrUpdate()</literal> ã¯ãã®ãããªæ©è½ãå®"
+"ç¾ããã¡ã½ããã§ãã"
-#: index.docbook:581
-msgid "Automatic state detection"
+#. Tag: programlisting
+#: session_api.xml:590
+#, no-c-format
+msgid ""
+"<![CDATA[// in the first session\n"
+"Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
+"\n"
+"// in a higher tier of the application\n"
+"Cat mate = new Cat();\n"
+"cat.setMate(mate);\n"
+"\n"
+"// later, in a new session\n"
+"secondSession.saveOrUpdate(cat); // update existing state (cat has a non-"
+"null id)\n"
+"secondSession.saveOrUpdate(mate); // save the new instance (mate has a null "
+"id)]]>"
msgstr ""
- "<![CDATA[// in the first session
-\n"
- "Cat cat = (Cat) firstSession.load(Cat.class, catID);
-\n"
- "
-\n"
- "// in a higher tier of the application
-\n"
- "Cat mate = new Cat();
-\n"
- "cat.setMate(mate);
-\n"
- "
-\n"
- "// later, in a new session
-\n"
- "secondSession.saveOrUpdate(cat); // update existing state (cat has a non-null id)
-\n"
- "secondSession.saveOrUpdate(mate); // save the new instance (mate has a null id)]]>"
-#: index.docbook:583
-msgid "Hibernate users have requested a general purpose method that either saves a transient instance by generating a new identifier or updates/reattaches the detached instances associated with its current identifier. The <literal>saveOrUpdate()</literal> method implements this functionality."
-msgstr "<literal>saveOrUpdate()</literal> ã®ä½¿ç¨æ¹æ³ã¨æå³ã¯ã æ°ããã¦ã¼ã¶ã«ã¨ã£ã¦æ··ä¹±ãæãããããã¾ããã ã¾ã第ä¸ã«ãããã»ãã·ã§ã³ã§ä½¿ç¨ããã¤ã³ã¹ã¿ã³ã¹ãå¥ã®æ°ããã»ãã·ã§ã³ã§ä½¿ããã¨ããªãéãã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ã <literal>merge()</literal> ã使ãå¿
è¦ã¯ããã¾ããã ã¢ããªã±ã¼ã·ã§ã³å
¨ä½ãéãã¦ããããã®ã¡ã½ãããå
¨ã使ããªããã¨ãããã¾ãã"
+#. Tag: para
+#: session_api.xml:592
+#, no-c-format
+msgid ""
+"The usage and semantics of <literal>saveOrUpdate()</literal> seems to be "
+"confusing for new users. Firstly, so long as you are not trying to use "
+"instances from one session in another new session, you should not need to "
+"use <literal>update()</literal>, <literal>saveOrUpdate()</literal>, or "
+"<literal>merge()</literal>. Some whole applications will never use either of "
+"these methods."
+msgstr ""
+"<literal>saveOrUpdate()</literal> ã®ä½¿ç¨æ¹æ³ã¨æå³ã¯ã æ°ããã¦ã¼ã¶ã«ã¨ã£ã¦æ··"
+"ä¹±ãæãããããã¾ããã ã¾ã第ä¸ã«ãããã»ãã·ã§ã³ã§ä½¿ç¨ããã¤ã³ã¹ã¿ã³ã¹ãå¥"
+"ã®æ°ããã»ãã·ã§ã³ã§ä½¿ããã¨ããªãéãã <literal>update()</literal> ã "
+"<literal>saveOrUpdate()</literal> ã <literal>merge()</literal> ã使ãå¿
è¦ã¯"
+"ããã¾ããã ã¢ããªã±ã¼ã·ã§ã³å
¨ä½ãéãã¦ããããã®ã¡ã½ãããå
¨ã使ããªããã¨"
+"ãããã¾ãã"
-#: index.docbook:590
+#. Tag: para
+#: session_api.xml:600
+#, no-c-format
msgid ""
- "<![CDATA[// in the first session\n"
- "Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
- "\n"
- "// in a higher tier of the application\n"
- "Cat mate = new Cat();\n"
- "cat.setMate(mate);\n"
- "\n"
- "// later, in a new session\n"
- "secondSession.saveOrUpdate(cat); // update existing state (cat has a non-null id)\n"
- "secondSession.saveOrUpdate(mate); // save the new instance (mate has a null id)]]>"
-msgstr "é常ã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ã¯æ¬¡ã®ã·ããªãªã§ 使ããã¾ãã"
+"Usually <literal>update()</literal> or <literal>saveOrUpdate()</literal> are "
+"used in the following scenario:"
+msgstr ""
+"é常ã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ã¯æ¬¡"
+"ã®ã·ããªãªã§ 使ããã¾ãã"
-#: index.docbook:592
-msgid "The usage and semantics of <literal>saveOrUpdate()</literal> seems to be confusing for new users. Firstly, so long as you are not trying to use instances from one session in another new session, you should not need to use <literal>update()</literal>, <literal>saveOrUpdate()</literal>, or <literal>merge()</literal>. Some whole applications will never use either of these methods."
+#. Tag: para
+#: session_api.xml:607
+#, no-c-format
+msgid "the application loads an object in the first session"
msgstr "ã¢ããªã±ã¼ã·ã§ã³ãæåã®ã»ãã·ã§ã³ã§ãªãã¸ã§ã¯ãããã¼ããã¾ãã"
-#: index.docbook:600
-msgid "Usually <literal>update()</literal> or <literal>saveOrUpdate()</literal> are used in the following scenario:"
+#. Tag: para
+#: session_api.xml:612
+#, no-c-format
+msgid "the object is passed up to the UI tier"
msgstr "ãªãã¸ã§ã¯ããUI層ã«éããã¾ãã"
-#: index.docbook:607
-msgid "the application loads an object in the first session"
+#. Tag: para
+#: session_api.xml:617
+#, no-c-format
+msgid "some modifications are made to the object"
msgstr "ãªãã¸ã§ã¯ãã«å¯¾ãã¦å¤æ´ãå ãããã¾ãã"
-#: index.docbook:612
-msgid "the object is passed up to the UI tier"
+#. Tag: para
+#: session_api.xml:622
+#, no-c-format
+msgid "the object is passed back down to the business logic tier"
msgstr "ãªãã¸ã§ã¯ãããã¸ãã¹ãã¸ãã¯å±¤ã«éããã¾ãã"
-#: index.docbook:617
-msgid "some modifications are made to the object"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ã¯ã2çªç®ã®ã»ãã·ã§ã³ã§ <literal>update()</literal> ãå¼ã¶ãã¨ã§ããããã®å¤æ´ãæ°¸ç¶åãã¾ãã"
+#. Tag: para
+#: session_api.xml:627
+#, no-c-format
+msgid ""
+"the application persists these modifications by calling <literal>update()</"
+"literal> in a second session"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã¯ã2çªç®ã®ã»ãã·ã§ã³ã§ <literal>update()</literal> ãå¼ã¶ã"
+"ã¨ã§ããããã®å¤æ´ãæ°¸ç¶åãã¾ãã"
-#: index.docbook:622
-msgid "the object is passed back down to the business logic tier"
+#. Tag: para
+#: session_api.xml:634
+#, no-c-format
+msgid "<literal>saveOrUpdate()</literal> does the following:"
msgstr "<literal>saveOrUpdate()</literal> ã¯ä»¥ä¸ã®ãã¨ãè¡ãã¾ãã"
-#: index.docbook:627
-msgid "the application persists these modifications by calling <literal>update()</literal> in a second session"
-msgstr "ãªãã¸ã§ã¯ãããã®ã»ãã·ã§ã³ã§ããã§ã«æ°¸ç¶åããã¦ããã°ãä½ããã¾ããã"
-
-#: index.docbook:634
-msgid "<literal>saveOrUpdate()</literal> does the following:"
-msgstr "ãã®ã»ãã·ã§ã³ã«é¢é£ã¥ãã¦ããå¥ã®ãªãã¸ã§ã¯ããåãèå¥åãæã£ã¦ãããªãã ä¾å¤ãæãã¾ãã"
-
-#: index.docbook:640
+#. Tag: para
+#: session_api.xml:640
+#, no-c-format
msgid "if the object is already persistent in this session, do nothing"
-msgstr "ãªãã¸ã§ã¯ãã®èå¥åãå¤ãæããªããªãã°ã <literal>save()</literal> ãã¾ãã"
+msgstr ""
+"ãªãã¸ã§ã¯ãããã®ã»ãã·ã§ã³ã§ããã§ã«æ°¸ç¶åããã¦ããã°ãä½ããã¾ããã"
-#: index.docbook:645
-msgid "if another object associated with the session has the same identifier, throw an exception"
-msgstr "ãªãã¸ã§ã¯ãã®èå¥åãå¤ãæã¡ããã®å¤ãæ°ãã«ã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯ãã®ããã®å¤ã§ããå ´åã ãã®ãªãã¸ã§ã¯ãã <literal>save()</literal> ãã¾ãã"
+#. Tag: para
+#: session_api.xml:645
+#, no-c-format
+msgid ""
+"if another object associated with the session has the same identifier, throw "
+"an exception"
+msgstr ""
+"ãã®ã»ãã·ã§ã³ã«é¢é£ã¥ãã¦ããå¥ã®ãªãã¸ã§ã¯ããåãèå¥åãæã£ã¦ãããªãã "
+"ä¾å¤ãæãã¾ãã"
-#: index.docbook:651
+#. Tag: para
+#: session_api.xml:651
+#, no-c-format
msgid "if the object has no identifier property, <literal>save()</literal> it"
-msgstr "ãªãã¸ã§ã¯ããï¼ <literal><version></literal> ã <literal><timestamp></literal> ã«ãã£ã¦ï¼ ãã¼ã¸ã§ã³ã¥ãããã¦ãã¦ããã¼ã¸ã§ã³ã®ããããã£ãå¤ãæã¡ã ãã®å¤ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯ãã®ããã®å¤ã§ããå ´åã ãã®ãªãã¸ã§ã¯ãã <literal>save()</literal> ãã¾ãã"
+msgstr ""
+"ãªãã¸ã§ã¯ãã®èå¥åãå¤ãæããªããªãã°ã <literal>save()</literal> ãã¾ãã"
-#: index.docbook:656
-msgid "if the object's identifier has the value assigned to a newly instantiated object, <literal>save()</literal> it"
-msgstr "ããã§ãªãå ´åã¯ããã®ãªãã¸ã§ã¯ãã <literal>update()</literal> ãã¾ãã"
+#. Tag: para
+#: session_api.xml:656
+#, no-c-format
+msgid ""
+"if the object's identifier has the value assigned to a newly instantiated "
+"object, <literal>save()</literal> it"
+msgstr ""
+"ãªãã¸ã§ã¯ãã®èå¥åãå¤ãæã¡ããã®å¤ãæ°ãã«ã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯"
+"ãã®ããã®å¤ã§ããå ´åã ãã®ãªãã¸ã§ã¯ãã <literal>save()</literal> ãã¾"
+"ãã"
-#: index.docbook:662
-msgid "if the object is versioned (by a <literal><version></literal> or <literal><timestamp></literal>), and the version property value is the same value assigned to a newly instantiated object, <literal>save()</literal> it"
-msgstr "ããã¦ã <literal>merge()</literal> ã¯ä»¥ä¸ã®ããã«ã¨ã¦ãç°ãªãã¾ãã"
+#. Tag: para
+#: session_api.xml:662
+#, no-c-format
+msgid ""
+"if the object is versioned (by a <literal><version></literal> or "
+"<literal><timestamp></literal>), and the version property value is the "
+"same value assigned to a newly instantiated object, <literal>save()</"
+"literal> it"
+msgstr ""
+"ãªãã¸ã§ã¯ããï¼ <literal><version></literal> ã <literal><"
+"timestamp></literal> ã«ãã£ã¦ï¼ ãã¼ã¸ã§ã³ã¥ãããã¦ãã¦ããã¼ã¸ã§ã³ã®ãã"
+"ããã£ãå¤ãæã¡ã ãã®å¤ãæ°ããã¤ã³ã¹ã¿ã³ã¹åããããªãã¸ã§ã¯ãã®ããã®å¤ã§"
+"ããå ´åã ãã®ãªãã¸ã§ã¯ãã <literal>save()</literal> ãã¾ãã"
-#: index.docbook:670
+#. Tag: para
+#: session_api.xml:670
+#, no-c-format
msgid "otherwise <literal>update()</literal> the object"
-msgstr "åãèå¥åãæã¤æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ããã®æç¹ã§ã»ãã·ã§ã³ã¨é¢é£ä»ãã¦ãããªãã°ã 弿°ã§åãåã£ããªãã¸ã§ã¯ãã®ç¶æ
ãæ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ã«ã³ãã¼ãã¾ãã"
+msgstr ""
+"ããã§ãªãå ´åã¯ããã®ãªãã¸ã§ã¯ãã <literal>update()</literal> ãã¾ãã"
-#: index.docbook:676
+#. Tag: para
+#: session_api.xml:676
+#, no-c-format
msgid "and <literal>merge()</literal> is very different:"
-msgstr "æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ããã®æç¹ã§ã»ãã·ã§ã³ã«é¢é£ä»ãã¦ããªããªãã ãã¼ã¿ãã¼ã¹ããããããã¼ããããããããã¯ãæ°ããæ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãã"
+msgstr "ããã¦ã <literal>merge()</literal> ã¯ä»¥ä¸ã®ããã«ã¨ã¦ãç°ãªãã¾ãã"
-#: index.docbook:682
-msgid "if there is a persistent instance with the same identifier currently associated with the session, copy the state of the given object onto the persistent instance"
-msgstr "æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ãè¿ããã¾ãã"
+#. Tag: para
+#: session_api.xml:682
+#, no-c-format
+msgid ""
+"if there is a persistent instance with the same identifier currently "
+"associated with the session, copy the state of the given object onto the "
+"persistent instance"
+msgstr ""
+"åãèå¥åãæã¤æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ããã®æç¹ã§ã»ãã·ã§ã³ã¨é¢é£ä»ãã¦ãããªã"
+"ã°ã 弿°ã§åãåã£ããªãã¸ã§ã¯ãã®ç¶æ
ãæ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ã«ã³ãã¼ãã¾ãã"
-#: index.docbook:689
-msgid "if there is no persistent instance currently associated with the session, try to load it from the database, or create a new persistent instance"
-msgstr "弿°ã¨ãã¦ä¸ããã¤ã³ã¹ã¿ã³ã¹ã¯ã»ãã·ã§ã³ã¨é¢é£ãæã¡ã¾ããã ããã¯ãåé¢ç¶æ
ã®ã¾ã¾ã§ãã"
+#. Tag: para
+#: session_api.xml:689
+#, no-c-format
+msgid ""
+"if there is no persistent instance currently associated with the session, "
+"try to load it from the database, or create a new persistent instance"
+msgstr ""
+"æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ããã®æç¹ã§ã»ãã·ã§ã³ã«é¢é£ä»ãã¦ããªããªãã ãã¼ã¿ãã¼ã¹"
+"ããããããã¼ããããããããã¯ãæ°ããæ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ã使ãã¾ãã"
-#: index.docbook:695
+#. Tag: para
+#: session_api.xml:695
+#, no-c-format
msgid "the persistent instance is returned"
-msgstr "æ°¸ç¶ãªãã¸ã§ã¯ãã®åé¤"
+msgstr "æ°¸ç¶åã¤ã³ã¹ã¿ã³ã¹ãè¿ããã¾ãã"
-#: index.docbook:700
-msgid "the given instance does not become associated with the session, it remains detached"
-msgstr "<literal>Session.delete()</literal> ã¯ãªãã¸ã§ã¯ãã®ç¶æ
ããã¼ã¿ãã¼ã¹ããåé¤ãã¾ãã ãã¡ãããåé¤ãããªãã¸ã§ã¯ããã¢ããªã±ã¼ã·ã§ã³ãä¿æããã¾ã¾ã§ãããã§ãã ãã®ããã <literal>delete()</literal> ã¯æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã䏿çã«ãããã®ã¨èããã®ãä¸çªã§ãã"
+#. Tag: para
+#: session_api.xml:700
+#, no-c-format
+msgid ""
+"the given instance does not become associated with the session, it remains "
+"detached"
+msgstr ""
+"弿°ã¨ãã¦ä¸ããã¤ã³ã¹ã¿ã³ã¹ã¯ã»ãã·ã§ã³ã¨é¢é£ãæã¡ã¾ããã ããã¯ãåé¢ç¶æ
"
+"ã®ã¾ã¾ã§ãã"
-#: index.docbook:710
+#. Tag: title
+#: session_api.xml:710
+#, no-c-format
msgid "Deleting persistent objects"
-msgstr "<![CDATA[sess.delete(cat);]]>"
+msgstr "æ°¸ç¶ãªãã¸ã§ã¯ãã®åé¤"
-#: index.docbook:712
-msgid "<literal>Session.delete()</literal> will remove an object's state from the database. Of course, your application might still hold a reference to a deleted object. It's best to think of <literal>delete()</literal> as making a persistent instance transient."
-msgstr "å¤é¨ãã¼å¶ç´ã«éåãããªã¹ã¯ããªãã好ããªé çªã§ãªãã¸ã§ã¯ããåé¤ãããã¨ãã§ãã¾ãã ãã ããééã£ãé çªã§ãªãã¸ã§ã¯ããåé¤ããã¨ãå¤é¨ãã¼ã«ã©ã ã® <literal>NOT NULL</literal> å¶ç´ã«éåããå¯è½æ§ãããã¾ãã ä¾ãã°ã親ãªãã¸ã§ã¯ããåé¤ããã¨ãã«ãåä¾ãªãã¸ã§ã¯ããåé¤ãå¿ããå ´åã§ãã"
+#. Tag: para
+#: session_api.xml:712
+#, no-c-format
+msgid ""
+"<literal>Session.delete()</literal> will remove an object's state from the "
+"database. Of course, your application might still hold a reference to a "
+"deleted object. It's best to think of <literal>delete()</literal> as making "
+"a persistent instance transient."
+msgstr ""
+"<literal>Session.delete()</literal> ã¯ãªãã¸ã§ã¯ãã®ç¶æ
ããã¼ã¿ãã¼ã¹ããå"
+"é¤ãã¾ãã ãã¡ãããåé¤ãããªãã¸ã§ã¯ããã¢ããªã±ã¼ã·ã§ã³ãä¿æããã¾ã¾ã§ã"
+"ããã§ãã ãã®ããã <literal>delete()</literal> ã¯æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã䏿ç"
+"ã«ãããã®ã¨èããã®ãä¸çªã§ãã"
-#: index.docbook:719
+#. Tag: programlisting
+#: session_api.xml:719
+#, no-c-format
msgid "<![CDATA[sess.delete(cat);]]>"
-msgstr "ç°ãªãäºã¤ã®ãã¼ã¿ã¹ãã¢éã§ã®ãªãã¸ã§ã¯ãã®ã¬ããªã±ã¼ã·ã§ã³"
+msgstr ""
-#: index.docbook:721
-msgid "You may delete objects in any order you like, without risk of foreign key constraint violations. It is still possible to violate a <literal>NOT NULL</literal> constraint on a foreign key column by deleting objects in the wrong order, e.g. if you delete the parent, but forget to delete the children."
-msgstr "æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã®ã°ã©ããå¥ã®ãã¼ã¿ã¹ãã¢ã«æ°¸ç¶åããå ´åã«ã èå¥åã®å¤ãåçæããã«ããã¨ä¾¿å©ãªå ´åãããã¾ãã"
+#. Tag: para
+#: session_api.xml:721
+#, no-c-format
+msgid ""
+"You may delete objects in any order you like, without risk of foreign key "
+"constraint violations. It is still possible to violate a <literal>NOT NULL</"
+"literal> constraint on a foreign key column by deleting objects in the wrong "
+"order, e.g. if you delete the parent, but forget to delete the children."
+msgstr ""
+"å¤é¨ãã¼å¶ç´ã«éåãããªã¹ã¯ããªãã好ããªé çªã§ãªãã¸ã§ã¯ããåé¤ãããã¨ã"
+"ã§ãã¾ãã ãã ããééã£ãé çªã§ãªãã¸ã§ã¯ããåé¤ããã¨ãå¤é¨ãã¼ã«ã©ã ã® "
+"<literal>NOT NULL</literal> å¶ç´ã«éåããå¯è½æ§ãããã¾ãã ä¾ãã°ã親ãªã"
+"ã¸ã§ã¯ããåé¤ããã¨ãã«ãåä¾ãªãã¸ã§ã¯ããåé¤ãå¿ããå ´åã§ãã"
-#: index.docbook:732
+#. Tag: title
+#: session_api.xml:732
+#, no-c-format
msgid "Replicating object between two different datastores"
+msgstr "ç°ãªãäºã¤ã®ãã¼ã¿ã¹ãã¢éã§ã®ãªãã¸ã§ã¯ãã®ã¬ããªã±ã¼ã·ã§ã³"
+
+#. Tag: para
+#: session_api.xml:734
+#, no-c-format
+msgid ""
+"It is occasionally useful to be able to take a graph of persistent instances "
+"and make them persistent in a different datastore, without regenerating "
+"identifier values."
msgstr ""
- "<![CDATA[//retrieve a cat from one database
-\n"
- "Session session1 = factory1.openSession();
-\n"
- "Transaction tx1 = session1.beginTransaction();
-\n"
- "Cat cat = session1.get(Cat.class, catId);
-\n"
- "tx1.commit();
-\n"
- "session1.close();
-\n"
- "
-\n"
- "//reconcile with a second database
-\n"
- "Session session2 = factory2.openSession();
-\n"
- "Transaction tx2 = session2.beginTransaction();
-\n"
- "session2.replicate(cat, ReplicationMode.LATEST_VERSION);
-\n"
- "tx2.commit();
-\n"
- "session2.close();]]>"
+"æ°¸ç¶ã¤ã³ã¹ã¿ã³ã¹ã®ã°ã©ããå¥ã®ãã¼ã¿ã¹ãã¢ã«æ°¸ç¶åããå ´åã«ã èå¥åã®å¤ãå"
+"çæããã«ããã¨ä¾¿å©ãªå ´åãããã¾ãã"
-#: index.docbook:734
-msgid "It is occasionally useful to be able to take a graph of persistent instances and make them persistent in a different datastore, without regenerating identifier values."
-msgstr "ã¬ããªã±ã¼ã·ã§ã³å
ã®ãã¼ã¿ãã¼ã¹ã«è¡ãæ¢ã«ããå ´åã <literal>replicate()</literal> ãè¡çªãã©ã®ããã«æ±ããã <literal>ReplicationMode</literal> ã§æå®ãã¾ãã"
+#. Tag: programlisting
+#: session_api.xml:740
+#, no-c-format
+msgid ""
+"<![CDATA[//retrieve a cat from one database\n"
+"Session session1 = factory1.openSession();\n"
+"Transaction tx1 = session1.beginTransaction();\n"
+"Cat cat = session1.get(Cat.class, catId);\n"
+"tx1.commit();\n"
+"session1.close();\n"
+"\n"
+"//reconcile with a second database\n"
+"Session session2 = factory2.openSession();\n"
+"Transaction tx2 = session2.beginTransaction();\n"
+"session2.replicate(cat, ReplicationMode.LATEST_VERSION);\n"
+"tx2.commit();\n"
+"session2.close();]]>"
+msgstr ""
-#: index.docbook:740
+#. Tag: para
+#: session_api.xml:742
+#, no-c-format
msgid ""
- "<![CDATA[//retrieve a cat from one database\n"
- "Session session1 = factory1.openSession();\n"
- "Transaction tx1 = session1.beginTransaction();\n"
- "Cat cat = session1.get(Cat.class, catId);\n"
- "tx1.commit();\n"
- "session1.close();\n"
- "\n"
- "//reconcile with a second database\n"
- "Session session2 = factory2.openSession();\n"
- "Transaction tx2 = session2.beginTransaction();\n"
- "session2.replicate(cat, ReplicationMode.LATEST_VERSION);\n"
- "tx2.commit();\n"
- "session2.close();]]>"
-msgstr "<literal>ReplicationMode.IGNORE</literal> - åãèå¥åãæã¤è¡ããã¼ã¿ãã¼ã¹ã«åå¨ãããªãã ãã®ãªãã¸ã§ã¯ããç¡è¦ãã¾ãã"
+"The <literal>ReplicationMode</literal> determines how <literal>replicate()</"
+"literal> will deal with conflicts with existing rows in the database."
+msgstr ""
+"ã¬ããªã±ã¼ã·ã§ã³å
ã®ãã¼ã¿ãã¼ã¹ã«è¡ãæ¢ã«ããå ´åã <literal>replicate()</"
+"literal> ãè¡çªãã©ã®ããã«æ±ããã <literal>ReplicationMode</literal> ã§æå®"
+"ãã¾ãã"
-#: index.docbook:742
-msgid "The <literal>ReplicationMode</literal> determines how <literal>replicate()</literal> will deal with conflicts with existing rows in the database."
-msgstr "<literal>ReplicationMode.OVERWRITE</literal> - åãèå¥åãæã¤æ¢åã®è¡ã ãã¹ã¦ä¸æ¸ããã¾ãã"
+#. Tag: para
+#: session_api.xml:749
+#, no-c-format
+msgid ""
+"<literal>ReplicationMode.IGNORE</literal> - ignore the object when there is "
+"an existing database row with the same identifier"
+msgstr ""
+"<literal>ReplicationMode.IGNORE</literal> - åãèå¥åãæã¤è¡ããã¼ã¿ãã¼ã¹"
+"ã«åå¨ãããªãã ãã®ãªãã¸ã§ã¯ããç¡è¦ãã¾ãã"
-#: index.docbook:749
-msgid "<literal>ReplicationMode.IGNORE</literal> - ignore the object when there is an existing database row with the same identifier"
-msgstr "<literal>ReplicationMode.EXCEPTION</literal> - åãèå¥åãæã¤è¡ããã¼ã¿ãã¼ã¹ã«åå¨ãããªãã ä¾å¤ãæãã¾ãã"
+#. Tag: para
+#: session_api.xml:755
+#, no-c-format
+msgid ""
+"<literal>ReplicationMode.OVERWRITE</literal> - overwrite any existing "
+"database row with the same identifier"
+msgstr ""
+"<literal>ReplicationMode.OVERWRITE</literal> - åãèå¥åãæã¤æ¢åã®è¡ã ã"
+"ã¹ã¦ä¸æ¸ããã¾ãã"
-#: index.docbook:755
-msgid "<literal>ReplicationMode.OVERWRITE</literal> - overwrite any existing database row with the same identifier"
-msgstr "<literal>ReplicationMode.LATEST_VERSION</literal> - è¡ã«ä¿åããã¦ãããã¼ã¸ã§ã³çªå·ãã 弿°ã®ãªãã¸ã§ã¯ãã®ãã¼ã¸ã§ã³çªå·ããå¤ããªãã°ããã®è¡ã䏿¸ããã¾ãã"
+#. Tag: para
+#: session_api.xml:761
+#, no-c-format
+msgid ""
+"<literal>ReplicationMode.EXCEPTION</literal> - throw an exception if there "
+"is an existing database row with the same identifier"
+msgstr ""
+"<literal>ReplicationMode.EXCEPTION</literal> - åãèå¥åãæã¤è¡ããã¼ã¿ãã¼"
+"ã¹ã«åå¨ãããªãã ä¾å¤ãæãã¾ãã"
-#: index.docbook:761
-msgid "<literal>ReplicationMode.EXCEPTION</literal> - throw an exception if there is an existing database row with the same identifier"
-msgstr "次ã®ãããªã±ã¼ã¹ã§ããã®æ©è½ã使ç¨ãã¾ãã ç°ãªããã¼ã¿ãã¼ã¹ã¤ã³ã¹ã¿ã³ã¹ã«å
¥ãããããã¼ã¿ã®åæã è£½åæ´æ°æã«ãããã·ã¹ãã è¨å®æ
å ±ã®æ´æ°ãéACIDãã©ã³ã¶ã¯ã·ã§ã³ã®ãªãã§å ãããã夿´ã®ãã¼ã«ããã¯ãªã©ã§ãã"
+#. Tag: para
+#: session_api.xml:767
+#, no-c-format
+msgid ""
+"<literal>ReplicationMode.LATEST_VERSION</literal> - overwrite the row if its "
+"version number is earlier than the version number of the object, or ignore "
+"the object otherwise"
+msgstr ""
+"<literal>ReplicationMode.LATEST_VERSION</literal> - è¡ã«ä¿åããã¦ãããã¼"
+"ã¸ã§ã³çªå·ãã 弿°ã®ãªãã¸ã§ã¯ãã®ãã¼ã¸ã§ã³çªå·ããå¤ããªãã°ããã®è¡ã䏿¸"
+"ããã¾ãã"
-#: index.docbook:767
-msgid "<literal>ReplicationMode.LATEST_VERSION</literal> - overwrite the row if its version number is earlier than the version number of the object, or ignore the object otherwise"
-msgstr "ã»ãã·ã§ã³ã®ãã©ãã·ã¥"
+#. Tag: para
+#: session_api.xml:775
+#, no-c-format
+msgid ""
+"Usecases for this feature include reconciling data entered into different "
+"database instances, upgrading system configuration information during "
+"product upgrades, rolling back changes made during non-ACID transactions and "
+"more."
+msgstr ""
+"次ã®ãããªã±ã¼ã¹ã§ããã®æ©è½ã使ç¨ãã¾ãã ç°ãªããã¼ã¿ãã¼ã¹ã¤ã³ã¹ã¿ã³ã¹ã«å
¥"
+"ãããããã¼ã¿ã®åæã è£½åæ´æ°æã«ãããã·ã¹ãã è¨å®æ
å ±ã®æ´æ°ãéACIDãã©ã³"
+"ã¶ã¯ã·ã§ã³ã®ãªãã§å ãããã夿´ã®ãã¼ã«ããã¯ãªã©ã§ãã"
-#: index.docbook:775
-msgid "Usecases for this feature include reconciling data entered into different database instances, upgrading system configuration information during product upgrades, rolling back changes made during non-ACID transactions and more."
-msgstr "JDBCã³ãã¯ã·ã§ã³ã®ç¶æ
ã¨ã¡ã¢ãªä¸ã®ãªãã¸ã§ã¯ãã®ç¶æ
ãåæãããããã«å¿
è¦ãª SQLæã <literal>Session</literal> ãå®è¡ãããã¨ãã¨ãã©ãããã¾ãã ãã®å¦ç <emphasis>flush</emphasis> ã¯ãããã©ã«ãã§ã¯æ¬¡ã®ã¨ãã«èµ·ããã¾ãã"
-
-#: index.docbook:784
+#. Tag: title
+#: session_api.xml:784
+#, no-c-format
msgid "Flushing the Session"
-msgstr "ã¯ã¨ãªãå®è¡ããå"
+msgstr "ã»ãã·ã§ã³ã®ãã©ãã·ã¥"
-#: index.docbook:786
-msgid "From time to time the <literal>Session</literal> will execute the SQL statements needed to synchronize the JDBC connection's state with the state of objects held in memory. This process, <emphasis>flush</emphasis>, occurs by default at the following points"
-msgstr "<literal>org.hibernate.Transaction.commit()</literal> ãå®è¡ããã¨ã"
+#. Tag: para
+#: session_api.xml:786
+#, no-c-format
+msgid ""
+"From time to time the <literal>Session</literal> will execute the SQL "
+"statements needed to synchronize the JDBC connection's state with the state "
+"of objects held in memory. This process, <emphasis>flush</emphasis>, occurs "
+"by default at the following points"
+msgstr ""
+"JDBCã³ãã¯ã·ã§ã³ã®ç¶æ
ã¨ã¡ã¢ãªä¸ã®ãªãã¸ã§ã¯ãã®ç¶æ
ãåæãããããã«å¿
è¦ãª "
+"SQLæã <literal>Session</literal> ãå®è¡ãããã¨ãã¨ãã©ãããã¾ãã ãã®å¦"
+"ç <emphasis>flush</emphasis> ã¯ãããã©ã«ãã§ã¯æ¬¡ã®ã¨ãã«èµ·ããã¾ãã"
-#: index.docbook:795
+#. Tag: para
+#: session_api.xml:795
+#, no-c-format
msgid "before some query executions"
-msgstr "<literal>Session.flush()</literal> ãå®è¡ããã¨ã"
+msgstr "ã¯ã¨ãªãå®è¡ããå"
-#: index.docbook:800
+#. Tag: para
+#: session_api.xml:800
+#, no-c-format
msgid "from <literal>org.hibernate.Transaction.commit()</literal>"
-msgstr "SQLæã¯ä»¥ä¸ã®é çªã§çºè¡ããã¾ãã"
+msgstr "<literal>org.hibernate.Transaction.commit()</literal> ãå®è¡ããã¨ã"
-#: index.docbook:805
+#. Tag: para
+#: session_api.xml:805
+#, no-c-format
msgid "from <literal>Session.flush()</literal>"
-msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®æ¿å
¥ãããã¯ã <literal>Session.save()</literal> ã使ã£ã¦ã»ã¼ããã ãªãã¸ã§ã¯ãã®é ã«å®è¡ãã¦ããã¾ãã"
+msgstr "<literal>Session.flush()</literal> ãå®è¡ããã¨ã"
-#: index.docbook:811
+#. Tag: para
+#: session_api.xml:811
+#, no-c-format
msgid "The SQL statements are issued in the following order"
-msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®æ´æ°"
+msgstr "SQLæã¯ä»¥ä¸ã®é çªã§çºè¡ããã¾ãã"
-#: index.docbook:817
-msgid "all entity insertions, in the same order the corresponding objects were saved using <literal>Session.save()</literal>"
-msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®åé¤"
+#. Tag: para
+#: session_api.xml:817
+#, no-c-format
+msgid ""
+"all entity insertions, in the same order the corresponding objects were "
+"saved using <literal>Session.save()</literal>"
+msgstr ""
+"ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®æ¿å
¥ãããã¯ã <literal>Session.save()</literal> ã使ã£"
+"ã¦ã»ã¼ããã ãªãã¸ã§ã¯ãã®é ã«å®è¡ãã¦ããã¾ãã"
-#: index.docbook:823
+#. Tag: para
+#: session_api.xml:823
+#, no-c-format
msgid "all entity updates"
-msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«å¯¾ããåé¤ãæ´æ°ãæ¿å
¥"
+msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®æ´æ°"
-#: index.docbook:828
+#. Tag: para
+#: session_api.xml:828
+#, no-c-format
msgid "all collection deletions"
-msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®æ¿å
¥"
+msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®åé¤"
-#: index.docbook:833
+#. Tag: para
+#: session_api.xml:833
+#, no-c-format
msgid "all collection element deletions, updates and insertions"
-msgstr "ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®åé¤ãããã¯ã<literal>Session.delete()</literal> ã使ã£ã¦ åé¤ãããªãã¸ã§ã¯ãã®é ã«å®è¡ãã¦ããã¾ãã"
+msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ã«å¯¾ããåé¤ãæ´æ°ãæ¿å
¥"
-#: index.docbook:838
+#. Tag: para
+#: session_api.xml:838
+#, no-c-format
msgid "all collection insertions"
-msgstr "(ï¼ã¤ä¾å¤ãããã¾ãã <literal>native</literal> ID çæã使ã£ããªãã¸ã§ã¯ãã¯ã ããããã»ã¼ããããã¨ãã«æ¿å
¥ããã¾ããï¼"
+msgstr "ãã¹ã¦ã®ã³ã¬ã¯ã·ã§ã³ã®æ¿å
¥"
-#: index.docbook:843
-msgid "all entity deletions, in the same order the corresponding objects were deleted using <literal>Session.delete()</literal>"
-msgstr "æç¤ºçã« <literal>flush()</literal> ããã¨ããé¤ãã¦ã <emphasis>ãã¤</emphasis> <literal>Session</literal> ãJDBCãã³ã¼ã«ããã®ãã«ã¤ã㦠絶対çãªä¿è¨¼ã¯ããã¾ããããã ããããããå®è¡ããã <emphasis>é çª</emphasis> ã ã㯠ä¿è¨¼ããã¾ãã ã¾ããHibernate ã¯ã <literal>Query.list(..)</literal> ãå¤ããã¼ã¿ãééã£ããã¼ã¿è¿ããªããã¨ã ä¿è¨¼ãã¦ãã¾ãã"
+#. Tag: para
+#: session_api.xml:843
+#, no-c-format
+msgid ""
+"all entity deletions, in the same order the corresponding objects were "
+"deleted using <literal>Session.delete()</literal>"
+msgstr ""
+"ãã¹ã¦ã®ã¨ã³ãã£ãã£ã®åé¤ãããã¯ã<literal>Session.delete()</literal> ã"
+"使ã£ã¦ åé¤ãããªãã¸ã§ã¯ãã®é ã«å®è¡ãã¦ããã¾ãã"
-#: index.docbook:850
-msgid "(An exception is that objects using <literal>native</literal> ID generation are inserted when they are saved.)"
-msgstr "ãã©ãã·ã¥ãé »ç¹ã«èµ·ãããªãããã«ããã©ã«ãã®æ¯ãèããå¤ãããã¨ãã§ãã¾ãã <literal>FlushMode</literal> ã¯ã©ã¹ã¯3ã¤ã®ç°ãªãã¢ã¼ããå®ç¾©ãã¾ãã ããã¯ãã³ãããæã«ã ããã©ãã·ã¥ããã¢ã¼ã ï¼Hibernateã® <literal>Transaction</literal> APIã使ãããå ´åã ãã§ãï¼ã 説æã®ãã£ãå¦çé ã«åºã¥ãã¦èªåã§ãã©ãã·ã¥ããã¢ã¼ãã <literal>flush()</literal> ãæç¤ºçã«å¼ã°ããªãéããã©ãã·ã¥ããªãã¢ã¼ãã®ï¼ã¤ã§ãã æå¾ã®ã¢ã¼ãã¯ã使¥åä½ãé·æéã«åã¶å ´åã«å½¹ã«ç«ã¡ã¾ã ( <xref linkend=\"transactions-optimistic-longsession\"/> ãåç
§ãã¦ãã ãã)ã"
+#. Tag: para
+#: session_api.xml:850
+#, no-c-format
+msgid ""
+"(An exception is that objects using <literal>native</literal> ID generation "
+"are inserted when they are saved.)"
+msgstr ""
+"(ï¼ã¤ä¾å¤ãããã¾ãã <literal>native</literal> ID çæã使ã£ããªãã¸ã§ã¯ã"
+"ã¯ã ããããã»ã¼ããããã¨ãã«æ¿å
¥ããã¾ããï¼"
-#: index.docbook:855
-msgid "Except when you explicity <literal>flush()</literal>, there are absolutely no guarantees about <emphasis>when</emphasis> the <literal>Session</literal> executes the JDBC calls, only the <emphasis>order</emphasis> in which they are executed. However, Hibernate does guarantee that the <literal>Query.list(..)</literal> will never return stale data; nor will they return the wrong data."
+#. Tag: para
+#: session_api.xml:855
+#, no-c-format
+msgid ""
+"Except when you explicity <literal>flush()</literal>, there are absolutely "
+"no guarantees about <emphasis>when</emphasis> the <literal>Session</literal> "
+"executes the JDBC calls, only the <emphasis>order</emphasis> in which they "
+"are executed. However, Hibernate does guarantee that the <literal>Query.list"
+"(..)</literal> will never return stale data; nor will they return the wrong "
+"data."
msgstr ""
- "<![CDATA[sess = sf.openSession();
-\n"
- "Transaction tx = sess.beginTransaction();
-\n"
- "sess.setFlushMode(FlushMode.COMMIT); // allow queries to return stale state
-\n"
- "
-\n"
- "Cat izi = (Cat) sess.load(Cat.class, id);
-\n"
- "izi.setName(iznizi);
-\n"
- "
-\n"
- "// might return stale data
-\n"
- "sess.find(\"from Cat as cat left outer join cat.kittens kitten\");
-\n"
- "
-\n"
- "// change to izi is not flushed!
-\n"
- "...
-\n"
- "tx.commit(); // flush occurs
-\n"
- "sess.close();]]>"
+"æç¤ºçã« <literal>flush()</literal> ããã¨ããé¤ãã¦ã <emphasis>ãã¤</"
+"emphasis><literal>Session</literal> ãJDBCãã³ã¼ã«ããã®ãã«ã¤ã㦠絶対çãªä¿"
+"証ã¯ããã¾ããããã ããããããå®è¡ããã <emphasis>é çª</emphasis> ã ã㯠"
+"ä¿è¨¼ããã¾ãã ã¾ããHibernate ã¯ã <literal>Query.list(..)</literal> ãå¤ã"
+"ãã¼ã¿ãééã£ããã¼ã¿è¿ããªããã¨ã ä¿è¨¼ãã¦ãã¾ãã"
-#: index.docbook:863
-msgid "It is possible to change the default behavior so that flush occurs less frequently. The <literal>FlushMode</literal> class defines three different modes: only flush at commit time (and only when the Hibernate <literal>Transaction</literal> API is used), flush automatically using the explained routine, or never flush unless <literal>flush()</literal> is called explicitly. The last mode is useful for long running units of work, where a <literal>Session</literal> is kept open and disconnected for a long time (see <xref linkend=\"transactions-optimistic-longsession\"/>)."
-msgstr "ãã©ãã·ã¥ã®ã¨ããä¾å¤ãçºçããããããã¾ããã ï¼ä¾ãã°ãDMLæä½ãå¶ç´ãéåãããããªå ´åã§ããï¼ ä¾å¤å¦çãçè§£ããããã«ã¯ãHibernateã®ãã©ã³ã¶ã¯ã·ã§ã³ã®æ¯ãèããçè§£ããå¿
è¦ãããããã <xref linkend=\"transactions\"/> ã§èª¬æãã¾ãã"
+#. Tag: para
+#: session_api.xml:863
+#, no-c-format
+msgid ""
+"It is possible to change the default behavior so that flush occurs less "
+"frequently. The <literal>FlushMode</literal> class defines three different "
+"modes: only flush at commit time (and only when the Hibernate "
+"<literal>Transaction</literal> API is used), flush automatically using the "
+"explained routine, or never flush unless <literal>flush()</literal> is "
+"called explicitly. The last mode is useful for long running units of work, "
+"where a <literal>Session</literal> is kept open and disconnected for a long "
+"time (see <xref linkend=\"transactions-optimistic-longsession\"/>)."
+msgstr ""
+"ãã©ãã·ã¥ãé »ç¹ã«èµ·ãããªãããã«ããã©ã«ãã®æ¯ãèããå¤ãããã¨ãã§ãã¾"
+"ãã <literal>FlushMode</literal> ã¯ã©ã¹ã¯3ã¤ã®ç°ãªãã¢ã¼ããå®ç¾©ãã¾ãã ã"
+"ãã¯ãã³ãããæã«ã ããã©ãã·ã¥ããã¢ã¼ã ï¼Hibernateã® "
+"<literal>Transaction</literal> APIã使ãããå ´åã ãã§ãï¼ã 説æã®ãã£ãå¦ç"
+"é ã«åºã¥ãã¦èªåã§ãã©ãã·ã¥ããã¢ã¼ãã <literal>flush()</literal> ãæç¤ºç"
+"ã«å¼ã°ããªãéããã©ãã·ã¥ããªãã¢ã¼ãã®ï¼ã¤ã§ãã æå¾ã®ã¢ã¼ãã¯ã使¥åä½ã"
+"é·æéã«åã¶å ´åã«å½¹ã«ç«ã¡ã¾ã ( <xref linkend=\"transactions-optimistic-"
+"longsession\"/> ãåç
§ãã¦ãã ãã)ã"
-#: index.docbook:873
+#. Tag: programlisting
+#: session_api.xml:873
+#, no-c-format
msgid ""
- "<![CDATA[sess = sf.openSession();\n"
- "Transaction tx = sess.beginTransaction();\n"
- "sess.setFlushMode(FlushMode.COMMIT); // allow queries to return stale state\n"
- "\n"
- "Cat izi = (Cat) sess.load(Cat.class, id);\n"
- "izi.setName(iznizi);\n"
- "\n"
- "// might return stale data\n"
- "sess.find(\"from Cat as cat left outer join cat.kittens kitten\");\n"
- "\n"
- "// change to izi is not flushed!\n"
- "...\n"
- "tx.commit(); // flush occurs\n"
- "sess.close();]]>"
-msgstr "é£éçãªæ°¸ç¶å"
+"<![CDATA[sess = sf.openSession();\n"
+"Transaction tx = sess.beginTransaction();\n"
+"sess.setFlushMode(FlushMode.COMMIT); // allow queries to return stale state\n"
+"\n"
+"Cat izi = (Cat) sess.load(Cat.class, id);\n"
+"izi.setName(iznizi);\n"
+"\n"
+"// might return stale data\n"
+"sess.find(\"from Cat as cat left outer join cat.kittens kitten\");\n"
+"\n"
+"// change to izi is not flushed!\n"
+"...\n"
+"tx.commit(); // flush occurs\n"
+"sess.close();]]>"
+msgstr ""
-#: index.docbook:875
-msgid "During flush, an exception might occur (e.g. if a DML operation violates a constraint). Since handling exceptions involves some understanding of Hibernate's transactional behavior, we discuss it in <xref linkend=\"transactions\"/>."
-msgstr "åã
ã®ãªãã¸ã§ã¯ããã»ã¼ãããããåé¤ããããå追å ããããããã¨ã¯ ããªãé¢åã§ããç¹ã«ãé¢é£ãããªãã¸ã§ã¯ããæ±ããããªå ´åã«ã¯éç«ã¡ã¾ãã ããããã®ã¯ã親åé¢ä¿ãæ±ãã±ã¼ã¹ã§ãã 以ä¸ã®ä¾ãèãã¦ã¿ã¾ãããã"
+#. Tag: para
+#: session_api.xml:875
+#, no-c-format
+msgid ""
+"During flush, an exception might occur (e.g. if a DML operation violates a "
+"constraint). Since handling exceptions involves some understanding of "
+"Hibernate's transactional behavior, we discuss it in <xref linkend="
+"\"transactions\"/>."
+msgstr ""
+"ãã©ãã·ã¥ã®ã¨ããä¾å¤ãçºçããããããã¾ããã ï¼ä¾ãã°ãDMLæä½ãå¶ç´ãé"
+"åãããããªå ´åã§ããï¼ ä¾å¤å¦çãçè§£ããããã«ã¯ãHibernateã®ãã©ã³ã¶ã¯"
+"ã·ã§ã³ã®æ¯ãèããçè§£ããå¿
è¦ãããããã <xref linkend=\"transactions\"/> "
+"ã§èª¬æãã¾ãã"
-#: index.docbook:884
+#. Tag: title
+#: session_api.xml:884
+#, no-c-format
msgid "Transitive persistence"
-msgstr "ããã親åé¢ä¿ã®åãå¤åãªãï¼ä¾ãã°ã使ãæååã®ã³ã¬ã¯ã·ã§ã³ï¼ã ãããã®ã©ã¤ããµã¤ã¯ã«ã¯è¦ªã«ä¾åãã¦ããã便å©ãªç¶æ
å¤åã®\"ã«ã¹ã±ã¼ã\"ã使ãããã«ã 追å ã®ä½æ¥ã¯å¿
è¦ã¯ããã¾ããã 親ãã»ã¼ããããã¨ããå¤åã®åãªãã¸ã§ã¯ããåãããã«ã»ã¼ãããã¾ããã 親ãåé¤ãããã¨ãã¯ãåãåé¤ããã¾ãããã®ä»ã®æä½ãåãã§ãã ã³ã¬ã¯ã·ã§ã³ãã1ã¤ã®åãåé¤ãããããªæä½ã§ããã¾ãããã¾ãã ããªãã¡ãHibernateã¯ãã®å餿ä½ãæ¤åºããã¨ã å¤åã®ãªãã¸ã§ã¯ãã¯åç
§ãå
±æã§ããªãã®ã§ããã¼ã¿ãã¼ã¹ãããã®åä¾ãåé¤ãã¾ãã"
+msgstr "é£éçãªæ°¸ç¶å"
-#: index.docbook:886
-msgid "It is quite cumbersome to save, delete, or reattach individual objects, especially if you deal with a graph of associated objects. A common case is a parent/child relationship. Consider the following example:"
-msgstr "ããã§ã親ã¨åãå¤åã§ãªãã¨ã³ãã£ãã£ã§ããã¨ãã¦åãã·ããªãªãèãã¦ã¿ã¾ãããã ï¼ä¾ãã°ãã«ãã´ãªã¼ã¨åç®ã®é¢ä¿ã親ã¨åã®ç«ã®é¢ä¿ã§ããï¼ ã¨ã³ãã£ãã£ã¯ãããèªèº«ãã©ã¤ããµã¤ã¯ã«ãæã¡ãåç
§ã®å
±æããµãã¼ããã¾ãã ï¼ãã®ãããã³ã¬ã¯ã·ã§ã³ããã¨ã³ãã£ãã£ãåé¤ãããã¨ã¯ã ã¨ã³ãã£ãã£èªèº«ã®åé¤ãæå³ãã¾ãããï¼ ã¾ããã¨ã³ãã£ãã£ã¯ãããã©ã«ãã§ã¯ãé¢é£ããä»ã®ã¨ã³ãã£ãã£ã¸ ç¶æ
ãã«ã¹ã±ã¼ããããã¨ã¯ããã¾ããã Hibernate㯠<emphasis>å°éå¯è½æ§ã«ããæ°¸ç¶å</emphasis> ãããã©ã«ãã§ã¯å®è¡ãã¾ããã"
+#. Tag: para
+#: session_api.xml:886
+#, no-c-format
+msgid ""
+"It is quite cumbersome to save, delete, or reattach individual objects, "
+"especially if you deal with a graph of associated objects. A common case is "
+"a parent/child relationship. Consider the following example:"
+msgstr ""
+"åã
ã®ãªãã¸ã§ã¯ããã»ã¼ãããããåé¤ããããå追å ããããããã¨ã¯ ããªãé¢"
+"åã§ããç¹ã«ãé¢é£ãããªãã¸ã§ã¯ããæ±ããããªå ´åã«ã¯éç«ã¡ã¾ãã ããããã®"
+"ã¯ã親åé¢ä¿ãæ±ãã±ã¼ã¹ã§ãã 以ä¸ã®ä¾ãèãã¦ã¿ã¾ãããã"
-#: index.docbook:892
-msgid "If the children in a parent/child relationship would be value typed (e.g. a collection of addresses or strings), their life cycle would depend on the parent and no further action would be required for convenient \"cascading\" of state changes. When the parent is saved, the value-typed child objects are saved as well, when the parent is deleted, the children will be deleted, etc. This even works for operations such as the removal of a child from the collection; Hibernate will detect this and, since value-typed objects can't have shared references, delete the child from the database."
-msgstr "Hibernateã®Sessionã®åºæ¬æä½ï¼ <literal>persist(), merge(), saveOrUpdate(), delete(), lock(), refresh(), evict(), replicate()</literal> ãå«ã¾ãã¾ãï¼ã«å¯¾ãã¦ã ããããã«å¯¾å¿ããã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ãããã¾ãã ããããã®ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ã«ã¯ã <literal>create, merge, save-update, delete, lock, refresh, evict, replicate</literal> ã¨ããååãã¤ãã¦ãã¾ãã ãããé¢é£ã«æ²¿ã£ã¦ã«ã¹ã±ã¼ãããããæä½ããããªãããããã³ã°ãã¡ã¤ã«ã«ããæå®ããªããã°ãªãã¾ããã ä¾ãã°ã以ä¸ã®ããã«ãã¾ãã"
+#. Tag: para
+#: session_api.xml:892
+#, no-c-format
+msgid ""
+"If the children in a parent/child relationship would be value typed (e.g. a "
+"collection of addresses or strings), their life cycle would depend on the "
+"parent and no further action would be required for convenient \"cascading\" "
+"of state changes. When the parent is saved, the value-typed child objects "
+"are saved as well, when the parent is deleted, the children will be deleted, "
+"etc. This even works for operations such as the removal of a child from the "
+"collection; Hibernate will detect this and, since value-typed objects can't "
+"have shared references, delete the child from the database."
+msgstr ""
+"ããã親åé¢ä¿ã®åãå¤åãªãï¼ä¾ãã°ã使ãæååã®ã³ã¬ã¯ã·ã§ã³ï¼ã ãããã®"
+"ã©ã¤ããµã¤ã¯ã«ã¯è¦ªã«ä¾åãã¦ããã便å©ãªç¶æ
å¤åã®\"ã«ã¹ã±ã¼ã\"ã使ããã"
+"ã«ã 追å ã®ä½æ¥ã¯å¿
è¦ã¯ããã¾ããã 親ãã»ã¼ããããã¨ããå¤åã®åãªãã¸ã§ã¯"
+"ããåãããã«ã»ã¼ãããã¾ããã 親ãåé¤ãããã¨ãã¯ãåãåé¤ããã¾ãããã®"
+"ä»ã®æä½ãåãã§ãã ã³ã¬ã¯ã·ã§ã³ãã1ã¤ã®åãåé¤ãããããªæä½ã§ããã¾ãã"
+"ãã¾ãã ããªãã¡ãHibernateã¯ãã®å餿ä½ãæ¤åºããã¨ã å¤åã®ãªãã¸ã§ã¯ãã¯"
+"åç
§ãå
±æã§ããªãã®ã§ããã¼ã¿ãã¼ã¹ãããã®åä¾ãåé¤ãã¾ãã"
-#: index.docbook:903
-msgid "Now consider the same scenario with parent and child objects being entities, not value-types (e.g. categories and items, or parent and child cats). Entities have their own life cycle, support shared references (so removing an entity from the collection does not mean it can be deleted), and there is by default no cascading of state from one entity to any other associated entities. Hibernate does not implement <emphasis>persistence by reachability</emphasis> by default."
-msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
+#. Tag: para
+#: session_api.xml:903
+#, no-c-format
+msgid ""
+"Now consider the same scenario with parent and child objects being entities, "
+"not value-types (e.g. categories and items, or parent and child cats). "
+"Entities have their own life cycle, support shared references (so removing "
+"an entity from the collection does not mean it can be deleted), and there is "
+"by default no cascading of state from one entity to any other associated "
+"entities. Hibernate does not implement <emphasis>persistence by "
+"reachability</emphasis> by default."
+msgstr ""
+"ããã§ã親ã¨åãå¤åã§ãªãã¨ã³ãã£ãã£ã§ããã¨ãã¦åãã·ããªãªãèãã¦ã¿ã¾"
+"ãããã ï¼ä¾ãã°ãã«ãã´ãªã¼ã¨åç®ã®é¢ä¿ã親ã¨åã®ç«ã®é¢ä¿ã§ããï¼ ã¨ã³ãã£"
+"ãã£ã¯ãããèªèº«ãã©ã¤ããµã¤ã¯ã«ãæã¡ãåç
§ã®å
±æããµãã¼ããã¾ãã ï¼ãã®ã"
+"ããã³ã¬ã¯ã·ã§ã³ããã¨ã³ãã£ãã£ãåé¤ãããã¨ã¯ã ã¨ã³ãã£ãã£èªèº«ã®åé¤ãæ"
+"å³ãã¾ãããï¼ ã¾ããã¨ã³ãã£ãã£ã¯ãããã©ã«ãã§ã¯ãé¢é£ããä»ã®ã¨ã³ãã£ãã£"
+"ã¸ ç¶æ
ãã«ã¹ã±ã¼ããããã¨ã¯ããã¾ããã Hibernate㯠<emphasis>å°éå¯è½æ§ã«"
+"ããæ°¸ç¶å</emphasis> ãããã©ã«ãã§ã¯å®è¡ãã¾ããã"
-#: index.docbook:912
-msgid "For each basic operation of the Hibernate session - including <literal>persist(), merge(), saveOrUpdate(), delete(), lock(), refresh(), evict(), replicate()</literal> - there is a corresponding cascade style. Respectively, the cascade styles are named <literal>create, merge, save-update, delete, lock, refresh, evict, replicate</literal>. If you want an operation to be cascaded along an association, you must indicate that in the mapping document. For example:"
-msgstr "ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ã¯ãçµã¿åããããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: session_api.xml:912
+#, no-c-format
+msgid ""
+"For each basic operation of the Hibernate session - including "
+"<literal>persist(), merge(), saveOrUpdate(), delete(), lock(), refresh(), "
+"evict(), replicate()</literal> - there is a corresponding cascade style. "
+"Respectively, the cascade styles are named <literal>create, merge, save-"
+"update, delete, lock, refresh, evict, replicate</literal>. If you want an "
+"operation to be cascaded along an association, you must indicate that in the "
+"mapping document. For example:"
+msgstr ""
+"Hibernateã®Sessionã®åºæ¬æä½ï¼ <literal>persist(), merge(), saveOrUpdate(), "
+"delete(), lock(), refresh(), evict(), replicate()</literal> ãå«ã¾ãã¾ãï¼ã«"
+"対ãã¦ã ããããã«å¯¾å¿ããã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ãããã¾ãã ããããã®ã«ã¹ã±ã¼"
+"ãã¹ã¿ã¤ã«ã«ã¯ã <literal>create, merge, save-update, delete, lock, refresh, "
+"evict, replicate</literal> ã¨ããååãã¤ãã¦ãã¾ãã ãããé¢é£ã«æ²¿ã£ã¦ã«ã¹"
+"ã±ã¼ãããããæä½ããããªãããããã³ã°ãã¡ã¤ã«ã«ããæå®ããªããã°ãªãã¾ã"
+"ãã ä¾ãã°ã以ä¸ã®ããã«ãã¾ãã"
-#: index.docbook:921
+#. Tag: programlisting
+#: session_api.xml:921
+#, no-c-format
msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
-msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
+msgstr ""
-#: index.docbook:923
+#. Tag: para
+#: session_api.xml:923
+#, no-c-format
msgid "Cascade styles my be combined:"
-msgstr "<emphasis>ãã¹ã¦ã®</emphasis> æä½ãé¢é£ã«æ²¿ã£ã¦ã«ã¹ã±ã¼ãããããæå®ããã¨ãã¯ã <literal>cascade=\"all\"</literal> ã使ãã¾ãã ããã©ã«ãã® <literal>cascade=\"none\"</literal> ã¯ãã©ã®æä½ãã«ã¹ã±ã¼ãããªããã¨ãæå³ãã¾ãã"
+msgstr "ã«ã¹ã±ã¼ãã¹ã¿ã¤ã«ã¯ãçµã¿åããããã¨ãã§ãã¾ãã"
-#: index.docbook:927
-msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
-msgstr "ç¹æ®ãªã«ã¹ã±ã¼ãã¹ã¿ã¤ã« <literal>delete-orphan</literal> ã¯ãä¸å¯¾å¤é¢é£ã«ã ã é©ç¨ã§ãã¾ãã ããã¯ãé¢é£ããåé¤ãããåä¾ã®ãªãã¸ã§ã¯ãã«å¯¾ãã¦ã <literal>delete()</literal> æä½ãé©ç¨ããããã¨ãæå³ãã¾ãã"
+#. Tag: programlisting
+#: session_api.xml:927
+#, no-c-format
+msgid ""
+"<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
+msgstr ""
-#: index.docbook:929
-msgid "You may even use <literal>cascade=\"all\"</literal> to specify that <emphasis>all</emphasis> operations should be cascaded along the association. The default <literal>cascade=\"none\"</literal> specifies that no operations are to be cascaded."
-msgstr "ããããï¼"
+#. Tag: para
+#: session_api.xml:929
+#, no-c-format
+msgid ""
+"You may even use <literal>cascade=\"all\"</literal> to specify that "
+"<emphasis>all</emphasis> operations should be cascaded along the "
+"association. The default <literal>cascade=\"none\"</literal> specifies that "
+"no operations are to be cascaded."
+msgstr ""
+"<emphasis>ãã¹ã¦ã®</emphasis> æä½ãé¢é£ã«æ²¿ã£ã¦ã«ã¹ã±ã¼ãããããæå®ããã¨"
+"ãã¯ã <literal>cascade=\"all\"</literal> ã使ãã¾ãã ããã©ã«ãã® "
+"<literal>cascade=\"none\"</literal> ã¯ãã©ã®æä½ãã«ã¹ã±ã¼ãããªããã¨ãæå³"
+"ãã¾ãã"
-#: index.docbook:935
-msgid "A special cascade style, <literal>delete-orphan</literal>, applies only to one-to-many associations, and indicates that the <literal>delete()</literal> operation should be applied to any child object that is removed from the association."
-msgstr "æ®éã <literal><many-to-one></literal> ã <literal><many-to-many></literal> é¢é£ã«å¯¾ãã¦ã¯ã ã«ã¹ã±ã¼ããè¨å®ããæå³ã¯ããã¾ããã <literal><one-to-one></literal> 㨠<literal><one-to-many></literal> é¢é£ã«å¯¾ãã¦ã¯ã ã«ã¹ã±ã¼ããå½¹ã«ç«ã¤ãã¨ãããã¾ãã"
+#. Tag: para
+#: session_api.xml:935
+#, no-c-format
+msgid ""
+"A special cascade style, <literal>delete-orphan</literal>, applies only to "
+"one-to-many associations, and indicates that the <literal>delete()</literal> "
+"operation should be applied to any child object that is removed from the "
+"association."
+msgstr ""
+"ç¹æ®ãªã«ã¹ã±ã¼ãã¹ã¿ã¤ã« <literal>delete-orphan</literal> ã¯ãä¸å¯¾å¤é¢é£ã«ã "
+"ã é©ç¨ã§ãã¾ãã ããã¯ãé¢é£ããåé¤ãããåä¾ã®ãªãã¸ã§ã¯ãã«å¯¾ãã¦ã "
+"<literal>delete()</literal> æä½ãé©ç¨ããããã¨ãæå³ãã¾ãã"
-#: index.docbook:942
+#. Tag: para
+#: session_api.xml:942
+#, no-c-format
msgid "Recommendations:"
-msgstr "åä¾ãªãã¸ã§ã¯ãã®å¯¿å½ã親ãªãã¸ã§ã¯ãã®å¯¿å½ã«å¶éãåãããªãã°ã <literal>cascade=\"all,delete-orphan\"</literal> ãæå®ãã åä¾ãªãã¸ã§ã¯ãã <emphasis>ã©ã¤ããµã¤ã¯ã«ãªãã¸ã§ã¯ã</emphasis> ã«ãã¾ãã"
+msgstr "ããããï¼"
-#: index.docbook:948
-msgid "It doesn't usually make sense to enable cascade on a <literal><many-to-one></literal> or <literal><many-to-many></literal> association. Cascade is often useful for <literal><one-to-one></literal> and <literal><one-to-many></literal> associations."
-msgstr ". ãã以å¤ã®å ´åã¯ãã«ã¹ã±ã¼ãã¯ã»ã¨ãã©å¿
è¦ãªãã§ãããã ããããåããã©ã³ã¶ã¯ã·ã§ã³ã®ãªãã§è¦ªã¨åãä¸ç·ã«åä½ãããã¨ãå¤ãã¨æãã ããããã®ã³ã¼ããæ¸ãæéãçãããã®ã§ããã°ã <literal>cascade=\"persist,merge,save-update\"</literal> ã使ããã¨ãèãã¾ãããã"
+#. Tag: para
+#: session_api.xml:948
+#, no-c-format
+msgid ""
+"It doesn't usually make sense to enable cascade on a <literal><many-to-"
+"one></literal> or <literal><many-to-many></literal> association. "
+"Cascade is often useful for <literal><one-to-one></literal> and "
+"<literal><one-to-many></literal> associations."
+msgstr ""
+"æ®éã <literal><many-to-one></literal> ã <literal><many-to-"
+"many></literal> é¢é£ã«å¯¾ãã¦ã¯ã ã«ã¹ã±ã¼ããè¨å®ããæå³ã¯ããã¾ããã "
+"<literal><one-to-one></literal> 㨠<literal><one-to-many></"
+"literal> é¢é£ã«å¯¾ãã¦ã¯ã ã«ã¹ã±ã¼ããå½¹ã«ç«ã¤ãã¨ãããã¾ãã"
-#: index.docbook:956
-msgid "If the child object's lifespan is bounded by the lifespan of the parent object, make it a <emphasis>life cycle object</emphasis> by specifying <literal>cascade=\"all,delete-orphan\"</literal>."
-msgstr "<literal>cascade=\"all\"</literal> ã§ãããã³ã°ããé¢é£ï¼åå¤é¢é£ãã³ã¬ã¯ã·ã§ã³ï¼ã¯ã <emphasis>親å</emphasis> ã¹ã¿ã¤ã«ã®é¢é£ã¨ãã¼ã¯ããã¾ãã ããã¯ã親ã®ã»ã¼ã/æ´æ°/åé¤ããåã®ã»ã¼ã/æ´æ°/åé¤ãå¼ãèµ·ããé¢ä¿ã®ãã¨ã§ãã"
+#. Tag: para
+#: session_api.xml:956
+#, no-c-format
+msgid ""
+"If the child object's lifespan is bounded by the lifespan of the parent "
+"object, make it a <emphasis>life cycle object</emphasis> by specifying "
+"<literal>cascade=\"all,delete-orphan\"</literal>."
+msgstr ""
+"åä¾ãªãã¸ã§ã¯ãã®å¯¿å½ã親ãªãã¸ã§ã¯ãã®å¯¿å½ã«å¶éãåãããªãã°ã "
+"<literal>cascade=\"all,delete-orphan\"</literal> ãæå®ãã åä¾ãªãã¸ã§ã¯ã"
+"ã <emphasis>ã©ã¤ããµã¤ã¯ã«ãªãã¸ã§ã¯ã</emphasis> ã«ãã¾ãã"
-#: index.docbook:963
-msgid "Otherwise, you might not need cascade at all. But if you think that you will often be working with the parent and children together in the same transaction, and you want to save yourself some typing, consider using <literal>cascade=\"persist,merge,save-update\"</literal>."
-msgstr "ããã«ãæ°¸ç¶åããã親ãåãåã«åç
§ãã¦ããã ãã§ãåã®ã»ã¼ã/æ´æ°ãå¼ãèµ·ããã¾ãã ãããããã®ã¡ã¿ãã¡ã¼ã¯ä¸å®å
¨ã§ãã親ããåç
§ãããªããªã£ãåã¯ãèªåçã«åé¤ <emphasis>ããã¾ãã</emphasis> ã ãã ãã <literal>cascade=\"delete-orphan\"</literal> ã§ãããã³ã°ããã <literal><one-to-many></literal> é¢é£ã é¤ãã¦ã§ãã 親åé¢ä¿ã®ã«ã¹ã±ã¼ãæä½ã®æ£ç¢ºãªæå³ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã"
+#. Tag: para
+#: session_api.xml:963
+#, no-c-format
+msgid ""
+"Otherwise, you might not need cascade at all. But if you think that you will "
+"often be working with the parent and children together in the same "
+"transaction, and you want to save yourself some typing, consider using "
+"<literal>cascade=\"persist,merge,save-update\"</literal>."
+msgstr ""
+". ãã以å¤ã®å ´åã¯ãã«ã¹ã±ã¼ãã¯ã»ã¨ãã©å¿
è¦ãªãã§ãããã ããããåããã©ã³"
+"ã¶ã¯ã·ã§ã³ã®ãªãã§è¦ªã¨åãä¸ç·ã«åä½ãããã¨ãå¤ãã¨æãã ããããã®ã³ã¼ãã"
+"æ¸ãæéãçãããã®ã§ããã°ã <literal>cascade=\"persist,merge,save-update"
+"\"</literal> ã使ããã¨ãèãã¾ãããã"
-#: index.docbook:971
-msgid "Mapping an association (either a single valued association, or a collection) with <literal>cascade=\"all\"</literal> marks the association as a <emphasis>parent/child</emphasis> style relationship where save/update/delete of the parent results in save/update/delete of the child or children."
-msgstr "親ã <literal>persist()</literal> ã«æ¸¡ããããªãã°ã ãã¹ã¦ã®å㯠<literal>persist()</literal> ã«æ¸¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:971
+#, no-c-format
+msgid ""
+"Mapping an association (either a single valued association, or a collection) "
+"with <literal>cascade=\"all\"</literal> marks the association as a "
+"<emphasis>parent/child</emphasis> style relationship where save/update/"
+"delete of the parent results in save/update/delete of the child or children."
+msgstr ""
+"<literal>cascade=\"all\"</literal> ã§ãããã³ã°ããé¢é£ï¼åå¤é¢é£ãã³ã¬ã¯ã·ã§"
+"ã³ï¼ã¯ã <emphasis>親å</emphasis> ã¹ã¿ã¤ã«ã®é¢é£ã¨ãã¼ã¯ããã¾ãã ããã¯ã"
+"親ã®ã»ã¼ã/æ´æ°/åé¤ããåã®ã»ã¼ã/æ´æ°/åé¤ãå¼ãèµ·ããé¢ä¿ã®ãã¨ã§ãã"
-#: index.docbook:977
-msgid "Futhermore, a mere reference to a child from a persistent parent will result in save/update of the child. This metaphor is incomplete, however. A child which becomes unreferenced by its parent is <emphasis>not</emphasis> automatically deleted, except in the case of a <literal><one-to-many></literal> association mapped with <literal>cascade=\"delete-orphan\"</literal>. The precise semantics of cascading operations for a parent/child relationship are as follows:"
-msgstr "<literal>merge()</literal> ã«æ¸¡ããããªãã°ã ãã¹ã¦ã®å㯠<literal>merge()</literal> ã«æ¸¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:977
+#, no-c-format
+msgid ""
+"Futhermore, a mere reference to a child from a persistent parent will result "
+"in save/update of the child. This metaphor is incomplete, however. A child "
+"which becomes unreferenced by its parent is <emphasis>not</emphasis> "
+"automatically deleted, except in the case of a <literal><one-to-many></"
+"literal> association mapped with <literal>cascade=\"delete-orphan\"</"
+"literal>. The precise semantics of cascading operations for a parent/child "
+"relationship are as follows:"
+msgstr ""
+"ããã«ãæ°¸ç¶åããã親ãåãåã«åç
§ãã¦ããã ãã§ãåã®ã»ã¼ã/æ´æ°ãå¼ãèµ·ã"
+"ãã¾ãã ãããããã®ã¡ã¿ãã¡ã¼ã¯ä¸å®å
¨ã§ãã親ããåç
§ãããªããªã£ãåã¯ãèª"
+"åçã«åé¤ <emphasis>ããã¾ãã</emphasis> ã ãã ãã <literal>cascade="
+"\"delete-orphan\"</literal> ã§ãããã³ã°ããã <literal><one-to-many></"
+"literal> é¢é£ã é¤ãã¦ã§ãã 親åé¢ä¿ã®ã«ã¹ã±ã¼ãæä½ã®æ£ç¢ºãªæå³ã¯ä»¥ä¸ã®ãã"
+"ã«ãªãã¾ãã"
-#: index.docbook:988
-msgid "If a parent is passed to <literal>persist()</literal>, all children are passed to <literal>persist()</literal>"
-msgstr "親ã <literal>save()</literal> ã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ã«æ¸¡ããããªãã°ããã¹ã¦ã®å㯠<literal>saveOrUpdate()</literal> ã«æ¸¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:988
+#, no-c-format
+msgid ""
+"If a parent is passed to <literal>persist()</literal>, all children are "
+"passed to <literal>persist()</literal>"
+msgstr ""
+"親ã <literal>persist()</literal> ã«æ¸¡ããããªãã°ã ãã¹ã¦ã®å㯠"
+"<literal>persist()</literal> ã«æ¸¡ããã¾ãã"
-#: index.docbook:994
-msgid "If a parent is passed to <literal>merge()</literal>, all children are passed to <literal>merge()</literal>"
-msgstr "䏿çã¾ãã¯åé¢ç¶æ
ã®åããæ°¸ç¶åããã親ã«åç
§ããããªãã°ã <literal>saveOrUpdate()</literal> ã«æ¸¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:994
+#, no-c-format
+msgid ""
+"If a parent is passed to <literal>merge()</literal>, all children are passed "
+"to <literal>merge()</literal>"
+msgstr ""
+"<literal>merge()</literal> ã«æ¸¡ããããªãã°ã ãã¹ã¦ã®å㯠<literal>merge()</"
+"literal> ã«æ¸¡ããã¾ãã"
-#: index.docbook:1000
-msgid "If a parent is passed to <literal>save()</literal>, <literal>update()</literal> or <literal>saveOrUpdate()</literal>, all children are passed to <literal>saveOrUpdate()</literal>"
-msgstr "親ãåé¤ããããªãã°ããã¹ã¦ã®åã¯ã <literal>delete()</literal> ã«æ¸¡ããã¾ãã"
+#. Tag: para
+#: session_api.xml:1000
+#, no-c-format
+msgid ""
+"If a parent is passed to <literal>save()</literal>, <literal>update()</"
+"literal> or <literal>saveOrUpdate()</literal>, all children are passed to "
+"<literal>saveOrUpdate()</literal>"
+msgstr ""
+"親ã <literal>save()</literal> ã <literal>update()</literal> ã "
+"<literal>saveOrUpdate()</literal> ã«æ¸¡ããããªãã°ããã¹ã¦ã®å㯠"
+"<literal>saveOrUpdate()</literal> ã«æ¸¡ããã¾ãã"
-#: index.docbook:1006
-msgid "If a transient or detached child becomes referenced by a persistent parent, it is passed to <literal>saveOrUpdate()</literal>"
-msgstr "åãæ°¸ç¶åããã親ããåç
§ãããªããªã£ãã¨ãã¯ã <emphasis>ç¹ã«ä½ãèµ·ããã¾ãã</emphasis> ã ãã£ã¦ãã¢ããªã±ã¼ã·ã§ã³ãå¿
è¦ã§ããã°ãæç¤ºçã«åé¤ããå¿
è¦ãããã¾ãã ãã ãã <literal>cascade=\"delete-orphan\"</literal> ã®å ´åãé¤ãã¾ãã ãã®å ´åãã親ã®ãªããåã¯åé¤ããã¾ãã"
+#. Tag: para
+#: session_api.xml:1006
+#, no-c-format
+msgid ""
+"If a transient or detached child becomes referenced by a persistent parent, "
+"it is passed to <literal>saveOrUpdate()</literal>"
+msgstr ""
+"䏿çã¾ãã¯åé¢ç¶æ
ã®åããæ°¸ç¶åããã親ã«åç
§ããããªãã°ã "
+"<literal>saveOrUpdate()</literal> ã«æ¸¡ããã¾ãã"
-#: index.docbook:1012
-msgid "If a parent is deleted, all children are passed to <literal>delete()</literal>"
-msgstr "æå¾ã«ãæä½ã®ã«ã¹ã±ã¼ãããªãã¸ã§ã¯ãã°ã©ãã«é©ç¨ãããã®ã¯ã <emphasis>ã³ã¼ã«ããæ</emphasis> ãããã¯ã <emphasis>flushããæ</emphasis> ã§ãããã¨ã«æ³¨æãã¦ãã ããã ãã¹ã¦ã®æä½ã¯ããã®æä½ãå®è¡ãããã¨ãã«ãå°éå¯è½ãªé¢é£ããã¨ã³ãã£ãã£ã«å¯¾ã㦠ã«ã¹ã±ã¼ããå¯è½ãªãã«ã¹ã±ã¼ããã¾ãã ãããã <literal>save-upate</literal> 㨠<literal>delete-orphan</literal> ã¯ã <literal>Session</literal> ãflushãã¦ããéã«ã ãã¹ã¦ã®å°éå¯è½ãªé¢é£ããã¨ã³ãã£ãã£ã«ä¼æãã¾ãã"
+#. Tag: para
+#: session_api.xml:1012
+#, no-c-format
+msgid ""
+"If a parent is deleted, all children are passed to <literal>delete()</"
+"literal>"
+msgstr ""
+"親ãåé¤ããããªãã°ããã¹ã¦ã®åã¯ã <literal>delete()</literal> ã«æ¸¡ããã¾"
+"ãã"
-#: index.docbook:1017
-msgid "If a child is dereferenced by a persistent parent, <emphasis>nothing special happens</emphasis> - the application should explicitly delete the child if necessary - unless <literal>cascade=\"delete-orphan\"</literal>, in which case the \"orphaned\" child is deleted."
-msgstr "ã¡ã¿ãã¼ã¿ã®ä½¿ç¨"
+#. Tag: para
+#: session_api.xml:1017
+#, no-c-format
+msgid ""
+"If a child is dereferenced by a persistent parent, <emphasis>nothing special "
+"happens</emphasis> - the application should explicitly delete the child if "
+"necessary - unless <literal>cascade=\"delete-orphan\"</literal>, in which "
+"case the \"orphaned\" child is deleted."
+msgstr ""
+"åãæ°¸ç¶åããã親ããåç
§ãããªããªã£ãã¨ãã¯ã <emphasis>ç¹ã«ä½ãèµ·ããã¾ã"
+"ã</emphasis> ã ãã£ã¦ãã¢ããªã±ã¼ã·ã§ã³ãå¿
è¦ã§ããã°ãæç¤ºçã«åé¤ããå¿
è¦"
+"ãããã¾ãã ãã ãã <literal>cascade=\"delete-orphan\"</literal> ã®å ´åãé¤"
+"ãã¾ãã ãã®å ´åãã親ã®ãªããåã¯åé¤ããã¾ãã"
-#: index.docbook:1026
-msgid "Finally, note that cascading of operations can be applied to an object graph at <emphasis>call time</emphasis> or at <emphasis>flush time</emphasis>. All operations, if enabled, are cascaded to associated entities reachable when the operation is executed. However, <literal>save-upate</literal> and <literal>delete-orphan</literal> are transitive for all associated entities reachable during flush of the <literal>Session</literal>."
-msgstr "Hibernateã¯ããã¹ã¦ã®ã¨ã³ãã£ãã£ã¨å¤åã®é常ã«ãªãããªã¡ã¿ã¬ãã«ã®ã¢ãã«ãå¿
è¦ã¨ãã¾ãã ã¨ãã©ãããã®ã¢ãã«ã¯ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦ã¨ã¦ãå½¹ã«ç«ã¡ã¾ãã ä¾ãã°ãã¢ããªã±ã¼ã·ã§ã³ã¯ãHibernateã®ã¡ã¿ãã¼ã¿ã使ã£ã¦ã\"è³¢ã\" ãã£ã¼ãã³ãã¼ã¢ã«ã´ãªãºã ã å®è£
ã§ãããããã¾ããããã®ã¢ã«ã´ãªãºã ã¨ã¯ãã©ã®ãªãã¸ã§ã¯ããã³ãã¼ãããã¹ããï¼ä¾ï¼å¯å¤ã®å¤åï¼ã ã©ã®ãªãã¸ã§ã¯ãã¯ã³ãã¼ãããªãã¹ããï¼ä¾ï¼ä¸å¤ãªå¤åãå¯è½ãªãé¢é£ããã¨ã³ãã£ãã£ï¼ã 夿ã§ãããã®ã§ãã"
+#. Tag: para
+#: session_api.xml:1026
+#, no-c-format
+msgid ""
+"Finally, note that cascading of operations can be applied to an object graph "
+"at <emphasis>call time</emphasis> or at <emphasis>flush time</emphasis>. All "
+"operations, if enabled, are cascaded to associated entities reachable when "
+"the operation is executed. However, <literal>save-upate</literal> and "
+"<literal>delete-orphan</literal> are transitive for all associated entities "
+"reachable during flush of the <literal>Session</literal>."
+msgstr ""
+"æå¾ã«ãæä½ã®ã«ã¹ã±ã¼ãããªãã¸ã§ã¯ãã°ã©ãã«é©ç¨ãããã®ã¯ã <emphasis>ã³ã¼"
+"ã«ããæ</emphasis> ãããã¯ã <emphasis>flushããæ</emphasis> ã§ãããã¨ã«"
+"注æãã¦ãã ããã ãã¹ã¦ã®æä½ã¯ããã®æä½ãå®è¡ãããã¨ãã«ãå°éå¯è½ãªé¢é£"
+"ããã¨ã³ãã£ãã£ã«å¯¾ã㦠ã«ã¹ã±ã¼ããå¯è½ãªãã«ã¹ã±ã¼ããã¾ãã ãããã "
+"<literal>save-upate</literal> 㨠<literal>delete-orphan</literal> ã¯ã "
+"<literal>Session</literal> ãflushãã¦ããéã«ã ãã¹ã¦ã®å°éå¯è½ãªé¢é£ããã¨"
+"ã³ãã£ãã£ã«ä¼æãã¾ãã"
-#: index.docbook:1038
+#. Tag: title
+#: session_api.xml:1038
+#, no-c-format
msgid "Using metadata"
-msgstr "Hibernateã¯<literal>ClassMetadata</literal> ã¨<literal>CollectionMetadata</literal> ã¤ã³ã¿ãã§ã¼ã¹ã¨ <literal>Type</literal> é層ãéãã¦ã¡ã¿ãã¼ã¿ãå
¬éãã¾ãã ã¡ã¿ãã¼ã¿ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã <literal>SessionFactory</literal> ããå¾ããã¾ãã"
+msgstr "ã¡ã¿ãã¼ã¿ã®ä½¿ç¨"
-#: index.docbook:1040
-msgid "Hibernate requires a very rich meta-level model of all entity and value types. From time to time, this model is very useful to the application itself. For example, the application might use Hibernate's metadata to implement a \"smart\" deep-copy algorithm that understands which objects should be copied (eg. mutable value types) and which should not (eg. immutable value types and, possibly, associated entities)."
+#. Tag: para
+#: session_api.xml:1040
+#, no-c-format
+msgid ""
+"Hibernate requires a very rich meta-level model of all entity and value "
+"types. From time to time, this model is very useful to the application "
+"itself. For example, the application might use Hibernate's metadata to "
+"implement a \"smart\" deep-copy algorithm that understands which objects "
+"should be copied (eg. mutable value types) and which should not (eg. "
+"immutable value types and, possibly, associated entities)."
msgstr ""
- "<![CDATA[Cat fritz = ......;
-\n"
- "ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);
-\n"
- "
-\n"
- "Object[] propertyValues = catMeta.getPropertyValues(fritz);
-\n"
- "String[] propertyNames = catMeta.getPropertyNames();
-\n"
- "Type[] propertyTypes = catMeta.getPropertyTypes();
-\n"
- "
-\n"
- "// get a Map of all properties which are not collections or associations
-\n"
- "Map namedValues = new HashMap();
-\n"
- "for ( int i=0; i<propertyNames.length; i++ ) {
-\n"
- " if ( !propertyTypes[i].isEntityType() && !propertyTypes[i].isCollectionType() ) {
-\n"
- " namedValues.put( propertyNames[i], propertyValues[i] );
-\n"
- " }
-\n"
- "}]]>"
+"Hibernateã¯ããã¹ã¦ã®ã¨ã³ãã£ãã£ã¨å¤åã®é常ã«ãªãããªã¡ã¿ã¬ãã«ã®ã¢ãã«ãå¿
"
+"è¦ã¨ãã¾ãã ã¨ãã©ãããã®ã¢ãã«ã¯ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦ã¨ã¦ãå½¹ã«ç«ã¡ã¾"
+"ãã ä¾ãã°ãã¢ããªã±ã¼ã·ã§ã³ã¯ãHibernateã®ã¡ã¿ãã¼ã¿ã使ã£ã¦ã\"è³¢ã\" "
+"ãã£ã¼ãã³ãã¼ã¢ã«ã´ãªãºã ã å®è£
ã§ãããããã¾ããããã®ã¢ã«ã´ãªãºã ã¨ã¯ãã©"
+"ã®ãªãã¸ã§ã¯ããã³ãã¼ãããã¹ããï¼ä¾ï¼å¯å¤ã®å¤åï¼ã ã©ã®ãªãã¸ã§ã¯ãã¯ã³"
+"ãã¼ãããªãã¹ããï¼ä¾ï¼ä¸å¤ãªå¤åãå¯è½ãªãé¢é£ããã¨ã³ãã£ãã£ï¼ã 夿ã§ã"
+"ããã®ã§ãã"
-#: index.docbook:1047
-msgid "Hibernate exposes metadata via the <literal>ClassMetadata</literal> and <literal>CollectionMetadata</literal> interfaces and the <literal>Type</literal> hierarchy. Instances of the metadata interfaces may be obtained from the <literal>SessionFactory</literal>."
+#. Tag: para
+#: session_api.xml:1047
+#, no-c-format
+msgid ""
+"Hibernate exposes metadata via the <literal>ClassMetadata</literal> and "
+"<literal>CollectionMetadata</literal> interfaces and the <literal>Type</"
+"literal> hierarchy. Instances of the metadata interfaces may be obtained "
+"from the <literal>SessionFactory</literal>."
msgstr ""
+"Hibernateã¯<literal>ClassMetadata</literal> ã¨<literal>CollectionMetadata</"
+"literal> ã¤ã³ã¿ãã§ã¼ã¹ã¨ <literal>Type</literal> é層ãéãã¦ã¡ã¿ãã¼ã¿ãå
¬"
+"éãã¾ãã ã¡ã¿ãã¼ã¿ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ã "
+"<literal>SessionFactory</literal> ããå¾ããã¾ãã"
-#: index.docbook:1054
+#. Tag: programlisting
+#: session_api.xml:1054
+#, no-c-format
msgid ""
- "<![CDATA[Cat fritz = ......;\n"
- "ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
- "\n"
- "Object[] propertyValues = catMeta.getPropertyValues(fritz);\n"
- "String[] propertyNames = catMeta.getPropertyNames();\n"
- "Type[] propertyTypes = catMeta.getPropertyTypes();\n"
- "\n"
- "// get a Map of all properties which are not collections or associations\n"
- "Map namedValues = new HashMap();\n"
- "for ( int i=0; i<propertyNames.length; i++ ) {\n"
- " if ( !propertyTypes[i].isEntityType() && !propertyTypes[i].isCollectionType() ) {\n"
- " namedValues.put( propertyNames[i], propertyValues[i] );\n"
- " }\n"
- "}]]>"
+"<![CDATA[Cat fritz = ......;\n"
+"ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
+"\n"
+"Object[] propertyValues = catMeta.getPropertyValues(fritz);\n"
+"String[] propertyNames = catMeta.getPropertyNames();\n"
+"Type[] propertyTypes = catMeta.getPropertyTypes();\n"
+"\n"
+"// get a Map of all properties which are not collections or associations\n"
+"Map namedValues = new HashMap();\n"
+"for ( int i=0; i<propertyNames.length; i++ ) {\n"
+" if ( !propertyTypes[i].isEntityType() && !propertyTypes[i]."
+"isCollectionType() ) {\n"
+" namedValues.put( propertyNames[i], propertyValues[i] );\n"
+" }\n"
+"}]]>"
msgstr ""
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid "UPDATE"
+#~ msgstr "UPDATE"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid "DELETE"
+#~ msgstr "DELETE"
+#~ msgid "state management"
+#~ msgstr "ç¶æ
管ç"
+
+#~ msgid "statements"
+#~ msgstr "æ"
+
+#~ msgid "Connection"
+#~ msgstr "session.connection()"
+
+#~ msgid "session.connection()"
+#~ msgstr "Connection"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/toolset_guide.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/toolset_guide.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/toolset_guide.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,807 +1,1198 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: toolset_guide.xml:5
+#, no-c-format
msgid "Toolset Guide"
msgstr "Toolset Guide ãã¼ã«ã»ããã¬ã¤ã"
-#: index.docbook:7
-msgid "Roundtrip engineering with Hibernate is possible using a set of Eclipse plugins, commandline tools, as well as Ant tasks."
-msgstr "Hibernateã使ã£ãã©ã¦ã³ãããªããã¨ã³ã¸ãã¢ãªã³ã°ã¯ã Eclipseãã©ã°ã¤ã³ãã³ãã³ãã©ã¤ã³ãã¼ã«ããã¡ããAntã¿ã¹ã¯ã使ããã¨ã§å¯è½ã§ãã"
+#. Tag: para
+#: toolset_guide.xml:7
+#, no-c-format
+msgid ""
+"Roundtrip engineering with Hibernate is possible using a set of Eclipse "
+"plugins, commandline tools, as well as Ant tasks."
+msgstr ""
+"Hibernateã使ã£ãã©ã¦ã³ãããªããã¨ã³ã¸ãã¢ãªã³ã°ã¯ã Eclipseãã©ã°ã¤ã³ãã³ã"
+"ã³ãã©ã¤ã³ãã¼ã«ããã¡ããAntã¿ã¹ã¯ã使ããã¨ã§å¯è½ã§ãã"
-#: index.docbook:12
-msgid "The <emphasis>Hibernate Tools</emphasis> currently include plugins for the Eclipse IDE as well as Ant tasks for reverse engineering of existing databases:"
-msgstr "<emphasis>Hibernate Tools</emphasis> ã¯ç¾å¨ãæ¢åãã¼ã¿ãã¼ã¹ã®ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ã®Antã¿ã¹ã¯ã«å ãã¦ãEclipseIDEã®ãã©ã°ã¤ã³ãå«ã¿ã¾ãã"
+#. Tag: para
+#: toolset_guide.xml:12
+#, no-c-format
+msgid ""
+"The <emphasis>Hibernate Tools</emphasis> currently include plugins for the "
+"Eclipse IDE as well as Ant tasks for reverse engineering of existing "
+"databases:"
+msgstr ""
+"<emphasis>Hibernate Tools</emphasis> ã¯ç¾å¨ãæ¢åãã¼ã¿ãã¼ã¹ã®ãªãã¼ã¹ã¨ã³ã¸"
+"ãã¢ãªã³ã°ã®Antã¿ã¹ã¯ã«å ãã¦ãEclipseIDEã®ãã©ã°ã¤ã³ãå«ã¿ã¾ãã"
-#: index.docbook:18
-msgid "<emphasis>Mapping Editor:</emphasis> An editor for Hibernate XML mapping files, supporting auto-completion and syntax highlighting. It also supports semantic auto-completion for class names and property/field names, making it much more versatile than a normal XML editor."
-msgstr "<emphasis>ãããã³ã°ã¨ãã£ã¿:</emphasis> Hibernateã®XMLãããã³ã°ãã¡ã¤ã«ç¨ã®ã¨ãã£ã¿ã§ã èªåè£å®ã¨æ§æå¼·èª¿è¡¨ç¤ºããµãã¼ããã¦ãã¾ããã¯ã©ã¹åãããããã£/ãã£ã¼ã«ãåã«å¯¾ããèªåè£å®ããµãã¼ããã é常ã®XMLã¨ãã£ã¿ãããå¼·åã§ãã"
+#. Tag: para
+#: toolset_guide.xml:18
+#, no-c-format
+msgid ""
+"<emphasis>Mapping Editor:</emphasis> An editor for Hibernate XML mapping "
+"files, supporting auto-completion and syntax highlighting. It also supports "
+"semantic auto-completion for class names and property/field names, making it "
+"much more versatile than a normal XML editor."
+msgstr ""
+"<emphasis>ãããã³ã°ã¨ãã£ã¿:</emphasis> Hibernateã®XMLãããã³ã°ãã¡ã¤ã«ç¨ã®"
+"ã¨ãã£ã¿ã§ã èªåè£å®ã¨æ§æå¼·èª¿è¡¨ç¤ºããµãã¼ããã¦ãã¾ããã¯ã©ã¹åãããã"
+"ãã£/ãã£ã¼ã«ãåã«å¯¾ããèªåè£å®ããµãã¼ããã é常ã®XMLã¨ãã£ã¿ãããå¼·åã§"
+"ãã"
-#: index.docbook:23
-msgid "<emphasis>Console:</emphasis> The console is a new view in Eclipse. In addition to a tree overview of your console configurations, you also get an interactive view of your persistent classes and their relationships. The console allows you to execute HQL queries against your database and browse the result directly in Eclipse."
-msgstr "<emphasis>Console:</emphasis> ã³ã³ã½ã¼ã«ã¯ã¨ã¯ãªãã¹ã®æ°ãããã¥ã¼ã§ãã ã³ã³ã½ã¼ã«ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã®ããªã¼ãªã¼ãã¼ãã¥ã¼ã«å ãã¦ãæ°¸ç¶ã¯ã©ã¹ã¨ãã®é¢é£ã®ç¸äºä½ç¨ãã¥ã¼ãå¾ããã¾ãã ãã¼ã¿ãã¼ã¹ã«HQLãå®è¡ããçµæãç´æ¥ã¨ã¯ãªãã¹ä¸ã§è¦ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: toolset_guide.xml:23
+#, no-c-format
+msgid ""
+"<emphasis>Console:</emphasis> The console is a new view in Eclipse. In "
+"addition to a tree overview of your console configurations, you also get an "
+"interactive view of your persistent classes and their relationships. The "
+"console allows you to execute HQL queries against your database and browse "
+"the result directly in Eclipse."
+msgstr ""
+"<emphasis>Console:</emphasis> ã³ã³ã½ã¼ã«ã¯ã¨ã¯ãªãã¹ã®æ°ãããã¥ã¼ã§ãã ã³ã³"
+"ã½ã¼ã«ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã®ããªã¼ãªã¼ãã¼ãã¥ã¼ã«å ãã¦ãæ°¸ç¶ã¯ã©ã¹ã¨ãã®"
+"é¢é£ã®ç¸äºä½ç¨ãã¥ã¼ãå¾ããã¾ãã ãã¼ã¿ãã¼ã¹ã«HQLãå®è¡ããçµæãç´æ¥ã¨ã¯"
+"ãªãã¹ä¸ã§è¦ããã¨ãã§ãã¾ãã"
-#: index.docbook:30
-msgid "<emphasis>Development Wizards:</emphasis> Several wizards are provided with the Hibernate Eclipse tools; you can use a wizard to quickly generate Hibernate configuration (cfg.xml) files, or you may even completely reverse engineer an existing database schema into POJO source files and Hibernate mapping files. The reverse engineering wizard supports customizable templates."
-msgstr "<emphasis>éçºã¦ã£ã¶ã¼ã</emphasis> Hibernateã®Eclipseãã¼ã«ã¯ããã¤ãã®ã¦ã£ã¶ã¼ããæä¾ãã¾ãã ã¦ã£ã¶ã¼ãã使ã£ã¦Hibernateã®è¨å®ãã¡ã¤ã«(cfg.xml)ããã°ããçæãããã æ¢åã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ããPOJOã®ã½ã¼ã¹ãã¡ã¤ã«ã¨Hibernateã®ãããã³ã°ãã¡ã¤ã«ã¸ã¨ã å®å
¨ã«ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ãããã¨ãã§ãã¾ãã ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ã¦ã£ã¶ã¼ãã¯ã«ã¹ã¿ãã¤ãºå¯è½ãªãã³ãã¬ã¼ãããµãã¼ããã¾ãã"
+#. Tag: para
+#: toolset_guide.xml:30
+#, no-c-format
+msgid ""
+"<emphasis>Development Wizards:</emphasis> Several wizards are provided with "
+"the Hibernate Eclipse tools; you can use a wizard to quickly generate "
+"Hibernate configuration (cfg.xml) files, or you may even completely reverse "
+"engineer an existing database schema into POJO source files and Hibernate "
+"mapping files. The reverse engineering wizard supports customizable "
+"templates."
+msgstr ""
+"<emphasis>éçºã¦ã£ã¶ã¼ã</emphasis> Hibernateã®Eclipseãã¼ã«ã¯ããã¤ãã®ã¦ã£"
+"ã¶ã¼ããæä¾ãã¾ãã ã¦ã£ã¶ã¼ãã使ã£ã¦Hibernateã®è¨å®ãã¡ã¤ã«(cfg.xml)ããã°"
+"ããçæãããã æ¢åã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ããPOJOã®ã½ã¼ã¹ãã¡ã¤ã«ã¨Hibernate"
+"ã®ãããã³ã°ãã¡ã¤ã«ã¸ã¨ã å®å
¨ã«ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ãããã¨ãã§ãã¾"
+"ãã ãªãã¼ã¹ã¨ã³ã¸ãã¢ãªã³ã°ã¦ã£ã¶ã¼ãã¯ã«ã¹ã¿ãã¤ãºå¯è½ãªãã³ãã¬ã¼ãããµ"
+"ãã¼ããã¾ãã"
-#: index.docbook:38
+#. Tag: emphasis
+#: toolset_guide.xml:38
+#, no-c-format
msgid "Ant Tasks:"
msgstr "Ant Tasks:"
-#: index.docbook:43
-msgid "Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's documentation for more information."
-msgstr "ãã詳ããæ
å ±ã¯ <emphasis>Hibernate Tools</emphasis> ããã±ã¼ã¸ã¨ãã®ããã¥ã¡ã³ããåç
§ãã¦ãã ããã"
+#. Tag: para
+#: toolset_guide.xml:43
+#, no-c-format
+msgid ""
+"Please refer to the <emphasis>Hibernate Tools</emphasis> package and it's "
+"documentation for more information."
+msgstr ""
+"ãã詳ããæ
å ±ã¯ <emphasis>Hibernate Tools</emphasis> ããã±ã¼ã¸ã¨ãã®ããã¥"
+"ã¡ã³ããåç
§ãã¦ãã ããã"
-#: index.docbook:48
-msgid "However, the Hibernate main package comes bundled with an integrated tool (it can even be used from \"inside\" Hibernate on-the-fly): <emphasis>SchemaExport</emphasis> aka <literal>hbm2ddl</literal>."
-msgstr "ããããHibernateã®ã¡ã¤ã³ããã±ã¼ã¸ã¯ <emphasis>SchemaExport</emphasis> ã å¥å <literal>hbm2ddl</literal> ãå«ã¿ã¾ã(Hibernateå
ã§ãªã³ã¶ãã©ã¤ã§ä½¿ç¨ã§ãã¾ã)ã"
+#. Tag: para
+#: toolset_guide.xml:48
+#, no-c-format
+msgid ""
+"However, the Hibernate main package comes bundled with an integrated tool "
+"(it can even be used from \"inside\" Hibernate on-the-fly): "
+"<emphasis>SchemaExport</emphasis> aka <literal>hbm2ddl</literal>."
+msgstr ""
+"ããããHibernateã®ã¡ã¤ã³ããã±ã¼ã¸ã¯ <emphasis>SchemaExport</emphasis> ã å¥"
+"å <literal>hbm2ddl</literal> ãå«ã¿ã¾ã(Hibernateå
ã§ãªã³ã¶ãã©ã¤ã§ä½¿ç¨ã§ã"
+"ã¾ã)ã"
-#: index.docbook:55
+#. Tag: title
+#: toolset_guide.xml:55
+#, no-c-format
msgid "Automatic schema generation"
msgstr "ã¹ãã¼ãã®èªåçæ"
-#: index.docbook:57
-msgid "DDL may be generated from your mapping files by a Hibernate utility. The generated schema includes referential integrity constraints (primary and foreign keys) for entity and collection tables. Tables and sequences are also created for mapped identifier generators."
-msgstr "DDLã¯Hibernateã¦ã¼ãã£ãªãã£ã«ãããããã³ã°ãã¡ã¤ã«ããçæãããã¨ãã§ãã¾ãã çæãããã¹ãã¼ãã¯ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã®ãã¼ãã«ã«å¯¾ããåç
§æ´åæ§å¶ç´(主ãã¼ã¨å¤é¨ãã¼)ãå«ã¿ã¾ãã ãã¼ãã«ã¨ã·ã¼ã±ã³ã¹ã¯ãããã³ã°ããèå¥åã¸ã§ãã¬ã¼ã¿ã«å¯¾ãã¦çæããã¾ãã"
+#. Tag: para
+#: toolset_guide.xml:57
+#, no-c-format
+msgid ""
+"DDL may be generated from your mapping files by a Hibernate utility. The "
+"generated schema includes referential integrity constraints (primary and "
+"foreign keys) for entity and collection tables. Tables and sequences are "
+"also created for mapped identifier generators."
+msgstr ""
+"DDLã¯Hibernateã¦ã¼ãã£ãªãã£ã«ãããããã³ã°ãã¡ã¤ã«ããçæãããã¨ãã§ãã¾"
+"ãã çæãããã¹ãã¼ãã¯ã¨ã³ãã£ãã£ãã³ã¬ã¯ã·ã§ã³ã®ãã¼ãã«ã«å¯¾ããåç
§æ´å"
+"æ§å¶ç´(主ãã¼ã¨å¤é¨ãã¼)ãå«ã¿ã¾ãã ãã¼ãã«ã¨ã·ã¼ã±ã³ã¹ã¯ãããã³ã°ããèå¥"
+"åã¸ã§ãã¬ã¼ã¿ã«å¯¾ãã¦çæããã¾ãã"
-#: index.docbook:64
-msgid "You <emphasis>must</emphasis> specify a SQL <literal>Dialect</literal> via the <literal>hibernate.dialect</literal> property when using this tool, as DDL is highly vendor specific."
-msgstr "DDLã¯ãã³ãã¼ä¾åãªã®ã§ããã®ãã¼ã«ã使ãã¨ãã¯ã<literal>hibernate.dialect</literal> ããããã£ã§SQLã® <literal>æ¹è¨</literal> ãæå® <emphasis>ããªããã°ãªãã¾ãã</emphasis> ã"
+#. Tag: para
+#: toolset_guide.xml:64
+#, no-c-format
+msgid ""
+"You <emphasis>must</emphasis> specify a SQL <literal>Dialect</literal> via "
+"the <literal>hibernate.dialect</literal> property when using this tool, as "
+"DDL is highly vendor specific."
+msgstr ""
+"DDLã¯ãã³ãã¼ä¾åãªã®ã§ããã®ãã¼ã«ã使ãã¨ãã¯ã<literal>hibernate.dialect</"
+"literal> ããããã£ã§SQLã® <literal>æ¹è¨</literal> ãæå® <emphasis>ããªãã"
+"ã°ãªãã¾ãã</emphasis> ã"
-#: index.docbook:70
+#. Tag: para
+#: toolset_guide.xml:70
+#, no-c-format
msgid "First, customize your mapping files to improve the generated schema."
-msgstr "ã¾ããçæãããã¹ãã¼ããæ¹åããããã«ããããã³ã°ãã¡ã¤ã«ãã«ã¹ã¿ãã¤ãºãã¦ãã ããã"
+msgstr ""
+"ã¾ããçæãããã¹ãã¼ããæ¹åããããã«ããããã³ã°ãã¡ã¤ã«ãã«ã¹ã¿ãã¤ãºã"
+"ã¦ãã ããã"
-#: index.docbook:75
+#. Tag: title
+#: toolset_guide.xml:75
+#, no-c-format
msgid "Customizing the schema"
msgstr "ã¹ãã¼ãã®ã«ã¹ã¿ãã¤ãº"
-#: index.docbook:77
-msgid "Many Hibernate mapping elements define optional attributes named <literal>length</literal>, <literal>precision</literal> and <literal>scale</literal>. You may set the length, precision and scale of a column with this attribute."
-msgstr "å¤ãã®Hibernateã®ãããã³ã°è¦ç´ ã§ã¯ããªãã·ã§ã³ã® <literal>length</literal> ã¨ããåã®å±æ§ãå®ç¾©ãã¦ãã¾ãã ãã®å±æ§ã§ã«ã©ã é·ãè¨å®ãããã¨ãã§ãã¾ã(ã¾ãã¯NUMERIC/DECIMALåã®ãã¼ã¿ã®ç²¾åº¦ãè¨å®ã§ãã¾ã)ã"
+#. Tag: para
+#: toolset_guide.xml:77
+#, no-c-format
+msgid ""
+"Many Hibernate mapping elements define optional attributes named "
+"<literal>length</literal>, <literal>precision</literal> and <literal>scale</"
+"literal>. You may set the length, precision and scale of a column with this "
+"attribute."
+msgstr ""
+"å¤ãã®Hibernateã®ãããã³ã°è¦ç´ ã§ã¯ããªãã·ã§ã³ã® <literal>length</literal> "
+"ã¨ããåã®å±æ§ãå®ç¾©ãã¦ãã¾ãã ãã®å±æ§ã§ã«ã©ã é·ãè¨å®ãããã¨ãã§ãã¾ã"
+"(ã¾ãã¯NUMERIC/DECIMALåã®ãã¼ã¿ã®ç²¾åº¦ãè¨å®ã§ãã¾ã)ã"
-#: index.docbook:84
+#. Tag: programlisting
+#: toolset_guide.xml:84
+#, no-c-format
msgid "<![CDATA[<property name=\"zip\" length=\"5\"/>]]>"
-msgstr "<literal>not-null</literal> 屿§ï¼ãã¼ãã«ã®ã«ã©ã 㸠<literal>NOT NULL</literal> å¶ç´ãçæããï¼ã¨ <literal>unique</literal> 屿§ï¼ãã¼ãã«ã®ã«ã©ã 㸠<literal>UNIQUE</literal> å¶ç´ãçæããï¼ãè¨å®ã§ããã¿ã°ãããã¾ãã"
+msgstr ""
-#: index.docbook:85
+#. Tag: programlisting
+#: toolset_guide.xml:85
+#, no-c-format
msgid "<![CDATA[<property name=\"balance\" precision=\"12\" scale=\"2\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
+msgstr ""
-#: index.docbook:87
-msgid "Some tags also accept a <literal>not-null</literal> attribute (for generating a <literal>NOT NULL</literal> constraint on table columns) and a <literal>unique</literal> attribute (for generating <literal>UNIQUE</literal> constraint on table columns)."
-msgstr "<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" unique=\"true\"/>]]>"
+#. Tag: para
+#: toolset_guide.xml:87
+#, no-c-format
+msgid ""
+"Some tags also accept a <literal>not-null</literal> attribute (for "
+"generating a <literal>NOT NULL</literal> constraint on table columns) and a "
+"<literal>unique</literal> attribute (for generating <literal>UNIQUE</"
+"literal> constraint on table columns)."
+msgstr ""
+"<literal>not-null</literal> 屿§ï¼ãã¼ãã«ã®ã«ã©ã 㸠<literal>NOT NULL</"
+"literal> å¶ç´ãçæããï¼ã¨ <literal>unique</literal> 屿§ï¼ãã¼ãã«ã®ã«ã©ã "
+"㸠<literal>UNIQUE</literal> å¶ç´ãçæããï¼ãè¨å®ã§ããã¿ã°ãããã¾ãã"
-#: index.docbook:93
-msgid "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
-msgstr "<literal>unique-key</literal> 屿§ã¯ã«ã©ã ãã°ã«ã¼ãåãã¦ä¸ã¤ã®ãã¼å¶ç´ã«ããããã«ä½¿ããã¾ãã ç¾å¨ã<literal>unique-key</literal> 屿§ã§æå®ãããå¤ã¯å¶ç´ã®æå®ã«ã¯ <emphasis>使ããã</emphasis> ã ãããã³ã°ãã¡ã¤ã«ã§ã«ã©ã ãã°ã«ã¼ãåãããã¨ã«ã®ã¿ä½¿ããã¾ãã"
+#. Tag: programlisting
+#: toolset_guide.xml:93
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"bar\" column=\"barId\" not-null=\"true\"/>]]>"
+msgstr ""
-#: index.docbook:95
-msgid "<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" unique=\"true\"/>]]>"
+#. Tag: programlisting
+#: toolset_guide.xml:95
+#, no-c-format
+msgid ""
+"<![CDATA[<element column=\"serialNumber\" type=\"long\" not-null=\"true\" "
+"unique=\"true\"/>]]>"
msgstr ""
- "<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key=\"OrgEmployeeId\"/>
-\n"
- "<property name=\"employeeId\" unique-key=\"OrgEmployeeId\"/>]]>"
-#: index.docbook:97
-msgid "A <literal>unique-key</literal> attribute may be used to group columns in a single unique key constraint. Currently, the specified value of the <literal>unique-key</literal> attribute is <emphasis>not</emphasis> used to name the constraint in the generated DDL, only to group the columns in the mapping file."
-msgstr "<literal>index</literal> 屿§ã¯ãããã³ã°ããã«ã©ã ã使ã£ã¦çæããã¤ã³ããã¯ã¹ã®ååãæå®ãã¾ãã è¤æ°ã«ã©ã ãï¼ã¤ã®ã¤ã³ããã¯ã¹ã«ã°ã«ã¼ãåã§ãã¾ããåã«ãåãã¤ã³ããã¯ã¹åãæå®ããã ãã§ãã"
+#. Tag: para
+#: toolset_guide.xml:97
+#, no-c-format
+msgid ""
+"A <literal>unique-key</literal> attribute may be used to group columns in a "
+"single unique key constraint. Currently, the specified value of the "
+"<literal>unique-key</literal> attribute is <emphasis>not</emphasis> used to "
+"name the constraint in the generated DDL, only to group the columns in the "
+"mapping file."
+msgstr ""
+"<literal>unique-key</literal> 屿§ã¯ã«ã©ã ãã°ã«ã¼ãåãã¦ä¸ã¤ã®ãã¼å¶ç´ã«ã"
+"ãããã«ä½¿ããã¾ãã ç¾å¨ã<literal>unique-key</literal> 屿§ã§æå®ãããå¤ã¯"
+"å¶ç´ã®æå®ã«ã¯ <emphasis>使ããã</emphasis> ã ãããã³ã°ãã¡ã¤ã«ã§ã«ã©ã ã"
+"ã°ã«ã¼ãåãããã¨ã«ã®ã¿ä½¿ããã¾ãã"
-#: index.docbook:105
+#. Tag: programlisting
+#: toolset_guide.xml:105
+#, no-c-format
msgid ""
- "<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key=\"OrgEmployeeId\"/>\n"
- "<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"
+"<![CDATA[<many-to-one name=\"org\" column=\"orgId\" unique-key="
+"\"OrgEmployeeId\"/>\n"
+"<property name=\"employeeId\" unique-key=\"OrgEmployee\"/>]]>"
msgstr ""
- "<![CDATA[<property name=\"lastName\" index=\"CustName\"/>
-\n"
- "<property name=\"firstName\" index=\"CustName\"/>]]>"
-#: index.docbook:107
-msgid "An <literal>index</literal> attribute specifies the name of an index that will be created using the mapped column or columns. Multiple columns may be grouped into the same index, simply by specifying the same index name."
-msgstr "<literal>foreign-key</literal> 屿§ã¯ãçæãããå¤é¨ãã¼å¶ç´ã®ååããªã¼ãã¼ã©ã¤ãããããã«ä½¿ç¨ã§ãã¾ãã"
+#. Tag: para
+#: toolset_guide.xml:107
+#, no-c-format
+msgid ""
+"An <literal>index</literal> attribute specifies the name of an index that "
+"will be created using the mapped column or columns. Multiple columns may be "
+"grouped into the same index, simply by specifying the same index name."
+msgstr ""
+"<literal>index</literal> 屿§ã¯ãããã³ã°ããã«ã©ã ã使ã£ã¦çæããã¤ã³ããã¯"
+"ã¹ã®ååãæå®ãã¾ãã è¤æ°ã«ã©ã ãï¼ã¤ã®ã¤ã³ããã¯ã¹ã«ã°ã«ã¼ãåã§ãã¾ããå"
+"ã«ãåãã¤ã³ããã¯ã¹åãæå®ããã ãã§ãã"
-#: index.docbook:113
+#. Tag: programlisting
+#: toolset_guide.xml:113
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n"
- "<property name=\"firstName\" index=\"CustName\"/>]]>"
-msgstr "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/>]]>"
+"<![CDATA[<property name=\"lastName\" index=\"CustName\"/>\n"
+"<property name=\"firstName\" index=\"CustName\"/>]]>"
+msgstr ""
-#: index.docbook:115
-msgid "A <literal>foreign-key</literal> attribute may be used to override the name of any generated foreign key constraint."
-msgstr "å¤ãã®ãããã³ã°è¦ç´ ã¯ãå <literal><column></literal> è¦ç´ ãè¨è¿°ã§ãã¾ããããã¯è¤æ°ã«ã©ã åã®ãããã³ã°ã«ã¯ç¹ã«æç¨ã§ãã"
+#. Tag: para
+#: toolset_guide.xml:115
+#, no-c-format
+msgid ""
+"A <literal>foreign-key</literal> attribute may be used to override the name "
+"of any generated foreign key constraint."
+msgstr ""
+"<literal>foreign-key</literal> 屿§ã¯ãçæãããå¤é¨ãã¼å¶ç´ã®ååããªã¼ãã¼"
+"ã©ã¤ãããããã«ä½¿ç¨ã§ãã¾ãã"
-#: index.docbook:120
-msgid "<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/>]]>"
+#. Tag: programlisting
+#: toolset_guide.xml:120
+#, no-c-format
+msgid ""
+"<![CDATA[<many-to-one name=\"bar\" column=\"barId\" foreign-key=\"FKFooBar\"/"
+">]]>"
msgstr ""
- "<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>
-\n"
- " <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/>
-\n"
- " <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20\"/>
-\n"
- " <column name=\"initial\"/>
-\n"
- "</property>]]>"
-#: index.docbook:122
-msgid "Many mapping elements also accept a child <literal><column></literal> element. This is particularly useful for mapping multi-column types:"
-msgstr "<literal>default</literal> 屿§ã¯ã«ã©ã ã®ããã©ã«ãå¤ãæå®ãã¾ã (ãããã³ã°ããã¯ã©ã¹ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ãä¿åããåã«ã ãããã³ã°ããããããã£ã¸åãå¤ã代å
¥ãã¹ãã§ã)ã"
+#. Tag: para
+#: toolset_guide.xml:122
+#, no-c-format
+msgid ""
+"Many mapping elements also accept a child <literal><column></literal> "
+"element. This is particularly useful for mapping multi-column types:"
+msgstr ""
+"å¤ãã®ãããã³ã°è¦ç´ ã¯ãå <literal><column></literal> è¦ç´ ãè¨è¿°ã§ãã¾"
+"ããããã¯è¤æ°ã«ã©ã åã®ãããã³ã°ã«ã¯ç¹ã«æç¨ã§ãã"
-#: index.docbook:127
+#. Tag: programlisting
+#: toolset_guide.xml:127
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
- " <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/>\n"
- " <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20\"/>\n"
- " <column name=\"initial\"/>\n"
- "</property>]]>"
+"<![CDATA[<property name=\"name\" type=\"my.customtypes.Name\"/>\n"
+" <column name=\"last\" not-null=\"true\" index=\"bar_idx\" length=\"30\"/"
+">\n"
+" <column name=\"first\" not-null=\"true\" index=\"bar_idx\" length=\"20\"/"
+">\n"
+" <column name=\"initial\"/>\n"
+"</property>]]>"
msgstr ""
- "<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">
-\n"
- " <column name=\"credits\" default=\"10\"/>
-\n"
- "</property>]]>"
-#: index.docbook:129
-msgid "The <literal>default</literal> attribute lets you specify a default value for a column (you should assign the same value to the mapped property before saving a new instance of the mapped class)."
+#. Tag: para
+#: toolset_guide.xml:129
+#, no-c-format
+msgid ""
+"The <literal>default</literal> attribute lets you specify a default value "
+"for a column (you should assign the same value to the mapped property before "
+"saving a new instance of the mapped class)."
msgstr ""
- "<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">
-\n"
- " <column name=\"version\" default=\"0\"/>
-\n"
- "</property>]]>"
+"<literal>default</literal> 屿§ã¯ã«ã©ã ã®ããã©ã«ãå¤ãæå®ãã¾ã (ãããã³ã°"
+"ããã¯ã©ã¹ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ãä¿åããåã«ã ãããã³ã°ããããããã£ã¸åã"
+"å¤ã代å
¥ãã¹ãã§ã)ã"
-#: index.docbook:135
+#. Tag: programlisting
+#: toolset_guide.xml:135
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
- " <column name=\"credits\" default=\"10\"/>\n"
- "</property>]]>"
-msgstr "<literal>sql-type</literal> 屿§ã§ãããã©ã«ãã®HibernateåããSQLã®ãã¼ã¿åã¸ã®ãããã³ã°ããªã¼ãã¼ã©ã¤ãã§ãã¾ãã"
+"<![CDATA[<property name=\"credits\" type=\"integer\" insert=\"false\">\n"
+" <column name=\"credits\" default=\"10\"/>\n"
+"</property>]]>"
+msgstr ""
-#: index.docbook:137
+#. Tag: programlisting
+#: toolset_guide.xml:137
+#, no-c-format
msgid ""
- "<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n"
- " <column name=\"version\" default=\"0\"/>\n"
- "</property>]]>"
+"<![CDATA[<version name=\"version\" type=\"integer\" insert=\"false\">\n"
+" <column name=\"version\" default=\"0\"/>\n"
+"</property>]]>"
msgstr ""
- "<![CDATA[<property name=\"balance\" type=\"float\">
-\n"
- " <column name=\"balance\" sql-type=\"decimal(13,3)\"/>
-\n"
- "</property>]]>"
-#: index.docbook:139
-msgid "The <literal>sql-type</literal> attribute allows the user to override the default mapping of a Hibernate type to SQL datatype."
-msgstr "<literal>check</literal> 屿§ã§ãã§ãã¯å¶ç´ãæå®ãããã¨ãã§ãã¾ãã"
-
-#: index.docbook:144
+#. Tag: para
+#: toolset_guide.xml:139
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"balance\" type=\"float\">\n"
- " <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
- "</property>]]>"
+"The <literal>sql-type</literal> attribute allows the user to override the "
+"default mapping of a Hibernate type to SQL datatype."
msgstr ""
- "<![CDATA[<property name=\"foo\" type=\"integer\">
-\n"
- " <column name=\"foo\" check=\"foo > 10\"/>
-\n"
- "</property>]]>"
+"<literal>sql-type</literal> 屿§ã§ãããã©ã«ãã®HibernateåããSQLã®ãã¼ã¿å"
+"ã¸ã®ãããã³ã°ããªã¼ãã¼ã©ã¤ãã§ãã¾ãã"
-#: index.docbook:146
-msgid "The <literal>check</literal> attribute allows you to specify a check constraint."
+#. Tag: programlisting
+#: toolset_guide.xml:144
+#, no-c-format
+msgid ""
+"<![CDATA[<property name=\"balance\" type=\"float\">\n"
+" <column name=\"balance\" sql-type=\"decimal(13,3)\"/>\n"
+"</property>]]>"
msgstr ""
- "<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">
-\n"
- " ...
-\n"
- " <property name=\"bar\" type=\"float\"/>
-\n"
- "</class>]]>"
-#: index.docbook:150
+#. Tag: para
+#: toolset_guide.xml:146
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"foo\" type=\"integer\">\n"
- " <column name=\"foo\" check=\"foo > 10\"/>\n"
- "</property>]]>"
-msgstr "<title>ã¾ã¨ã</title>"
+"The <literal>check</literal> attribute allows you to specify a check "
+"constraint."
+msgstr "<literal>check</literal> 屿§ã§ãã§ãã¯å¶ç´ãæå®ãããã¨ãã§ãã¾ãã"
-#: index.docbook:152
+#. Tag: programlisting
+#: toolset_guide.xml:150
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
- " ...\n"
- " <property name=\"bar\" type=\"float\"/>\n"
- "</class>]]>"
-msgstr "<entry>屿§</entry>"
+"<![CDATA[<property name=\"foo\" type=\"integer\">\n"
+" <column name=\"foo\" check=\"foo > 10\"/>\n"
+"</property>]]>"
+msgstr ""
-#: index.docbook:156
+#. Tag: programlisting
+#: toolset_guide.xml:152
+#, no-c-format
+msgid ""
+"<![CDATA[<class name=\"Foo\" table=\"foos\" check=\"bar < 100.0\">\n"
+" ...\n"
+" <property name=\"bar\" type=\"float\"/>\n"
+"</class>]]>"
+msgstr ""
+
+#. Tag: title
+#: toolset_guide.xml:156
+#, no-c-format
msgid "Summary"
-msgstr "<entry>å¤</entry>"
+msgstr "ã¾ã¨ã"
-#: index.docbook:163
+#. Tag: entry
+#: toolset_guide.xml:163
+#, no-c-format
msgid "Attribute"
-msgstr "<entry>説æ</entry>"
+msgstr "屿§"
-#: index.docbook:164
+#. Tag: entry
+#: toolset_guide.xml:164
+#, no-c-format
msgid "Values"
-msgstr "length"
+msgstr "å¤"
-#: index.docbook:165
+#. Tag: entry
+#: toolset_guide.xml:165
+#, no-c-format
msgid "Interpretation"
-msgstr "<entry>æ°å¤</entry>"
+msgstr "説æ"
-#: index.docbook:170
+#. Tag: literal
+#: toolset_guide.xml:170
+#, no-c-format
msgid "length"
-msgstr "ã«ã©ã ã®é·ã"
+msgstr "length"
-#: index.docbook:171, index.docbook:176, index.docbook:181
+#. Tag: entry
+#: toolset_guide.xml:171 toolset_guide.xml:176 toolset_guide.xml:181
+#, no-c-format
msgid "number"
-msgstr "precision"
+msgstr "æ°å¤"
-#: index.docbook:172
+#. Tag: entry
+#: toolset_guide.xml:172
+#, no-c-format
msgid "column length"
-msgstr "<entry>æ°å¤</entry>"
+msgstr "ã«ã©ã ã®é·ã"
-#: index.docbook:175
+#. Tag: literal
+#: toolset_guide.xml:175
+#, no-c-format
msgid "precision"
-msgstr "ã«ã©ã ã®DECIMALåã®ç²¾åº¦ï¼precisionï¼"
+msgstr "precision"
-#: index.docbook:177
+#. Tag: entry
+#: toolset_guide.xml:177
+#, no-c-format
msgid "column decimal precision"
-msgstr "<entry>æ°å¤</entry>"
+msgstr "ã«ã©ã ã®DECIMALåã®ç²¾åº¦ï¼precisionï¼"
-#: index.docbook:180
+#. Tag: literal
+#: toolset_guide.xml:180
+#, no-c-format
msgid "scale"
-msgstr "ã«ã©ã ã®DECIMALåã®ã¹ã±ã¼ã«ï¼scaleï¼"
+msgstr "scale"
-#: index.docbook:182
+#. Tag: entry
+#: toolset_guide.xml:182
+#, no-c-format
msgid "column decimal scale"
-msgstr "true|false"
+msgstr "ã«ã©ã ã®DECIMALåã®ã¹ã±ã¼ã«ï¼scaleï¼"
-#: index.docbook:185
+#. Tag: literal
+#: toolset_guide.xml:185
+#, no-c-format
msgid "not-null"
-msgstr "ã«ã©ã ãnullå¤ãåããªããã¨ãæå®ãã¾ã"
+msgstr "not-null"
-#: index.docbook:186, index.docbook:191
+#. Tag: literal
+#: toolset_guide.xml:186 toolset_guide.xml:191
+#, no-c-format
msgid "true|false"
-msgstr "unique"
+msgstr "true|false"
-#: index.docbook:187
+#. Tag: entry
+#: toolset_guide.xml:187
+#, no-c-format
msgid "specfies that the column should be non-nullable"
-msgstr "true|false"
+msgstr "ã«ã©ã ãnullå¤ãåããªããã¨ãæå®ãã¾ã"
-#: index.docbook:190
+#. Tag: literal
+#: toolset_guide.xml:190
+#, no-c-format
msgid "unique"
-msgstr "ã«ã©ã ãã¦ãã¼ã¯å¶ç´ãæã¤ãã¨ãæå®ãã¾ã"
+msgstr "unique"
-#: index.docbook:192
+#. Tag: entry
+#: toolset_guide.xml:192
+#, no-c-format
msgid "specifies that the column should have a unique constraint"
-msgstr "ã¤ã³ããã¯ã¹å"
+msgstr "ã«ã©ã ãã¦ãã¼ã¯å¶ç´ãæã¤ãã¨ãæå®ãã¾ã"
-#: index.docbook:195
+#. Tag: literal
+#: toolset_guide.xml:195
+#, no-c-format
msgid "index"
-msgstr "(è¤æ°ã«ã©ã ã®)ã¤ã³ããã¯ã¹ã®ååãæå®ãã¾ã"
+msgstr "index"
-#: index.docbook:196
+#. Tag: literal
+#: toolset_guide.xml:196
+#, no-c-format
msgid "index_name"
-msgstr "unique-key"
+msgstr "ã¤ã³ããã¯ã¹å"
-#: index.docbook:197
+#. Tag: entry
+#: toolset_guide.xml:197
+#, no-c-format
msgid "specifies the name of a (multi-column) index"
-msgstr "ã¦ãã¼ã¯ãã¼å"
+msgstr "(è¤æ°ã«ã©ã ã®)ã¤ã³ããã¯ã¹ã®ååãæå®ãã¾ã"
-#: index.docbook:200
+#. Tag: literal
+#: toolset_guide.xml:200
+#, no-c-format
msgid "unique-key"
-msgstr "è¤æ°ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ã®ååãæå®ãã¾ã"
+msgstr "unique-key"
-#: index.docbook:201
+#. Tag: literal
+#: toolset_guide.xml:201
+#, no-c-format
msgid "unique_key_name"
-msgstr "foreign-key"
+msgstr "ã¦ãã¼ã¯ãã¼å"
-#: index.docbook:202
+#. Tag: entry
+#: toolset_guide.xml:202
+#, no-c-format
msgid "specifies the name of a multi-column unique constraint"
-msgstr "å¤é¨ãã¼å"
+msgstr "è¤æ°ã«ã©ã ã®ã¦ãã¼ã¯å¶ç´ã®ååãæå®ãã¾ã"
-#: index.docbook:205
+#. Tag: literal
+#: toolset_guide.xml:205
+#, no-c-format
msgid "foreign-key"
-msgstr "<one-to-one>ã<many-to-one>ã<many-to-many>ãããã³ã°è¦ç´ ã使ã£ã¦ã é¢é£ã«å¯¾ãçæãããå¤é¨ãã¼å¶ç´ã®ååãæå®ãã¾ãã <literal>SchemaExport</literal> 㯠<literal>inverse=\"true\"</literal> å´ãèæ
®ããªããã¨ã«æ³¨æãã¦ãã ããã"
+msgstr "foreign-key"
-#: index.docbook:206
+#. Tag: literal
+#: toolset_guide.xml:206
+#, no-c-format
msgid "foreign_key_name"
-msgstr "sql-type"
+msgstr "å¤é¨ãã¼å"
-#: index.docbook:207
-msgid "specifies the name of the foreign key constraint generated for an association, for a <literal><one-to-one></literal>, <literal><many-to-one></literal>, <literal><key></literal>, or <literal><many-to-many></literal> mapping element. Note that <literal>inverse=\"true\"</literal> sides will not be considered by <literal>SchemaExport</literal>."
-msgstr "SQLã®ã«ã©ã å"
+#. Tag: entry
+#: toolset_guide.xml:207
+#, fuzzy, no-c-format
+msgid ""
+"specifies the name of the foreign key constraint generated for an "
+"association, for a <literal><one-to-one></literal>, <literal><many-"
+"to-one></literal>, <literal><key></literal>, or <literal><many-"
+"to-many></literal> mapping element. Note that <literal>inverse=\"true\"</"
+"literal> sides will not be considered by <literal>SchemaExport</literal>."
+msgstr ""
+"specifies the name of the foreign key constraint generated for an "
+"association, for a <placeholder-1/>, <placeholder-2/>, <placeholder-3/>, or "
+"<placeholder-4/> mapping element. Note that <placeholder-5/> sides will not "
+"be considered by <placeholder-6/>."
-#: index.docbook:217
+#. Tag: literal
+#: toolset_guide.xml:217
+#, no-c-format
msgid "sql-type"
-msgstr "ããã©ã«ãã®ã«ã©ã åããªã¼ãã¼ã©ã¤ããã¾ã( <literal><column></literal> è¦ç´ ã®å±æ§ã®ã¿)"
+msgstr "sql-type"
-#: index.docbook:218
+#. Tag: literal
+#: toolset_guide.xml:218
+#, no-c-format
msgid "SQL column type"
-msgstr "default"
+msgstr "SQLã®ã«ã©ã å"
-#: index.docbook:219
-msgid "overrides the default column type (attribute of <literal><column></literal> element only)"
-msgstr "SQLå¼"
+#. Tag: entry
+#: toolset_guide.xml:219
+#, fuzzy, no-c-format
+msgid ""
+"overrides the default column type (attribute of <literal><column></"
+"literal> element only)"
+msgstr ""
+"ããã©ã«ãã®ã«ã©ã åããªã¼ãã¼ã©ã¤ããã¾ã( <placeholder-1/> è¦ç´ ã®å±æ§ã®ã¿)"
-#: index.docbook:225
+#. Tag: literal
+#: toolset_guide.xml:225
+#, no-c-format
msgid "default"
-msgstr "ã«ã©ã ã®ããã©ã«ãå¤ãæå®ãã¾ã"
+msgstr "default"
-#: index.docbook:226, index.docbook:233
+#. Tag: entry
+#: toolset_guide.xml:226 toolset_guide.xml:233
+#, no-c-format
msgid "SQL expression"
-msgstr "check"
+msgstr "SQLå¼"
-#: index.docbook:227
+#. Tag: entry
+#: toolset_guide.xml:227
+#, no-c-format
msgid "specify a default value for the column"
-msgstr "SQLå¼"
+msgstr "ã«ã©ã ã®ããã©ã«ãå¤ãæå®ãã¾ã"
-#: index.docbook:232
+#. Tag: literal
+#: toolset_guide.xml:232
+#, no-c-format
msgid "check"
+msgstr "check"
+
+#. Tag: entry
+#: toolset_guide.xml:234
+#, no-c-format
+msgid "create an SQL check constraint on either column or table"
msgstr "ã«ã©ã ããã¼ãã«ã«SQLã®ãã§ãã¯å¶ç´ã使ãã¾ã"
-#: index.docbook:234
-msgid "create an SQL check constraint on either column or table"
+#. Tag: para
+#: toolset_guide.xml:242
+#, no-c-format
+msgid ""
+"The <literal><comment></literal> element allows you to specify "
+"comments for the generated schema."
msgstr ""
- "<![CDATA[<class name=\"Customer\" table=\"CurCust\">
-\n"
- " <comment>Current customers only</comment>
-\n"
- " ...
-\n"
- "</class>]]>"
+"<literal><comment></literal> è¦ç´ ã§çæããã¹ãã¼ãã«ã³ã¡ã³ããæå®ãã"
+"ãã¨ãã§ãã¾ãã"
-#: index.docbook:242
-msgid "The <literal><comment></literal> element allows you to specify comments for the generated schema."
+#. Tag: programlisting
+#: toolset_guide.xml:247
+#, no-c-format
+msgid ""
+"<![CDATA[<class name=\"Customer\" table=\"CurCust\">\n"
+" <comment>Current customers only</comment>\n"
+" ...\n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<property name=\"balance\">
-\n"
- " <column name=\"bal\">
-\n"
- " <comment>Balance in USD</comment>
-\n"
- " </column>
-\n"
- "</property>]]>"
-#: index.docbook:247
+#. Tag: programlisting
+#: toolset_guide.xml:249
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Customer\" table=\"CurCust\">\n"
- " <comment>Current customers only</comment>\n"
- " ...\n"
- "</class>]]>"
-msgstr "ããã«ãããçæããDDLã« <literal>comment on table</literal> ã <literal>comment on column</literal> æãæ¸ããã¾ãã"
+"<![CDATA[<property name=\"balance\">\n"
+" <column name=\"bal\">\n"
+" <comment>Balance in USD</comment>\n"
+" </column>\n"
+"</property>]]>"
+msgstr ""
-#: index.docbook:249
+#. Tag: para
+#: toolset_guide.xml:251
+#, no-c-format
msgid ""
- "<![CDATA[<property name=\"balance\">\n"
- " <column name=\"bal\">\n"
- " <comment>Balance in USD</comment>\n"
- " </column>\n"
- "</property>]]>"
-msgstr "ãã¼ã«ã®å®è¡"
+"This results in a <literal>comment on table</literal> or <literal>comment on "
+"column</literal> statement in the generated DDL (where supported)."
+msgstr ""
+"ããã«ãããçæããDDLã« <literal>comment on table</literal> ã "
+"<literal>comment on column</literal> æãæ¸ããã¾ãã"
-#: index.docbook:251
-msgid "This results in a <literal>comment on table</literal> or <literal>comment on column</literal> statement in the generated DDL (where supported)."
-msgstr "<literal>SchemaExport</literal> ã¯æ¨æºåºåã«å¯¾ãã¦DDLã¹ã¯ãªãããæ¸ãåºããDDLæãå®è¡ãããããã¾ãã"
-
-#: index.docbook:260
+#. Tag: title
+#: toolset_guide.xml:260
+#, no-c-format
msgid "Running the tool"
-msgstr "<literal>java -cp </literal> <emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaExport</literal> <emphasis>options mapping_files</emphasis>"
+msgstr "ãã¼ã«ã®å®è¡"
-#: index.docbook:262
-msgid "The <literal>SchemaExport</literal> tool writes a DDL script to standard out and/or executes the DDL statements."
-msgstr "<literal>SchemaExport</literal> Command Line Options <literal>SchemaExport</literal> ã®ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:262
+#, no-c-format
+msgid ""
+"The <literal>SchemaExport</literal> tool writes a DDL script to standard out "
+"and/or executes the DDL statements."
+msgstr ""
+"<literal>SchemaExport</literal> ã¯æ¨æºåºåã«å¯¾ãã¦DDLã¹ã¯ãªãããæ¸ãåºãã"
+"DDLæãå®è¡ãããããã¾ãã"
-#: index.docbook:267
-msgid "<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaExport</literal> <emphasis>options mapping_files</emphasis>"
-msgstr "ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:267
+#, no-c-format
+msgid ""
+"<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> "
+"<literal>org.hibernate.tool.hbm2ddl.SchemaExport</literal> <emphasis>options "
+"mapping_files</emphasis>"
+msgstr ""
-#: index.docbook:273
+#. Tag: title
+#: toolset_guide.xml:273
+#, no-c-format
msgid "<literal>SchemaExport</literal> Command Line Options"
-msgstr "<entry>説æ</entry>"
+msgstr ""
+"<literal>SchemaExport</literal> Command Line Options <literal>SchemaExport</"
+"literal> ã®ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³"
-#: index.docbook:279, index.docbook:429, index.docbook:498
+#. Tag: entry
+#: toolset_guide.xml:279 toolset_guide.xml:429 toolset_guide.xml:498
+#, no-c-format
msgid "Option"
-msgstr "--quiet"
+msgstr "ãªãã·ã§ã³"
-#: index.docbook:280, index.docbook:367, index.docbook:430, index.docbook:499
+#. Tag: entry
+#: toolset_guide.xml:280 toolset_guide.xml:367 toolset_guide.xml:430
+#: toolset_guide.xml:499
+#, no-c-format
msgid "Description"
-msgstr "ã¹ã¯ãªãããæ¨æºåºåã«åºåãã¾ãã"
+msgstr "説æ"
-#: index.docbook:285, index.docbook:435
+#. Tag: literal
+#: toolset_guide.xml:285 toolset_guide.xml:435
+#, no-c-format
msgid "--quiet"
-msgstr "--drop"
+msgstr "--quiet"
-#: index.docbook:286, index.docbook:436
+#. Tag: entry
+#: toolset_guide.xml:286 toolset_guide.xml:436
+#, fuzzy, no-c-format
msgid "don't output the script to stdout"
-msgstr "ãã¼ãã«ã®åé¤ã ããè¡ãã¾ã"
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ã¹ã¯ãªãããæ¨æºåºåã«åºåãã¾ãã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"æ¨æºåºåã«ã¹ã¯ãªãããåºåãã¾ãã"
-#: index.docbook:289
+#. Tag: literal
+#: toolset_guide.xml:289
+#, no-c-format
msgid "--drop"
-msgstr "--create"
+msgstr "--drop"
-#: index.docbook:290
+#. Tag: entry
+#: toolset_guide.xml:290
+#, no-c-format
msgid "only drop the tables"
-msgstr "ãã¼ãã«ã®çæã®ã¿ãè¡ãã¾ãã"
+msgstr "ãã¼ãã«ã®åé¤ã ããè¡ãã¾ã"
-#: index.docbook:293
+#. Tag: literal
+#: toolset_guide.xml:293
+#, no-c-format
msgid "--create"
-msgstr "--text"
+msgstr "--create"
-#: index.docbook:294
+#. Tag: entry
+#: toolset_guide.xml:294
+#, no-c-format
msgid "only create the tables"
-msgstr "ãã¼ã¿ãã¼ã¹ã«ã¨ã¯ã¹ãã¼ããã¾ãã"
+msgstr "ãã¼ãã«ã®çæã®ã¿ãè¡ãã¾ãã"
-#: index.docbook:297, index.docbook:439
+#. Tag: literal
+#: toolset_guide.xml:297 toolset_guide.xml:439
+#, no-c-format
msgid "--text"
-msgstr "--output=my_schema.ddl"
+msgstr "--text"
-#: index.docbook:298
+#. Tag: entry
+#: toolset_guide.xml:298
+#, no-c-format
msgid "don't export to the database"
-msgstr "DDLã¹ã¯ãªããããã¡ã¤ã«ã«åºåãã¾ã"
+msgstr "ãã¼ã¿ãã¼ã¹ã«ã¨ã¯ã¹ãã¼ããã¾ãã"
-#: index.docbook:301
+#. Tag: literal
+#: toolset_guide.xml:301
+#, no-c-format
msgid "--output=my_schema.ddl"
-msgstr "--naming=eg.MyNamingStrategy"
+msgstr "--output=my_schema.ddl"
-#: index.docbook:302
+#. Tag: entry
+#: toolset_guide.xml:302
+#, no-c-format
msgid "output the ddl script to a file"
-msgstr "<literal>NamingStrategy</literal> ã鏿ãã¾ã"
+msgstr "DDLã¹ã¯ãªããããã¡ã¤ã«ã«åºåãã¾ã"
-#: index.docbook:305, index.docbook:443, index.docbook:504
+#. Tag: literal
+#: toolset_guide.xml:305 toolset_guide.xml:443 toolset_guide.xml:504
+#, no-c-format
msgid "--naming=eg.MyNamingStrategy"
-msgstr "--config=hibernate.cfg.xml"
+msgstr "--naming=eg.MyNamingStrategy"
-#: index.docbook:306, index.docbook:444, index.docbook:505
+#. Tag: entry
+#: toolset_guide.xml:306 toolset_guide.xml:444 toolset_guide.xml:505
+#, fuzzy, no-c-format
msgid "select a <literal>NamingStrategy</literal>"
-msgstr "XMLãã¡ã¤ã«ããHibernateã®å®ç¾©æ
å ±ãèªã¿è¾¼ã¿ã¾ã"
+msgstr "<literal>hibernate.properties</literal> ãã¡ã¤ã«å
ã§"
-#: index.docbook:309, index.docbook:451, index.docbook:512
+#. Tag: literal
+#: toolset_guide.xml:309 toolset_guide.xml:451 toolset_guide.xml:512
+#, no-c-format
msgid "--config=hibernate.cfg.xml"
-msgstr "--properties=hibernate.properties"
+msgstr "--config=hibernate.cfg.xml"
-#: index.docbook:310
+#. Tag: entry
+#: toolset_guide.xml:310
+#, no-c-format
msgid "read Hibernate configuration from an XML file"
-msgstr "ãã¡ã¤ã«ãããã¼ã¿ãã¼ã¹ããããã£ãèªã¿è¾¼ã¿ã¾ã"
+msgstr "XMLãã¡ã¤ã«ããHibernateã®å®ç¾©æ
å ±ãèªã¿è¾¼ã¿ã¾ã"
-#: index.docbook:313, index.docbook:447, index.docbook:508
+#. Tag: literal
+#: toolset_guide.xml:313 toolset_guide.xml:447 toolset_guide.xml:508
+#, no-c-format
msgid "--properties=hibernate.properties"
-msgstr "--format"
+msgstr "--properties=hibernate.properties"
-#: index.docbook:314, index.docbook:448, index.docbook:509
+#. Tag: entry
+#: toolset_guide.xml:314 toolset_guide.xml:448 toolset_guide.xml:509
+#, fuzzy, no-c-format
msgid "read database properties from a file"
-msgstr "ã¹ã¯ãªããå
ã«çæããSQLãèªã¿ãããããã«ãã©ã¼ããããã¾ã"
+msgstr ""
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ãã¡ã¤ã«ãããã¼ã¿ãã¼ã¹ããããã£ãèªã¿è¾¼ã¿ã¾ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ãã¡ã¤ã«ãããã¼ã¿ãã¼ã¹ããããã£ãèªã¿è¾¼ã¿ã¾ã\n"
+"#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+"ãã¡ã¤ã«ãããã¼ã¿ãã¼ã¹ã®ããããã£ãèªã¿è¾¼ã¿ã¾ã"
-#: index.docbook:317
+#. Tag: literal
+#: toolset_guide.xml:317
+#, no-c-format
msgid "--format"
-msgstr "--delimiter=x"
+msgstr "--format"
-#: index.docbook:318
+#. Tag: entry
+#: toolset_guide.xml:318
+#, no-c-format
msgid "format the generated SQL nicely in the script"
-msgstr "ã¹ã¯ãªããã®è¡åºåãæåãè¨å®ãã¾ã"
+msgstr "ã¹ã¯ãªããå
ã«çæããSQLãèªã¿ãããããã«ãã©ã¼ããããã¾ã"
-#: index.docbook:321
+#. Tag: literal
+#: toolset_guide.xml:321
+#, no-c-format
msgid "--delimiter=;"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ã« <literal>SchemaExport</literal> ãçµã¿è¾¼ããã¨ãã§ãã¾ãï¼"
+msgstr "--delimiter=x"
-#: index.docbook:322
+#. Tag: entry
+#: toolset_guide.xml:322
+#, no-c-format
msgid "set an end of line delimiter for the script"
-msgstr ""
- "<![CDATA[Configuration cfg = ....;
-\n"
- "new SchemaExport(cfg).create(false, true);]]>"
+msgstr "ã¹ã¯ãªããã®è¡åºåãæåãè¨å®ãã¾ã"
-#: index.docbook:328
+#. Tag: para
+#: toolset_guide.xml:328
+#, no-c-format
msgid "You may even embed <literal>SchemaExport</literal> in your application:"
-msgstr "ããããã£"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã« <literal>SchemaExport</literal> ãçµã¿è¾¼ããã¨ãã§ãã¾ãï¼"
-#: index.docbook:332
+#. Tag: programlisting
+#: toolset_guide.xml:332
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = ....;\n"
- "new SchemaExport(cfg).create(false, true);]]>"
-msgstr "次ã®ããã«ããã¼ã¿ãã¼ã¹ã®ããããã£ãæå®ãããã¨ãã§ãã¾ãã"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaExport(cfg).create(false, true);]]>"
+msgstr ""
-#: index.docbook:337
+#. Tag: title
+#: toolset_guide.xml:337
+#, no-c-format
msgid "Properties"
-msgstr "<literal>-D</literal> <emphasis><property></emphasis> ã使ã£ã¦ãã·ã¹ãã ããããã£ã¨ãã¦"
+msgstr "ããããã£"
-#: index.docbook:339
+#. Tag: para
+#: toolset_guide.xml:339
+#, no-c-format
msgid "Database properties may be specified"
-msgstr "<literal>hibernate.properties</literal> ãã¡ã¤ã«å
ã§"
+msgstr "次ã®ããã«ããã¼ã¿ãã¼ã¹ã®ããããã£ãæå®ãããã¨ãã§ãã¾ãã"
-#: index.docbook:345
-msgid "as system properties with <literal>-D</literal><emphasis><property></emphasis>"
-msgstr "<literal>--properties</literal> ã使ã£ã¦æå®ããããããã£ãã¡ã¤ã«å
ã§"
+#. Tag: para
+#: toolset_guide.xml:345
+#, no-c-format
+msgid ""
+"as system properties with <literal>-D</literal><emphasis><property></"
+"emphasis>"
+msgstr ""
+"<literal>-D</literal><emphasis><property></emphasis> ã使ã£ã¦ãã·ã¹ãã "
+"ããããã£ã¨ãã¦"
-#: index.docbook:348
+#. Tag: para
+#: toolset_guide.xml:348
+#, no-c-format
msgid "in <literal>hibernate.properties</literal>"
-msgstr "å¿
è¦ãªããããã£ã¯ä»¥ä¸ã®ãã®ã§ãï¼"
+msgstr "<literal>hibernate.properties</literal> ãã¡ã¤ã«å
ã§"
-#: index.docbook:351
+#. Tag: para
+#: toolset_guide.xml:351
+#, no-c-format
msgid "in a named properties file with <literal>--properties</literal>"
-msgstr "SchemaExportã³ãã¯ã·ã§ã³ããããã£"
+msgstr "<literal>--properties</literal> ã使ã£ã¦æå®ããããããã£ãã¡ã¤ã«å
ã§"
-#: index.docbook:355
+#. Tag: para
+#: toolset_guide.xml:355
+#, no-c-format
msgid "The needed properties are:"
-msgstr "ããããã£å"
+msgstr "å¿
è¦ãªããããã£ã¯ä»¥ä¸ã®ãã®ã§ãï¼"
-#: index.docbook:360
+#. Tag: title
+#: toolset_guide.xml:360
+#, no-c-format
msgid "SchemaExport Connection Properties"
-msgstr "<entry>説æ</entry>"
+msgstr "SchemaExportã³ãã¯ã·ã§ã³ããããã£"
-#: index.docbook:366
+#. Tag: entry
+#: toolset_guide.xml:366
+#, no-c-format
msgid "Property Name"
-msgstr "hibernate.connection.driver_class"
+msgstr "ããããã£å"
-#: index.docbook:372
+#. Tag: literal
+#: toolset_guide.xml:372
+#, no-c-format
msgid "hibernate.connection.driver_class"
-msgstr "hibernate.connection.url"
+msgstr "hibernate.connection.driver_class"
-#: index.docbook:373
+#. Tag: entry
+#: toolset_guide.xml:373
+#, no-c-format
msgid "jdbc driver class"
-msgstr "jdbcã®url"
+msgstr "jdbcã®ãã©ã¤ãã¼ã¯ã©ã¹"
-#: index.docbook:376
+#. Tag: literal
+#: toolset_guide.xml:376
+#, no-c-format
msgid "hibernate.connection.url"
-msgstr "hibernate.connection.username"
+msgstr "hibernate.connection.url"
-#: index.docbook:377
+#. Tag: entry
+#: toolset_guide.xml:377
+#, no-c-format
msgid "jdbc url"
-msgstr "ãã¼ã¿ãã¼ã¹ã®ã¦ã¼ã¶"
+msgstr "jdbcã®url"
-#: index.docbook:380
+#. Tag: literal
+#: toolset_guide.xml:380
+#, no-c-format
msgid "hibernate.connection.username"
-msgstr "hibernate.connection.password"
+msgstr "hibernate.connection.username"
-#: index.docbook:381
+#. Tag: entry
+#: toolset_guide.xml:381
+#, no-c-format
msgid "database user"
-msgstr "ã¦ã¼ã¶ãã¹ã¯ã¼ã"
+msgstr "ãã¼ã¿ãã¼ã¹ã®ã¦ã¼ã¶"
-#: index.docbook:384
+#. Tag: literal
+#: toolset_guide.xml:384
+#, no-c-format
msgid "hibernate.connection.password"
-msgstr "hibernate.dialect"
+msgstr "hibernate.connection.password"
-#: index.docbook:385
+#. Tag: entry
+#: toolset_guide.xml:385
+#, no-c-format
msgid "user password"
-msgstr "ãã¼ã¿ãã¼ã¹æ¹è¨"
+msgstr "ã¦ã¼ã¶ãã¹ã¯ã¼ã"
-#: index.docbook:388
+#. Tag: literal
+#: toolset_guide.xml:388
+#, no-c-format
msgid "hibernate.dialect"
-msgstr "Antã使ç¨ãã"
+msgstr "hibernate.dialect"
-#: index.docbook:389
+#. Tag: entry
+#: toolset_guide.xml:389
+#, no-c-format
msgid "dialect"
-msgstr "Antã®ãã«ãã¹ã¯ãªãããã <literal>SchemaExport</literal> ãå¼ã³åºããã¨ãã§ãã¾ãã:"
+msgstr "ãã¼ã¿ãã¼ã¹æ¹è¨"
-#: index.docbook:398
+#. Tag: title
+#: toolset_guide.xml:398
+#, no-c-format
msgid "Using Ant"
+msgstr "Antã使ç¨ãã"
+
+#. Tag: para
+#: toolset_guide.xml:400
+#, no-c-format
+msgid ""
+"You can call <literal>SchemaExport</literal> from your Ant build script:"
msgstr ""
- "<![CDATA[<target name=\"schemaexport\">
-\n"
- " <taskdef name=\"schemaexport\"
-\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"
-\n"
- " classpathref=\"class.path\"/>
-\n"
- "
-\n"
- " <schemaexport
-\n"
- " properties=\"hibernate.properties\"
-\n"
- " quiet=\"no\"
-\n"
- " text=\"no\"
-\n"
- " drop=\"no\"
-\n"
- " delimiter=\";\"
-\n"
- " output=\"schema-export.sql\">
-\n"
- " <fileset dir=\"src\">
-\n"
- " <include name=\"**/*.hbm.xml\"/>
-\n"
- " </fileset>
-\n"
- " </schemaexport>
-\n"
- "</target>]]>"
+"Antã®ãã«ãã¹ã¯ãªãããã <literal>SchemaExport</literal> ãå¼ã³åºããã¨ãã§"
+"ãã¾ãã:"
-#: index.docbook:400
-msgid "You can call <literal>SchemaExport</literal> from your Ant build script:"
-msgstr "ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªã¹ãã¼ãæ´æ°"
-
-#: index.docbook:404
+#. Tag: programlisting
+#: toolset_guide.xml:404
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"schemaexport\">\n"
- " <taskdef name=\"schemaexport\"\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"\n"
- " classpathref=\"class.path\"/>\n"
- " \n"
- " <schemaexport\n"
- " properties=\"hibernate.properties\"\n"
- " quiet=\"no\"\n"
- " text=\"no\"\n"
- " drop=\"no\"\n"
- " delimiter=\";\"\n"
- " output=\"schema-export.sql\">\n"
- " <fileset dir=\"src\">\n"
- " <include name=\"**/*.hbm.xml\"/>\n"
- " </fileset>\n"
- " </schemaexport>\n"
- "</target>]]>"
-msgstr "<literal>SchemaUpdate</literal> ãã¼ã«ã¯æ¢åã®ã¹ãã¼ããã¤ã³ã¯ãªã¡ã³ã¿ã«ã«æ´æ°ãã¾ãã <literal>SchemaUpdate</literal> ã¯JDBCã®ã¡ã¿ãã¼ã¿APIã«å¼·ãä¾åãã¾ãã ãã®ããããã¹ã¦ã®JDBCãã©ã¤ãã§ãã¾ãããã¨ã¯éããªããã¨ã«æ³¨æãã¦ãã ããã"
+"<![CDATA[<target name=\"schemaexport\">\n"
+" <taskdef name=\"schemaexport\"\n"
+" classname=\"org.hibernate.tool.hbm2ddl.SchemaExportTask\"\n"
+" classpathref=\"class.path\"/>\n"
+" \n"
+" <schemaexport\n"
+" properties=\"hibernate.properties\"\n"
+" quiet=\"no\"\n"
+" text=\"no\"\n"
+" drop=\"no\"\n"
+" delimiter=\";\"\n"
+" output=\"schema-export.sql\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemaexport>\n"
+"</target>]]>"
+msgstr ""
-#: index.docbook:409
+#. Tag: title
+#: toolset_guide.xml:409
+#, no-c-format
msgid "Incremental schema updates"
-msgstr "<literal>java -cp </literal> <emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaUpdate</literal> <emphasis>options mapping_files</emphasis>"
+msgstr "ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªã¹ãã¼ãæ´æ°"
-#: index.docbook:411
-msgid "The <literal>SchemaUpdate</literal> tool will update an existing schema with \"incremental\" changes. Note that <literal>SchemaUpdate</literal> depends heavily upon the JDBC metadata API, so it will not work with all JDBC drivers."
-msgstr "<literal>SchemaUpdate</literal> ã®ã³ãã³ãã©ã¤ã³ï½¥ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:411
+#, no-c-format
+msgid ""
+"The <literal>SchemaUpdate</literal> tool will update an existing schema with "
+"\"incremental\" changes. Note that <literal>SchemaUpdate</literal> depends "
+"heavily upon the JDBC metadata API, so it will not work with all JDBC "
+"drivers."
+msgstr ""
+"<literal>SchemaUpdate</literal> ãã¼ã«ã¯æ¢åã®ã¹ãã¼ããã¤ã³ã¯ãªã¡ã³ã¿ã«ã«æ´"
+"æ°ãã¾ãã <literal>SchemaUpdate</literal> ã¯JDBCã®ã¡ã¿ãã¼ã¿APIã«å¼·ãä¾åã"
+"ã¾ãã ãã®ããããã¹ã¦ã®JDBCãã©ã¤ãã§ãã¾ãããã¨ã¯éããªããã¨ã«æ³¨æãã¦ã"
+"ã ããã"
-#: index.docbook:417
-msgid "<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaUpdate</literal> <emphasis>options mapping_files</emphasis>"
-msgstr "ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:417
+#, no-c-format
+msgid ""
+"<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> "
+"<literal>org.hibernate.tool.hbm2ddl.SchemaUpdate</literal> <emphasis>options "
+"mapping_files</emphasis>"
+msgstr ""
-#: index.docbook:423
+#. Tag: title
+#: toolset_guide.xml:423
+#, no-c-format
msgid "<literal>SchemaUpdate</literal> Command Line Options"
-msgstr "<entry>説æ</entry>"
+msgstr "<literal>SchemaUpdate</literal> ã®ã³ãã³ãã©ã¤ã³ï½¥ãªãã·ã§ã³"
-#: index.docbook:440
+#. Tag: entry
+#: toolset_guide.xml:440
+#, no-c-format
msgid "don't export the script to the database"
-msgstr "<literal>NamingStrategy</literal> ã鏿ãã¾ãã"
+msgstr "ãã¼ã¿ãã¼ã¹ã«ã¹ã¯ãªãããã¨ã¯ã¹ãã¼ããã¾ãã"
-#: index.docbook:452, index.docbook:513
+#. Tag: entry
+#: toolset_guide.xml:452 toolset_guide.xml:513
+#, fuzzy, no-c-format
msgid "specify a <literal>.cfg.xml</literal> file"
-msgstr ""
- "<![CDATA[Configuration cfg = ....;
-\n"
- "new SchemaUpdate(cfg).execute(false);]]>"
+msgstr "<placeholder-1/> ãã¡ã¤ã«ãæå®ãã¾ã"
-#: index.docbook:458
+#. Tag: para
+#: toolset_guide.xml:458
+#, no-c-format
msgid "You may embed <literal>SchemaUpdate</literal> in your application:"
-msgstr "ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªã¹ãã¼ãæ´æ°ã«å¯¾ããAntã®ä½¿ç¨"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã« <literal>SchemaUpdate</literal> ãçµã¿è¾¼ããã¨ãã§ãã¾"
+"ããï¼"
-#: index.docbook:462
+#. Tag: programlisting
+#: toolset_guide.xml:462
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = ....;\n"
- "new SchemaUpdate(cfg).execute(false);]]>"
-msgstr "Antã¹ã¯ãªãããã <literal>SchemaUpdate</literal> ãå¼ã³åºããã¨ãã§ãã¾ãï¼"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaUpdate(cfg).execute(false);]]>"
+msgstr ""
-#: index.docbook:467
+#. Tag: title
+#: toolset_guide.xml:467
+#, no-c-format
msgid "Using Ant for incremental schema updates"
-msgstr ""
- "<![CDATA[<target name=\"schemaupdate\">
-\n"
- " <taskdef name=\"schemaupdate\"
-\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"
-\n"
- " classpathref=\"class.path\"/>
-\n"
- "
-\n"
- " <schemaupdate
-\n"
- " properties=\"hibernate.properties\"
-\n"
- " quiet=\"no\">
-\n"
- " <fileset dir=\"src\">
-\n"
- " <include name=\"**/*.hbm.xml\"/>
-\n"
- " </fileset>
-\n"
- " </schemaupdate>
-\n"
- "</target>]]>"
+msgstr "ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªã¹ãã¼ãæ´æ°ã«å¯¾ããAntã®ä½¿ç¨"
-#: index.docbook:469
+#. Tag: para
+#: toolset_guide.xml:469
+#, no-c-format
msgid "You can call <literal>SchemaUpdate</literal> from the Ant script:"
-msgstr "Schema validation"
+msgstr ""
+"Antã¹ã¯ãªãããã <literal>SchemaUpdate</literal> ãå¼ã³åºããã¨ãã§ãã¾ãï¼"
-#: index.docbook:473
+#. Tag: programlisting
+#: toolset_guide.xml:473
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"schemaupdate\">\n"
- " <taskdef name=\"schemaupdate\"\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"\n"
- " classpathref=\"class.path\"/>\n"
- " \n"
- " <schemaupdate\n"
- " properties=\"hibernate.properties\"\n"
- " quiet=\"no\">\n"
- " <fileset dir=\"src\">\n"
- " <include name=\"**/*.hbm.xml\"/>\n"
- " </fileset>\n"
- " </schemaupdate>\n"
- "</target>]]>"
-msgstr "<literal>SchemaValidator</literal> ãã¼ã«ã¯ãæ¢åã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¨ä½æãããããã³ã°ããã¥ã¡ã³ãã\"ä¸è´ãã\"ãã¨ãæ¤è¨¼ãã¾ãã <literal>SchemaValidator</literal> ã¯JDBCã®ã¡ã¿ãã¼ã¿APIã«å¼·ãä¾åãããã¨ã«æ³¨æãã¦ãã ããããã®ããããã¹ã¦ã®JDBCãã©ã¤ãã¼ã§ä½åãããã®ã§ã¯ããã¾ããããã®ãã¼ã«ã¯ãã¹ãæã«éå¸¸ã«æç¨ã§ãã"
+"<![CDATA[<target name=\"schemaupdate\">\n"
+" <taskdef name=\"schemaupdate\"\n"
+" classname=\"org.hibernate.tool.hbm2ddl.SchemaUpdateTask\"\n"
+" classpathref=\"class.path\"/>\n"
+" \n"
+" <schemaupdate\n"
+" properties=\"hibernate.properties\"\n"
+" quiet=\"no\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemaupdate>\n"
+"</target>]]>"
+msgstr ""
-#: index.docbook:478
+#. Tag: title
+#: toolset_guide.xml:478
+#, no-c-format
msgid "Schema validation"
-msgstr "<literal>java -cp </literal> <emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaValidator</literal> <emphasis>options mapping_files</emphasis>"
+msgstr "Schema validation"
-#: index.docbook:480
-msgid "The <literal>SchemaValidator</literal> tool will validate that the existing database schema \"matches\" your mapping documents. Note that <literal>SchemaValidator</literal> depends heavily upon the JDBC metadata API, so it will not work with all JDBC drivers. This tool is extremely useful for testing."
-msgstr "<literal>SchemaValidator</literal> ã®ã³ãã³ãã©ã¤ã³ã»ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:480
+#, no-c-format
+msgid ""
+"The <literal>SchemaValidator</literal> tool will validate that the existing "
+"database schema \"matches\" your mapping documents. Note that "
+"<literal>SchemaValidator</literal> depends heavily upon the JDBC metadata "
+"API, so it will not work with all JDBC drivers. This tool is extremely "
+"useful for testing."
+msgstr ""
+"<literal>SchemaValidator</literal> ãã¼ã«ã¯ãæ¢åã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¨ä½æ"
+"ãããããã³ã°ããã¥ã¡ã³ãã\"ä¸è´ãã\"ãã¨ãæ¤è¨¼ãã¾ãã "
+"<literal>SchemaValidator</literal> ã¯JDBCã®ã¡ã¿ãã¼ã¿APIã«å¼·ãä¾åãããã¨ã«"
+"注æãã¦ãã ããããã®ããããã¹ã¦ã®JDBCãã©ã¤ãã¼ã§ä½åãããã®ã§ã¯ããã¾ã"
+"ãããã®ãã¼ã«ã¯ãã¹ãæã«éå¸¸ã«æç¨ã§ãã"
-#: index.docbook:486
-msgid "<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> <literal>org.hibernate.tool.hbm2ddl.SchemaValidator</literal> <emphasis>options mapping_files</emphasis>"
-msgstr "ãªãã·ã§ã³"
+#. Tag: para
+#: toolset_guide.xml:486
+#, no-c-format
+msgid ""
+"<literal>java -cp </literal><emphasis>hibernate_classpaths</emphasis> "
+"<literal>org.hibernate.tool.hbm2ddl.SchemaValidator</literal> "
+"<emphasis>options mapping_files</emphasis>"
+msgstr ""
-#: index.docbook:492
+#. Tag: title
+#: toolset_guide.xml:492
+#, no-c-format
msgid "<literal>SchemaValidator</literal> Command Line Options"
-msgstr "<entry>説æ</entry>"
+msgstr "<literal>SchemaValidator</literal> ã®ã³ãã³ãã©ã¤ã³ã»ãªãã·ã§ã³"
-#: index.docbook:519
+#. Tag: para
+#: toolset_guide.xml:519
+#, no-c-format
msgid "You may embed <literal>SchemaValidator</literal> in your application:"
-msgstr "ã¹ãã¼ãã®ããªãã¼ã·ã§ã³ã«Antã使ç¨ãã¾ã"
+msgstr ""
+"<literal>SchemaValidator</literal> ãã¢ããªã±ã¼ã·ã§ã³ã«çµã¿è¾¼ããã¨ãåºæ¥ã¾"
+"ã:"
-#: index.docbook:523
+#. Tag: programlisting
+#: toolset_guide.xml:523
+#, no-c-format
msgid ""
- "<![CDATA[Configuration cfg = ....;\n"
- "new SchemaValidator(cfg).validate();]]>"
-msgstr "Antã¹ã¯ãªãããã <literal>SchemaValidator</literal> ãå¼ã³åºãã¾ã:"
+"<![CDATA[Configuration cfg = ....;\n"
+"new SchemaValidator(cfg).validate();]]>"
+msgstr ""
-#: index.docbook:528
+#. Tag: title
+#: toolset_guide.xml:528
+#, no-c-format
msgid "Using Ant for schema validation"
-msgstr ""
- "<![CDATA[<target name=\"schemavalidate\">
-\n"
- " <taskdef name=\"schemavalidator\"
-\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"
-\n"
- " classpathref=\"class.path\"/>
-\n"
- "
-\n"
- " <schemavalidator
-\n"
- " properties=\"hibernate.properties\">
-\n"
- " <fileset dir=\"src\">
-\n"
- " <include name=\"**/*.hbm.xml\"/>
-\n"
- " </fileset>
-\n"
- " </schemavalidator>
-\n"
- "</target>]]>"
+msgstr "ã¹ãã¼ãã®ããªãã¼ã·ã§ã³ã«Antã使ç¨ãã¾ã"
-#: index.docbook:530
+#. Tag: para
+#: toolset_guide.xml:530
+#, no-c-format
msgid "You can call <literal>SchemaValidator</literal> from the Ant script:"
-msgstr ""
+msgstr "Antã¹ã¯ãªãããã <literal>SchemaValidator</literal> ãå¼ã³åºãã¾ã:"
-#: index.docbook:534
+#. Tag: programlisting
+#: toolset_guide.xml:534
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"schemavalidate\">\n"
- " <taskdef name=\"schemavalidator\"\n"
- " classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"\n"
- " classpathref=\"class.path\"/>\n"
- " \n"
- " <schemavalidator\n"
- " properties=\"hibernate.properties\">\n"
- " <fileset dir=\"src\">\n"
- " <include name=\"**/*.hbm.xml\"/>\n"
- " </fileset>\n"
- " </schemavalidator>\n"
- "</target>]]>"
+"<![CDATA[<target name=\"schemavalidate\">\n"
+" <taskdef name=\"schemavalidator\"\n"
+" classname=\"org.hibernate.tool.hbm2ddl.SchemaValidatorTask\"\n"
+" classpathref=\"class.path\"/>\n"
+" \n"
+" <schemavalidator\n"
+" properties=\"hibernate.properties\">\n"
+" <fileset dir=\"src\">\n"
+" <include name=\"**/*.hbm.xml\"/>\n"
+" </fileset>\n"
+" </schemavalidator>\n"
+"</target>]]>"
msgstr ""
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
+#~ msgid "<one-to-one>"
+#~ msgstr "<one-to-one>"
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
+#~ msgid "<many-to-one>"
+#~ msgstr "<many-to-one>"
+#~ msgid "<key>"
+#~ msgstr "<key>"
+
+#~ msgid "<many-to-many>"
+#~ msgstr "<many-to-many>"
+
+#~ msgid "inverse=\"true\""
+#~ msgstr "inverse=\"true\""
+
+#~ msgid "SchemaExport"
+#~ msgstr "SchemaExport"
+
+#~ msgid "<column>"
+#~ msgstr "<column>"
+
+#~ msgid "java -cp"
+#~ msgstr "java -cp"
+
+#~ msgid "hibernate_classpaths"
+#~ msgstr "hibernate_classpaths"
+
+#~ msgid "org.hibernate.tool.hbm2ddl.SchemaExport"
+#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaExport"
+
+#~ msgid "options mapping_files"
+#~ msgstr "options mapping_files"
+
+#~ msgid "NamingStrategy"
+#~ msgstr "NamingStrategy"
+
+#, fuzzy
+#~ msgid "select a <placeholder-1/>"
+#~ msgstr ""
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "<placeholder-1/> ã鏿ãã¾ã\n"
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "<placeholder-1/> ã鏿ãã¾ãã\n"
+#~ "#-#-#-#-# - (PACKAGE VERSION) #-#-#-#-#\n"
+#~ "<placeholder-1/> ã鏿ãã¾ã"
+
+#~ msgid "org.hibernate.tool.hbm2ddl.SchemaUpdate"
+#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaUpdate"
+
+#~ msgid ".cfg.xml"
+#~ msgstr ".cfg.xml"
+
+#~ msgid "org.hibernate.tool.hbm2ddl.SchemaValidator"
+#~ msgstr "org.hibernate.tool.hbm2ddl.SchemaValidator"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/transactions.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/transactions.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/transactions.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,794 +1,2070 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:47+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: transactions.xml:5
+#, no-c-format
msgid "Transactions And Concurrency"
msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã¨ä¸¦è¡æ§"
-#: index.docbook:7
-msgid "The most important point about Hibernate and concurrency control is that it is very easy to understand. Hibernate directly uses JDBC connections and JTA resources without adding any additional locking behavior. We highly recommend you spend some time with the JDBC, ANSI, and transaction isolation specification of your database management system."
-msgstr "Hibernateã¨åæå®è¡å¶å¾¡ã«ã¤ãã¦æãéè¦ãªç¹ã¯ã容æã«çè§£ã§ãããã¨ã§ãã Hibernateã¯æ°ããªããã¯ã®æ¯ãèãã追å ãã¦ããããç´æ¥JDBCã³ãã¯ã·ã§ã³ã¨JTAãªã½ã¼ã¹ã使ç¨ãã¾ãã JDBCãANSIãããã³ãã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ï¼DBMSï¼ã®ãã©ã³ã¶ã¯ã·ã§ã³åé¢ã®ä»æ§ã å°ãæéãããã¦åå¼·ãããã¨ãå¼·ãæ¨å¥¨ãã¾ãã"
+#. Tag: para
+#: transactions.xml:7
+#, no-c-format
+msgid ""
+"The most important point about Hibernate and concurrency control is that it "
+"is very easy to understand. Hibernate directly uses JDBC connections and JTA "
+"resources without adding any additional locking behavior. We highly "
+"recommend you spend some time with the JDBC, ANSI, and transaction isolation "
+"specification of your database management system."
+msgstr ""
+"Hibernateã¨åæå®è¡å¶å¾¡ã«ã¤ãã¦æãéè¦ãªç¹ã¯ã容æã«çè§£ã§ãããã¨ã§ãã "
+"Hibernateã¯æ°ããªããã¯ã®æ¯ãèãã追å ãã¦ããããç´æ¥JDBCã³ãã¯ã·ã§ã³ã¨JTA"
+"ãªã½ã¼ã¹ã使ç¨ãã¾ãã JDBCãANSIãããã³ãã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ï¼DBMSï¼ã®ã"
+"ã©ã³ã¶ã¯ã·ã§ã³åé¢ã®ä»æ§ã å°ãæéãããã¦åå¼·ãããã¨ãå¼·ãæ¨å¥¨ãã¾ãã"
-#: index.docbook:14
-msgid "Hibernate does not lock objects in memory. Your application can expect the behavior as defined by the isolation level of your database transactions. Note that thanks to the <literal>Session</literal>, which is also a transaction-scoped cache, Hibernate provides repeatable reads for lookup by identifier and entity queries (not reporting queries that return scalar values)."
-msgstr "Hibernateã¯ã¡ã¢ãªå
ã®ãªãã¸ã§ã¯ããããã¯ãã¾ããã ã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®åé¢ã¬ãã«ã§ å®ç¾©ããæ¯ãèããæå¾
ã§ãã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ã¹ã³ã¼ãã®ãã£ãã·ã¥ã§ããã <literal>Session</literal> ã®ãé°ã§ã èå¥åãã¯ã¨ãªã«ããæ¤ç´¢ããã¨ã³ãã£ãã£ã¯ãªãã¼ã¿ãã«ãªã¼ãã«ãªãã¾ã ï¼ã¹ã«ã©ã¼å¤ãè¿ããããªã¬ãã¼ãã¯ã¨ãªã¯éãã¾ãï¼ã"
+#. Tag: para
+#: transactions.xml:14
+#, no-c-format
+msgid ""
+"Hibernate does not lock objects in memory. Your application can expect the "
+"behavior as defined by the isolation level of your database transactions. "
+"Note that thanks to the <literal>Session</literal>, which is also a "
+"transaction-scoped cache, Hibernate provides repeatable reads for lookup by "
+"identifier and entity queries (not reporting queries that return scalar "
+"values)."
+msgstr ""
+"Hibernateã¯ã¡ã¢ãªå
ã®ãªãã¸ã§ã¯ããããã¯ãã¾ããã ã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼"
+"ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®åé¢ã¬ãã«ã§ å®ç¾©ããæ¯ãèããæå¾
ã§ãã¾ãã ãã©"
+"ã³ã¶ã¯ã·ã§ã³ã¹ã³ã¼ãã®ãã£ãã·ã¥ã§ããã <literal>Session</literal> ã®ãé°"
+"ã§ã èå¥åãã¯ã¨ãªã«ããæ¤ç´¢ããã¨ã³ãã£ãã£ã¯ãªãã¼ã¿ãã«ãªã¼ãã«ãªãã¾ã "
+"ï¼ã¹ã«ã©ã¼å¤ãè¿ããããªã¬ãã¼ãã¯ã¨ãªã¯éãã¾ãï¼ã"
-#: index.docbook:22
-msgid "In addition to versioning for automatic optimistic concurrency control, Hibernate also offers a (minor) API for pessimistic locking of rows, using the <literal>SELECT FOR UPDATE</literal> syntax. Optimistic concurrency control and this API are discussed later in this chapter."
-msgstr "ãã¼ã¸ã§ãã³ã°ã«ããèªåçãªæ¥½è¦³çåæå®è¡å¶å¾¡ã«å ãã¦ã <literal>SELECT FOR UPDATE</literal> æã使ç¨ãã¦ã è¡ãæ²è¦³çããã¯ããããã®ï¼ãã¤ãã¼ãªï¼APIãæä¾ãã¾ãã æ¥½è¦³çåæå®è¡å¶å¾¡ã¨ãã®APIã«ã¤ãã¦ã¯ããã®ç« ã®å¾ã®ã»ãã§è°è«ãã¾ãã"
+#. Tag: para
+#: transactions.xml:22
+#, no-c-format
+msgid ""
+"In addition to versioning for automatic optimistic concurrency control, "
+"Hibernate also offers a (minor) API for pessimistic locking of rows, using "
+"the <literal>SELECT FOR UPDATE</literal> syntax. Optimistic concurrency "
+"control and this API are discussed later in this chapter."
+msgstr ""
+"ãã¼ã¸ã§ãã³ã°ã«ããèªåçãªæ¥½è¦³çåæå®è¡å¶å¾¡ã«å ãã¦ã <literal>SELECT FOR "
+"UPDATE</literal> æã使ç¨ãã¦ã è¡ãæ²è¦³çããã¯ããããã®ï¼ãã¤ãã¼ãªï¼APIã"
+"æä¾ãã¾ãã æ¥½è¦³çåæå®è¡å¶å¾¡ã¨ãã®APIã«ã¤ãã¦ã¯ããã®ç« ã®å¾ã®ã»ãã§è°è«ã"
+"ã¾ãã"
-#: index.docbook:29
-msgid "We start the discussion of concurrency control in Hibernate with the granularity of <literal>Configuration</literal>, <literal>SessionFactory</literal>, and <literal>Session</literal>, as well as database transactions and long conversations."
-msgstr "ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãé·ã対話ï¼conversationããã³ã°ãã©ã³ã¶ã¯ã·ã§ã³ï¼ã ãã§ãªãã <literal>Configuration</literal>ã<literal>SessionFactory</literal>ãããã³ <literal>Session</literal> ã¨ããç²åº¦ã§Hibernateãè¡ãåæå®è¡å¶å¾¡ã®è°è«ãå§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:29
+#, no-c-format
+msgid ""
+"We start the discussion of concurrency control in Hibernate with the "
+"granularity of <literal>Configuration</literal>, <literal>SessionFactory</"
+"literal>, and <literal>Session</literal>, as well as database transactions "
+"and long conversations."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãé·ã対話ï¼conversationããã³ã°ãã©ã³ã¶ã¯ã·ã§"
+"ã³ï¼ã ãã§ãªãã <literal>Configuration</literal>ã<literal>SessionFactory</"
+"literal>ãããã³ <literal>Session</literal> ã¨ããç²åº¦ã§Hibernateãè¡ãåæå®"
+"è¡å¶å¾¡ã®è°è«ãå§ãã¾ãã"
-#: index.docbook:36
+#. Tag: title
+#: transactions.xml:36
+#, no-c-format
msgid "Session and transaction scopes"
msgstr "sessionã¹ã³ã¼ãã¨transactionã¹ã³ã¼ã"
-#: index.docbook:38
-msgid "A <literal>SessionFactory</literal> is an expensive-to-create, threadsafe object intended to be shared by all application threads. It is created once, usually on application startup, from a <literal>Configuration</literal> instance."
-msgstr "<literal>SessionFactory</literal> ã¯çæãããã¨ãé«ä¾¡ã§ã ã¹ã¬ããã»ã¼ããªãªãã¸ã§ã¯ãã§ãã ãã£ã¦ãã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ã¦ã®ã¹ã¬ããã§å
±æãã¹ãã§ãã é常ãã¢ããªã±ã¼ã·ã§ã³ã®èµ·åæã«ã <literal>Configuration</literal> ã¤ã³ã¹ã¿ã³ã¹ããï¼åº¦ã ãçæãã¾ãã"
+#. Tag: para
+#: transactions.xml:38
+#, no-c-format
+msgid ""
+"A <literal>SessionFactory</literal> is an expensive-to-create, threadsafe "
+"object intended to be shared by all application threads. It is created once, "
+"usually on application startup, from a <literal>Configuration</literal> "
+"instance."
+msgstr ""
+"<literal>SessionFactory</literal> ã¯çæãããã¨ãé«ä¾¡ã§ã ã¹ã¬ããã»ã¼ããªãª"
+"ãã¸ã§ã¯ãã§ãã ãã£ã¦ãã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ã¦ã®ã¹ã¬ããã§å
±æãã¹ãã§"
+"ãã é常ãã¢ããªã±ã¼ã·ã§ã³ã®èµ·åæã«ã <literal>Configuration</literal> ã¤ã³"
+"ã¹ã¿ã³ã¹ããï¼åº¦ã ãçæãã¾ãã"
-#: index.docbook:44
-msgid "A <literal>Session</literal> is an inexpensive, non-threadsafe object that should be used once, for a single request, a conversation, single unit of work, and then discarded. A <literal>Session</literal> will not obtain a JDBC <literal>Connection</literal> (or a <literal>Datasource</literal>) unless it is needed, hence consume no resources until used."
-msgstr "<literal>Session</literal> ã¯é«ä¾¡ã§ã¯ãªããã¹ã¬ããã»ã¼ããªãªãã¸ã§ã¯ãã§ãããã¾ããã ãã£ã¦ãï¼ã¤ã®è¦æ±ãï¼ã¤ã®å¯¾è©±ãï¼ã¤ã®ä½æ¥åä½ï¼unit of workï¼ã«å¯¾ãã¦ï¼åº¦ã ã使ãã ãã®å¾ã§æ¨ã¦ãã¹ãã§ãã <literal>Session</literal> ã¯å¿
è¦ã«ãªãã¾ã§ã JDBC <literal>Connection</literal>ï¼ããã㯠<literal>DataSource</literal>ï¼ãç²å¾ãã¾ããã ããã«ãå®éã«ä½¿ç¨ããã¨ãã¾ã§ãªã½ã¼ã¹ãæ¶è²»ãã¾ããã"
+#. Tag: para
+#: transactions.xml:44
+#, no-c-format
+msgid ""
+"A <literal>Session</literal> is an inexpensive, non-threadsafe object that "
+"should be used once, for a single request, a conversation, single unit of "
+"work, and then discarded. A <literal>Session</literal> will not obtain a "
+"JDBC <literal>Connection</literal> (or a <literal>Datasource</literal>) "
+"unless it is needed, hence consume no resources until used."
+msgstr ""
+"<literal>Session</literal> ã¯é«ä¾¡ã§ã¯ãªããã¹ã¬ããã»ã¼ããªãªãã¸ã§ã¯ãã§ãã"
+"ãã¾ããã ãã£ã¦ãï¼ã¤ã®è¦æ±ãï¼ã¤ã®å¯¾è©±ãï¼ã¤ã®ä½æ¥åä½ï¼unit of workï¼ã«å¯¾"
+"ãã¦ï¼åº¦ã ã使ãã ãã®å¾ã§æ¨ã¦ãã¹ãã§ãã <literal>Session</literal> ã¯å¿
è¦"
+"ã«ãªãã¾ã§ã JDBC <literal>Connection</literal>ï¼ããã㯠"
+"<literal>DataSource</literal>ï¼ãç²å¾ãã¾ããã ããã«ãå®éã«ä½¿ç¨ããã¨ãã¾"
+"ã§ãªã½ã¼ã¹ãæ¶è²»ãã¾ããã"
-#: index.docbook:52
-msgid "To complete this picture you also have to think about database transactions. A database transaction has to be as short as possible, to reduce lock contention in the database. Long database transactions will prevent your application from scaling to highly concurrent load. Hence, it is almost never good design to hold a database transaction open during user think time, until the unit of work is complete."
-msgstr "ãã®ç¶æ³ãå®äºãããããã«ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«ã¤ãã¦ãèããªããã°ãªãã¾ããã ãã¼ã¿ãã¼ã¹å
ã®ããã¯ã®ç«¶åãå°ãªãããããã«ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯å¯è½ãªéãçãããã¹ãã§ãã é·ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®é«ã並åå®è¡æ§ãé»å®³ãã¾ãã ããã«ãã¦ã¼ã¶ã¼ãèãã¦ããéï¼ä½æ¥åä½ãå®äºããã¾ã§ï¼ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã éããã¾ã¾ã«ããã®ã¯ãããã¦ãã®å ´åããè¨è¨ã¨ã¯ããã¾ããã"
+#. Tag: para
+#: transactions.xml:52
+#, no-c-format
+msgid ""
+"To complete this picture you also have to think about database transactions. "
+"A database transaction has to be as short as possible, to reduce lock "
+"contention in the database. Long database transactions will prevent your "
+"application from scaling to highly concurrent load. Hence, it is almost "
+"never good design to hold a database transaction open during user think "
+"time, until the unit of work is complete."
+msgstr ""
+"ãã®ç¶æ³ãå®äºãããããã«ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«ã¤ãã¦ãèããªãã"
+"ã°ãªãã¾ããã ãã¼ã¿ãã¼ã¹å
ã®ããã¯ã®ç«¶åãå°ãªãããããã«ã ãã¼ã¿ãã¼ã¹"
+"ãã©ã³ã¶ã¯ã·ã§ã³ã¯å¯è½ãªéãçãããã¹ãã§ãã é·ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§"
+"ã³ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®é«ã並åå®è¡æ§ãé»å®³ãã¾ãã ããã«ãã¦ã¼ã¶ã¼ãèãã¦"
+"ããéï¼ä½æ¥åä½ãå®äºããã¾ã§ï¼ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã éããã¾ã¾ã«ã"
+"ãã®ã¯ãããã¦ãã®å ´åããè¨è¨ã¨ã¯ããã¾ããã"
-#: index.docbook:61
-msgid "What is the scope of a unit of work? Can a single Hibernate <literal>Session</literal> span several database transactions or is this a one-to-one relationship of scopes? When should you open and close a <literal>Session</literal> and how do you demarcate the database transaction boundaries?"
-msgstr "使¥åä½ã¨ããã¹ã³ã¼ãã¨ã¯ä½ã§ããããï¼ ï¼ã¤ã®Hibernate <literal>Session</literal> ã¯ã ããã¤ãã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã¾ããããã¨ãã§ããã§ããããï¼ ã¾ãã¯ãã¹ã³ã¼ãã¨ä¸å¯¾ä¸ã®é¢ä¿ã§ããããï¼ ã㤠<literal>Session</literal> ãéããéããã¹ãã§ããããï¼ ããã¦ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³å¢çãã©ã®ããã«åããã®ã§ããããï¼"
+#. Tag: para
+#: transactions.xml:61
+#, no-c-format
+msgid ""
+"What is the scope of a unit of work? Can a single Hibernate "
+"<literal>Session</literal> span several database transactions or is this a "
+"one-to-one relationship of scopes? When should you open and close a "
+"<literal>Session</literal> and how do you demarcate the database transaction "
+"boundaries?"
+msgstr ""
+"使¥åä½ã¨ããã¹ã³ã¼ãã¨ã¯ä½ã§ããããï¼ ï¼ã¤ã®Hibernate <literal>Session</"
+"literal> ã¯ã ããã¤ãã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã¾ããããã¨ãã§ããã§"
+"ããããï¼ ã¾ãã¯ãã¹ã³ã¼ãã¨ä¸å¯¾ä¸ã®é¢ä¿ã§ããããï¼ ã㤠<literal>Session</"
+"literal> ãéããéããã¹ãã§ããããï¼ ããã¦ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³"
+"å¢çãã©ã®ããã«åããã®ã§ããããï¼"
-#: index.docbook:69
+#. Tag: title
+#: transactions.xml:69
+#, no-c-format
msgid "Unit of work"
msgstr "使¥åä½ï¼Unit of workï¼"
-#: index.docbook:71
-msgid "First, don't use the <emphasis>session-per-operation</emphasis> antipattern, that is, don't open and close a <literal>Session</literal> for every simple database call in a single thread! Of course, the same is true for database transactions. Database calls in an application are made using a planned sequence, they are grouped into atomic units of work. (Note that this also means that auto-commit after every single SQL statement is useless in an application, this mode is intended for ad-hoc SQL console work. Hibernate disables, or expects the application server to do so, auto-commit mode immediately.) Database transactions are never optional, all communication with a database has to occur inside a transaction, no matter if you read or write data. As explained, auto-commit behavior for reading data should be avoided, as many small transactions are unlikely to perform better than one clearly defined unit of work. The latter is also much more maintainable and extensible."
-msgstr "ï¼ã¤ç®ã¯ã<emphasis>session-per-operation</emphasis> ã¢ã³ããã¿ã¼ã³ã使ã£ã¦ã¯ããã¾ããã ããªãã¡ãï¼ã¤ã®ã¹ã¬ããã®ä¸ã§ãåç´ãªãã¼ã¿ãã¼ã¹å¼ã³åºãã®ãã³ã« <literal>Session</literal> ãéãã¦ãéãã¦ã¯ããã¾ããï¼ ãã¡ããããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«ã¤ãã¦ãåæ§ã§ãã ã¢ããªã±ã¼ã·ã§ã³ä¸ã®ãã¼ã¿ãã¼ã¹å¼ã³åºãã¯ã è¨ç»ãããã·ã¼ã±ã³ã¹ï¼planned sequenceï¼ã使ãã ã¢ãããã¯ãªä½æ¥åä½ã«åé¡ããã¾ãã ï¼ï¼ã¤ã®SQLæãã¨ã«ã³ãããããèªåã³ããããã 使ãããªãã¨ããæå³ã§ããããã¨ã«æ³¨æãã¦ãã ããã èªåã³ãããã¯ãSQLã³ã³ã½ã¼ã«ã§ã¢ãããã¯ãªä½æ¥ãããéã«ä½¿ããã®ã§ãã Hibernateã¯ç´ã¡ã«èªåã³ãããã¢ã¼ããç¡å¹ã«ãã¾ãã ãããã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãç¡å¹åãããã¨ãæå¾
ãã¾ã!
ãï¼ ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯ãªãã·ã§ã³ã§ã¯ããã¾ããã ãã¼ã¿ãã¼ã¹ã¨ã®ãã¹ã¦ã®éä¿¡ã¯ããã¼ã¿ã®èªã¿è¾¼ã¿ã§ãã£ã¦ããæ¸ãè¾¼ã¿ã§ãã£ã¦ãã ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§è¡ããªããã°ãªãã¾ããã 説æããã¨ããã¼ã¿èªã¿è¾¼ã¿ã«å¯¾ãã¦ãèªåã³ãããã¯é¿ããã¹ãã§ãã ãªããªãã夿°ã®å°ããªãã©ã³ã¶ã¯ã·ã§ã³ã¯ãæç¢ºã«å®ç¾©ãããï¼ã¤ã®ä½æ¥åä½ã¨æ¯ã¹ã¦ã ããã©ã¼ãã³ã¹ããããªããã¨ã¯ããã¾ããã å¾è
ã¯ä¿å®æ§ãæ¡å¼µæ§ããããããã¦ãã¾ãã"
+#. Tag: para
+#: transactions.xml:71
+#, no-c-format
+msgid ""
+"First, don't use the <emphasis>session-per-operation</emphasis> antipattern, "
+"that is, don't open and close a <literal>Session</literal> for every simple "
+"database call in a single thread! Of course, the same is true for database "
+"transactions. Database calls in an application are made using a planned "
+"sequence, they are grouped into atomic units of work. (Note that this also "
+"means that auto-commit after every single SQL statement is useless in an "
+"application, this mode is intended for ad-hoc SQL console work. Hibernate "
+"disables, or expects the application server to do so, auto-commit mode "
+"immediately.) Database transactions are never optional, all communication "
+"with a database has to occur inside a transaction, no matter if you read or "
+"write data. As explained, auto-commit behavior for reading data should be "
+"avoided, as many small transactions are unlikely to perform better than one "
+"clearly defined unit of work. The latter is also much more maintainable and "
+"extensible."
+msgstr ""
+"ï¼ã¤ç®ã¯ã<emphasis>session-per-operation</emphasis> ã¢ã³ããã¿ã¼ã³ã使ã£ã¦ã¯"
+"ããã¾ããã ããªãã¡ãï¼ã¤ã®ã¹ã¬ããã®ä¸ã§ãåç´ãªãã¼ã¿ãã¼ã¹å¼ã³åºãã®ãã³"
+"ã« <literal>Session</literal> ãéãã¦ãéãã¦ã¯ããã¾ããï¼ ãã¡ããããã¼ã¿"
+"ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«ã¤ãã¦ãåæ§ã§ãã ã¢ããªã±ã¼ã·ã§ã³ä¸ã®ãã¼ã¿ãã¼ã¹å¼"
+"ã³åºãã¯ã è¨ç»ãããã·ã¼ã±ã³ã¹ï¼planned sequenceï¼ã使ãã ã¢ãããã¯ãªä½æ¥"
+"åä½ã«åé¡ããã¾ãã ï¼ï¼ã¤ã®SQLæãã¨ã«ã³ãããããèªåã³ããããã 使ãããª"
+"ãã¨ããæå³ã§ããããã¨ã«æ³¨æãã¦ãã ããã èªåã³ãããã¯ãSQLã³ã³ã½ã¼ã«ã§"
+"ã¢ãããã¯ãªä½æ¥ãããéã«ä½¿ããã®ã§ãã Hibernateã¯ç´ã¡ã«èªåã³ãããã¢ã¼ã"
+"ãç¡å¹ã«ãã¾ãã ãããã¯ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãç¡å¹åãããã¨ãæå¾
ãã¾"
+"ããï¼ ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯ãªãã·ã§ã³ã§ã¯ããã¾ããã ãã¼ã¿ãã¼ã¹"
+"ã¨ã®ãã¹ã¦ã®éä¿¡ã¯ããã¼ã¿ã®èªã¿è¾¼ã¿ã§ãã£ã¦ããæ¸ãè¾¼ã¿ã§ãã£ã¦ãã ãã©ã³ã¶"
+"ã¯ã·ã§ã³ã®ä¸ã§è¡ããªããã°ãªãã¾ããã 説æããã¨ããã¼ã¿èªã¿è¾¼ã¿ã«å¯¾ãã¦ãèª"
+"åã³ãããã¯é¿ããã¹ãã§ãã ãªããªãã夿°ã®å°ããªãã©ã³ã¶ã¯ã·ã§ã³ã¯ãæç¢ºã«"
+"å®ç¾©ãããï¼ã¤ã®ä½æ¥åä½ã¨æ¯ã¹ã¦ã ããã©ã¼ãã³ã¹ããããªããã¨ã¯ããã¾ã"
+"ãã å¾è
ã¯ä¿å®æ§ãæ¡å¼µæ§ããããããã¦ãã¾ãã"
-#: index.docbook:87
-msgid "The most common pattern in a multi-user client/server application is <emphasis>session-per-request</emphasis>. In this model, a request from the client is send to the server (where the Hibernate persistence layer runs), a new Hibernate <literal>Session</literal> is opened, and all database operations are executed in this unit of work. Once the work has been completed (and the response for the client has been prepared), the session is flushed and closed. You would also use a single database transaction to serve the clients request, starting and committing it when you open and close the <literal>Session</literal>. The relationship between the two is one-to-one and this model is a perfect fit for many applications."
-msgstr "ãã«ãã¦ã¼ã¶ã¼ã®ã¯ã©ã¤ã¢ã³ãï¼ãµã¼ãã¼ã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã§ã æããã使ããããã¿ã¼ã³ã¯ã<emphasis>session-per-request</emphasis> ã§ãã ãã®ã¢ãã«ã®ä¸ã§ã¯ã ã¯ã©ã¤ã¢ã³ãããï¼Hibernateæ°¸ç¶å層ãåä½ããï¼ãµã¼ãã¼ã¸ãªã¯ã¨ã¹ããéããã æ°ããHibernate <literal>Session</literal> ãéããã¾ãã ããã¦ããã®ä½æ¥åä½ã®ä¸ã§ãã¹ã¦ã®ãã¼ã¿ãã¼ã¹å¦çãå®è¡ããã¾ãã 使¥ãå®äºããï¼ããã¦ãã¯ã©ã¤ã¢ã³ãã¸ã®ã¬ã¹ãã³ã¹ãæºåã§ããï¼æç¹ã§ã session ããã©ãã·ã¥ããéãã¾ãã ã¯ã©ã¤ã¢ã³ãã®è¦æ±ãå¦çããããã«ãï¼ã¤ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã使ç¨ããã§ãããã <literal>Session</literal> ãéããéããéã«ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã³ããããã¾ãã äºã¤ã®é¢ä¿ã¯ä¸å¯¾ä¸ã§ãã ãã®ã¢ã!
ã«ã¯å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«å®å
¨ã«é©åãã¾ãã"
+#. Tag: para
+#: transactions.xml:87
+#, no-c-format
+msgid ""
+"The most common pattern in a multi-user client/server application is "
+"<emphasis>session-per-request</emphasis>. In this model, a request from the "
+"client is send to the server (where the Hibernate persistence layer runs), a "
+"new Hibernate <literal>Session</literal> is opened, and all database "
+"operations are executed in this unit of work. Once the work has been "
+"completed (and the response for the client has been prepared), the session "
+"is flushed and closed. You would also use a single database transaction to "
+"serve the clients request, starting and committing it when you open and "
+"close the <literal>Session</literal>. The relationship between the two is "
+"one-to-one and this model is a perfect fit for many applications."
+msgstr ""
+"ãã«ãã¦ã¼ã¶ã¼ã®ã¯ã©ã¤ã¢ã³ãï¼ãµã¼ãã¼ã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã§ã æããã使ãã"
+"ããã¿ã¼ã³ã¯ã<emphasis>session-per-request</emphasis> ã§ãã ãã®ã¢ãã«ã®ä¸"
+"ã§ã¯ã ã¯ã©ã¤ã¢ã³ãããï¼Hibernateæ°¸ç¶å層ãåä½ããï¼ãµã¼ãã¼ã¸ãªã¯ã¨ã¹ãã"
+"éããã æ°ããHibernate <literal>Session</literal> ãéããã¾ãã ããã¦ãã"
+"ã®ä½æ¥åä½ã®ä¸ã§ãã¹ã¦ã®ãã¼ã¿ãã¼ã¹å¦çãå®è¡ããã¾ãã 使¥ãå®äºããï¼ãã"
+"ã¦ãã¯ã©ã¤ã¢ã³ãã¸ã®ã¬ã¹ãã³ã¹ãæºåã§ããï¼æç¹ã§ã session ããã©ãã·ã¥ãã"
+"éãã¾ãã ã¯ã©ã¤ã¢ã³ãã®è¦æ±ãå¦çããããã«ãï¼ã¤ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯"
+"ã·ã§ã³ã使ç¨ããã§ãããã <literal>Session</literal> ãéããéããéã«ã "
+"ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã³ããããã¾ãã äºã¤ã®é¢ä¿ã¯ä¸å¯¾ä¸ã§"
+"ãã ãã®ã¢ãã«ã¯å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«å®å
¨ã«é©åãã¾ãã"
-#: index.docbook:99
-msgid "The challenge lies in the implementation. Hibernate provides built-in management of the \"current session\" to simplify this pattern. All you have to do is start a transaction when a server request has to be processed, and end the transaction before the response is send to the client. You can do this in any way you like, common solutions are <literal>ServletFilter</literal>, AOP interceptor with a pointcut on the service methods, or a proxy/interception container. An EJB container is a standardized way to implement cross-cutting aspects such as transaction demarcation on EJB session beans, declaratively with CMT. If you decide to use programmatic transaction demarcation, prefer the Hibernate <literal>Transaction</literal> API shown later in this chapter, for ease of use and code portability."
-msgstr "以éã®å®è£
ã«ãã£ã¬ã³ã¸ãã¦ãã ããã <literal>Session</literal> ãæã¡ããã©ã³ã¶ã¯ã·ã§ã³ãæ£ç¢ºã«éå§ããçµããããã ãã§ãªãã ãã¼ã¿ã¢ã¯ã»ã¹æä½ãå¾ãããããå¿
è¦ãããã¾ãã ãªã¯ã¨ã¹ãããµã¼ãã¼ã«ãããããéã¨ãã¬ã¹ãã³ã¹ãéä¿¡ããåã«ãå®è¡ãããinterceptor ï¼ä¾ãã°ã<literal>ServletFilter</literal>ï¼ã使ã£ã¦ã使¥åä½ã®å¢çãå®è£
ããã®ãçæ³çã§ãã <literal>ThreadLocal</literal> 夿°ã使ã£ã¦ã ãªã¯ã¨ã¹ããå¦çããã¹ã¬ããã« <literal>Session</literal> ãçµã³ã¤ãããã¨ãæ¨å¥¨ãã¾ãã ããã«ãããã¹ã¬ããå
ã§å®è¡ããããã¹ã¦ã®ã³ã¼ãã§ã ï¼static夿°ã«ã¢ã¯ã»ã¹ããããã«ï¼ç°¡åã« <literal>Session</literal> ã«ã¢ã¯ã»ã¹ã§ããããã«ãªãã¾ãã 鏿ãããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³å¢çã®æ©æ§æ¬¡ç¬¬ã§ã<literal>ThreadL!
ocal</literal> 夿°ã®ä¸ã«ãã©ã³ã¶ã¯ã·ã§ã³ã³ã³ããã¹ããä¿æããããããã¾ããã ãã®å®è£
ãã¿ã¼ã³ã¯ã<emphasis>ThreadLocal Session</emphasis> ããã³ <emphasis>Open Session in View</emphasis> ã¨ããååã§ç¥ããã¦ãã¾ãã æ¬ããã¥ã¡ã³ãã§å
ã«è¦ãã <literal>HibernateUtil</literal> ãã«ãã¼ã¯ã©ã¹ãæ¡å¼µãããã¨ã§ã ãã®ãã¿ã¼ã³ã容æã«å®è£
ã§ãã¾ãã ãã¡ãããinterceptor ãå®è£
ããæ¹æ³ãè¦ã¤ããç°å¢ãã»ããã¢ããããå¿
è¦ãããã¾ãã Hibernateã®Webãµã¤ãã«ããtipsã¨ä¾ãåç
§ãã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:99
+#, no-c-format
+msgid ""
+"The challenge lies in the implementation. Hibernate provides built-in "
+"management of the \"current session\" to simplify this pattern. All you have "
+"to do is start a transaction when a server request has to be processed, and "
+"end the transaction before the response is send to the client. You can do "
+"this in any way you like, common solutions are <literal>ServletFilter</"
+"literal>, AOP interceptor with a pointcut on the service methods, or a proxy/"
+"interception container. An EJB container is a standardized way to implement "
+"cross-cutting aspects such as transaction demarcation on EJB session beans, "
+"declaratively with CMT. If you decide to use programmatic transaction "
+"demarcation, prefer the Hibernate <literal>Transaction</literal> API shown "
+"later in this chapter, for ease of use and code portability."
+msgstr ""
+"以éã®å®è£
ã«ãã£ã¬ã³ã¸ãã¦ãã ããã Hibernateã¯åç´ãªãã®ãã¿ã¼ã³ã®ããã«ã"
+"äºãçµã¿è¾¼ã¾ãã ãcurrent sessionãã®ç®¡çãæä¾ãã¾ãã ãµã¼ãã¼ãªã¯ã¨ã¹ãã"
+"å¦çããéã¯ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããªããã°ãªãã¾ããã ããã¦ãã¬ã¹ãã³ã¹ã"
+"ã¯ã©ã¤ã¢ã³ãã«éä¿¡ããåã«ãã©ã³ã¶ã¯ã·ã§ã³ãçµãããã¾ãã 好ããªæ¹æ³ã§å®ç¾ã§"
+"ãã¾ããä¸è¬çãªè§£æ±ºç㯠<literal>ServletFilter</literal> ã ãµã¼ãã¹ã¡ã½ãã"
+"ããã¤ã³ãã«ãããã¦AOPã¤ã³ã¿ã¼ã»ãã¿ã¼ã proxy/interception ã³ã³ããã§ãã "
+"EJBã³ã³ããã¯EJBã»ãã·ã§ã³ãã¼ã³ããã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ã㦠ã¢ã¹ãã¯ããã¯ã"
+"ã¹ã«ããããå®è£
ã®æ¨æºçãªæ¹æ³ã§ãï¼CMTã«ãã宣è¨çï¼ã ããã°ã©ã ã«ãããã©"
+"ã³ã¶ã¯ã·ã§ã³å¢çã使ãã¨æ±ºããå ´åã ç°¡åã«ä½¿ããããäºææ§ã®ããã³ã¼ãã«ãã"
+"ããã«ã ãã®ç« ã®å¾ã®ã»ãã«ããHibernate <literal>Transaction</literal> APIã®"
+"ã»ããããã§ãã"
-#: index.docbook:112
-msgid "Your application code can access a \"current session\" to process the request by simply calling <literal>sessionFactory.getCurrentSession()</literal> anywhere and as often as needed. You will always get a <literal>Session</literal> scoped to the current database transaction. This has to be configured for either resource-local or JTA environments, see <xref linkend=\"architecture-current-session\"/>."
-msgstr "以éã®å®è£
ã«ãã£ã¬ã³ã¸ãã¦ãã ããã Hibernateã¯åç´ãªãã®ãã¿ã¼ã³ã®ããã«ãäºãçµã¿è¾¼ã¾ãã ãcurrent sessionãã®ç®¡çãæä¾ãã¾ãã ãµã¼ãã¼ãªã¯ã¨ã¹ããå¦çããéã¯ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããªããã°ãªãã¾ããã ããã¦ãã¬ã¹ãã³ã¹ãã¯ã©ã¤ã¢ã³ãã«éä¿¡ããåã«ãã©ã³ã¶ã¯ã·ã§ã³ãçµãããã¾ãã 好ããªæ¹æ³ã§å®ç¾ã§ãã¾ããä¸è¬çãªè§£æ±ºç㯠<literal>ServletFilter</literal> ã ãµã¼ãã¹ã¡ã½ããããã¤ã³ãã«ãããã¦AOPã¤ã³ã¿ã¼ã»ãã¿ã¼ã proxy/interception ã³ã³ããã§ãã EJBã³ã³ããã¯EJBã»ãã·ã§ã³ãã¼ã³ããã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ã㦠ã¢ã¹ãã¯ããã¯ãã¹ã«ããããå®è£
ã®æ¨æºçãªæ¹æ³ã§ãï¼CMTã«ãã宣è¨çï¼ã ããã°ã©ã ã«ãããã©ã³ã¶ã¯ã·ã§ã³å¢çã使ãã¨æ±ºããå ´åã ç°¡åã«ä½¿ããããäºææ§ã®ããã³ã¼ãã«ã!
ãããã«ã ãã®ç« ã®å¾ã®ã»ãã«ããHibernate <literal>Transaction</literal> APIã®ã»ããããã§ãã"
+#. Tag: para
+#: transactions.xml:112
+#, no-c-format
+msgid ""
+"Your application code can access a \"current session\" to process the "
+"request by simply calling <literal>sessionFactory.getCurrentSession()</"
+"literal> anywhere and as often as needed. You will always get a "
+"<literal>Session</literal> scoped to the current database transaction. This "
+"has to be configured for either resource-local or JTA environments, see "
+"<xref linkend=\"architecture-current-session\"/>."
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãã¯ãå¿
è¦ãªã¨ãã«ã©ãã§ããä½åã§ãã åã« "
+"<literal>sessionFactory.getCurrentSession()</literal> ãå¼ã³åºãã ãã§ ãç¾å¨"
+"ã®ã»ãã·ã§ã³ãã«ã¢ã¯ã»ã¹ã§ãã¾ãã ç¾å¨ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¸ã® "
+"<literal>ã»ãã·ã§ã³</literal> ã常ã«åå¾ãã¾ãã ãªã½ã¼ã¹ã»ãã¼ã«ã«ãªç°å¢ãã"
+"ããã¯JTAç°å¢ãæ§æããªããã°ãªãã¾ãã ï¼<xref linkend=\"architecture-"
+"current-session\"/> ãåç
§ãã¦ãã ããï¼ã"
-#: index.docbook:120
-msgid "Sometimes it is convenient to extend the scope of a <literal>Session</literal> and database transaction until the \"view has been rendered\". This is especially useful in servlet applications that utilize a separate rendering phase after the request has been processed. Extending the database transaction until view rendering is complete is easy to do if you implement your own interceptor. However, it is not easily doable if you rely on EJBs with container-managed transactions, as a transaction will be completed when an EJB method returns, before rendering of any view can start. See the Hibernate website and forum for tips and examples around this <emphasis>Open Session in View</emphasis> pattern."
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãã¯ãå¿
è¦ãªã¨ãã«ã©ãã§ããä½åã§ãã åã« <literal>sessionFactory.getCurrentSession()</literal> ãå¼ã³åºãã ãã§ ãç¾å¨ã®ã»ãã·ã§ã³ãã«ã¢ã¯ã»ã¹ã§ãã¾ãã ç¾å¨ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¸ã® <literal>ã»ãã·ã§ã³</literal> ã常ã«åå¾ãã¾ãã ãªã½ã¼ã¹ã»ãã¼ã«ã«ãªç°å¢ããããã¯JTAç°å¢ãæ§æããªããã°ãªãã¾ãã ï¼<xref linkend=\"architecture-current-session\"/> ãåç
§ãã¦ãã ããï¼ã"
+#. Tag: para
+#: transactions.xml:120
+#, no-c-format
+msgid ""
+"Sometimes it is convenient to extend the scope of a <literal>Session</"
+"literal> and database transaction until the \"view has been rendered\". This "
+"is especially useful in servlet applications that utilize a separate "
+"rendering phase after the request has been processed. Extending the database "
+"transaction until view rendering is complete is easy to do if you implement "
+"your own interceptor. However, it is not easily doable if you rely on EJBs "
+"with container-managed transactions, as a transaction will be completed when "
+"an EJB method returns, before rendering of any view can start. See the "
+"Hibernate website and forum for tips and examples around this <emphasis>Open "
+"Session in View</emphasis> pattern."
+msgstr ""
+"ã¨ãã©ããããã¥ã¼ãæç»ãããã¾ã§ <literal>ã»ãã·ã§ã³</literal> ã¨ãã¼ã¿ãã¼"
+"ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¹ã³ã¼ããæ¡å¼µããã¨ä¾¿å©ãªãã¨ãããã¾ãã ããã¯ãè¦æ±ã®"
+"å¦çã¨æç»ã®ãã§ã¼ãºãåãã¦ãã ãµã¼ãã¬ããã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ç¹ã«å½¹ç«"
+"ã¡ã¾ãã ç¬èªã®ã¤ã³ã¿ã¼ã»ãã¿ãå®è£
ããã°ã ãã¥ã¼ãæç»ããã¾ã§ãã¼ã¿ãã¼ã¹"
+"ãã©ã³ã¶ã¯ã·ã§ã³ãæ¡å¼µããã®ã¯ç°¡åã§ãã ããããã³ã³ãã管çãã©ã³ã¶ã¯ã·ã§ã³"
+"ã®EJBã«é ¼ãå ´åã¯ãç°¡åã«ã¯ã§ãã¾ããã ãªããªãããã¥ã¼ã®æç»ãéå§ããå"
+"ã«ãEJBã®ã¡ã½ããããªã¿ã¼ã³ããéã«ã ãã©ã³ã¶ã¯ã·ã§ã³ãå®äºããããã§ãã ã"
+"ã® <emphasis>Open Session in View</emphasis> ãã¿ã¼ã³ã«é¢é£ãããã³ãã¨ä¾ã«ã¤"
+"ãã¦ã¯ã Hibernateã®Webãµã¤ãããã©ã¼ã©ã ãåç
§ãã¦ãã ããã"
-#: index.docbook:135
+#. Tag: title
+#: transactions.xml:135
+#, no-c-format
msgid "Long conversations"
-msgstr "ã¨ãã©ããããã¥ã¼ãæç»ãããã¾ã§ <literal>ã»ãã·ã§ã³</literal> ã¨ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¹ã³ã¼ããæ¡å¼µããã¨ä¾¿å©ãªãã¨ãããã¾ãã ããã¯ãè¦æ±ã®å¦çã¨æç»ã®ãã§ã¼ãºãåãã¦ãã ãµã¼ãã¬ããã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ç¹ã«å½¹ç«ã¡ã¾ãã ç¬èªã®ã¤ã³ã¿ã¼ã»ãã¿ãå®è£
ããã°ã ãã¥ã¼ãæç»ããã¾ã§ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãæ¡å¼µããã®ã¯ç°¡åã§ãã ããããã³ã³ãã管çãã©ã³ã¶ã¯ã·ã§ã³ã®EJBã«é ¼ãå ´åã¯ãç°¡åã«ã¯ã§ãã¾ããã ãªããªãããã¥ã¼ã®æç»ãéå§ããåã«ãEJBã®ã¡ã½ããããªã¿ã¼ã³ããéã«ã ãã©ã³ã¶ã¯ã·ã§ã³ãå®äºããããã§ãã ãã® <emphasis>Open Session in View</emphasis> ãã¿ã¼ã³ã«é¢é£ãããã³ãã¨ä¾ã«ã¤ãã¦ã¯ã Hibernateã®Webãµã¤ãããã©ã¼ã©ã ãåç
§ãã¦ãã ããã"
-
-#: index.docbook:137
-msgid "The session-per-request pattern is not the only useful concept you can use to design units of work. Many business processes require a whole series of interactions with the user interleaved with database accesses. In web and enterprise applications it is not acceptable for a database transaction to span a user interaction. Consider the following example:"
msgstr "é·ã対話"
-#: index.docbook:147
-msgid "The first screen of a dialog opens, the data seen by the user has been loaded in a particular <literal>Session</literal> and database transaction. The user is free to modify the objects."
-msgstr "session-per-requestãã¿ã¼ã³ã¯ã使¥åä½ãè¨è¨ããéã«å½¹ç«ã¤èãã¨ããã ãã§ã¯ããã¾ããã å¤ãã®ãã¸ãã¹ããã»ã¹ã¯ãã¦ã¼ã¶ã¼ã¨ã®ä¸é£ã®ç¸äºä½ç¨å
¨ä½ãè¦æ±ãã¾ãã ãã®ç¸äºä½ç¨ã«ã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ãå«ã¾ãã¾ãã Webã¨ã¨ã³ã¿ã¼ãã©ã¤ãºã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã ã¦ã¼ã¶ã¨ã®ç¸äºä½ç¨ã«ã¾ã§æ¸¡ããã¨ã¯è¨±ããã¾ããã æ¬¡ã®ä¾ãããèãã¦ã¿ã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:137
+#, no-c-format
+msgid ""
+"The session-per-request pattern is not the only useful concept you can use "
+"to design units of work. Many business processes require a whole series of "
+"interactions with the user interleaved with database accesses. In web and "
+"enterprise applications it is not acceptable for a database transaction to "
+"span a user interaction. Consider the following example:"
+msgstr ""
+"session-per-requestãã¿ã¼ã³ã¯ã使¥åä½ãè¨è¨ããéã«å½¹ç«ã¤èãã¨ããã ãã§ã¯"
+"ããã¾ããã å¤ãã®ãã¸ãã¹ããã»ã¹ã¯ãã¦ã¼ã¶ã¼ã¨ã®ä¸é£ã®ç¸äºä½ç¨å
¨ä½ãè¦æ±ã"
+"ã¾ãã ãã®ç¸äºä½ç¨ã«ã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ãå«ã¾ãã¾ãã Webã¨ã¨ã³ã¿ã¼ãã©"
+"ã¤ãºã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã ã¦ã¼ã¶ã¨ã®ç¸äºä½ç¨ã«"
+"ã¾ã§æ¸¡ããã¨ã¯è¨±ããã¾ããã æ¬¡ã®ä¾ãããèãã¦ã¿ã¦ãã ããã"
-#: index.docbook:154
-msgid "The user clicks \"Save\" after 5 minutes and expects his modifications to be made persistent; he also expects that he was the only person editing this information and that no conflicting modification can occur."
-msgstr "ãã¤ã¢ãã°ã®æåã®ç»é¢ãéããåã
ã® <literal>Session</literal> ã¨ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§ãã¼ãããããã¼ã¿ãã¦ã¼ã¶ã¼ã«è¦ãã¾ãã ã¦ã¼ã¶ã¼ã¯ãªãã¸ã§ã¯ããèªç±ã«ä¿®æ£ã§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:147
+#, no-c-format
+msgid ""
+"The first screen of a dialog opens, the data seen by the user has been "
+"loaded in a particular <literal>Session</literal> and database transaction. "
+"The user is free to modify the objects."
+msgstr ""
+"ãã¤ã¢ãã°ã®æåã®ç»é¢ãéããåã
ã® <literal>Session</literal> ã¨ãã¼ã¿ãã¼"
+"ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§ãã¼ãããããã¼ã¿ãã¦ã¼ã¶ã¼ã«è¦ãã¾ãã ã¦ã¼ã¶ã¼ã¯ãª"
+"ãã¸ã§ã¯ããèªç±ã«ä¿®æ£ã§ãã¾ãã"
-#: index.docbook:162
-msgid "We call this unit of work, from the point of view of the user, a long running <emphasis>conversation</emphasis> (or <emphasis>application transaction</emphasis>). There are many ways how you can implement this in your application."
-msgstr "5åå¾ã«ã¦ã¼ã¶ã¼ã¯ãSaveããã¯ãªãã¯ããä¿®æ£ãæ°¸ç¶åãããã®ãæå¾
ãã¾ãã ã¾ãããã®æ
å ±ãç·¨éããã®ã¯èªåï¼äººã ãã§ã ä¿®æ£ã®ã³ã³ããªã¯ãã¯çºçããªãã¨æå¾
ãã¾ãã"
+#. Tag: para
+#: transactions.xml:154
+#, no-c-format
+msgid ""
+"The user clicks \"Save\" after 5 minutes and expects his modifications to be "
+"made persistent; he also expects that he was the only person editing this "
+"information and that no conflicting modification can occur."
+msgstr ""
+"5åå¾ã«ã¦ã¼ã¶ã¼ã¯ãSaveããã¯ãªãã¯ããä¿®æ£ãæ°¸ç¶åãããã®ãæå¾
ãã¾ãã ã¾"
+"ãããã®æ
å ±ãç·¨éããã®ã¯èªåï¼äººã ãã§ã ä¿®æ£ã®ã³ã³ããªã¯ãã¯çºçããªãã¨æ"
+"å¾
ãã¾ãã"
-#: index.docbook:168
-msgid "A first naive implementation might keep the <literal>Session</literal> and database transaction open during user think time, with locks held in the database to prevent concurrent modification, and to guarantee isolation and atomicity. This is of course an anti-pattern, since lock contention would not allow the application to scale with the number of concurrent users."
-msgstr "ãã®ä½æ¥åä½ãï¼ã¦ã¼ã¶ã¼ã®è¦ç¹ã§ï¼é·æã® <emphasis>対話</emphasis> ï¼ãããã¯ã<emphasis>ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³</emphasis> ï¼ã¨å¼ã³ã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã«ãããå®è£
ããæ¹æ³ã¯ããããããã¾ãã"
+#. Tag: para
+#: transactions.xml:162
+#, no-c-format
+msgid ""
+"We call this unit of work, from the point of view of the user, a long "
+"running <emphasis>conversation</emphasis> (or <emphasis>application "
+"transaction</emphasis>). There are many ways how you can implement this in "
+"your application."
+msgstr ""
+"ãã®ä½æ¥åä½ãï¼ã¦ã¼ã¶ã¼ã®è¦ç¹ã§ï¼é·æã® <emphasis>対話</emphasis> ï¼ããã"
+"ã¯ã<emphasis>ã¢ããªã±ã¼ã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³</emphasis> ï¼ã¨å¼ã³ã¾ãã ã¢ã"
+"ãªã±ã¼ã·ã§ã³ã«ãããå®è£
ããæ¹æ³ã¯ããããããã¾ãã"
-#: index.docbook:176
-msgid "Clearly, we have to use several database transactions to implement the converastion. In this case, maintaining isolation of business processes becomes the partial responsibility of the application tier. A single conversation usually spans several database transactions. It will be atomic if only one of these database transactions (the last one) stores the updated data, all others simply read data (e.g. in a wizard-style dialog spanning several request/response cycles). This is easier to implement than it might sound, especially if you use Hibernate's features:"
-msgstr "æåã«æãã¤ãå®è£
ã¯ãã¦ã¼ã¶ã¼ãèãã¦ããéã<literal>Session</literal> ã¨ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéããã¾ã¾ã«ãã¦ãããã¨ã§ãã åæã«ä¿®æ£ããããåé¢ã¨ååæ§ãä¿è¨¼ãããããã«ã ãã¼ã¿ãã¼ã¹å
ã®ããã¯ã¯ä¿æããã¾ã¾ã«ãã¾ãã ãã¡ãããããã¯ã¢ã³ããã¿ã¼ã³ã§ãã ãªããªããããã¯ã®ç«¶åãçºçããã¨ã ã¢ããªã±ã¼ã·ã§ã³ãåæã¦ã¼ã¶ã¼æ°ã«å¿ãã¦ã¹ã±ã¼ã«ã¢ããã§ããªããªãããã§ãã"
+#. Tag: para
+#: transactions.xml:168
+#, no-c-format
+msgid ""
+"A first naive implementation might keep the <literal>Session</literal> and "
+"database transaction open during user think time, with locks held in the "
+"database to prevent concurrent modification, and to guarantee isolation and "
+"atomicity. This is of course an anti-pattern, since lock contention would "
+"not allow the application to scale with the number of concurrent users."
+msgstr ""
+"æåã«æãã¤ãå®è£
ã¯ãã¦ã¼ã¶ã¼ãèãã¦ããéã<literal>Session</literal> ã¨"
+"ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéããã¾ã¾ã«ãã¦ãããã¨ã§ãã åæã«ä¿®æ£ãã"
+"ããåé¢ã¨ååæ§ãä¿è¨¼ãããããã«ã ãã¼ã¿ãã¼ã¹å
ã®ããã¯ã¯ä¿æããã¾ã¾ã«ã"
+"ã¾ãã ãã¡ãããããã¯ã¢ã³ããã¿ã¼ã³ã§ãã ãªããªããããã¯ã®ç«¶åãçºçãã"
+"ã¨ã ã¢ããªã±ã¼ã·ã§ã³ãåæã¦ã¼ã¶ã¼æ°ã«å¿ãã¦ã¹ã±ã¼ã«ã¢ããã§ããªããªãããã§"
+"ãã"
-#: index.docbook:189
-msgid "<emphasis>Automatic Versioning</emphasis> - Hibernate can do automatic optimistic concurrency control for you, it can automatically detect if a concurrent modification occured during user think time. Usually we only check at the end of the conversation."
-msgstr "æããã«ã対話ãå®è£
ããããã«ã¯ã ããã¤ãã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã使ç¨ããã¹ãã§ãã ãã®å ´åããã¸ãã¹ããã»ã¹ã®åé¢ãç¶æãããã¨ã¯ã ã¢ããªã±ã¼ã·ã§ã³å±¤ã®è²¬åã®ï¼ã¤ã«ãªãã¾ãã ï¼ã¤ã®å¯¾è©±ã¯ã é常ããã¤ãã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«åã³ã¾ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ï¼ã¤ã®ã¿ï¼æå¾ã®ï¼ã¤ï¼ãæ´æ°ãããã¼ã¿ãä¿åãã ä»ã¯ãã¼ã¿ãèªãã ãã§ããã°ãããã¯ã¢ãããã¯ã§ã ï¼ä¾ãã°ãããã¤ãã®è¦æ±ï¼å¿çãç¹°ãè¿ãã¦ã£ã¶ã¼ãå½¢å¼ã®ãã¤ã¢ãã°ï¼ã ããã¯èããããå®è£
ããã»ããç°¡åã§ãã Hibernateã®æ©è½ã使ãã®ã§ããã°ãç¹ã«ç°¡åã§ãã"
+#. Tag: para
+#: transactions.xml:176
+#, no-c-format
+msgid ""
+"Clearly, we have to use several database transactions to implement the "
+"converastion. In this case, maintaining isolation of business processes "
+"becomes the partial responsibility of the application tier. A single "
+"conversation usually spans several database transactions. It will be atomic "
+"if only one of these database transactions (the last one) stores the updated "
+"data, all others simply read data (e.g. in a wizard-style dialog spanning "
+"several request/response cycles). This is easier to implement than it might "
+"sound, especially if you use Hibernate's features:"
+msgstr ""
+"æããã«ã対話ãå®è£
ããããã«ã¯ã ããã¤ãã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã使"
+"ç¨ããã¹ãã§ãã ãã®å ´åããã¸ãã¹ããã»ã¹ã®åé¢ãç¶æãããã¨ã¯ã ã¢ããª"
+"ã±ã¼ã·ã§ã³å±¤ã®è²¬åã®ï¼ã¤ã«ãªãã¾ãã ï¼ã¤ã®å¯¾è©±ã¯ã é常ããã¤ãã®ãã¼ã¿ãã¼"
+"ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã«åã³ã¾ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ï¼ã¤ã®ã¿ï¼æå¾ã®"
+"ï¼ã¤ï¼ãæ´æ°ãããã¼ã¿ãä¿åãã ä»ã¯ãã¼ã¿ãèªãã ãã§ããã°ãããã¯ã¢ããã"
+"ã¯ã§ã ï¼ä¾ãã°ãããã¤ãã®è¦æ±ï¼å¿çãç¹°ãè¿ãã¦ã£ã¶ã¼ãå½¢å¼ã®ãã¤ã¢ã"
+"ã°ï¼ã ããã¯èããããå®è£
ããã»ããç°¡åã§ãã Hibernateã®æ©è½ã使ãã®ã§ãã"
+"ã°ãç¹ã«ç°¡åã§ãã"
-#: index.docbook:197
-msgid "<emphasis>Detached Objects</emphasis> - If you decide to use the already discussed <emphasis>session-per-request</emphasis> pattern, all loaded instances will be in detached state during user think time. Hibernate allows you to reattach the objects and persist the modifications, the pattern is called <emphasis>session-per-request-with-detached-objects</emphasis>. Automatic versioning is used to isolate concurrent modifications."
-msgstr "<emphasis>èªåãã¼ã¸ã§ãã³ã°</emphasis> - Hibernateã¯èªåçã«æ¥½è¦³çåæå®è¡å¶å¾¡ãã§ãã¾ãã ã¦ã¼ã¶ã¼ãèãã¦ããéã«åæã«ä¿®æ£ããããå ´åãèªåçã«æ¤åºã§ãã¾ãã é常ã対話ã®çµäºæã«ãã§ãã¯ããã ãã§ãã"
+#. Tag: para
+#: transactions.xml:189
+#, no-c-format
+msgid ""
+"<emphasis>Automatic Versioning</emphasis> - Hibernate can do automatic "
+"optimistic concurrency control for you, it can automatically detect if a "
+"concurrent modification occured during user think time. Usually we only "
+"check at the end of the conversation."
+msgstr ""
+"<emphasis>èªåãã¼ã¸ã§ãã³ã°</emphasis> - Hibernateã¯èªåçã«æ¥½è¦³çåæå®è¡å¶"
+"御ãã§ãã¾ãã ã¦ã¼ã¶ã¼ãèãã¦ããéã«åæã«ä¿®æ£ããããå ´åãèªåçã«æ¤åºã§"
+"ãã¾ãã é常ã対話ã®çµäºæã«ãã§ãã¯ããã ãã§ãã"
-#: index.docbook:207
-msgid "<emphasis>Extended (or Long) Session</emphasis> - The Hibernate <literal>Session</literal> may be disconnected from the underlying JDBC connection after the database transaction has been committed, and reconnected when a new client request occurs. This pattern is known as <emphasis>session-per-conversation</emphasis> and makes even reattachment unnecessary. Automatic versioning is used to isolate concurrent modifications and the <literal>Session</literal> is usually not allowed to be flushed automatically, but explicitely."
-msgstr "<emphasis>åé¢ï¼Detachedï¼ãªãã¸ã§ã¯ã</emphasis> - ãã§ã«è°è«ãã <emphasis>session-per-request</emphasis> ãã¿ã¼ã³ã使ãã¨æ±ºå®ããå ´åã ãã¼ãããããã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãã¦ã¼ã¶ãèãã¦ããéã¯ã ã»ãã·ã§ã³ããåé¢ãããç¶æ
ã«ãªãã¾ãã ãªãã¸ã§ã¯ããã»ãã·ã§ã³ã«å追å ããä¿®æ£ãæ°¸ç¶åã§ãã¾ãã ããã <emphasis>session-per-request-with-detached-objects</emphasis> ãã¿ã¼ã³ã¨å¼ã³ã¾ãã èªåãã¼ã¸ã§ãã³ã°ã使ããã¨ã§ãåæã«è¡ãããä¿®æ£ãåé¢ã§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:197
+#, no-c-format
+msgid ""
+"<emphasis>Detached Objects</emphasis> - If you decide to use the already "
+"discussed <emphasis>session-per-request</emphasis> pattern, all loaded "
+"instances will be in detached state during user think time. Hibernate allows "
+"you to reattach the objects and persist the modifications, the pattern is "
+"called <emphasis>session-per-request-with-detached-objects</emphasis>. "
+"Automatic versioning is used to isolate concurrent modifications."
+msgstr ""
+"<emphasis>åé¢ï¼Detachedï¼ãªãã¸ã§ã¯ã</emphasis> - ãã§ã«è°è«ãã "
+"<emphasis>session-per-request</emphasis> ãã¿ã¼ã³ã使ãã¨æ±ºå®ããå ´åã ãã¼"
+"ãããããã¹ã¦ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãã¦ã¼ã¶ãèãã¦ããéã¯ã ã»ãã·ã§ã³ããåé¢ã"
+"ããç¶æ
ã«ãªãã¾ãã ãªãã¸ã§ã¯ããã»ãã·ã§ã³ã«å追å ããä¿®æ£ãæ°¸ç¶åã§ãã¾"
+"ãã ããã <emphasis>session-per-request-with-detached-objects</emphasis> ã"
+"ã¿ã¼ã³ã¨å¼ã³ã¾ãã èªåãã¼ã¸ã§ãã³ã°ã使ããã¨ã§ãåæã«è¡ãããä¿®æ£ãåé¢ã§"
+"ãã¾ãã"
-#: index.docbook:220
-msgid "Both <emphasis>session-per-request-with-detached-objects</emphasis> and <emphasis>session-per-conversation</emphasis> have advantages and disadvantages, we discuss them later in this chapter in the context of optimistic concurrency control."
-msgstr "<emphasis>æ¡å¼µï¼ãããã¯ãé·ãï¼ã»ãã·ã§ã³</emphasis> - Hibernateã® <literal>Session</literal> ã¯ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã³ãããããå¾ã è£ã§çµã³ã¤ãã¦ããJDBCã³ãã¯ã·ã§ã³ãåæã§ãã¾ãã ããã¦ãã¯ã©ã¤ã¢ã³ãããã®æ°ããè¦æ±ãçºçããéã«ã忥ç¶ã§ãã¾ãã ãã®ãã¿ã¼ã³ã¯ã<emphasis>session-per-conversation</emphasis> ã¨ããåã§ç¥ããã¦ããããªãã¸ã§ã¯ããã»ãã·ã§ã³ã¸å追å ãããã¨ããä¸è¦ã«ãã¾ãã èªåãã¼ã¸ã§ãã³ã°ã使ããã¨ã§ãåæã«è¡ãããä¿®æ£ãåé¢ã§ãã¾ãã é常 <literal>Session</literal> ãèªåçã«ãã©ãã·ã¥ãããã æç¤ºçã«ãã©ãã·ã¥ãã¾ãã"
+#. Tag: para
+#: transactions.xml:207
+#, no-c-format
+msgid ""
+"<emphasis>Extended (or Long) Session</emphasis> - The Hibernate "
+"<literal>Session</literal> may be disconnected from the underlying JDBC "
+"connection after the database transaction has been committed, and "
+"reconnected when a new client request occurs. This pattern is known as "
+"<emphasis>session-per-conversation</emphasis> and makes even reattachment "
+"unnecessary. Automatic versioning is used to isolate concurrent "
+"modifications and the <literal>Session</literal> is usually not allowed to "
+"be flushed automatically, but explicitely."
+msgstr ""
+"<emphasis>æ¡å¼µï¼ãããã¯ãé·ãï¼ã»ãã·ã§ã³</emphasis> - Hibernateã® "
+"<literal>Session</literal> ã¯ã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã³ããããã"
+"å¾ã è£ã§çµã³ã¤ãã¦ããJDBCã³ãã¯ã·ã§ã³ãåæã§ãã¾ãã ããã¦ãã¯ã©ã¤ã¢ã³ã"
+"ããã®æ°ããè¦æ±ãçºçããéã«ã忥ç¶ã§ãã¾ãã ãã®ãã¿ã¼ã³ã¯ã"
+"<emphasis>session-per-conversation</emphasis> ã¨ããåã§ç¥ããã¦ããããªã"
+"ã¸ã§ã¯ããã»ãã·ã§ã³ã¸å追å ãããã¨ããä¸è¦ã«ãã¾ãã èªåãã¼ã¸ã§ãã³ã°ã使"
+"ããã¨ã§ãåæã«è¡ãããä¿®æ£ãåé¢ã§ãã¾ãã é常 <literal>Session</literal> "
+"ãèªåçã«ãã©ãã·ã¥ãããã æç¤ºçã«ãã©ãã·ã¥ãã¾ãã"
-#: index.docbook:229
+#. Tag: para
+#: transactions.xml:220
+#, no-c-format
+msgid ""
+"Both <emphasis>session-per-request-with-detached-objects</emphasis> and "
+"<emphasis>session-per-conversation</emphasis> have advantages and "
+"disadvantages, we discuss them later in this chapter in the context of "
+"optimistic concurrency control."
+msgstr ""
+"<emphasis>session-per-request-with-detached-objects</emphasis> 㨠"
+"<emphasis>session-per-conversation</emphasis> ã®ï¼ã¤ã¯ã å©ç¹ã¨æ¬ ç¹ãæã£ã¦ã"
+"ã¾ãã ããã«ã¤ãã¦ã¯ããã®ç« ã®å¾ã®ã»ãã§ã楽観çåæå®è¡å¶å¾¡ã®æèã®ä¸ã§è°è«"
+"ãã¾ãã"
+
+#. Tag: title
+#: transactions.xml:229
+#, no-c-format
msgid "Considering object identity"
-msgstr "<emphasis>session-per-request-with-detached-objects</emphasis> 㨠<emphasis>session-per-conversation</emphasis> ã®ï¼ã¤ã¯ã å©ç¹ã¨æ¬ ç¹ãæã£ã¦ãã¾ãã ããã«ã¤ãã¦ã¯ããã®ç« ã®å¾ã®ã»ãã§ã楽観çåæå®è¡å¶å¾¡ã®æèã®ä¸ã§è°è«ãã¾ãã"
-
-#: index.docbook:231
-msgid "An application may concurrently access the same persistent state in two different <literal>Session</literal>s. However, an instance of a persistent class is never shared between two <literal>Session</literal> instances. Hence there are two different notions of identity:"
msgstr "ãªãã¸ã§ã¯ãèå¥åãèãã"
-#: index.docbook:240
+#. Tag: para
+#: transactions.xml:231
+#, no-c-format
+msgid ""
+"An application may concurrently access the same persistent state in two "
+"different <literal>Session</literal>s. However, an instance of a persistent "
+"class is never shared between two <literal>Session</literal> instances. "
+"Hence there are two different notions of identity:"
+msgstr ""
+"ã¢ããªã±ã¼ã·ã§ã³ã¯ãï¼ã¤ã®ç°ãªã <literal>Session</literal> ãã åãæ°¸ç¶ç¶æ
"
+"ã«åæã«ã¢ã¯ã»ã¹ã§ãã¾ãã ããããï¼ã¤ã® <literal>Session</literal> ã¤ã³ã¹ã¿"
+"ã³ã¹ã æ°¸ç¶æ§ã¯ã©ã¹ã®ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ãå
±æãããã¨ã¯ã§ãã¾ããã ããã«ã"
+"èå¥åã«ã¯ï¼ã¤ã®ç°ãªãæ¦å¿µãããã¨ãããã¨ã«ãªãã¾ãã"
+
+#. Tag: term
+#: transactions.xml:240
+#, no-c-format
msgid "Database Identity"
-msgstr "ã¢ããªã±ã¼ã·ã§ã³ã¯ãï¼ã¤ã®ç°ãªã <literal>Session</literal> ãã åãæ°¸ç¶ç¶æ
ã«åæã«ã¢ã¯ã»ã¹ã§ãã¾ãã ããããï¼ã¤ã® <literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ã æ°¸ç¶æ§ã¯ã©ã¹ã®ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ãå
±æãããã¨ã¯ã§ãã¾ããã ããã«ãèå¥åã«ã¯ï¼ã¤ã®ç°ãªãæ¦å¿µãããã¨ãããã¨ã«ãªãã¾ãã"
+msgstr "ãã¼ã¿ãã¼ã¹èå¥å"
-#: index.docbook:243
+#. Tag: literal
+#: transactions.xml:243
+#, no-c-format
msgid "foo.getId().equals( bar.getId() )"
-msgstr "ãã¼ã¿ãã¼ã¹èå¥å"
+msgstr "foo.getId().equals( bar.getId() )"
-#: index.docbook:248
+#. Tag: term
+#: transactions.xml:248
+#, no-c-format
msgid "JVM Identity"
-msgstr "foo.getId().equals( bar.getId() )"
+msgstr "JVMèå¥å"
-#: index.docbook:251
+#. Tag: literal
+#: transactions.xml:251
+#, no-c-format
msgid "foo==bar"
-msgstr "JVMèå¥å"
-
-#: index.docbook:257
-msgid "Then for objects attached to a <emphasis>particular</emphasis> <literal>Session</literal> (i.e. in the scope of a <literal>Session</literal>) the two notions are equivalent, and JVM identity for database identity is guaranteed by Hibernate. However, while the application might concurrently access the \"same\" (persistent identity) business object in two different sessions, the two instances will actually be \"different\" (JVM identity). Conflicts are resolved using (automatic versioning) at flush/commit time, using an optimistic approach."
msgstr "foo==bar"
-#: index.docbook:266
-msgid "This approach leaves Hibernate and the database to worry about concurrency; it also provides the best scalability, since guaranteeing identity in single-threaded units of work only doesn't need expensive locking or other means of synchronization. The application never needs to synchronize on any business object, as long as it sticks to a single thread per <literal>Session</literal>. Within a <literal>Session</literal> the application may safely use <literal>==</literal> to compare objects."
-msgstr "<emphasis>åã
ã®</emphasis> <literal>Session</literal> ã«è¿½å ããããªãã¸ã§ã¯ãã«ã¨ã£ã¦ ï¼ããªãã¡ãï¼ã¤ã® <literal>Session</literal> ã®ã¹ã³ã¼ãã®ä¸ã§ã¯ï¼ãï¼ã¤ã®æ¦å¿µã¯åãã§ãã ãã¼ã¿ãã¼ã¹å䏿§ã¨JVMå䏿§ãä¸è´ãããã¨ããHibernateãä¿è¨¼ãã¾ãã ããããã¢ããªã±ã¼ã·ã§ã³ãï¼ã¤ã®ç°ãªãã»ãã·ã§ã³ãã ãåããï¼æ°¸ç¶æ§èå¥åã®ï¼ãã¸ãã¹ãªãã¸ã§ã¯ãã«åæã«ã¢ã¯ã»ã¹ããéãã ï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã¯å®éã«ï¼JVMèå¥åãï¼ãç°ãªããã¾ãã æ¥½è¦³çã¢ããã¼ãã«ãã£ã¦ãï¼èªåãã¼ã¸ã§ãã³ã°ã®ï¼ãã©ãã·ã¥ï¼ã³ãããæã« ã³ã³ããªã¯ãã解決ããã¾ãã"
+#. Tag: para
+#: transactions.xml:257
+#, fuzzy, no-c-format
+msgid ""
+"Then for objects attached to a <emphasis>particular</emphasis> "
+"<literal>Session</literal> (i.e. in the scope of a <literal>Session</"
+"literal>) the two notions are equivalent, and JVM identity for database "
+"identity is guaranteed by Hibernate. However, while the application might "
+"concurrently access the \"same\" (persistent identity) business object in "
+"two different sessions, the two instances will actually be \"different"
+"\" (JVM identity). Conflicts are resolved using (automatic versioning) at "
+"flush/commit time, using an optimistic approach."
+msgstr ""
+"<emphasis>åã
ã®</emphasis><literal>Session</literal> ã«è¿½å ããããªãã¸ã§ã¯"
+"ãã«ã¨ã£ã¦ ï¼ããªãã¡ãï¼ã¤ã® <literal>Session</literal> ã®ã¹ã³ã¼ãã®ä¸ã§"
+"ã¯ï¼ãï¼ã¤ã®æ¦å¿µã¯åãã§ãã ãã¼ã¿ãã¼ã¹å䏿§ã¨JVMå䏿§ãä¸è´ãããã¨ãã"
+"Hibernateãä¿è¨¼ãã¾ãã ããããã¢ããªã±ã¼ã·ã§ã³ãï¼ã¤ã®ç°ãªãã»ãã·ã§ã³ãã "
+"ãåããï¼æ°¸ç¶æ§èå¥åã®ï¼ãã¸ãã¹ãªãã¸ã§ã¯ãã«åæã«ã¢ã¯ã»ã¹ããéãã ï¼ã¤"
+"ã®ã¤ã³ã¹ã¿ã³ã¹ã¯å®éã«ï¼JVMèå¥åãï¼ãç°ãªããã¾ãã æ¥½è¦³çã¢ããã¼ãã«ãã£"
+"ã¦ãï¼èªåãã¼ã¸ã§ãã³ã°ã®ï¼ãã©ãã·ã¥ï¼ã³ãããæã« ã³ã³ããªã¯ãã解決ããã¾"
+"ãã"
-#: index.docbook:275
-msgid "However, an application that uses <literal>==</literal> outside of a <literal>Session</literal>, might see unexpected results. This might occur even in some unexpected places, for example, if you put two detached instances into the same <literal>Set</literal>. Both might have the same database identity (i.e. they represent the same row), but JVM identity is by definition not guaranteed for instances in detached state. The developer has to override the <literal>equals()</literal> and <literal>hashCode()</literal> methods in persistent classes and implement his own notion of object equality. There is one caveat: Never use the database identifier to implement equality, use a business key, a combination of unique, usually immutable, attributes. The database identifier will change if a transient object is made persistent. If the transient instance (usually together with detached instances) is held in a <literal>Set</literal>, changing the hashcode breaks the contract of t!
he <literal>Set</literal>. Attributes for business keys don't have to be as stable as database primary keys, you only have to guarantee stability as long as the objects are in the same <literal>Set</literal>. See the Hibernate website for a more thorough discussion of this issue. Also note that this is not a Hibernate issue, but simply how Java object identity and equality has to be implemented."
-msgstr "ãã®ã¢ããã¼ãã§ã¯ãHibernateã¨ãã¼ã¿ãã¼ã¹ã«åæå®è¡ã«ã¤ãã¦ã®å¿é
ãæ®ãã¾ãã 䏿¹ã§ãæé«ã®ã¹ã±ã¼ã©ããªãã£ãæä¾ããã¾ãã ãªããªããï¼ã¹ã¬ããã®ä½æ¥åä½ã®ä¸ã§ä¸ææ§ãä¿è¨¼ãããã°ã é«ä¾¡ãªããã¯ãåæåãä¸è¦ã«ãªãããã§ãã <literal>Session</literal> ãã¨ã«ï¼ã¤ã®ã¹ã¬ãããè²¼ãä»ããéãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãã¸ãã¹ãªãã¸ã§ã¯ããsynchronizeããå¿
è¦ã¯ããã¾ããã <literal>Session</literal> å
ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¯ãªãã¸ã§ã¯ããæ¯è¼ããããã«ã <literal>==</literal> ãå®å
¨ã«ä½¿ç¨ã§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:266
+#, no-c-format
+msgid ""
+"This approach leaves Hibernate and the database to worry about concurrency; "
+"it also provides the best scalability, since guaranteeing identity in single-"
+"threaded units of work only doesn't need expensive locking or other means of "
+"synchronization. The application never needs to synchronize on any business "
+"object, as long as it sticks to a single thread per <literal>Session</"
+"literal>. Within a <literal>Session</literal> the application may safely use "
+"<literal>==</literal> to compare objects."
+msgstr ""
+"ãã®ã¢ããã¼ãã§ã¯ãHibernateã¨ãã¼ã¿ãã¼ã¹ã«åæå®è¡ã«ã¤ãã¦ã®å¿é
ãæ®ãã¾"
+"ãã 䏿¹ã§ãæé«ã®ã¹ã±ã¼ã©ããªãã£ãæä¾ããã¾ãã ãªããªããï¼ã¹ã¬ããã®ä½"
+"æ¥åä½ã®ä¸ã§ä¸ææ§ãä¿è¨¼ãããã°ã é«ä¾¡ãªããã¯ãåæåãä¸è¦ã«ãªãããã§"
+"ãã <literal>Session</literal> ãã¨ã«ï¼ã¤ã®ã¹ã¬ãããè²¼ãä»ããéãã ã¢ããª"
+"ã±ã¼ã·ã§ã³ã¯ãã¸ãã¹ãªãã¸ã§ã¯ããsynchronizeããå¿
è¦ã¯ããã¾ããã "
+"<literal>Session</literal> å
ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¯ãªãã¸ã§ã¯ããæ¯è¼ããã"
+"ãã«ã <literal>==</literal> ãå®å
¨ã«ä½¿ç¨ã§ãã¾ãã"
-#: index.docbook:296
+#. Tag: para
+#: transactions.xml:275
+#, no-c-format
+msgid ""
+"However, an application that uses <literal>==</literal> outside of a "
+"<literal>Session</literal>, might see unexpected results. This might occur "
+"even in some unexpected places, for example, if you put two detached "
+"instances into the same <literal>Set</literal>. Both might have the same "
+"database identity (i.e. they represent the same row), but JVM identity is by "
+"definition not guaranteed for instances in detached state. The developer has "
+"to override the <literal>equals()</literal> and <literal>hashCode()</"
+"literal> methods in persistent classes and implement his own notion of "
+"object equality. There is one caveat: Never use the database identifier to "
+"implement equality, use a business key, a combination of unique, usually "
+"immutable, attributes. The database identifier will change if a transient "
+"object is made persistent. If the transient instance (usually together with "
+"detached instances) is held in a <literal>Set</literal>, changing the "
+"hashcode breaks the contract of the <literal>Set</literal>. Attributes for "
+"business keys don't have to be as stable as database primary keys, you only "
+"have to guarantee stability as long as the objects are in the same "
+"<literal>Set</literal>. See the Hibernate website for a more thorough "
+"discussion of this issue. Also note that this is not a Hibernate issue, but "
+"simply how Java object identity and equality has to be implemented."
+msgstr ""
+"ããã©ãã<literal>Session</literal> ã®å¤ã§ <literal>==</literal> ã使ãã¢ã"
+"ãªã±ã¼ã·ã§ã³ã¯ãäºæããªãçµæã«ééãã¾ãã ããã¯äºæããªãå ´æã§èµ·ãããã¾"
+"ãã ä¾ãã°ãï¼ã¤ã®åé¢ã¤ã³ã¹ã¿ã³ã¹ãåã <literal>Set</literal> ã« putããã¨"
+"ããªã©ã§ãã 両æ¹ã¨ãåããã¼ã¿ãã¼ã¹èå¥åãæã¡ã¾ãï¼ããªãã¡ãåãè¡ã表ã"
+"ã¾ãï¼ã ããããåé¢ç¶æ
ã®ã¤ã³ã¹ã¿ã³ã¹ã®JVMèå¥åã¯å½ç¶ä¿è¨¼ããã¾ããã éçº"
+"è
ã¯ãæ°¸ç¶æ§ã¯ã©ã¹ã® <literal>equals()</literal> 㨠<literal>hashCode()</"
+"literal> ã¡ã½ããããªã¼ãã¼ã©ã¤ããããªãã¸ã§ã¯ãç価æ§ã®æ¦å¿µãå®è£
ãã¹ãã§"
+"ãã è¦åãï¼ã¤ããã¾ããç価æ§ã®å®è£
ã«ãã¼ã¿ãã¼ã¹èå¥åã使ããªãã§ãã ã"
+"ãã ã¦ãã¼ã¯ãªï¼æ®éã¯ä¸å¤ã®ï¼å±æ§ã®çµã¿åããã§ãããã¸ãã¹ãã¼ã使ã£ã¦ãã "
+"ããã ããã䏿ãªãã¸ã§ã¯ããæ°¸ç¶åãããå ´åããã¼ã¿ãã¼ã¹èå¥åãå¤ããã¾"
+"ãã 䏿ãªãã¸ã§ã¯ããï¼é常åé¢ã¤ã³ã¹ã¿ã³ã¹ã¨å
±ã«ï¼ <literal>Set</literal> "
+"ã«ä¿æããå ´åãããã·ã¥ã³ã¼ããå¤ããã¨ãããã¨ã¯ã<literal>Set</literal> ã®"
+"å¥ç´ãç ´ãã¨ãããã¨ã§ãã ãã¸ãã¹ãã¼ã®ããã®å±æ§ã¯ããã¼ã¿ãã¼ã¹ã®ä¸»ãã¼ã»"
+"ã©å®å®ãã¹ãã§ã¯ãªãã§ãã ãªãã¸ã§ã¯ããåã <literal>Set</literal> ã®ä¸ã«ã"
+"ãéã ããå®å®ãä¿è¨¼ãã¹ãã§ãã ãã®åé¡ã®ããå¾¹åºçãªè°è«ã¯ãHibernateã®Web"
+"ãµã¤ããåç
§ãã¦ãã ããã ã¾ããããã¯Hibernateã®åé¡ã§ã¯ãªããåã«Javaãªã"
+"ã¸ã§ã¯ãã®èå¥åãç価æ§ã ã©ã®ããã«å®è£
ãã¹ããã¨ãããã¨ã§ãã"
+
+#. Tag: title
+#: transactions.xml:296
+#, no-c-format
msgid "Common issues"
-msgstr "ããã©ãã<literal>Session</literal> ã®å¤ã§ <literal>==</literal> ã使ãã¢ããªã±ã¼ã·ã§ã³ã¯ãäºæããªãçµæã«ééãã¾ãã ããã¯äºæããªãå ´æã§èµ·ãããã¾ãã ä¾ãã°ãï¼ã¤ã®åé¢ã¤ã³ã¹ã¿ã³ã¹ãåã <literal>Set</literal> ã« putããã¨ããªã©ã§ãã 両æ¹ã¨ãåããã¼ã¿ãã¼ã¹èå¥åãæã¡ã¾ãï¼ããªãã¡ãåãè¡ã表ãã¾ãï¼ã ããããåé¢ç¶æ
ã®ã¤ã³ã¹ã¿ã³ã¹ã®JVMèå¥åã¯å½ç¶ä¿è¨¼ããã¾ããã éçºè
ã¯ãæ°¸ç¶æ§ã¯ã©ã¹ã® <literal>equals()</literal> 㨠<literal>hashCode()</literal> ã¡ã½ããããªã¼ãã¼ã©ã¤ããããªãã¸ã§ã¯ãç価æ§ã®æ¦å¿µãå®è£
ãã¹ãã§ãã è¦åãï¼ã¤ããã¾ããç価æ§ã®å®è£
ã«ãã¼ã¿ãã¼ã¹èå¥åã使ããªãã§ãã ããã ã¦ãã¼ã¯ãªï¼æ®éã¯ä¸å¤ã®ï¼å±æ§ã®çµã¿åããã§ãããã¸ãã¹ãã¼ã使ã£ã¦ãã ããã ããã䏿ãª!
ãã¸ã§ã¯ããæ°¸ç¶åãããå ´åããã¼ã¿ãã¼ã¹èå¥åãå¤ããã¾ãã 䏿ãªãã¸ã§ã¯ããï¼é常åé¢ã¤ã³ã¹ã¿ã³ã¹ã¨å
±ã«ï¼ <literal>Set</literal> ã«ä¿æããå ´åãããã·ã¥ã³ã¼ããå¤ããã¨ãããã¨ã¯ã<literal>Set</literal> ã®å¥ç´ãç ´ãã¨ãããã¨ã§ãã ãã¸ãã¹ãã¼ã®ããã®å±æ§ã¯ããã¼ã¿ãã¼ã¹ã®ä¸»ãã¼ã»ã©å®å®ãã¹ãã§ã¯ãªãã§ãã ãªãã¸ã§ã¯ããåã <literal>Set</literal> ã®ä¸ã«ããéã ããå®å®ãä¿è¨¼ãã¹ãã§ãã ãã®åé¡ã®ããå¾¹åºçãªè°è«ã¯ãHibernateã®Webãµã¤ããåç
§ãã¦ãã ããã ã¾ããããã¯Hibernateã®åé¡ã§ã¯ãªããåã«Javaãªãã¸ã§ã¯ãã®èå¥åãç価æ§ã ã©ã®ããã«å®è£
ãã¹ããã¨ãããã¨ã§ãã"
-
-#: index.docbook:298
-msgid "Never use the anti-patterns <emphasis>session-per-user-session</emphasis> or <emphasis>session-per-application</emphasis> (of course, there are rare exceptions to this rule). Note that some of the following issues might also appear with the recommended patterns, make sure you understand the implications before making a design decision:"
msgstr "ä¸è¬çãªåé¡"
-#: index.docbook:307
-msgid "A <literal>Session</literal> is not thread-safe. Things which are supposed to work concurrently, like HTTP requests, session beans, or Swing workers, will cause race conditions if a <literal>Session</literal> instance would be shared. If you keep your Hibernate <literal>Session</literal> in your <literal>HttpSession</literal> (discussed later), you should consider synchronizing access to your Http session. Otherwise, a user that clicks reload fast enough may use the same <literal>Session</literal> in two concurrently running threads."
-msgstr "<emphasis>session-per-user-session</emphasis> 㨠<emphasis>session-per-application</emphasis> ã¢ã³ããã¿ã¼ã³ ã¯ä½¿ã£ã¦ã¯ããã¾ããï¼ãã¡ãããã¾ãã«ä¾å¤ãããã¾ãï¼ã 注æï¼ä¸è¨ã®åé¡ã®ããã¤ãã¯ãæ¨å¥¨ããããã¿ã¼ã³ã¨ãã¦ãåºç¾ãã¾ãã è¨è¨ã決å®ããåã«ãè£ã®æå³ãçè§£ããããã«ãã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:298
+#, no-c-format
+msgid ""
+"Never use the anti-patterns <emphasis>session-per-user-session</emphasis> or "
+"<emphasis>session-per-application</emphasis> (of course, there are rare "
+"exceptions to this rule). Note that some of the following issues might also "
+"appear with the recommended patterns, make sure you understand the "
+"implications before making a design decision:"
+msgstr ""
+"<emphasis>session-per-user-session</emphasis> 㨠<emphasis>session-per-"
+"application</emphasis> ã¢ã³ããã¿ã¼ã³ ã¯ä½¿ã£ã¦ã¯ããã¾ããï¼ãã¡ãããã¾ãã«"
+"ä¾å¤ãããã¾ãï¼ã 注æï¼ä¸è¨ã®åé¡ã®ããã¤ãã¯ãæ¨å¥¨ããããã¿ã¼ã³ã¨ãã¦ãåº"
+"ç¾ãã¾ãã è¨è¨ã決å®ããåã«ãè£ã®æå³ãçè§£ããããã«ãã¦ãã ããã"
-#: index.docbook:318
-msgid "An exception thrown by Hibernate means you have to rollback your database transaction and close the <literal>Session</literal> immediately (discussed later in more detail). If your <literal>Session</literal> is bound to the application, you have to stop the application. Rolling back the database transaction doesn't put your business objects back into the state they were at the start of the transaction. This means the database state and the business objects do get out of sync. Usually this is not a problem, because exceptions are not recoverable and you have to start over after rollback anyway."
-msgstr "<literal>Session</literal> ã¯ã¹ã¬ããã»ã¼ãã§ã¯ããã¾ããã HTTPãªã¯ã¨ã¹ããã»ãã·ã§ã³BeanãSwingã¯ã¼ã«ã¼ã®ããã«ã åæå®è¡ãå¯è½ãªãã®ã <literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ãå
±æããã¨ã ç«¶åç¶æ
ãå¼ãèµ·ããã¾ãã ï¼å¾ã§è°è«ããï¼<literal>HttpSession</literal> ã®ä¸ã§ Hibernate <literal>Session</literal> ãä¿æããå ´åã HttpSessionã¸ã®ã¢ã¯ã»ã¹ãåæåãããã¨ãèæ
®ãã¹ãã§ãã ãããªããã°ãã¦ã¼ã¶ã¼ãååæ©ããªãã¼ããã¯ãªãã¯ããã¨ã åæã«èµ°ãï¼ã¤ã®ã¹ã¬ããã®ä¸ã§ãåã <literal>Session</literal> ã使ããã¾ãã"
+#. Tag: para
+#: transactions.xml:307
+#, no-c-format
+msgid ""
+"A <literal>Session</literal> is not thread-safe. Things which are supposed "
+"to work concurrently, like HTTP requests, session beans, or Swing workers, "
+"will cause race conditions if a <literal>Session</literal> instance would be "
+"shared. If you keep your Hibernate <literal>Session</literal> in your "
+"<literal>HttpSession</literal> (discussed later), you should consider "
+"synchronizing access to your Http session. Otherwise, a user that clicks "
+"reload fast enough may use the same <literal>Session</literal> in two "
+"concurrently running threads."
+msgstr ""
+"<literal>Session</literal> ã¯ã¹ã¬ããã»ã¼ãã§ã¯ããã¾ããã HTTPãªã¯ã¨ã¹ãã"
+"ã»ãã·ã§ã³BeanãSwingã¯ã¼ã«ã¼ã®ããã«ã åæå®è¡ãå¯è½ãªãã®ã "
+"<literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ãå
±æããã¨ã ç«¶åç¶æ
ãå¼ãèµ·ããã¾"
+"ãã ï¼å¾ã§è°è«ããï¼<literal>HttpSession</literal> ã®ä¸ã§ Hibernate "
+"<literal>Session</literal> ãä¿æããå ´åã HttpSessionã¸ã®ã¢ã¯ã»ã¹ãåæåã"
+"ããã¨ãèæ
®ãã¹ãã§ãã ãããªããã°ãã¦ã¼ã¶ã¼ãååæ©ããªãã¼ããã¯ãªãã¯ã"
+"ãã¨ã åæã«èµ°ãï¼ã¤ã®ã¹ã¬ããã®ä¸ã§ãåã <literal>Session</literal> ã使ã"
+"ãã¾ãã"
-#: index.docbook:330
-msgid "The <literal>Session</literal> caches every object that is in persistent state (watched and checked for dirty state by Hibernate). This means it grows endlessly until you get an OutOfMemoryException, if you keep it open for a long time or simply load too much data. One solution for this is to call <literal>clear()</literal> and <literal>evict()</literal> to manage the <literal>Session</literal> cache, but you most likely should consider a Stored Procedure if you need mass data operations. Some solutions are shown in <xref linkend=\"batch\"/>. Keeping a <literal>Session</literal> open for the duration of a user session also means a high probability of stale data."
-msgstr "Hibernateãä¾å¤ãæããå ´åã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã ç´ã¡ã« <literal>Session</literal> ãéããã¹ãã§ãï¼è©³ç´°ãå¾ã§è°è«ãã¾ãï¼ã <literal>Session</literal> ãã¢ããªã±ã¼ã·ã§ã³ã«çµã³ä»ãããã¦ããã®ã§ããã°ã ã¢ããªã±ã¼ã·ã§ã³ã忢ãã¹ãã§ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã¦ãããã¸ãã¹ãªãã¸ã§ã¯ã㯠ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã¨ãã®ç¶æ
ã«æ»ãã¾ããã ããã¯ããã¼ã¿ãã¼ã¹ã®ç¶æ
ã¨ãã¸ãã¹ãªãã¸ã§ã¯ãã¯åæãã¦ããªããã¨ãæå³ãã¾ãã é常ããã¯åé¡ã«ãªãã¾ããã ãªããªããä¾å¤ã¯å復ã§ããªãããã§ãã ã¨ã«ãããã¼ã«ããã¯ããå¾ã«ããç´ãã¹ãã§ãã"
+#. Tag: para
+#: transactions.xml:318
+#, no-c-format
+msgid ""
+"An exception thrown by Hibernate means you have to rollback your database "
+"transaction and close the <literal>Session</literal> immediately (discussed "
+"later in more detail). If your <literal>Session</literal> is bound to the "
+"application, you have to stop the application. Rolling back the database "
+"transaction doesn't put your business objects back into the state they were "
+"at the start of the transaction. This means the database state and the "
+"business objects do get out of sync. Usually this is not a problem, because "
+"exceptions are not recoverable and you have to start over after rollback "
+"anyway."
+msgstr ""
+"Hibernateãä¾å¤ãæããå ´åã¯ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯"
+"ãã ç´ã¡ã« <literal>Session</literal> ãéããã¹ãã§ãï¼è©³ç´°ãå¾ã§è°è«ãã¾"
+"ãï¼ã <literal>Session</literal> ãã¢ããªã±ã¼ã·ã§ã³ã«çµã³ä»ãããã¦ããã®ã§"
+"ããã°ã ã¢ããªã±ã¼ã·ã§ã³ã忢ãã¹ãã§ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã"
+"ãã¼ã«ããã¯ãã¦ãããã¸ãã¹ãªãã¸ã§ã¯ã㯠ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã¨ãã®ç¶"
+"æ
ã«æ»ãã¾ããã ããã¯ããã¼ã¿ãã¼ã¹ã®ç¶æ
ã¨ãã¸ãã¹ãªãã¸ã§ã¯ãã¯åæãã¦ã"
+"ãªããã¨ãæå³ãã¾ãã é常ããã¯åé¡ã«ãªãã¾ããã ãªããªããä¾å¤ã¯å復ã§ã"
+"ãªãããã§ãã ã¨ã«ãããã¼ã«ããã¯ããå¾ã«ããç´ãã¹ãã§ãã"
-#: index.docbook:348
+#. Tag: para
+#: transactions.xml:330
+#, no-c-format
+msgid ""
+"The <literal>Session</literal> caches every object that is in persistent "
+"state (watched and checked for dirty state by Hibernate). This means it "
+"grows endlessly until you get an OutOfMemoryException, if you keep it open "
+"for a long time or simply load too much data. One solution for this is to "
+"call <literal>clear()</literal> and <literal>evict()</literal> to manage the "
+"<literal>Session</literal> cache, but you most likely should consider a "
+"Stored Procedure if you need mass data operations. Some solutions are shown "
+"in <xref linkend=\"batch\"/>. Keeping a <literal>Session</literal> open for "
+"the duration of a user session also means a high probability of stale data."
+msgstr ""
+"<literal>Session</literal> ã¯æ°¸ç¶ï¼persistentï¼ç¶æ
ã®ãã¹ã¦ã®ãªãã¸ã§ã¯ãã "
+"ãã£ãã·ã¥ãã¾ãï¼Hibernateã¯ç£è¦ãããã¼ãã£ç¶æ
ããã§ãã¯ãã¾ãï¼ã ãã"
+"ã¯ãé·ãéã»ãã·ã§ã³ãéããã¾ã¾ã«ãããã é常ã«å¤ãã®ãã¼ã¿ããã¼ããç¶ãã"
+"ãããå ´åã¯ã OutOfMemoryExceptionãçºçããã¾ã§ç¡éã«å¤§ãããªããã¨ãæå³ã"
+"ã¾ãã 解決çã®ï¼ã¤ã¯ã<literal>Session</literal> ãã£ãã·ã¥ã管çãããã"
+"ã«ã <literal>clear()</literal> ã <literal>evict()</literal> ãå¼ã¶ãã¨ã§"
+"ãã ãããã大ããªãã¼ã¿ãå¦çããå¿
è¦ããããªãã ãã¶ãã¹ãã¢ãããã·ã¼"
+"ã¸ã£ãèæ
®ããã¹ãã§ãããã ããã¤ãã®è§£æ±ºçã¯ã<xref linkend=\"batch\"/> ã§"
+"ç´¹ä»ããã¦ãã¾ãã ã¦ã¼ã¶ã¼ã»ãã·ã§ã³ã®éã<literal>Session</literal> ãéã"
+"ãã¾ã¾ã«ããã¨ãããã¨ã¯ã ãã¼ã¿ãæ°é®®ã§ãªããªã確çãé«ããªããã¨ãæå³ãã¾"
+"ãã"
+
+#. Tag: title
+#: transactions.xml:348
+#, no-c-format
msgid "Database transaction demarcation"
-msgstr "<literal>Session</literal> ã¯æ°¸ç¶ï¼persistentï¼ç¶æ
ã®ãã¹ã¦ã®ãªãã¸ã§ã¯ãã ãã£ãã·ã¥ãã¾ãï¼Hibernateã¯ç£è¦ãããã¼ãã£ç¶æ
ããã§ãã¯ãã¾ãï¼ã ããã¯ãé·ãéã»ãã·ã§ã³ãéããã¾ã¾ã«ãããã é常ã«å¤ãã®ãã¼ã¿ããã¼ããç¶ãããããå ´åã¯ã OutOfMemoryExceptionãçºçããã¾ã§ç¡éã«å¤§ãããªããã¨ãæå³ãã¾ãã 解決çã®ï¼ã¤ã¯ã<literal>Session</literal> ãã£ãã·ã¥ã管çããããã«ã <literal>clear()</literal> ã <literal>evict()</literal> ãå¼ã¶ãã¨ã§ãã ãããã大ããªãã¼ã¿ãå¦çããå¿
è¦ããããªãã ãã¶ãã¹ãã¢ãããã·ã¼ã¸ã£ãèæ
®ããã¹ãã§ãããã ããã¤ãã®è§£æ±ºçã¯ã<xref linkend=\"batch\"/> ã§ç´¹ä»ããã¦ãã¾ãã ã¦ã¼ã¶ã¼ã»ãã·ã§ã³ã®éã<literal>Session</literal> ãéããã¾ã¾ã«ããã¨ãããã¨ã¯ã ãã¼ã¿ãæ°é®®ã§ãªã!
ãªã確çãé«ããªããã¨ãæå³ãã¾ãã"
-
-#: index.docbook:350
-msgid "Datatabase (or system) transaction boundaries are always necessary. No communication with the database can occur outside of a database transaction (this seems to confuse many developers who are used to the auto-commit mode). Always use clear transaction boundaries, even for read-only operations. Depending on your isolation level and database capabilities this might not be required but there is no downside if you always demarcate transactions explicitly. Certainly, a single database transaction is going to perform better than many small transactions, even for reading data."
msgstr "ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³å¢ç"
-#: index.docbook:360
-msgid "A Hibernate application can run in non-managed (i.e. standalone, simple Web- or Swing applications) and managed J2EE environments. In a non-managed environment, Hibernate is usually responsible for its own database connection pool. The application developer has to manually set transaction boundaries, in other words, begin, commit, or rollback database transactions himself. A managed environment usually provides container-managed transactions (CMT), with the transaction assembly defined declaratively in deployment descriptors of EJB session beans, for example. Programmatic transaction demarcation is then no longer necessary."
-msgstr "ãã¼ã¿ãã¼ã¹ï¼ãããã¯ã·ã¹ãã ï¼ãã©ã³ã¶ã¯ã·ã§ã³ã®å¢çã¯ã常ã«å¿
è¦ã§ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®å¤ã§ããã¼ã¿ãã¼ã¹ã¨ã®éä¿¡ã¯èµ·ãã¾ãã ï¼ããã¯èªåã³ãããã¢ã¼ãã«æ
£ãã¦ããå¤ãã®éçºè
ãæ··ä¹±ãããããããã¾ããï¼ã èªã¿è¾¼ãã ãã®æä½ã«ã§ãããã¤ãæç¢ºãªãã©ã³ã¶ã¯ã·ã§ã³å¢çã使ç¨ãã¦ãã ããã åé¢ã¬ãã«ã¨ãã¼ã¿ãã¼ã¹ã®è½å次第ã§ãããã¯å¿
è¦ãªãããããã¾ãããã 常ã«ãã©ã³ã¶ã¯ã·ã§ã³å¢çãæç¤ºçã«æå®ãã¦ãããã¤ãã¹é¢ã¯å
¨ãããã¾ããã 確ãã«ãï¼ã¤ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯å¤æ°ã®å°ããªãã©ã³ã¶ã¯ã·ã§ã³ãã ï¼ãã¼ã¿ã®èªã¿è¾¼ã¿ã§ãã£ã¦ãï¼ããã©ã¼ãã³ã¹ããããã¦ãã¾ãã"
+#. Tag: para
+#: transactions.xml:350
+#, no-c-format
+msgid ""
+"Datatabase (or system) transaction boundaries are always necessary. No "
+"communication with the database can occur outside of a database transaction "
+"(this seems to confuse many developers who are used to the auto-commit "
+"mode). Always use clear transaction boundaries, even for read-only "
+"operations. Depending on your isolation level and database capabilities this "
+"might not be required but there is no downside if you always demarcate "
+"transactions explicitly. Certainly, a single database transaction is going "
+"to perform better than many small transactions, even for reading data."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ï¼ãããã¯ã·ã¹ãã ï¼ãã©ã³ã¶ã¯ã·ã§ã³ã®å¢çã¯ã常ã«å¿
è¦ã§ãã ãã¼"
+"ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®å¤ã§ããã¼ã¿ãã¼ã¹ã¨ã®éä¿¡ã¯èµ·ãã¾ãã ï¼ããã¯èªå"
+"ã³ãããã¢ã¼ãã«æ
£ãã¦ããå¤ãã®éçºè
ãæ··ä¹±ãããããããã¾ããï¼ã èªã¿è¾¼ã"
+"ã ãã®æä½ã«ã§ãããã¤ãæç¢ºãªãã©ã³ã¶ã¯ã·ã§ã³å¢çã使ç¨ãã¦ãã ããã åé¢ã¬"
+"ãã«ã¨ãã¼ã¿ãã¼ã¹ã®è½å次第ã§ãããã¯å¿
è¦ãªãããããã¾ãããã 常ã«ãã©ã³ã¶"
+"ã¯ã·ã§ã³å¢çãæç¤ºçã«æå®ãã¦ãããã¤ãã¹é¢ã¯å
¨ãããã¾ããã 確ãã«ãï¼ã¤ã®"
+"ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã¯å¤æ°ã®å°ããªãã©ã³ã¶ã¯ã·ã§ã³ãã ï¼ãã¼ã¿ã®èªã¿"
+"è¾¼ã¿ã§ãã£ã¦ãï¼ããã©ã¼ãã³ã¹ããããã¦ãã¾ãã"
-#: index.docbook:370
-msgid "However, it is often desirable to keep your persistence layer portable between non-managed resource-local environments, and systems that can rely on JTA but use BMT instead of CMT. In both cases you'd use programmatic transaction demaracation. Hibernate offers a wrapper API called <literal>Transaction</literal> that translates into the native transaction system of your deployment environment. This API is actually optional, but we strongly encourage its use unless you are in a CMT session bean."
-msgstr "J2EEç°å¢ã«ç®¡çããã¦ããªãç¶æ
ï¼ããªãã¡ãã¹ã¿ã³ãã¢ãã³ãåç´ãªWebãSwingã¢ããªã±ã¼ã·ã§ã³ï¼ã§ãã 管çãããç¶æ
ã§ããHibernateã¢ããªã±ã¼ã·ã§ã³ãå®è¡ã§ãã¾ãã 管çããã¦ããªãç°å¢ã§ã¯ãHiberanteããã¼ã¿ãã¼ã¹ã®ã³ãã¯ã·ã§ã³ãã¼ã«ãæä¾ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³éçºè
ã¯ããã©ã³ã¶ã¯ã·ã§ã³å¢çãæåã§è¨å®ããªããã°ãªãã¾ããã è¨ãæããã¨ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®éå§ãã³ãããããã¼ã«ããã¯ã éçºè
èªèº«ãè¨å®ããå¿
è¦ãããã¨ãããã¨ã§ãã é常ã管çãããç°å¢ã§ã¯ãã³ã³ãã管çã«ãããã©ã³ã¶ã¯ã·ã§ã³ï¼CMTï¼ãæä¾ããã¾ãã ä¾ãã°ãã»ãã·ã§ã³Beanã®ãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã§å®£è¨çã«å®ç¾©ãã ãã©ã³ã¶ã¯ã·ã§ã³ãçµã¿ç«ã¦ã¾ãã ããã°ã©ã ã«ãããã©ã³ã¶ã¯ã·ã§ã³!
å¢çã¯ããå¿
è¦ããã¾ããã"
+#. Tag: para
+#: transactions.xml:360
+#, no-c-format
+msgid ""
+"A Hibernate application can run in non-managed (i.e. standalone, simple Web- "
+"or Swing applications) and managed J2EE environments. In a non-managed "
+"environment, Hibernate is usually responsible for its own database "
+"connection pool. The application developer has to manually set transaction "
+"boundaries, in other words, begin, commit, or rollback database transactions "
+"himself. A managed environment usually provides container-managed "
+"transactions (CMT), with the transaction assembly defined declaratively in "
+"deployment descriptors of EJB session beans, for example. Programmatic "
+"transaction demarcation is then no longer necessary."
+msgstr ""
+"J2EEç°å¢ã«ç®¡çããã¦ããªãç¶æ
ï¼ããªãã¡ãã¹ã¿ã³ãã¢ãã³ãåç´ãªWebãSwingã¢"
+"ããªã±ã¼ã·ã§ã³ï¼ã§ãã 管çãããç¶æ
ã§ããHibernateã¢ããªã±ã¼ã·ã§ã³ãå®è¡ã§"
+"ãã¾ãã 管çããã¦ããªãç°å¢ã§ã¯ãHiberanteããã¼ã¿ãã¼ã¹ã®ã³ãã¯ã·ã§ã³ãã¼"
+"ã«ãæä¾ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³éçºè
ã¯ããã©ã³ã¶ã¯ã·ã§ã³å¢çãæåã§è¨å®ã"
+"ãªããã°ãªãã¾ããã è¨ãæããã¨ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®éå§ãã³ãã"
+"ãããã¼ã«ããã¯ã éçºè
èªèº«ãè¨å®ããå¿
è¦ãããã¨ãããã¨ã§ãã é常ã管ç"
+"ãããç°å¢ã§ã¯ãã³ã³ãã管çã«ãããã©ã³ã¶ã¯ã·ã§ã³ï¼CMTï¼ãæä¾ããã¾ãã ä¾"
+"ãã°ãã»ãã·ã§ã³Beanã®ãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã§å®£è¨çã«å®ç¾©ãã ãã©ã³ã¶"
+"ã¯ã·ã§ã³ãçµã¿ç«ã¦ã¾ãã ããã°ã©ã ã«ãããã©ã³ã¶ã¯ã·ã§ã³å¢çã¯ããå¿
è¦ããã¾"
+"ããã"
-#: index.docbook:379
-msgid "Usually, ending a <literal>Session</literal> involves four distinct phases:"
-msgstr "ããããªããã管çããã¦ããªããªã½ã¼ã¹ã»ãã¼ã«ã«ãªç°å¢ã¨ JTAã«ä¾åããã·ã¹ãã ï¼CMTã§ã¯ãªãBMTï¼ã®ä¸¡æ¹ã«ã æ°¸ç¶å層ããã¼ã¿ãã«ã«ä¿ã¤ã®ã¯ããã°ãã°æã¾ãããã¨ã§ãã ãããã¤ç°å¢ã®ãã¤ãã£ãã®ãã©ã³ã¶ã¯ã·ã§ã³ã·ã¹ãã ãå¼ã³åºã <literal>Transaction</literal> ã¨ããã©ããã¼APIãHibernateãæä¾ãã¾ãã ãã®APIã使ããã¯ä»»æã§ãããCMTã®ã»ãã·ã§ã³Beanã使ããªãã®ã§ããã°ã使ããã¨ãå¼·ãæ¨å¥¨ãã¾ãã"
+#. Tag: para
+#: transactions.xml:370
+#, no-c-format
+msgid ""
+"However, it is often desirable to keep your persistence layer portable "
+"between non-managed resource-local environments, and systems that can rely "
+"on JTA but use BMT instead of CMT. In both cases you'd use programmatic "
+"transaction demaracation. Hibernate offers a wrapper API called "
+"<literal>Transaction</literal> that translates into the native transaction "
+"system of your deployment environment. This API is actually optional, but we "
+"strongly encourage its use unless you are in a CMT session bean."
+msgstr ""
+"ããããªããã管çããã¦ããªããªã½ã¼ã¹ã»ãã¼ã«ã«ãªç°å¢ã¨ JTAã«ä¾åããã·ã¹ã"
+"ã ï¼CMTã§ã¯ãªãBMTï¼ã®ä¸¡æ¹ã«ã æ°¸ç¶å層ããã¼ã¿ãã«ã«ä¿ã¤ã®ã¯ããã°ãã°æã¾ã"
+"ããã¨ã§ãã ãããã¤ç°å¢ã®ãã¤ãã£ãã®ãã©ã³ã¶ã¯ã·ã§ã³ã·ã¹ãã ãå¼ã³åºã "
+"<literal>Transaction</literal> ã¨ããã©ããã¼APIãHibernateãæä¾ãã¾ãã ã"
+"ã®APIã使ããã¯ä»»æã§ãããCMTã®ã»ãã·ã§ã³Beanã使ããªãã®ã§ããã°ã使ããã¨"
+"ãå¼·ãæ¨å¥¨ãã¾ãã"
-#: index.docbook:385
+#. Tag: para
+#: transactions.xml:379
+#, no-c-format
+msgid ""
+"Usually, ending a <literal>Session</literal> involves four distinct phases:"
+msgstr ""
+"é常ã<literal>Session</literal> çµäºã¯ãï¼ã¤ã®ç°ãªããã§ã¼ãºãå«ã¿ã¾ãã"
+
+#. Tag: para
+#: transactions.xml:385
+#, no-c-format
msgid "flush the session"
-msgstr "é常ã<literal>Session</literal> çµäºã¯ãï¼ã¤ã®ç°ãªããã§ã¼ãºãå«ã¿ã¾ãã"
+msgstr "ã»ãã·ã§ã³ã®ãã©ãã·ã¥"
-#: index.docbook:390
+#. Tag: para
+#: transactions.xml:390
+#, no-c-format
msgid "commit the transaction"
-msgstr "ã»ãã·ã§ã³ã®ãã©ãã·ã¥"
+msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã®ã³ããã"
-#: index.docbook:395
+#. Tag: para
+#: transactions.xml:395
+#, no-c-format
msgid "close the session"
-msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã®ã³ããã"
+msgstr "ã»ãã·ã§ã³ã®ã¯ãã¼ãº"
-#: index.docbook:400
+#. Tag: para
+#: transactions.xml:400
+#, no-c-format
msgid "handle exceptions"
-msgstr "ã»ãã·ã§ã³ã®ã¯ãã¼ãº"
-
-#: index.docbook:406
-msgid "Flushing the session has been discussed earlier, we'll now have a closer look at transaction demarcation and exception handling in both managed- and non-managed environments."
msgstr "ä¾å¤ã®ãã³ããªã³ã°"
-#: index.docbook:413
+#. Tag: para
+#: transactions.xml:406
+#, no-c-format
+msgid ""
+"Flushing the session has been discussed earlier, we'll now have a closer "
+"look at transaction demarcation and exception handling in both managed- and "
+"non-managed environments."
+msgstr ""
+"ã»ãã·ã§ã³ã®ãã©ãã·ã¥ã«ã¤ãã¦ã¯ãåã®ã»ãã§ãã§ã«è°è«ãã¾ããã 管çãããç°"
+"å¢ã¨ç®¡çããã¦ããªãç°å¢ã®ä¸¡æ¹ã«ã¤ãã¦ã ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ä¾å¤ãã³ããªã³"
+"ã°ããã£ã¨è©³ããè¦ã¦ããã¾ãããã"
+
+#. Tag: title
+#: transactions.xml:413
+#, no-c-format
msgid "Non-managed environment"
-msgstr "ã»ãã·ã§ã³ã®ãã©ãã·ã¥ã«ã¤ãã¦ã¯ãåã®ã»ãã§ãã§ã«è°è«ãã¾ããã 管çãããç°å¢ã¨ç®¡çããã¦ããªãç°å¢ã®ä¸¡æ¹ã«ã¤ãã¦ã ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ä¾å¤ãã³ããªã³ã°ããã£ã¨è©³ããè¦ã¦ããã¾ãããã"
-
-#: index.docbook:415
-msgid "If a Hibernate persistence layer runs in a non-managed environment, database connections are usually handled by simple (i.e. non-DataSource) connection pools from which Hibernate obtains connections as needed. The session/transaction handling idiom looks like this:"
msgstr "管çããã¦ããªãç°å¢"
-#: index.docbook:422
+#. Tag: para
+#: transactions.xml:415
+#, no-c-format
msgid ""
- "<![CDATA[// Non-managed environment idiom\n"
- "Session sess = factory.openSession();\n"
- "Transaction tx = null;\n"
- "try {\n"
- " tx = sess.beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " if (tx != null) tx.rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-msgstr "Hibernateæ°¸ç¶å層ã管çããã¦ããªãç°å¢ã§å®è£
ããå ´åã¯ã é常åç´ãªã³ãã¯ã·ã§ã³ãã¼ã«ï¼ããªãã¡DataSourceã§ã¯ãªãï¼ã«ãã£ã¦ã ãã¼ã¿ãã¼ã¹ã³ãã¯ã·ã§ã³ãå¶å¾¡ãã¾ãã Hibernateã¯ãã®ã³ãã¯ã·ã§ã³ãã¼ã«ããå¿
è¦ãªã³ãã¯ã·ã§ã³ãåå¾ãã¾ãã ã»ãã·ã§ã³ï¼ãã©ã³ã¶ã¯ã·ã§ã³å¶å¾¡ã®ã¤ãã£ãªã ã¯æ¬¡ã®ããã«ãªãã¾ãã"
+"If a Hibernate persistence layer runs in a non-managed environment, database "
+"connections are usually handled by simple (i.e. non-DataSource) connection "
+"pools from which Hibernate obtains connections as needed. The session/"
+"transaction handling idiom looks like this:"
+msgstr ""
+"Hibernateæ°¸ç¶å層ã管çããã¦ããªãç°å¢ã§å®è£
ããå ´åã¯ã é常åç´ãªã³ãã¯"
+"ã·ã§ã³ãã¼ã«ï¼ããªãã¡DataSourceã§ã¯ãªãï¼ã«ãã£ã¦ã ãã¼ã¿ãã¼ã¹ã³ãã¯ã·ã§ã³"
+"ãå¶å¾¡ãã¾ãã Hibernateã¯ãã®ã³ãã¯ã·ã§ã³ãã¼ã«ããå¿
è¦ãªã³ãã¯ã·ã§ã³ãåå¾"
+"ãã¾ãã ã»ãã·ã§ã³ï¼ãã©ã³ã¶ã¯ã·ã§ã³å¶å¾¡ã®ã¤ãã£ãªã ã¯æ¬¡ã®ããã«ãªãã¾ãã"
-#: index.docbook:424
-msgid "You don't have to <literal>flush()</literal> the <literal>Session</literal> explicitly - the call to <literal>commit()</literal> automatically triggers the synchronization (depending upon the <xref linkend=\"objectstate-flushing\"/>FlushMode for the session. A call to <literal>close()</literal> marks the end of a session. The main implication of <literal>close()</literal> is that the JDBC connection will be relinquished by the session. This Java code is portable and runs in both non-managed and JTA environments."
+#. Tag: programlisting
+#: transactions.xml:422
+#, no-c-format
+msgid ""
+"<![CDATA[// Non-managed environment idiom\n"
+"Session sess = factory.openSession();\n"
+"Transaction tx = null;\n"
+"try {\n"
+" tx = sess.beginTransaction();\n"
+"\n"
+" // do some work\n"
+" ...\n"
+"\n"
+" tx.commit();\n"
+"}\n"
+"catch (RuntimeException e) {\n"
+" if (tx != null) tx.rollback();\n"
+" throw e; // or display error message\n"
+"}\n"
+"finally {\n"
+" sess.close();\n"
+"}]]>"
msgstr ""
- "<![CDATA[// Non-managed environment idiom\n"
- "Session sess = factory.openSession();\n"
- "Transaction tx = null;\n"
- "try {\n"
- " tx = sess.beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " if (tx != null) tx.rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-#: index.docbook:433
-msgid "A much more flexible solution is Hibernate's built-in \"current session\" context management, as described earlier:"
-msgstr "æç¤ºçã« <literal>Session</literal> ã® <literal>flush()</literal> ãå¼ã³åºãã¹ãã§ã¯ãªãã <literal>commit()</literal> ãå¼ã³åºããã¨ã«ãããèªåçã«åæåå¦çãå®è¡ããã¾ã ï¼ã»ãã·ã§ã³ã® <xref linkend=\"objectstate-flushing\"/>FlushMode ã«ä¾åãã¦ããï¼ã <literal>close()</literal> ãå¼ã³åºããã¨ã«ãããã»ãã·ã§ã³ã®çµãããæç¢ºã«ãã¾ãã <literal>close()</literal> ãæé»çã«è¡ã主ãªãã¨ã¯ã ã»ãã·ã§ã³ãJDBCã³ãã¯ã·ã§ã³ãéæ¾ãããã¨ã§ãã ä¸è¨ã®Javaã³ã¼ãã¯ãã¼ã¿ãã«ã§ããã管çããã¦ããªãç°å¢ã¨JTAç°å¢ã®ä¸¡æ¹ã§å®è¡ã§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:424
+#, no-c-format
+msgid ""
+"You don't have to <literal>flush()</literal> the <literal>Session</literal> "
+"explicitly - the call to <literal>commit()</literal> automatically triggers "
+"the synchronization (depending upon the <link linkend=\"objectstate-flushing"
+"\">FlushMode</link> for the session. A call to <literal>close()</literal> "
+"marks the end of a session. The main implication of <literal>close()</"
+"literal> is that the JDBC connection will be relinquished by the session. "
+"This Java code is portable and runs in both non-managed and JTA environments."
+msgstr ""
+"æç¤ºçã« <literal>Session</literal> ã® <literal>flush()</literal> ãå¼ã³åºã"
+"ã¹ãã§ã¯ãªãã <literal>commit()</literal> ãå¼ã³åºããã¨ã«ãããèªåçã«åæ"
+"åå¦çãå®è¡ããã¾ã ï¼ã»ãã·ã§ã³ã® <xref linkend=\"objectstate-flushing"
+"\">FlushMode</xref> ã«ä¾åãã¦ããï¼ã <literal>close()</literal> ãå¼ã³åºã"
+"ãã¨ã«ãããã»ãã·ã§ã³ã®çµãããæç¢ºã«ãã¾ãã <literal>close()</literal> ã"
+"æé»çã«è¡ã主ãªãã¨ã¯ã ã»ãã·ã§ã³ãJDBCã³ãã¯ã·ã§ã³ãéæ¾ãããã¨ã§ãã ä¸"
+"è¨ã®Javaã³ã¼ãã¯ãã¼ã¿ãã«ã§ããã管çããã¦ããªãç°å¢ã¨JTAç°å¢ã®ä¸¡æ¹ã§å®è¡ã§"
+"ãã¾ãã"
-#: index.docbook:438
+#. Tag: para
+#: transactions.xml:433
+#, no-c-format
msgid ""
- "<![CDATA[// Non-managed environment idiom with getCurrentSession()\n"
- "try {\n"
- " factory.getCurrentSession().beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " factory.getCurrentSession().getTransaction().commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " factory.getCurrentSession().getTransaction().rollback();\n"
- " throw e; // or display error message\n"
- "}]]>"
-msgstr "ããé©å¿æ§ã®ãã解決çã¯ãHibernateã«äºãçµã¿è¾¼ã¾ãã¦ãã ãcurrent sessionãã³ã³ããã¹ã管çã§ãã è¨èã§èª¬æããããä¸è¨ãè¦ãã»ããéãã§ãããã"
+"A much more flexible solution is Hibernate's built-in \"current session\" "
+"context management, as described earlier:"
+msgstr ""
+"ããé©å¿æ§ã®ãã解決çã¯ãHibernateã«äºãçµã¿è¾¼ã¾ãã¦ãã ãcurrent sessionã"
+"ã³ã³ããã¹ã管çã§ãã è¨èã§èª¬æããããä¸è¨ãè¦ãã»ããéãã§ãããã"
-#: index.docbook:440
-msgid "You will very likely never see these code snippets in a regular application; fatal (system) exceptions should always be caught at the \"top\". In other words, the code that executes Hibernate calls (in the persistence layer) and the code that handles <literal>RuntimeException</literal> (and usually can only clean up and exit) are in different layers. The current context management by Hibernate can significantly simplify this design, as all you need is access to a <literal>SessionFactory</literal>. Exception handling is discussed later in this chapter."
+#. Tag: programlisting
+#: transactions.xml:438
+#, no-c-format
+msgid ""
+"<![CDATA[// Non-managed environment idiom with getCurrentSession()\n"
+"try {\n"
+" factory.getCurrentSession().beginTransaction();\n"
+"\n"
+" // do some work\n"
+" ...\n"
+"\n"
+" factory.getCurrentSession().getTransaction().commit();\n"
+"}\n"
+"catch (RuntimeException e) {\n"
+" factory.getCurrentSession().getTransaction().rollback();\n"
+" throw e; // or display error message\n"
+"}]]>"
msgstr ""
- "<![CDATA[// Non-managed environment idiom with getCurrentSession()\n"
- "try {\n"
- " factory.getCurrentSession().beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " factory.getCurrentSession().getTransaction().commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " factory.getCurrentSession().getTransaction().rollback();\n"
- " throw e; // or display error message\n"
- "}]]>"
-#: index.docbook:450
-msgid "Note that you should select <literal>org.hibernate.transaction.JDBCTransactionFactory</literal> (which is the default), and for the second example <literal>\"thread\"</literal> as your <literal>hibernate.current_session_context_class</literal>."
-msgstr "æ£è¦ã®ã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã§ã¯ããã®ãããªã³ã¼ãã®åãç«¯ãæ±ºãã¦è¦ãªãã§ãããã è´å½çãªï¼ã·ã¹ãã ï¼ä¾å¤ã¯ã常ã«ãæä¸ä½ãã§ãã£ãããã¹ãã§ãã è¨ãæããã°ãï¼æ°¸ç¶å層ã§ï¼Hibernateå¼ã³åºããå®è¡ããã³ã¼ãã¨ã <literal>RuntimeException</literal> ãå¶å¾¡ãã ï¼é常ã¯ã¯ãªã¼ã³ã¢ããã¨çµäºã®ã¿è¡ããã¨ãã§ããï¼ã³ã¼ãã¯ãå¥ã
ã®å±¤ã®ä¸ã«ããã¾ãã Hibernateã«ããã«ã¬ã³ãã³ã³ããã¹ã管çã¯ããã®è¨è¨ãããªãåç´ã«ãã¾ãã å¿
è¦ãªã®ã¯ã<literal>SessionFactory</literal> ã«ã¢ã¯ã»ã¹ãããã¨ã ãã§ãã ä¾å¤å¦çã¯ããã®ç« ã®å¾ã®ã»ãã§è°è«ãã¾ãã"
+#. Tag: para
+#: transactions.xml:440
+#, no-c-format
+msgid ""
+"You will very likely never see these code snippets in a regular application; "
+"fatal (system) exceptions should always be caught at the \"top\". In other "
+"words, the code that executes Hibernate calls (in the persistence layer) and "
+"the code that handles <literal>RuntimeException</literal> (and usually can "
+"only clean up and exit) are in different layers. The current context "
+"management by Hibernate can significantly simplify this design, as all you "
+"need is access to a <literal>SessionFactory</literal>. Exception handling is "
+"discussed later in this chapter."
+msgstr ""
+"æ£è¦ã®ã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã§ã¯ããã®ãããªã³ã¼ãã®åãç«¯ãæ±ºãã¦è¦ãªãã§ãã"
+"ãã è´å½çãªï¼ã·ã¹ãã ï¼ä¾å¤ã¯ã常ã«ãæä¸ä½ãã§ãã£ãããã¹ãã§ãã è¨ãæ"
+"ããã°ãï¼æ°¸ç¶å層ã§ï¼Hibernateå¼ã³åºããå®è¡ããã³ã¼ãã¨ã "
+"<literal>RuntimeException</literal> ãå¶å¾¡ãã ï¼é常ã¯ã¯ãªã¼ã³ã¢ããã¨çµäºã®"
+"ã¿è¡ããã¨ãã§ããï¼ã³ã¼ãã¯ãå¥ã
ã®å±¤ã®ä¸ã«ããã¾ãã Hibernateã«ããã«ã¬ã³"
+"ãã³ã³ããã¹ã管çã¯ããã®è¨è¨ãããªãåç´ã«ãã¾ãã å¿
è¦ãªã®ã¯ã"
+"<literal>SessionFactory</literal> ã«ã¢ã¯ã»ã¹ãããã¨ã ãã§ãã ä¾å¤å¦çã¯ãã"
+"ã®ç« ã®å¾ã®ã»ãã§è°è«ãã¾ãã"
-#: index.docbook:459
+#. Tag: para
+#: transactions.xml:450
+#, no-c-format
+msgid ""
+"Note that you should select <literal>org.hibernate.transaction."
+"JDBCTransactionFactory</literal> (which is the default), and for the second "
+"example <literal>\"thread\"</literal> as your <literal>hibernate."
+"current_session_context_class</literal>."
+msgstr ""
+"注æï¼ï¼ããã©ã«ãã§ããï¼ <literal>org.hibernate.transaction."
+"JDBCTransactionFactory</literal> ã鏿ããã¹ãã§ãã 第2ã®ç¨ä¾ã¨ãã¦ã¯ã "
+"<literal>hibernate.current_session_context_class</literal> ã <literal>"
+"\"thread\"</literal> ã¨ããã¨ããã§ãããã"
+
+#. Tag: title
+#: transactions.xml:459
+#, no-c-format
msgid "Using JTA"
-msgstr "注æï¼ï¼ããã©ã«ãã§ããï¼ <literal>org.hibernate.transaction.JDBCTransactionFactory</literal> ã鏿ããã¹ãã§ãã 第2ã®ç¨ä¾ã¨ãã¦ã¯ã <literal>hibernate.current_session_context_class</literal> ã <literal>\"thread\"</literal> ã¨ããã¨ããã§ãããã"
-
-#: index.docbook:461
-msgid "If your persistence layer runs in an application server (e.g. behind EJB session beans), every datasource connection obtained by Hibernate will automatically be part of the global JTA transaction. You can also install a standalone JTA implementation and use it without EJB. Hibernate offers two strategies for JTA integration."
msgstr "JTAã使ç¨ãã"
-#: index.docbook:468
-msgid "If you use bean-managed transactions (BMT) Hibernate will tell the application server to start and end a BMT transaction if you use the <literal>Transaction</literal> API. So, the transaction management code is identical to the non-managed environment."
-msgstr "æ°¸ç¶å層ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ï¼ä¾ãã°ãEJBã»ãã·ã§ã³Beanã®èå¾ï¼ã§å®è¡ããå ´åã Hibernateããåå¾ãããã¹ã¦ã®ãã¼ã¿ã½ã¼ã¹ã³ãã¯ã·ã§ã³ã¯ã èªåçã«ã°ãã¼ãã«JTAãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸é¨ã«ãªãã¾ãã EJBã使ããã«ãã¹ã¿ã³ãã¢ãã³ã®JTAå®è£
ãå°å
¥ãããã¨ãã§ãã¾ãã JTAçµ±åã®ããã«ãHibernateã¯ï¼ã¤ã®æ¦ç¥ãæä¾ãã¾ãã"
+#. Tag: para
+#: transactions.xml:461
+#, no-c-format
+msgid ""
+"If your persistence layer runs in an application server (e.g. behind EJB "
+"session beans), every datasource connection obtained by Hibernate will "
+"automatically be part of the global JTA transaction. You can also install a "
+"standalone JTA implementation and use it without EJB. Hibernate offers two "
+"strategies for JTA integration."
+msgstr ""
+"æ°¸ç¶å層ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ï¼ä¾ãã°ãEJBã»ãã·ã§ã³Beanã®èå¾ï¼ã§å®è¡ã"
+"ãå ´åã Hibernateããåå¾ãããã¹ã¦ã®ãã¼ã¿ã½ã¼ã¹ã³ãã¯ã·ã§ã³ã¯ã èªåçã«ã°"
+"ãã¼ãã«JTAãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸é¨ã«ãªãã¾ãã EJBã使ããã«ãã¹ã¿ã³ãã¢ãã³ã®"
+"JTAå®è£
ãå°å
¥ãããã¨ãã§ãã¾ãã JTAçµ±åã®ããã«ãHibernateã¯ï¼ã¤ã®æ¦ç¥ãæ"
+"ä¾ãã¾ãã"
-#: index.docbook:474
+#. Tag: para
+#: transactions.xml:468
+#, no-c-format
msgid ""
- "<![CDATA[// BMT idiom\n"
- "Session sess = factory.openSession();\n"
- "Transaction tx = null;\n"
- "try {\n"
- " tx = sess.beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " if (tx != null) tx.rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-msgstr "Bean管çãã©ã³ã¶ã¯ã·ã§ã³ï¼BMTï¼ã使ãã<literal>Transaction</literal> APIã使ãå ´åã Hibernateã¯ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã«BMTãã©ã³ã¶ã¯ã·ã§ã³ã®éå§ã¨çµãããåãã¾ãã ããªãã¡ããã©ã³ã¶ã¯ã·ã§ã³ç®¡çã®ã³ã¼ãã¯ã管çãããªãç°å¢ã¨åãã«ãªãã¾ãã"
+"If you use bean-managed transactions (BMT) Hibernate will tell the "
+"application server to start and end a BMT transaction if you use the "
+"<literal>Transaction</literal> API. So, the transaction management code is "
+"identical to the non-managed environment."
+msgstr ""
+"Bean管çãã©ã³ã¶ã¯ã·ã§ã³ï¼BMTï¼ã使ãã<literal>Transaction</literal> APIã使"
+"ãå ´åã Hibernateã¯ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã«BMTãã©ã³ã¶ã¯ã·ã§ã³ã®éå§ã¨çµã"
+"ããåãã¾ãã ããªãã¡ããã©ã³ã¶ã¯ã·ã§ã³ç®¡çã®ã³ã¼ãã¯ã管çãããªãç°å¢ã¨å"
+"ãã«ãªãã¾ãã"
-#: index.docbook:476
-msgid "If you want to use a transaction-bound <literal>Session</literal>, that is, the <literal>getCurrentSession()</literal> functionality for easy context propagation, you will have to use the JTA <literal>UserTransaction</literal> API directly:"
+#. Tag: programlisting
+#: transactions.xml:474
+#, no-c-format
+msgid ""
+"<![CDATA[// BMT idiom\n"
+"Session sess = factory.openSession();\n"
+"Transaction tx = null;\n"
+"try {\n"
+" tx = sess.beginTransaction();\n"
+"\n"
+" // do some work\n"
+" ...\n"
+"\n"
+" tx.commit();\n"
+"}\n"
+"catch (RuntimeException e) {\n"
+" if (tx != null) tx.rollback();\n"
+" throw e; // or display error message\n"
+"}\n"
+"finally {\n"
+" sess.close();\n"
+"}]]>"
msgstr ""
- "<![CDATA[// BMT idiom\n"
- "Session sess = factory.openSession();\n"
- "Transaction tx = null;\n"
- "try {\n"
- " tx = sess.beginTransaction();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " if (tx != null) tx.rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-#: index.docbook:482
+#. Tag: para
+#: transactions.xml:476
+#, no-c-format
msgid ""
- "<![CDATA[// BMT idiom with getCurrentSession()\n"
- "try {\n"
- " UserTransaction tx = (UserTransaction)new InitialContext()\n"
- " .lookup(\"java:comp/UserTransaction\");\n"
- "\n"
- " tx.begin();\n"
- "\n"
- " // Do some work on Session bound to transaction\n"
- " factory.getCurrentSession().load(...);\n"
- " factory.getCurrentSession().persist(...);\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " tx.rollback();\n"
- " throw e; // or display error message\n"
- "}]]>"
-msgstr "ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ã㦠<literal>Session</literal> ã使ãããå ´åã ç°¡åã«ã³ã³ããã¹ãã伿ããæ©è½ã§ãã <literal>getCurrentSession()</literal> ãããã®ã§ã JTAã® <literal>UserTransaction</literal> APIãç´æ¥ä½¿ç¨ãã¹ãã§ãããã"
+"If you want to use a transaction-bound <literal>Session</literal>, that is, "
+"the <literal>getCurrentSession()</literal> functionality for easy context "
+"propagation, you will have to use the JTA <literal>UserTransaction</literal> "
+"API directly:"
+msgstr ""
+"ãã©ã³ã¶ã¯ã·ã§ã³å¢çã¨ã㦠<literal>Session</literal> ã使ãããå ´åã ç°¡åã«"
+"ã³ã³ããã¹ãã伿ããæ©è½ã§ãã <literal>getCurrentSession()</literal> ãã"
+"ãã®ã§ã JTAã® <literal>UserTransaction</literal> APIãç´æ¥ä½¿ç¨ãã¹ãã§ãã"
+"ãã"
-#: index.docbook:484
-msgid "With CMT, transaction demarcation is done in session bean deployment descriptors, not programatically, hence, the code is reduced to:"
+#. Tag: programlisting
+#: transactions.xml:482
+#, no-c-format
+msgid ""
+"<![CDATA[// BMT idiom with getCurrentSession()\n"
+"try {\n"
+" UserTransaction tx = (UserTransaction)new InitialContext()\n"
+" .lookup(\"java:comp/UserTransaction\");\n"
+"\n"
+" tx.begin();\n"
+"\n"
+" // Do some work on Session bound to transaction\n"
+" factory.getCurrentSession().load(...);\n"
+" factory.getCurrentSession().persist(...);\n"
+"\n"
+" tx.commit();\n"
+"}\n"
+"catch (RuntimeException e) {\n"
+" tx.rollback();\n"
+" throw e; // or display error message\n"
+"}]]>"
msgstr ""
- "<![CDATA[// BMT idiom with getCurrentSession()\n"
- "try {\n"
- " UserTransaction tx = (UserTransaction)new InitialContext()\n"
- " .lookup(\"java:comp/UserTransaction\");\n"
- "\n"
- " tx.begin();\n"
- "\n"
- " // Do some work on Session bound to transaction\n"
- " factory.getCurrentSession().load(...);\n"
- " factory.getCurrentSession().persist(...);\n"
- "\n"
- " tx.commit();\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " tx.rollback();\n"
- " throw e; // or display error message\n"
- "}]]>"
-#: index.docbook:489
+#. Tag: para
+#: transactions.xml:484
+#, no-c-format
msgid ""
- "<![CDATA[// CMT idiom\n"
- " Session sess = factory.getCurrentSession();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "]]>"
-msgstr "CMTã§ã¯ããã©ã³ã¶ã¯ã·ã§ã³å¢çãã»ãã·ã§ã³Beanã®ãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã§å®ç¾©ãã ããã°ã©ã ã§ã¯è¡ãã¾ããã ããã«ãã³ã¼ãã¯æ¬¡ã®ããã«å°ãªããªãã¾ãã"
+"With CMT, transaction demarcation is done in session bean deployment "
+"descriptors, not programatically, hence, the code is reduced to:"
+msgstr ""
+"CMTã§ã¯ããã©ã³ã¶ã¯ã·ã§ã³å¢çãã»ãã·ã§ã³Beanã®ãããã¤ã¡ã³ããã£ã¹ã¯ãªãã¿ã§"
+"å®ç¾©ãã ããã°ã©ã ã§ã¯è¡ãã¾ããã ããã«ãã³ã¼ãã¯æ¬¡ã®ããã«å°ãªããªãã¾"
+"ãã"
-#: index.docbook:491
-msgid "In a CMT/EJB even rollback happens automatically, since an unhandled <literal>RuntimeException</literal> thrown by a session bean method tells the container to set the global transaction to rollback. <emphasis>This means you do not need to use the Hibernate <literal>Transaction</literal> API at all with BMT or CMT, and you get automatic propagation of the \"current\" Session bound to the transaction.</emphasis>"
+#. Tag: programlisting
+#: transactions.xml:489
+#, no-c-format
+msgid ""
+"<![CDATA[// CMT idiom\n"
+" Session sess = factory.getCurrentSession();\n"
+"\n"
+" // do some work\n"
+" ...\n"
+"]]>"
msgstr ""
- "<![CDATA[// CMT idiom\n"
- " Session sess = factory.getCurrentSession();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "]]>"
-#: index.docbook:499
-msgid "Note that you should choose <literal>org.hibernate.transaction.JTATransactionFactory</literal> if you use JTA directly (BMT), and <literal>org.hibernate.transaction.CMTTransactionFactory</literal> in a CMT session bean, when you configure Hibernate's transaction factory. Remember to also set <literal>hibernate.transaction.manager_lookup_class</literal>. Furthermore, make sure that your <literal>hibernate.current_session_context_class</literal> is either unset (backwards compatiblity), or set to <literal>\"jta\"</literal>."
-msgstr "CMT/EJBã®ä¸ã§ã¯ã常ã«ãã¼ã«ããã¯ãèªåçã«å®æ½ããã¾ãã ãªããªããã»ãã·ã§ã³ãã¼ã³ã®ã¡ã½ããã«ããæããããå¶å¾¡ããã¦ããªã <literal>RuntimeException</literal> ã¯ãã°ãã¼ãã«ãã©ã³ã¶ã¯ã·ã§ã³ã ãã¼ã«ããã¯ããããã«ã³ã³ããã«ä¼ããããã§ãã <emphasis>ããã¯ãBMTãããã¯CMTã¨ãã£ããã«Hibernate <literal>Transaction</literal> APIã使ãå¿
è¦ã¯å°ãããªãã¨ããæå³ã§ãã</emphasis>"
+#. Tag: para
+#: transactions.xml:491
+#, no-c-format
+msgid ""
+"In a CMT/EJB even rollback happens automatically, since an unhandled "
+"<literal>RuntimeException</literal> thrown by a session bean method tells "
+"the container to set the global transaction to rollback. <emphasis>This "
+"means you do not need to use the Hibernate <literal>Transaction</literal> "
+"API at all with BMT or CMT, and you get automatic propagation of the "
+"\"current\" Session bound to the transaction.</emphasis>"
+msgstr ""
+"CMT/EJBã®ä¸ã§ã¯ã常ã«ãã¼ã«ããã¯ãèªåçã«å®æ½ããã¾ãã ãªããªããã»ãã·ã§"
+"ã³ãã¼ã³ã®ã¡ã½ããã«ããæããããå¶å¾¡ããã¦ããªã "
+"<literal>RuntimeException</literal> ã¯ãã°ãã¼ãã«ãã©ã³ã¶ã¯ã·ã§ã³ã ãã¼ã«"
+"ããã¯ããããã«ã³ã³ããã«ä¼ããããã§ãã <emphasis>ããã¯ãBMTãããã¯CMTã¨"
+"ãã£ããã«Hibernate <literal>Transaction</literal> APIã使ãå¿
è¦ã¯å°ãããªã"
+"ã¨ããæå³ã§ãã</emphasis>"
-#: index.docbook:508
-msgid "The <literal>getCurrentSession()</literal> operation has one downside in a JTA environment. There is one caveat to the use of <literal>after_statement</literal> connection release mode, which is then used by default. Due to a silly limitation of the JTA spec, it is not possible for Hibernate to automatically clean up any unclosed <literal>ScrollableResults</literal> or <literal>Iterator</literal> instances returned by <literal>scroll()</literal> or <literal>iterate()</literal>. You <emphasis>must</emphasis> release the underlying database cursor by calling <literal>ScrollableResults.close()</literal> or <literal>Hibernate.close(Iterator)</literal> explicity from a <literal>finally</literal> block. (Of course, most applications can easily avoid using <literal>scroll()</literal> or <literal>iterate()</literal> at all from the JTA or CMT code.)"
-msgstr "Hibernateã®ãã©ã³ã¶ã¯ã·ã§ã³ãã¡ã¯ããªãè¨å®ããéã«ã JTAãç´æ¥ä½¿ãï¼BMTã®ï¼å ´å㯠<literal>org.hibernate.transaction.JTATransactionFactory</literal> ãã CMTã»ãã·ã§ã³ãã¼ã³ã®ä¸ã§ã¯ <literal>org.hibernate.transaction.CMTTransactionFactory</literal> ã 鏿ãã¹ãã ã¨ãããã¨ã«æ³¨æãã¦ãã ããã <literal>hibernate.transaction.manager_lookup_class</literal> ãã»ãããããã¨ãæãåºãã¦ãã ããã ãªãã<literal>hibernate.current_session_context_class</literal> ã¯ã ã»ããããªããï¼å¾æ¹äºæï¼ã<literal>\"jta\"</literal> ãã»ãããã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:499
+#, no-c-format
+msgid ""
+"Note that you should choose <literal>org.hibernate.transaction."
+"JTATransactionFactory</literal> if you use JTA directly (BMT), and "
+"<literal>org.hibernate.transaction.CMTTransactionFactory</literal> in a CMT "
+"session bean, when you configure Hibernate's transaction factory. Remember "
+"to also set <literal>hibernate.transaction.manager_lookup_class</literal>. "
+"Furthermore, make sure that your <literal>hibernate."
+"current_session_context_class</literal> is either unset (backwards "
+"compatiblity), or set to <literal>\"jta\"</literal>."
+msgstr ""
+"Hibernateã®ãã©ã³ã¶ã¯ã·ã§ã³ãã¡ã¯ããªãè¨å®ããéã«ã JTAãç´æ¥ä½¿ãï¼BMTã®ï¼"
+"å ´å㯠<literal>org.hibernate.transaction.JTATransactionFactory</literal> "
+"ãã CMTã»ãã·ã§ã³ãã¼ã³ã®ä¸ã§ã¯ <literal>org.hibernate.transaction."
+"CMTTransactionFactory</literal> ã 鏿ãã¹ãã ã¨ãããã¨ã«æ³¨æãã¦ãã ã"
+"ãã <literal>hibernate.transaction.manager_lookup_class</literal> ãã»ããã"
+"ããã¨ãæãåºãã¦ãã ããã ãªãã<literal>hibernate."
+"current_session_context_class</literal> ã¯ã ã»ããããªããï¼å¾æ¹äºæï¼ã"
+"<literal>\"jta\"</literal> ãã»ãããã¦ãã ããã"
-#: index.docbook:524
+#. Tag: para
+#: transactions.xml:508
+#, no-c-format
+msgid ""
+"The <literal>getCurrentSession()</literal> operation has one downside in a "
+"JTA environment. There is one caveat to the use of <literal>after_statement</"
+"literal> connection release mode, which is then used by default. Due to a "
+"silly limitation of the JTA spec, it is not possible for Hibernate to "
+"automatically clean up any unclosed <literal>ScrollableResults</literal> or "
+"<literal>Iterator</literal> instances returned by <literal>scroll()</"
+"literal> or <literal>iterate()</literal>. You <emphasis>must</emphasis> "
+"release the underlying database cursor by calling <literal>ScrollableResults."
+"close()</literal> or <literal>Hibernate.close(Iterator)</literal> explicity "
+"from a <literal>finally</literal> block. (Of course, most applications can "
+"easily avoid using <literal>scroll()</literal> or <literal>iterate()</"
+"literal> at all from the JTA or CMT code.)"
+msgstr ""
+"<literal>getCurrentSession()</literal> ãªãã¬ã¼ã·ã§ã³ã¯ãJTAç°å¢ã§ã¯ï¼ã¤ã®æ¬ "
+"ç¹ãæã¡ã¾ãã ããã©ã«ãã§ä½¿ããã <literal>after_statement</literal> ã³ãã¯"
+"ã·ã§ã³ãªãªã¼ã¹ã¢ã¼ãã使ç¨ããä¸ã§ã è¦åãï¼ã¤ããã¾ãã JTA仿§ã®æããªå¶ç´"
+"ã®ããã«ã <literal>scroll()</literal> ã¾ã㯠<literal>iterate()</literal> ã"
+"è¿ããã éãããã¦ããªã <literal>ScrollableResults</literal> ã¾ã㯠"
+"<literal>Iterator</literal> ã¤ã³ã¹ã¿ã³ã¹ãHibernateãèªåçã«ã¯ãªã¼ã³ã¢ããã"
+"ããã¨ã¯ã§ãã¾ããã <literal>finally</literal> ãããã¯ã®ä¸ã§ã "
+"<literal>ScrollableResults.close()</literal> ã¾ã㯠<literal>Hibernate.close"
+"(Iterator)</literal> ãæç¤ºçã«å¼ã³åºãã¦ã è£ã«æ½ãã ãã¼ã¿ãã¼ã¹ã«ã¼ã½ã«ã"
+"è§£æ¾ <emphasis>ããªããã°ãªãã¾ãã</emphasis>ã ï¼ãã¡ãããå¤ãã®ã¢ããªã±ã¼"
+"ã·ã§ã³ã§ã¯ãJTAãCMTã³ã¼ãã§ <literal>scroll()</literal> ã <literal>iterate"
+"()</literal> ã®ä½¿ç¨ãé¿ããã®ã¯å®¹æã§ããï¼"
+
+#. Tag: title
+#: transactions.xml:524
+#, no-c-format
msgid "Exception handling"
-msgstr "<literal>getCurrentSession()</literal> ãªãã¬ã¼ã·ã§ã³ã¯ãJTAç°å¢ã§ã¯ï¼ã¤ã®æ¬ ç¹ãæã¡ã¾ãã ããã©ã«ãã§ä½¿ããã <literal>after_statement</literal> ã³ãã¯ã·ã§ã³ãªãªã¼ã¹ã¢ã¼ãã使ç¨ããä¸ã§ã è¦åãï¼ã¤ããã¾ãã JTA仿§ã®æããªå¶ç´ã®ããã«ã <literal>scroll()</literal> ã¾ã㯠<literal>iterate()</literal> ãè¿ããã éãããã¦ããªã <literal>ScrollableResults</literal> ã¾ã㯠<literal>Iterator</literal> ã¤ã³ã¹ã¿ã³ã¹ãHibernateãèªåçã«ã¯ãªã¼ã³ã¢ãããããã¨ã¯ã§ãã¾ããã <literal>finally</literal> ãããã¯ã®ä¸ã§ã <literal>ScrollableResults.close()</literal> ã¾ã㯠<literal>Hibernate.close(Iterator)</literal> ãæç¤ºçã«å¼ã³åºãã¦ã è£ã«æ½ãã ãã¼ã¿ãã¼ã¹ã«ã¼ã½ã«ãè§£æ¾ <emphasis>ããªããã°ãªãã¾ãã</emphasis>ã ï¼ãã¡ãããå¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãJTAãCMTã³ã¼ãã§ !
<literal>scroll()</literal> ã <literal>iterate()</literal> ã®ä½¿ç¨ãé¿ããã®ã¯å®¹æã§ããï¼"
-
-#: index.docbook:526
-msgid "If the <literal>Session</literal> throws an exception (including any <literal>SQLException</literal>), you should immediately rollback the database transaction, call <literal>Session.close()</literal> and discard the <literal>Session</literal> instance. Certain methods of <literal>Session</literal> will <emphasis>not</emphasis> leave the session in a consistent state. No exception thrown by Hibernate can be treated as recoverable. Ensure that the <literal>Session</literal> will be closed by calling <literal>close()</literal> in a <literal>finally</literal> block."
msgstr "ä¾å¤ãã³ããªã³ã°"
-#: index.docbook:537
-msgid "The <literal>HibernateException</literal>, which wraps most of the errors that can occur in a Hibernate persistence layer, is an unchecked exception (it wasn't in older versions of Hibernate). In our opinion, we shouldn't force the application developer to catch an unrecoverable exception at a low layer. In most systems, unchecked and fatal exceptions are handled in one of the first frames of the method call stack (i.e. in higher layers) and an error message is presented to the application user (or some other appropriate action is taken). Note that Hibernate might also throw other unchecked exceptions which are not a <literal>HibernateException</literal>. These are, again, not recoverable and appropriate action should be taken."
-msgstr "<literal>Session</literal> ãä¾å¤ï¼<literal>SQLException</literal>ãå«ãï¼ãæããå ´åã ç´ã¡ã«ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã<literal>Session.close()</literal> ãå¼ã³ã<literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ãç ´æ£ãã¹ãã§ãã <literal>Session</literal> ã®ããã¤ãã®ã¡ã½ããã¯ã ã»ãã·ã§ã³ã®ç¶æ
ã <emphasis>çç¾ããã¾ã¾</emphasis> ã«ãã¾ãã Hibernateãæããä¾å¤ããå復ã§ãããã®ã¨ãã¦æ±ããã¨ã¯ã§ãã¾ããã <literal>finally</literal> ãããã¯ã®ä¸ã§ <literal>close()</literal> ãå¼ãã§ã <literal>Session</literal> ã確å®ã«éãã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:526
+#, no-c-format
+msgid ""
+"If the <literal>Session</literal> throws an exception (including any "
+"<literal>SQLException</literal>), you should immediately rollback the "
+"database transaction, call <literal>Session.close()</literal> and discard "
+"the <literal>Session</literal> instance. Certain methods of "
+"<literal>Session</literal> will <emphasis>not</emphasis> leave the session "
+"in a consistent state. No exception thrown by Hibernate can be treated as "
+"recoverable. Ensure that the <literal>Session</literal> will be closed by "
+"calling <literal>close()</literal> in a <literal>finally</literal> block."
+msgstr ""
+"<literal>Session</literal> ãä¾å¤ï¼<literal>SQLException</literal>ãå«ãï¼ã"
+"æããå ´åã ç´ã¡ã«ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã"
+"<literal>Session.close()</literal> ãå¼ã³ã<literal>Session</literal> ã¤ã³ã¹"
+"ã¿ã³ã¹ãç ´æ£ãã¹ãã§ãã <literal>Session</literal> ã®ããã¤ãã®ã¡ã½ããã¯ã "
+"ã»ãã·ã§ã³ã®ç¶æ
ã <emphasis>çç¾ããã¾ã¾</emphasis> ã«ãã¾ãã Hibernateãæ"
+"ããä¾å¤ããå復ã§ãããã®ã¨ãã¦æ±ããã¨ã¯ã§ãã¾ããã <literal>finally</"
+"literal> ãããã¯ã®ä¸ã§ <literal>close()</literal> ãå¼ãã§ã "
+"<literal>Session</literal> ã確å®ã«éãã¦ãã ããã"
-#: index.docbook:549
-msgid "Hibernate wraps <literal>SQLException</literal>s thrown while interacting with the database in a <literal>JDBCException</literal>. In fact, Hibernate will attempt to convert the eexception into a more meningful subclass of <literal>JDBCException</literal>. The underlying <literal>SQLException</literal> is always available via <literal>JDBCException.getCause()</literal>. Hibernate converts the <literal>SQLException</literal> into an appropriate <literal>JDBCException</literal> subclass using the <literal>SQLExceptionConverter</literal> attached to the <literal>SessionFactory</literal>. By default, the <literal>SQLExceptionConverter</literal> is defined by the configured dialect; however, it is also possible to plug in a custom implementation (see the javadocs for the <literal>SQLExceptionConverterFactory</literal> class for details). The standard <literal>JDBCException</literal> subtypes are:"
-msgstr "<literal>HibernateException</literal> ã¯ãHibernateæ°¸ç¶å層ã®ä¸ã§çºçããå¤ãã®ã¨ã©ã¼ã ã©ãããããæ¤æ»ãããªãä¾å¤ã§ãï¼Hibernateã®å¤ããã¼ã¸ã§ã³ã¯éãã¾ããï¼ã ç§ãã¡ã®æè¦ã¯ãã¢ããªã±ã¼ã·ã§ã³éçºè
ã«å復ä¸å¯è½ãªä¾å¤ã ä¸å±¤ã§ãã£ãããããã¨ãå¼·è¦ãã¹ãã§ã¯ãªãã¨ãããã¨ã§ãã å¤ãã®ã·ã¹ãã ã§ã¯ãæ¤æ»ãããªãä¾å¤ã¨è´å½çãªä¾å¤ã¯ã ã³ã¼ã«ã¹ã¿ãã¯ã®æåã®ãã¬ã¼ã ã®ï¼ã¤ï¼ä¾ãã°ãæä¸ä½ã®å±¤ã§ï¼ã§ãã³ããªã³ã°ãã ã¨ã©ã¼ã¡ãã»ã¼ã¸ãã¢ããªã±ã¼ã·ã§ã³ã¦ã¼ã¶ã¼ã«è¡¨ç¤ºãã¾ã ï¼ãããã¯ãä»ã®é©åãªå¦çã宿½ãã¾ãï¼ã Hibernateã¯ã<literal>HibernateException</literal> 以å¤ã®æ¤æ»ãããªãä¾å¤ã æãããã¨ã«æ³¨æãã¦ãã ããã ããããã¾ããå復ä¸å¯è½ã§ãããé©åãªå¦çã宿½ãã¹ãã§ãã"
+#. Tag: para
+#: transactions.xml:537
+#, no-c-format
+msgid ""
+"The <literal>HibernateException</literal>, which wraps most of the errors "
+"that can occur in a Hibernate persistence layer, is an unchecked exception "
+"(it wasn't in older versions of Hibernate). In our opinion, we shouldn't "
+"force the application developer to catch an unrecoverable exception at a low "
+"layer. In most systems, unchecked and fatal exceptions are handled in one of "
+"the first frames of the method call stack (i.e. in higher layers) and an "
+"error message is presented to the application user (or some other "
+"appropriate action is taken). Note that Hibernate might also throw other "
+"unchecked exceptions which are not a <literal>HibernateException</literal>. "
+"These are, again, not recoverable and appropriate action should be taken."
+msgstr ""
+"<literal>HibernateException</literal> ã¯ãHibernateæ°¸ç¶å層ã®ä¸ã§çºçããå¤ã"
+"ã®ã¨ã©ã¼ã ã©ãããããæ¤æ»ãããªãä¾å¤ã§ãï¼Hibernateã®å¤ããã¼ã¸ã§ã³ã¯éã"
+"ã¾ããï¼ã ç§ãã¡ã®æè¦ã¯ãã¢ããªã±ã¼ã·ã§ã³éçºè
ã«å復ä¸å¯è½ãªä¾å¤ã ä¸å±¤ã§"
+"ãã£ãããããã¨ãå¼·è¦ãã¹ãã§ã¯ãªãã¨ãããã¨ã§ãã å¤ãã®ã·ã¹ãã ã§ã¯ãæ¤æ»"
+"ãããªãä¾å¤ã¨è´å½çãªä¾å¤ã¯ã ã³ã¼ã«ã¹ã¿ãã¯ã®æåã®ãã¬ã¼ã ã®ï¼ã¤ï¼ä¾ãã°ã"
+"æä¸ä½ã®å±¤ã§ï¼ã§ãã³ããªã³ã°ãã ã¨ã©ã¼ã¡ãã»ã¼ã¸ãã¢ããªã±ã¼ã·ã§ã³ã¦ã¼ã¶ã¼ã«"
+"表示ãã¾ã ï¼ãããã¯ãä»ã®é©åãªå¦çã宿½ãã¾ãï¼ã Hibernateã¯ã"
+"<literal>HibernateException</literal> 以å¤ã®æ¤æ»ãããªãä¾å¤ã æãããã¨ã«æ³¨"
+"æãã¦ãã ããã ããããã¾ããå復ä¸å¯è½ã§ãããé©åãªå¦çã宿½ãã¹ãã§ãã"
-#: index.docbook:565
-msgid "<literal>JDBCConnectionException</literal> - indicates an error with the underlying JDBC communication."
-msgstr "Hibernateã¯ããã¼ã¿ãã¼ã¹ã¨ã®å¯¾è©±ä¸ã«æãããã <literal>SQLException</literal> ã <literal>JDBCException</literal> ã§ã©ãããã¾ãã å®ã¯ãä¾å¤ãããæå³ã®ãã <literal>JDBCException</literal> ã®ãµãã¯ã©ã¹ã« 夿ãããã¨è©¦ã¿ã¾ãã å
ã® <literal>SQLException</literal> ã¯ã<literal>JDBCException.getCause()</literal> ã«ãããã¤ã§ãå¾ããã¾ãã Hibernateã¯ã<literal>SessionFactory</literal> ã«è¿½å ããã¦ãã <literal>SQLExceptionConverter</literal> ã使ãã<literal>SQLException</literal> ã é©å½ãª <literal>JDBCException</literal> ãµãã¯ã©ã¹ã«å¤æãã¾ãã ããã©ã«ãã§ã¯ã<literal>SQLExceptionConverter</literal> ã¯è¨å®ããã¦ããSQLæ¹è¨ã«ãã å®ç¾©ããã¾ãã 䏿¹ã§ãç¬èªã®å®è£
ã«å·®ãæ¿ãããã¨ãã§ãã¾ã ï¼è©³ç´°ã¯ã<literal>SQLExceptionConverterFactory</literal> ã¯ã©ã¹ã®Javadocãåç
§ãã¦ãã ããï¼ã æ¨æº!
ç㪠<literal>JDBCException</literal> ã®ãµãã¿ã¤ããä¸è¨ã«ç¤ºãã¾ãã"
+#. Tag: para
+#: transactions.xml:549
+#, no-c-format
+msgid ""
+"Hibernate wraps <literal>SQLException</literal>s thrown while interacting "
+"with the database in a <literal>JDBCException</literal>. In fact, Hibernate "
+"will attempt to convert the eexception into a more meningful subclass of "
+"<literal>JDBCException</literal>. The underlying <literal>SQLException</"
+"literal> is always available via <literal>JDBCException.getCause()</"
+"literal>. Hibernate converts the <literal>SQLException</literal> into an "
+"appropriate <literal>JDBCException</literal> subclass using the "
+"<literal>SQLExceptionConverter</literal> attached to the "
+"<literal>SessionFactory</literal>. By default, the "
+"<literal>SQLExceptionConverter</literal> is defined by the configured "
+"dialect; however, it is also possible to plug in a custom implementation "
+"(see the javadocs for the <literal>SQLExceptionConverterFactory</literal> "
+"class for details). The standard <literal>JDBCException</literal> subtypes "
+"are:"
+msgstr ""
+"Hibernateã¯ããã¼ã¿ãã¼ã¹ã¨ã®å¯¾è©±ä¸ã«æãããã <literal>SQLException</"
+"literal> ã <literal>JDBCException</literal> ã§ã©ãããã¾ãã å®ã¯ãä¾å¤ãã"
+"ãæå³ã®ãã <literal>JDBCException</literal> ã®ãµãã¯ã©ã¹ã« 夿ãããã¨è©¦ã¿"
+"ã¾ãã å
ã® <literal>SQLException</literal> ã¯ã<literal>JDBCException."
+"getCause()</literal> ã«ãããã¤ã§ãå¾ããã¾ãã Hibernateã¯ã"
+"<literal>SessionFactory</literal> ã«è¿½å ããã¦ãã "
+"<literal>SQLExceptionConverter</literal> ã使ãã<literal>SQLException</"
+"literal> ã é©å½ãª <literal>JDBCException</literal> ãµãã¯ã©ã¹ã«å¤æãã¾ãã "
+"ããã©ã«ãã§ã¯ã<literal>SQLExceptionConverter</literal> ã¯è¨å®ããã¦ããSQL"
+"æ¹è¨ã«ãã å®ç¾©ããã¾ãã 䏿¹ã§ãç¬èªã®å®è£
ã«å·®ãæ¿ãããã¨ãã§ãã¾ã ï¼è©³ç´°"
+"ã¯ã<literal>SQLExceptionConverterFactory</literal> ã¯ã©ã¹ã®Javadocãåç
§ãã¦"
+"ãã ããï¼ã æ¨æºç㪠<literal>JDBCException</literal> ã®ãµãã¿ã¤ããä¸è¨ã«ç¤º"
+"ãã¾ãã"
-#: index.docbook:571
-msgid "<literal>SQLGrammarException</literal> - indicates a grammar or syntax problem with the issued SQL."
-msgstr "<literal>JDBCConnectionException</literal> - åºç¤ã¨ãªãJDBCéä¿¡ã®ã¨ã©ã¼ã表ãã¾ãã"
+#. Tag: para
+#: transactions.xml:565
+#, no-c-format
+msgid ""
+"<literal>JDBCConnectionException</literal> - indicates an error with the "
+"underlying JDBC communication."
+msgstr ""
+"<literal>JDBCConnectionException</literal> - åºç¤ã¨ãªãJDBCéä¿¡ã®ã¨ã©ã¼ã表ã"
+"ã¾ãã"
-#: index.docbook:577
-msgid "<literal>ConstraintViolationException</literal> - indicates some form of integrity constraint violation."
-msgstr "<literal>SQLGrammarException</literal> - çºè¡ããSQLã®ææ³ãããã¯æ§æã®åé¡ã表ãã¾ãã"
+#. Tag: para
+#: transactions.xml:571
+#, no-c-format
+msgid ""
+"<literal>SQLGrammarException</literal> - indicates a grammar or syntax "
+"problem with the issued SQL."
+msgstr ""
+"<literal>SQLGrammarException</literal> - çºè¡ããSQLã®ææ³ãããã¯æ§æã®åé¡"
+"ã表ãã¾ãã"
-#: index.docbook:583
-msgid "<literal>LockAcquisitionException</literal> - indicates an error acquiring a lock level necessary to perform the requested operation."
-msgstr "<literal>ConstraintViolationException</literal> - ä½ããã®å½¢å¼ã®å®å
¨æ§å¶ç´éåã表ãã¾ãã"
+#. Tag: para
+#: transactions.xml:577
+#, no-c-format
+msgid ""
+"<literal>ConstraintViolationException</literal> - indicates some form of "
+"integrity constraint violation."
+msgstr ""
+"<literal>ConstraintViolationException</literal> - ä½ããã®å½¢å¼ã®å®å
¨æ§å¶ç´é"
+"åã表ãã¾ãã"
-#: index.docbook:589
-msgid "<literal>GenericJDBCException</literal> - a generic exception which did not fall into any of the other categories."
-msgstr "<literal>LockAcquisitionException</literal> - è¦æ±ãããæä½ã宿½ããã®ã«å¿
è¦ãªããã¯ã¬ãã«ãå¾ãéã®ã¨ã©ã¼ã表ãã¾ãã"
+#. Tag: para
+#: transactions.xml:583
+#, no-c-format
+msgid ""
+"<literal>LockAcquisitionException</literal> - indicates an error acquiring a "
+"lock level necessary to perform the requested operation."
+msgstr ""
+"<literal>LockAcquisitionException</literal> - è¦æ±ãããæä½ã宿½ããã®ã«å¿
"
+"è¦ãªããã¯ã¬ãã«ãå¾ãéã®ã¨ã©ã¼ã表ãã¾ãã"
-#: index.docbook:599
+#. Tag: para
+#: transactions.xml:589
+#, no-c-format
+msgid ""
+"<literal>GenericJDBCException</literal> - a generic exception which did not "
+"fall into any of the other categories."
+msgstr ""
+"<literal>GenericJDBCException</literal> - ä»ã®ã«ãã´ãªã«ä¸è´ããªãã£ãä¸è¬ç"
+"ãªä¾å¤ã§ãã"
+
+#. Tag: title
+#: transactions.xml:599
+#, no-c-format
msgid "Transaction timeout"
-msgstr "<literal>GenericJDBCException</literal> - ä»ã®ã«ãã´ãªã«ä¸è´ããªãã£ãä¸è¬çãªä¾å¤ã§ãã"
-
-#: index.docbook:601
-msgid "One extremely important feature provided by a managed environment like EJB that is never provided for non-managed code is transaction timeout. Transaction timeouts ensure that no misbehaving transaction can indefinitely tie up resources while returning no response to the user. Outside a managed (JTA) environment, Hibernate cannot fully provide this functionality. However, Hibernate can at least control data access operations, ensuring that database level deadlocks and queries with huge result sets are limited by a defined timeout. In a managed environment, Hibernate can delegate transaction timeout to JTA. This functioanlity is abstracted by the Hibernate <literal>Transaction</literal> object."
msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¿ã¤ã ã¢ã¦ã"
-#: index.docbook:614
+#. Tag: para
+#: transactions.xml:601
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "Session sess = factory.openSession();\n"
- "try {\n"
- " //set transaction timeout to 3 seconds\n"
- " sess.getTransaction().setTimeout(3);\n"
- " sess.getTransaction().begin();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " sess.getTransaction().commit()\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " sess.getTransaction().rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-msgstr "EJBã®ãããªç®¡çãããç°å¢ãæä¾ãããããã¦éè¦ãªç¹å¾´ã®ï¼ã¤ã¯ã ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¿ã¤ã ã¢ã¦ãã§ãã ããã¯ç®¡çããã¦ããªãã³ã¼ãã«ã¯æä¾ã§ãã¾ããã ãã©ã³ã¶ã¯ã·ã§ã³ã¿ã¤ã ã¢ã¦ãã¯ãä¸åè¡ãªãã©ã³ã¶ã¯ã·ã§ã³ã ã¦ã¼ã¶ã¼ã«ã¬ã¹ãã³ã¹ãè¿ããªãã¾ã¾ãç¡æéã«ãªã½ã¼ã¹ã使ãç¶ããªã ãã¨ãä¿éãã¾ãã 管çãããç°å¢ï¼JTAï¼ã®å¤ã§ã¯ãHibernateã¯ãã®æ©è½ããã«ã«æä¾ã§ãã¾ããã ããããªãããHibernateã¯æ¬¡ã®ãããªãã¼ã¿ã¢ã¯ã»ã¹æä½ã®å¶å¾¡ãããã¯ã§ãã¾ãã ãã¼ã¿ãã¼ã¹ã¬ãã«ã®ãããããã¯ã大ããªãªã¶ã«ãã»ãããè¿ãã¯ã¨ãªã å®ç¾©ãããã¿ã¤ã ã¢ã¦ãã«ãã£ã¦ç¢ºå®ã«å¶éãã¾ãã 管çãããç°å¢ã§ã¯ãHibernateã¯ãã©ã³ã¶ã¯ã·ã§ã³ã¿ã¤ã ã¢ã¦ããJTAã«å§è²ãã¾ãã ãã®æ©è½ã¯ãHibernateã® <lite!
ral>Transaction</literal> ãªãã¸ã§ã¯ãã« ãã£ã¦æ½è±¡åããã¦ãã¾ãã"
+"One extremely important feature provided by a managed environment like EJB "
+"that is never provided for non-managed code is transaction timeout. "
+"Transaction timeouts ensure that no misbehaving transaction can indefinitely "
+"tie up resources while returning no response to the user. Outside a managed "
+"(JTA) environment, Hibernate cannot fully provide this functionality. "
+"However, Hibernate can at least control data access operations, ensuring "
+"that database level deadlocks and queries with huge result sets are limited "
+"by a defined timeout. In a managed environment, Hibernate can delegate "
+"transaction timeout to JTA. This functioanlity is abstracted by the "
+"Hibernate <literal>Transaction</literal> object."
+msgstr ""
+"EJBã®ãããªç®¡çãããç°å¢ãæä¾ãããããã¦éè¦ãªç¹å¾´ã®ï¼ã¤ã¯ã ãã©ã³ã¶ã¯"
+"ã·ã§ã³ã®ã¿ã¤ã ã¢ã¦ãã§ãã ããã¯ç®¡çããã¦ããªãã³ã¼ãã«ã¯æä¾ã§ãã¾ããã "
+"ãã©ã³ã¶ã¯ã·ã§ã³ã¿ã¤ã ã¢ã¦ãã¯ãä¸åè¡ãªãã©ã³ã¶ã¯ã·ã§ã³ã ã¦ã¼ã¶ã¼ã«ã¬ã¹ãã³"
+"ã¹ãè¿ããªãã¾ã¾ãç¡æéã«ãªã½ã¼ã¹ã使ãç¶ããªã ãã¨ãä¿éãã¾ãã 管çãã"
+"ãç°å¢ï¼JTAï¼ã®å¤ã§ã¯ãHibernateã¯ãã®æ©è½ããã«ã«æä¾ã§ãã¾ããã ããããªã"
+"ããHibernateã¯æ¬¡ã®ãããªãã¼ã¿ã¢ã¯ã»ã¹æä½ã®å¶å¾¡ãããã¯ã§ãã¾ãã ãã¼ã¿"
+"ãã¼ã¹ã¬ãã«ã®ãããããã¯ã大ããªãªã¶ã«ãã»ãããè¿ãã¯ã¨ãªã å®ç¾©ãããã¿ã¤"
+"ã ã¢ã¦ãã«ãã£ã¦ç¢ºå®ã«å¶éãã¾ãã 管çãããç°å¢ã§ã¯ãHibernateã¯ãã©ã³ã¶ã¯"
+"ã·ã§ã³ã¿ã¤ã ã¢ã¦ããJTAã«å§è²ãã¾ãã ãã®æ©è½ã¯ãHibernateã® "
+"<literal>Transaction</literal> ãªãã¸ã§ã¯ãã« ãã£ã¦æ½è±¡åããã¦ãã¾ãã"
-#: index.docbook:616
-msgid "Note that <literal>setTimeout()</literal> may not be called in a CMT bean, where transaction timeouts must be defined declaratively."
+#. Tag: programlisting
+#: transactions.xml:614
+#, no-c-format
+msgid ""
+"<![CDATA[\n"
+"Session sess = factory.openSession();\n"
+"try {\n"
+" //set transaction timeout to 3 seconds\n"
+" sess.getTransaction().setTimeout(3);\n"
+" sess.getTransaction().begin();\n"
+"\n"
+" // do some work\n"
+" ...\n"
+"\n"
+" sess.getTransaction().commit()\n"
+"}\n"
+"catch (RuntimeException e) {\n"
+" sess.getTransaction().rollback();\n"
+" throw e; // or display error message\n"
+"}\n"
+"finally {\n"
+" sess.close();\n"
+"}]]>"
msgstr ""
- "<![CDATA[\n"
- "Session sess = factory.openSession();\n"
- "try {\n"
- " //set transaction timeout to 3 seconds\n"
- " sess.getTransaction().setTimeout(3);\n"
- " sess.getTransaction().begin();\n"
- "\n"
- " // do some work\n"
- " ...\n"
- "\n"
- " sess.getTransaction().commit()\n"
- "}\n"
- "catch (RuntimeException e) {\n"
- " sess.getTransaction().rollback();\n"
- " throw e; // or display error message\n"
- "}\n"
- "finally {\n"
- " sess.close();\n"
- "}]]>"
-#: index.docbook:626
+#. Tag: para
+#: transactions.xml:616
+#, no-c-format
+msgid ""
+"Note that <literal>setTimeout()</literal> may not be called in a CMT bean, "
+"where transaction timeouts must be defined declaratively."
+msgstr ""
+"CMTãã¼ã³ã®ä¸ã§ã¯ <literal>setTimeout()</literal> ã å¼ã³åºããªããã¨ã«æ³¨æã"
+"ã¦ãã ããã ãã©ã³ã¶ã¯ã·ã§ã³ã¿ã¤ã ã¢ã¦ãã¯å®£è¨çã«å®ç¾©ãããã¹ãã§ãã"
+
+#. Tag: title
+#: transactions.xml:626
+#, no-c-format
msgid "Optimistic concurrency control"
-msgstr "CMTãã¼ã³ã®ä¸ã§ã¯ <literal>setTimeout()</literal> ã å¼ã³åºããªããã¨ã«æ³¨æãã¦ãã ããã ãã©ã³ã¶ã¯ã·ã§ã³ã¿ã¤ã ã¢ã¦ãã¯å®£è¨çã«å®ç¾©ãããã¹ãã§ãã"
-
-#: index.docbook:628
-msgid "The only approach that is consistent with high concurrency and high scalability is optimistic concurrency control with versioning. Version checking uses version numbers, or timestamps, to detect conflicting updates (and to prevent lost updates). Hibernate provides for three possible approaches to writing application code that uses optimistic concurrency. The use cases we show are in the context of long conversations, but version checking also has the benefit of preventing lost updates in single database transactions."
msgstr "楽観çåæå®è¡å¶å¾¡"
-#: index.docbook:639
+#. Tag: para
+#: transactions.xml:628
+#, no-c-format
+msgid ""
+"The only approach that is consistent with high concurrency and high "
+"scalability is optimistic concurrency control with versioning. Version "
+"checking uses version numbers, or timestamps, to detect conflicting updates "
+"(and to prevent lost updates). Hibernate provides for three possible "
+"approaches to writing application code that uses optimistic concurrency. The "
+"use cases we show are in the context of long conversations, but version "
+"checking also has the benefit of preventing lost updates in single database "
+"transactions."
+msgstr ""
+"é«ã䏦忧ã¨é«ãã¹ã±ã¼ã©ããªãã£ã®ä¸¡æ¹ãå®ç¾ããã¢ããã¼ãã¯ã ãã¼ã¸ã§ãã³ã°"
+"ã使ã£ã楽観çåæå®è¡å¶å¾¡ã®ã¿ã§ãã æ´æ°ã®è¡çªãè¦ã¤ããããã«ï¼ããã³ãæ´æ°"
+"ã失ãããã®ãé²ãããã«ï¼ã ãã¼ã¸ã§ã³çªå·ãããã¯ã¿ã¤ã ã¹ã¿ã³ãã使ã£ã¦ã"
+"ãã¼ã¸ã§ã³ããã§ãã¯ãã¾ãã Hibernateã¯ã楽観çåæå®è¡ãè¡ãã¢ããªã±ã¼ã·ã§"
+"ã³ã³ã¼ããæ¸ãããã® ã¢ããã¼ããï¼ã¤æä¾ãã¾ãã ç§ãã¡ãè¦ããã¦ã¼ã¹ã±ã¼ã¹"
+"ã¯ãé·ã対話ãæã¡ã¾ããã ãã¼ã¸ã§ã³ãã§ãã¯ã¯ã¾ã ï¼ã¤ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶"
+"ã¯ã·ã§ã³ã®ä¸ã§æ´æ°ã失ããã¨ãé²ã å©ç¹ãæã£ã¦ãã¾ãã"
+
+#. Tag: title
+#: transactions.xml:639
+#, no-c-format
msgid "Application version checking"
-msgstr "é«ã䏦忧ã¨é«ãã¹ã±ã¼ã©ããªãã£ã®ä¸¡æ¹ãå®ç¾ããã¢ããã¼ãã¯ã ãã¼ã¸ã§ãã³ã°ã使ã£ã楽観çåæå®è¡å¶å¾¡ã®ã¿ã§ãã æ´æ°ã®è¡çªãè¦ã¤ããããã«ï¼ããã³ãæ´æ°ã失ãããã®ãé²ãããã«ï¼ã ãã¼ã¸ã§ã³çªå·ãããã¯ã¿ã¤ã ã¹ã¿ã³ãã使ã£ã¦ããã¼ã¸ã§ã³ããã§ãã¯ãã¾ãã Hibernateã¯ã楽観çåæå®è¡ãè¡ãã¢ããªã±ã¼ã·ã§ã³ã³ã¼ããæ¸ãããã® ã¢ããã¼ããï¼ã¤æä¾ãã¾ãã ç§ãã¡ãè¦ããã¦ã¼ã¹ã±ã¼ã¹ã¯ãé·ã対話ãæã¡ã¾ããã ãã¼ã¸ã§ã³ãã§ãã¯ã¯ã¾ã ï¼ã¤ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§æ´æ°ã失ããã¨ãé²ã å©ç¹ãæã£ã¦ãã¾ãã"
-
-#: index.docbook:641
-msgid "In an implementation without much help from Hibernate, each interaction with the database occurs in a new <literal>Session</literal> and the developer is responsible for reloading all persistent instances from the database before manipulating them. This approach forces the application to carry out its own version checking to ensure conversation transaction isolation. This approach is the least efficient in terms of database access. It is the approach most similar to entity EJBs."
msgstr "ã¢ããªã±ã¼ã·ã§ã³ã«ãããã¼ã¸ã§ã³ãã§ãã¯"
-#: index.docbook:650
+#. Tag: para
+#: transactions.xml:641
+#, no-c-format
msgid ""
- "<![CDATA[// foo is an instance loaded by a previous Session\n"
- "session = factory.openSession();\n"
- "Transaction t = session.beginTransaction();\n"
- "\n"
- "int oldVersion = foo.getVersion();\n"
- "session.load( foo, foo.getKey() ); // load the current state\n"
- "if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();\n"
- "foo.setProperty(\"bar\");\n"
- "\n"
- "t.commit();\n"
- "session.close();]]>"
-msgstr "Hibernateã«ã»ã¨ãã©å©ãã¦ããããã«å®è£
ããã±ã¼ã¹ã§ãã ãã¼ã¿ãã¼ã¹ã¨ã®ããåãã¯ãããããæ°ãã <literal>Session</literal> ã®ä¸ã§èµ·ããã¾ãã éçºè
ã¯ããã¹ã¦ã®æ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ãæä½ããåã«ã ãã¼ã¿ãã¼ã¹ããåèªã¿è¾¼ã¿ãã責åãããã¾ãã ãã®ã¢ããã¼ãã§ã¯ã対話ãã©ã³ã¶ã¯ã·ã§ã³ã®åé¢ãå®ãããã«ã ã¢ããªã±ã¼ã·ã§ã³èªèº«ããã¼ã¸ã§ã³ãã§ãã¯ãè¡ãå¿
è¦ãããã¾ãã ãã®ã¢ããã¼ãã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ä¸ã§ã¯ãæãéå¹çã§ãã ã¨ã³ãã£ãã£EJBã¨æãä¼¼ã¦ããã¢ããã¼ãã§ãã"
+"In an implementation without much help from Hibernate, each interaction with "
+"the database occurs in a new <literal>Session</literal> and the developer is "
+"responsible for reloading all persistent instances from the database before "
+"manipulating them. This approach forces the application to carry out its own "
+"version checking to ensure conversation transaction isolation. This approach "
+"is the least efficient in terms of database access. It is the approach most "
+"similar to entity EJBs."
+msgstr ""
+"Hibernateã«ã»ã¨ãã©å©ãã¦ããããã«å®è£
ããã±ã¼ã¹ã§ãã ãã¼ã¿ãã¼ã¹ã¨ã®ãã"
+"åãã¯ãããããæ°ãã <literal>Session</literal> ã®ä¸ã§èµ·ããã¾ãã éçºè
"
+"ã¯ããã¹ã¦ã®æ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ãæä½ããåã«ã ãã¼ã¿ãã¼ã¹ããåèªã¿è¾¼ã¿ãã"
+"責åãããã¾ãã ãã®ã¢ããã¼ãã§ã¯ã対話ãã©ã³ã¶ã¯ã·ã§ã³ã®åé¢ãå®ããã"
+"ã«ã ã¢ããªã±ã¼ã·ã§ã³èªèº«ããã¼ã¸ã§ã³ãã§ãã¯ãè¡ãå¿
è¦ãããã¾ãã ãã®ã¢ã"
+"ãã¼ãã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ä¸ã§ã¯ãæãéå¹çã§ãã ã¨ã³ãã£ãã£EJBã¨æ"
+"ãä¼¼ã¦ããã¢ããã¼ãã§ãã"
-#: index.docbook:652
-msgid "The <literal>version</literal> property is mapped using <literal><version></literal>, and Hibernate will automatically increment it during flush if the entity is dirty."
+#. Tag: programlisting
+#: transactions.xml:650
+#, no-c-format
+msgid ""
+"<![CDATA[// foo is an instance loaded by a previous Session\n"
+"session = factory.openSession();\n"
+"Transaction t = session.beginTransaction();\n"
+"\n"
+"int oldVersion = foo.getVersion();\n"
+"session.load( foo, foo.getKey() ); // load the current state\n"
+"if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException"
+"();\n"
+"foo.setProperty(\"bar\");\n"
+"\n"
+"t.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[// foo is an instance loaded by a previous Session\n"
- "session = factory.openSession();\n"
- "Transaction t = session.beginTransaction();\n"
- "\n"
- "int oldVersion = foo.getVersion();\n"
- "session.load( foo, foo.getKey() ); // load the current state\n"
- "if ( oldVersion != foo.getVersion() ) throw new StaleObjectStateException();\n"
- "foo.setProperty(\"bar\");\n"
- "\n"
- "t.commit();\n"
- "session.close();]]>"
-#: index.docbook:658
-msgid "Of course, if you are operating in a low-data-concurrency environment and don't require version checking, you may use this approach and just skip the version check. In that case, <emphasis>last commit wins</emphasis> will be the default strategy for your long conversations. Keep in mind that this might confuse the users of the application, as they might experience lost updates without error messages or a chance to merge conflicting changes."
-msgstr "<literal><version></literal> ã使ã£ã¦ã<literal>version</literal> ããããã£ããããã³ã°ãã¾ãã Hibernateã¯ãã¨ã³ãã£ãã£ããã¼ãã£ã§ããå ´åããã©ãã·ã¥ãã ãã®éã« <literal>version</literal> ããããã£ãèªåçã«ã¤ã³ã¯ãªã¡ã³ããã¾ãã"
+#. Tag: para
+#: transactions.xml:652
+#, no-c-format
+msgid ""
+"The <literal>version</literal> property is mapped using <literal><"
+"version></literal>, and Hibernate will automatically increment it during "
+"flush if the entity is dirty."
+msgstr ""
+"<literal><version></literal> ã使ã£ã¦ã<literal>version</literal> ãã"
+"ããã£ããããã³ã°ãã¾ãã Hibernateã¯ãã¨ã³ãã£ãã£ããã¼ãã£ã§ããå ´åãã"
+"ã©ãã·ã¥ãã ãã®éã« <literal>version</literal> ããããã£ãèªåçã«ã¤ã³ã¯ãª"
+"ã¡ã³ããã¾ãã"
-#: index.docbook:667
-msgid "Clearly, manual version checking is only feasible in very trivial circumstances and not practical for most applications. Often not only single instances, but complete graphs of modified ojects have to be checked. Hibernate offers automatic version checking with either an extended <literal>Session</literal> or detached instances as the design paradigm."
-msgstr "ãã¡ããããã¼ã¿ã®ä¸¦åæ§ãä½ãç°å¢ã§éç¨ãã¦ããããã¼ã¸ã§ã³ãã§ãã¯ãä¸è¦ãªãã ãã®ã¢ããã¼ãã使ãããã¼ã¸ã§ã³ãã§ãã¯ãã¹ãããããã ãã§ãã ãã®å ´åã¯ãé·ã対話ã«ã¯ã <emphasis>ãæå¾ã«ã³ããããããã®ãåã¤ã</emphasis> ãããã©ã«ãã®æ¦ç¥ã§ãããã ãã®ã¢ããã¼ãã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ã¦ã¼ã¶ã¼ãæ··ä¹±ããããããããªããã¨ã å¿ã«çãã¦ç½®ãã¦ãã ãããããã¯ãã¨ã©ã¼ã¡ãã»ã¼ã¸ãç«¶åãã夿´ããã¼ã¸ããæ©ä¼ã ãªãã¾ã¾ãæ´æ°ã失ãçµé¨ãããããã§ãã"
+#. Tag: para
+#: transactions.xml:658
+#, no-c-format
+msgid ""
+"Of course, if you are operating in a low-data-concurrency environment and "
+"don't require version checking, you may use this approach and just skip the "
+"version check. In that case, <emphasis>last commit wins</emphasis> will be "
+"the default strategy for your long conversations. Keep in mind that this "
+"might confuse the users of the application, as they might experience lost "
+"updates without error messages or a chance to merge conflicting changes."
+msgstr ""
+"ãã¡ããããã¼ã¿ã®ä¸¦åæ§ãä½ãç°å¢ã§éç¨ãã¦ããããã¼ã¸ã§ã³ãã§ãã¯ãä¸è¦ãª"
+"ãã ãã®ã¢ããã¼ãã使ãããã¼ã¸ã§ã³ãã§ãã¯ãã¹ãããããã ãã§ãã ãã®å ´"
+"åã¯ãé·ã対話ã«ã¯ã <emphasis>ãæå¾ã«ã³ããããããã®ãåã¤ã</emphasis> ã"
+"ããã©ã«ãã®æ¦ç¥ã§ãããã ãã®ã¢ããã¼ãã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ã¦ã¼ã¶ã¼ãæ··ä¹±"
+"ããããããããªããã¨ã å¿ã«çãã¦ç½®ãã¦ãã ãããããã¯ãã¨ã©ã¼ã¡ãã»ã¼ã¸ã"
+"ç«¶åãã夿´ããã¼ã¸ããæ©ä¼ã ãªãã¾ã¾ãæ´æ°ã失ãçµé¨ãããããã§ãã"
-#: index.docbook:678
+#. Tag: para
+#: transactions.xml:667
+#, no-c-format
+msgid ""
+"Clearly, manual version checking is only feasible in very trivial "
+"circumstances and not practical for most applications. Often not only single "
+"instances, but complete graphs of modified ojects have to be checked. "
+"Hibernate offers automatic version checking with either an extended "
+"<literal>Session</literal> or detached instances as the design paradigm."
+msgstr ""
+"確ãã«ãããã¥ã¢ã«ã«ãããã¼ã¸ã§ã³ãã§ãã¯ã¯ãäºç´°ãªåå¼ã ãã§å®è¡ã§ãã¾ã"
+"ãã å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦å®ç¨çã§ã¯ããã¾ããã ãã°ãã°ãï¼ã¤ã®ã¤"
+"ã³ã¹ã¿ã³ã¹ã ãã§ãªãã ä¿®æ£ããããªãã¸ã§ã¯ãã®å®å
¨ãªã°ã©ãããã§ãã¯ããªãã"
+"ã°ãªãã¾ããã Hibernateã¯ãè¨è¨ãã©ãã¤ã ã¨ãã¦ãæ¡å¼µ <literal>Session</"
+"literal> ã åé¢ãããã¤ã³ã¹ã¿ã³ã¹ãèªåçã«ãã¼ã¸ã§ã³ãã§ãã¯ãã¾ãã"
+
+#. Tag: title
+#: transactions.xml:678
+#, no-c-format
msgid "Extended session and automatic versioning"
-msgstr "確ãã«ãããã¥ã¢ã«ã«ãããã¼ã¸ã§ã³ãã§ãã¯ã¯ãäºç´°ãªåå¼ã ãã§å®è¡ã§ãã¾ããã å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¨ã£ã¦å®ç¨çã§ã¯ããã¾ããã ãã°ãã°ãï¼ã¤ã®ã¤ã³ã¹ã¿ã³ã¹ã ãã§ãªãã ä¿®æ£ããããªãã¸ã§ã¯ãã®å®å
¨ãªã°ã©ãããã§ãã¯ããªããã°ãªãã¾ããã Hibernateã¯ãè¨è¨ãã©ãã¤ã ã¨ãã¦ãæ¡å¼µ <literal>Session</literal> ã åé¢ãããã¤ã³ã¹ã¿ã³ã¹ãèªåçã«ãã¼ã¸ã§ã³ãã§ãã¯ãã¾ãã"
-
-#: index.docbook:680
-msgid "A single <literal>Session</literal> instance and its persistent instances are used for the whole conversation, known as <emphasis>session-per-conversation</emphasis>. Hibernate checks instance versions at flush time, throwing an exception if concurrent modification is detected. It's up to the developer to catch and handle this exception (common options are the opportunity for the user to merge changes or to restart the business conversation with non-stale data)."
msgstr "æ¡å¼µã»ãã·ã§ã³ã¨èªåãã¼ã¸ã§ãã³ã°"
-#: index.docbook:689
-msgid "The <literal>Session</literal> is disconnected from any underlying JDBC connection when waiting for user interaction. This approach is the most efficient in terms of database access. The application need not concern itself with version checking or with reattaching detached instances, nor does it have to reload instances in every database transaction."
-msgstr "ï¼ã¤ã® <literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ã¨ãã®æ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ã¯ã <emphasis>session-per-conversation</emphasis> ã¨ãã¦ç¥ãããã 対話å
¨ä½ã§ä½¿ããã¾ãã Hibernateã¯ãã©ãã·ã¥ããéã«ãã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã¸ã§ã³ããã§ãã¯ãã¾ãã åæã«ä¿®æ£ããããã¨ãæ¤åºããã¨ãä¾å¤ãæãã¾ãã ãã®ä¾å¤ããã£ãããã¦æ±ãã®ã¯ãéçºè
ã®è²¬ä»»ã§ã ï¼ä¸è¬çãªé¸æè¢ã¯ã夿´ããã¼ã¸ãããå¤ããªããã¼ã¿ã§ãã¸ãã¹å¯¾è©±ã åã¹ã¿ã¼ãããæ©ä¼ãã¦ã¼ã¶ã¼ã«æä¾ãããã¨ã§ãï¼ã"
+#. Tag: para
+#: transactions.xml:680
+#, no-c-format
+msgid ""
+"A single <literal>Session</literal> instance and its persistent instances "
+"are used for the whole conversation, known as <emphasis>session-per-"
+"conversation</emphasis>. Hibernate checks instance versions at flush time, "
+"throwing an exception if concurrent modification is detected. It's up to the "
+"developer to catch and handle this exception (common options are the "
+"opportunity for the user to merge changes or to restart the business "
+"conversation with non-stale data)."
+msgstr ""
+"ï¼ã¤ã® <literal>Session</literal> ã¤ã³ã¹ã¿ã³ã¹ã¨ãã®æ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ã¯ã "
+"<emphasis>session-per-conversation</emphasis> ã¨ãã¦ç¥ãããã 対話å
¨ä½ã§ä½¿ã"
+"ãã¾ãã Hibernateã¯ãã©ãã·ã¥ããéã«ãã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã¸ã§ã³ããã§ãã¯ã"
+"ã¾ãã åæã«ä¿®æ£ããããã¨ãæ¤åºããã¨ãä¾å¤ãæãã¾ãã ãã®ä¾å¤ããã£ãã"
+"ãã¦æ±ãã®ã¯ãéçºè
ã®è²¬ä»»ã§ã ï¼ä¸è¬çãªé¸æè¢ã¯ã夿´ããã¼ã¸ãããå¤ããªã"
+"ãã¼ã¿ã§ãã¸ãã¹å¯¾è©±ã åã¹ã¿ã¼ãããæ©ä¼ãã¦ã¼ã¶ã¼ã«æä¾ãããã¨ã§ãï¼ã"
-#: index.docbook:697
+#. Tag: para
+#: transactions.xml:689
+#, no-c-format
msgid ""
- "<![CDATA[// foo is an instance loaded earlier by the old session\n"
- "Transaction t = session.beginTransaction(); // Obtain a new JDBC connection, start transaction\n"
- "\n"
- "foo.setProperty(\"bar\");\n"
- "\n"
- "session.flush(); // Only for last transaction in conversation\n"
- "t.commit(); // Also return JDBC connection\n"
- "session.close(); // Only for last transaction in conversation]]>"
-msgstr "ã¦ã¼ã¶ã¼ã®å¯¾è©±ãå¾
ã£ã¦ããã¨ãã¯ã <literal>Session</literal> ãåºç¤ã¨ãªãJDBCã³ãã¯ã·ã§ã³ããåãé¢ãã¾ãã ãã®ã¢ããã¼ãã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ä¸ã§ã¯ãæãå¹ççã§ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼ã¸ã§ã³ãã§ãã¯ãåé¢ãããã¤ã³ã¹ã¿ã³ã¹ãå追å ããã㨠ã«é¢å¿ãæã¤å¿
è¦ã¯ããã¾ãããã¾ãããããããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§ ã¤ã³ã¹ã¿ã³ã¹ãåèªã¿è¾¼ã¿ããå¿
è¦ã¯ããã¾ããã"
+"The <literal>Session</literal> is disconnected from any underlying JDBC "
+"connection when waiting for user interaction. This approach is the most "
+"efficient in terms of database access. The application need not concern "
+"itself with version checking or with reattaching detached instances, nor "
+"does it have to reload instances in every database transaction."
+msgstr ""
+"ã¦ã¼ã¶ã¼ã®å¯¾è©±ãå¾
ã£ã¦ããã¨ãã¯ã <literal>Session</literal> ãåºç¤ã¨ãªã"
+"JDBCã³ãã¯ã·ã§ã³ããåãé¢ãã¾ãã ãã®ã¢ããã¼ãã¯ããã¼ã¿ãã¼ã¹ã¢ã¯ã»ã¹ã®ä¸"
+"ã§ã¯ãæãå¹ççã§ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ããã¼ã¸ã§ã³ãã§ãã¯ãåé¢ãããã¤ã³"
+"ã¹ã¿ã³ã¹ãå追å ããã㨠ã«é¢å¿ãæã¤å¿
è¦ã¯ããã¾ãããã¾ãããããããã¼ã¿"
+"ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ä¸ã§ ã¤ã³ã¹ã¿ã³ã¹ãåèªã¿è¾¼ã¿ããå¿
è¦ã¯ããã¾ããã"
-#: index.docbook:698
-msgid "The <literal>foo</literal> object still knows which <literal>Session</literal> it was loaded in. Beginning a new database transaction on an old session obtains a new connection and resumes the session. Committing a database transaction disconnects a session from the JDBC connection and returns the connection to the pool. After reconnection, to force a version check on data you aren't updating, you may call <literal>Session.lock()</literal> with <literal>LockMode.READ</literal> on any objects that might have been updated by another transaction. You don't need to lock any data that you <emphasis>are</emphasis> updating. Usually you would set <literal>FlushMode.MANUAL</literal> on an extended <literal>Session</literal>, so that only the last database transaction cycle is allowed to actually persist all modifications made in this conversation. Hence, only this last database transaction would include the <literal>flush()</literal> operation, and then also <literal>close()!
</literal> the session to end the conversation."
+#. Tag: programlisting
+#: transactions.xml:697
+#, no-c-format
+msgid ""
+"<![CDATA[// foo is an instance loaded earlier by the old session\n"
+"Transaction t = session.beginTransaction(); // Obtain a new JDBC connection, "
+"start transaction\n"
+"\n"
+"foo.setProperty(\"bar\");\n"
+"\n"
+"session.flush(); // Only for last transaction in conversation\n"
+"t.commit(); // Also return JDBC connection\n"
+"session.close(); // Only for last transaction in conversation]]>"
msgstr ""
- "<![CDATA[// foo is an instance loaded earlier by the old session\n"
- "Transaction t = session.beginTransaction(); // Obtain a new JDBC connection, start transaction\n"
- "\n"
- "foo.setProperty(\"bar\");\n"
- "\n"
- "session.flush(); // Only for last transaction in conversation\n"
- "t.commit(); // Also return JDBC connection\n"
- "session.close(); // Only for last transaction in conversation]]>"
-#: index.docbook:713
-msgid "This pattern is problematic if the <literal>Session</literal> is too big to be stored during user think time, e.g. an <literal>HttpSession</literal> should be kept as small as possible. As the <literal>Session</literal> is also the (mandatory) first-level cache and contains all loaded objects, we can probably use this strategy only for a few request/response cycles. You should use a <literal>Session</literal> only for a single conversation, as it will soon also have stale data."
-msgstr "<literal>foo</literal> ãªãã¸ã§ã¯ãã¯ãèªåããã¼ããã <literal>Session</literal> ãã¾ã ç¥ã£ã¦ãã¾ãã å¤ãã»ãã·ã§ã³ã®ä¸ã§æ°ãããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ãããã¨ã§ã æ°ããã³ãã¯ã·ã§ã³ãåå¾ãããã®ã»ãã·ã§ã³ãåéããã¾ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã³ããããããã¨ã§ã ã»ãã·ã§ã³ããJDBCã³ãã¯ã·ã§ã³ãåæããã³ãã¯ã·ã§ã³ããã¼ã«ã«è¿ãã¾ãã 忥ç¶ããå¾ãæ´æ°ãã¦ããªããã¼ã¿ã®ãã¼ã¸ã§ã³ãã§ãã¯ãå¼·å¶ããããã«ã ä»ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«ããæ´æ°ããã¦ãããããããªããªãã¸ã§ã¯ãã«é¢ãã¦ã <literal>LockMode.READ</literal> ãã¤ã㦠<literal>Session.lock()</literal> ãå¼ã³åºããã¨ãã§ãã¾ãã æ´æ°ã㦠<emphasis>ãã</emphasis> ãã¼ã¿ãããã¯ããå¿
è¦ã¯ããã¾ããã éå¸¸ãæ¡å¼µ <literal>Session<!
/literal> ã« <literal>FlushMode.MANUAL</literal> ãã»ãããã¾ãã æå¾ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®å¨æã§ã®ã¿ã 対話ã®ä¸ã§å¤æ´ããããã¹ã¦ãå®éã«æ°¸ç¶åãããããã§ãã ããã«ãæå¾ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ã¿ <literal>flush()</literal> ãªãã¬ã¼ã·ã§ã³ãå«ã¿ã¾ããããã¦ã対話ãçµããããããã«ã ã»ãã·ã§ã³ã <literal>close()</literal> ãã¾ãã"
+#. Tag: para
+#: transactions.xml:698
+#, no-c-format
+msgid ""
+"The <literal>foo</literal> object still knows which <literal>Session</"
+"literal> it was loaded in. Beginning a new database transaction on an old "
+"session obtains a new connection and resumes the session. Committing a "
+"database transaction disconnects a session from the JDBC connection and "
+"returns the connection to the pool. After reconnection, to force a version "
+"check on data you aren't updating, you may call <literal>Session.lock()</"
+"literal> with <literal>LockMode.READ</literal> on any objects that might "
+"have been updated by another transaction. You don't need to lock any data "
+"that you <emphasis>are</emphasis> updating. Usually you would set "
+"<literal>FlushMode.MANUAL</literal> on an extended <literal>Session</"
+"literal>, so that only the last database transaction cycle is allowed to "
+"actually persist all modifications made in this conversation. Hence, only "
+"this last database transaction would include the <literal>flush()</literal> "
+"operation, and then also <literal>close()</literal> the session to end the "
+"conversation."
+msgstr ""
+"<literal>foo</literal> ãªãã¸ã§ã¯ãã¯ãèªåããã¼ããã <literal>Session</"
+"literal> ãã¾ã ç¥ã£ã¦ãã¾ãã å¤ãã»ãã·ã§ã³ã®ä¸ã§æ°ãããã¼ã¿ãã¼ã¹ãã©ã³ã¶"
+"ã¯ã·ã§ã³ãéå§ãããã¨ã§ã æ°ããã³ãã¯ã·ã§ã³ãåå¾ãããã®ã»ãã·ã§ã³ãåéã"
+"ãã¾ãã ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãã³ããããããã¨ã§ã ã»ãã·ã§ã³ãã"
+"JDBCã³ãã¯ã·ã§ã³ãåæããã³ãã¯ã·ã§ã³ããã¼ã«ã«è¿ãã¾ãã 忥ç¶ããå¾ãæ´æ°"
+"ãã¦ããªããã¼ã¿ã®ãã¼ã¸ã§ã³ãã§ãã¯ãå¼·å¶ããããã«ã ä»ã®ãã©ã³ã¶ã¯ã·ã§ã³ã«"
+"ããæ´æ°ããã¦ãããããããªããªãã¸ã§ã¯ãã«é¢ãã¦ã <literal>LockMode.READ</"
+"literal> ãã¤ã㦠<literal>Session.lock()</literal> ãå¼ã³åºããã¨ãã§ãã¾"
+"ãã æ´æ°ã㦠<emphasis>ãã</emphasis> ãã¼ã¿ãããã¯ããå¿
è¦ã¯ããã¾ããã "
+"éå¸¸ãæ¡å¼µ <literal>Session</literal> ã« <literal>FlushMode.MANUAL</literal> "
+"ãã»ãããã¾ãã æå¾ã®ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®å¨æã§ã®ã¿ã 対話ã®ä¸ã§"
+"夿´ããããã¹ã¦ãå®éã«æ°¸ç¶åãããããã§ãã ããã«ãæå¾ã®ãã¼ã¿ãã¼ã¹ãã©"
+"ã³ã¶ã¯ã·ã§ã³ã®ã¿ <literal>flush()</literal> ãªãã¬ã¼ã·ã§ã³ãå«ã¿ã¾ãããã"
+"ã¦ã対話ãçµããããããã«ã ã»ãã·ã§ã³ã <literal>close()</literal> ãã¾ãã"
-#: index.docbook:723
-msgid "(Note that earlier Hibernate versions required explicit disconnection and reconnection of a <literal>Session</literal>. These methods are deprecated, as beginning and ending a transaction has the same effect.)"
-msgstr "ã¦ã¼ã¶ã¼ãèæ
®ä¸ã«ãæ ¼ç´ãããã¨ãã§ããªãããã <literal>Session</literal> ã大ããã®ã§ããã°ããã®ãã¿ã¼ã³ã¯åé¡ãããã¾ãã ä¾ãã°ã<literal>HttpSession</literal> ã¯å¯è½ãªéãå°ããä¿ã¤ã¹ãã§ãã <literal>Session</literal> ã¯ï¼å¼·å¶çã«ï¼ï¼æ¬¡ãã£ãã·ã¥ã§ãããã ãã¼ããããªãã¸ã§ã¯ãããã¹ã¦ä¿æãã¾ãã ããããããªã¯ã¨ã¹ãï¼ã¬ã¹ãã³ã¹ã®ãµã¤ã¯ã«ãæ°åã§ããã°ããã®æ¦ç¥ã使ãã¾ãã ï¼ã¤ã®å¯¾è©±ã®ããã ãã« <literal>Session</literal> ã使ãã¹ãã§ãã ãªããªããããã«æ°é®®ã§ãªããã¼ã¿ãæã¤ããã§ãã"
+#. Tag: para
+#: transactions.xml:713
+#, no-c-format
+msgid ""
+"This pattern is problematic if the <literal>Session</literal> is too big to "
+"be stored during user think time, e.g. an <literal>HttpSession</literal> "
+"should be kept as small as possible. As the <literal>Session</literal> is "
+"also the (mandatory) first-level cache and contains all loaded objects, we "
+"can probably use this strategy only for a few request/response cycles. You "
+"should use a <literal>Session</literal> only for a single conversation, as "
+"it will soon also have stale data."
+msgstr ""
+"ã¦ã¼ã¶ã¼ãèæ
®ä¸ã«ãæ ¼ç´ãããã¨ãã§ããªãããã <literal>Session</literal> "
+"ã大ããã®ã§ããã°ããã®ãã¿ã¼ã³ã¯åé¡ãããã¾ãã ä¾ãã°ã"
+"<literal>HttpSession</literal> ã¯å¯è½ãªéãå°ããä¿ã¤ã¹ãã§ãã "
+"<literal>Session</literal> ã¯ï¼å¼·å¶çã«ï¼ï¼æ¬¡ãã£ãã·ã¥ã§ãããã ãã¼ããã"
+"ãªãã¸ã§ã¯ãããã¹ã¦ä¿æãã¾ãã ããããããªã¯ã¨ã¹ãï¼ã¬ã¹ãã³ã¹ã®ãµã¤ã¯ã«ã"
+"æ°åã§ããã°ããã®æ¦ç¥ã使ãã¾ãã ï¼ã¤ã®å¯¾è©±ã®ããã ãã« <literal>Session</"
+"literal> ã使ãã¹ãã§ãã ãªããªããããã«æ°é®®ã§ãªããã¼ã¿ãæã¤ããã§ãã"
-#: index.docbook:729
-msgid "Also note that you should keep the disconnected <literal>Session</literal> close to the persistence layer. In other words, use an EJB stateful session bean to hold the <literal>Session</literal> in a three-tier environment, and don't transfer it to the web layer (or even serialize it to a separate tier) to store it in the <literal>HttpSession</literal>."
-msgstr "ï¼Hibernateã®ä»¥åã®ãã¼ã¸ã§ã³ã¯ãæç¤ºç㪠<literal>Session</literal> ã® åæã¨åæ¥ç¶ãå¿
è¦ã ã£ããã¨ã«æ³¨æãã¦ãã ããã ãããã®ã¡ã½ããã¯éæ¨å¥¨ã«ãªãã¾ããã ãªããªãããã©ã³ã¶ã¯ã·ã§ã³ã®éå§ã¨çµäºã¯åã广ãããããã§ããï¼"
+#. Tag: para
+#: transactions.xml:723
+#, no-c-format
+msgid ""
+"(Note that earlier Hibernate versions required explicit disconnection and "
+"reconnection of a <literal>Session</literal>. These methods are deprecated, "
+"as beginning and ending a transaction has the same effect.)"
+msgstr ""
+"ï¼Hibernateã®ä»¥åã®ãã¼ã¸ã§ã³ã¯ãæç¤ºç㪠<literal>Session</literal> ã® åæ"
+"ã¨åæ¥ç¶ãå¿
è¦ã ã£ããã¨ã«æ³¨æãã¦ãã ããã ãããã®ã¡ã½ããã¯éæ¨å¥¨ã«ãªãã¾"
+"ããã ãªããªãããã©ã³ã¶ã¯ã·ã§ã³ã®éå§ã¨çµäºã¯åã广ãããããã§ããï¼"
-#: index.docbook:737
-msgid "The extended session pattern, or <emphasis>session-per-conversation</emphasis>, is more difficult to implement with automatic current session context management. You need to supply your own implementation of the <literal>CurrentSessionContext</literal> for this, see the Hibernate Wiki for examples."
-msgstr "åæãã <literal>Session</literal> ãæ°¸ç¶å層ã®è¿ãã§ä¿æãã¹ãã§ãããã¨ã« 注æãã¦ãã ããã è¨ãæããã¨ãï¼å±¤ç°å¢ã®ä¸ã§ <literal>Session</literal> ãä¿æããããã«ã EJBã¹ãã¼ããã«ã»ãã·ã§ã³Beanã使ã£ã¦ãã ããã <literal>HttpSession</literal> ã«æ ¼ç´ããããã«ãWeb層ã«è»¢éããªãã§ãã ãã ï¼å¥ã®å±¤ã¸ã®ã·ãªã¢ã©ã¤ãºãããªãã§ãã ããï¼ã"
+#. Tag: para
+#: transactions.xml:729
+#, no-c-format
+msgid ""
+"Also note that you should keep the disconnected <literal>Session</literal> "
+"close to the persistence layer. In other words, use an EJB stateful session "
+"bean to hold the <literal>Session</literal> in a three-tier environment, and "
+"don't transfer it to the web layer (or even serialize it to a separate tier) "
+"to store it in the <literal>HttpSession</literal>."
+msgstr ""
+"åæãã <literal>Session</literal> ãæ°¸ç¶å層ã®è¿ãã§ä¿æãã¹ãã§ãããã¨ã« "
+"注æãã¦ãã ããã è¨ãæããã¨ãï¼å±¤ç°å¢ã®ä¸ã§ <literal>Session</literal> ã"
+"ä¿æããããã«ã EJBã¹ãã¼ããã«ã»ãã·ã§ã³Beanã使ã£ã¦ãã ããã "
+"<literal>HttpSession</literal> ã«æ ¼ç´ããããã«ãWeb層ã«è»¢éããªãã§ãã ãã "
+"ï¼å¥ã®å±¤ã¸ã®ã·ãªã¢ã©ã¤ãºãããªãã§ãã ããï¼ã"
-#: index.docbook:747
+#. Tag: para
+#: transactions.xml:737
+#, no-c-format
+msgid ""
+"The extended session pattern, or <emphasis>session-per-conversation</"
+"emphasis>, is more difficult to implement with automatic current session "
+"context management. You need to supply your own implementation of the "
+"<literal>CurrentSessionContext</literal> for this, see the Hibernate Wiki "
+"for examples."
+msgstr ""
+"æ¡å¼µã»ãã·ã§ã³ãã¿ã¼ã³ï¼ãããã¯ã<emphasis>session-per-conversation</"
+"emphasis>ï¼ã¯ã èªåçãªã«ã¬ã³ãã»ãã·ã§ã³ã³ã³ããã¹ã管çã宿½ããããé£ã"
+"ãã ãã®ããã«ãããªã㯠<literal>CurrentSessionContext</literal> ã®å®è£
ãä¾"
+"給ããå¿
è¦ãããã¾ãã Hibernate Wikiã«ããä¾ãåç
§ãã¦ãã ããã"
+
+#. Tag: title
+#: transactions.xml:747
+#, no-c-format
msgid "Detached objects and automatic versioning"
-msgstr "æ¡å¼µã»ãã·ã§ã³ãã¿ã¼ã³ï¼ãããã¯ã<emphasis>session-per-conversation</emphasis>ï¼ã¯ã èªåçãªã«ã¬ã³ãã»ãã·ã§ã³ã³ã³ããã¹ã管çã宿½ããããé£ããã ãã®ããã«ãããªã㯠<literal>CurrentSessionContext</literal> ã®å®è£
ãä¾çµ¦ããå¿
è¦ãããã¾ãã Hibernate Wikiã«ããä¾ãåç
§ãã¦ãã ããã"
-
-#: index.docbook:749
-msgid "Each interaction with the persistent store occurs in a new <literal>Session</literal>. However, the same persistent instances are reused for each interaction with the database. The application manipulates the state of detached instances originally loaded in another <literal>Session</literal> and then reattaches them using <literal>Session.update()</literal>, <literal>Session.saveOrUpdate()</literal>, or <literal>Session.merge()</literal>."
msgstr "ãã¿ããããããªãã¸ã§ã¯ãã¨èªåãã¼ã¸ã§ãã³ã°"
-#: index.docbook:757
+#. Tag: para
+#: transactions.xml:749
+#, no-c-format
msgid ""
- "<![CDATA[// foo is an instance loaded by a previous Session\n"
- "foo.setProperty(\"bar\");\n"
- "session = factory.openSession();\n"
- "Transaction t = session.beginTransaction();\n"
- "session.saveOrUpdate(foo); // Use merge() if \"foo\" might have been loaded already\n"
- "t.commit();\n"
- "session.close();]]>"
-msgstr "æ°ãã <literal>Session</literal>ã«ãããæ°¸ç¶åã¹ãã¢ï¼è¨³æ³¨ï¼ï¼¤ï¼¢ï¼ã¨ã®å¯¾è©±ãçºçãã¾ãã ã¾ã䏿¹ãåãæ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ãããã¼ã¿ãã¼ã¹ã¨ã®å¯¾è©±ãã¨ã«åå©ç¨ããã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãå
ã
ã¯ä»ã® <literal>Session</literal> ã§ãã¼ãããã ãã¿ãããããã¤ã³ã¹ã¿ã³ã¹ã®ç¶æ
ãæä½ãã¾ãã ããã¦ã<literal>Session.update()</literal> ãããã¯ã<literal>Session.saveOrUpdate()</literal>ã <literal>Session.merge()</literal> ã使ã£ã¦ããããã®ã¤ã³ã¹ã¿ã³ã¹ãå追å ãã¾ãã"
+"Each interaction with the persistent store occurs in a new <literal>Session</"
+"literal>. However, the same persistent instances are reused for each "
+"interaction with the database. The application manipulates the state of "
+"detached instances originally loaded in another <literal>Session</literal> "
+"and then reattaches them using <literal>Session.update()</literal>, "
+"<literal>Session.saveOrUpdate()</literal>, or <literal>Session.merge()</"
+"literal>."
+msgstr ""
+"æ°ãã <literal>Session</literal>ã«ãããæ°¸ç¶åã¹ãã¢ï¼è¨³æ³¨ï¼ï¼¤ï¼¢ï¼ã¨ã®å¯¾è©±ã"
+"çºçãã¾ãã ã¾ã䏿¹ãåãæ°¸ç¶æ§ã¤ã³ã¹ã¿ã³ã¹ãããã¼ã¿ãã¼ã¹ã¨ã®å¯¾è©±ãã¨ã«å"
+"å©ç¨ããã¾ãã ã¢ããªã±ã¼ã·ã§ã³ã¯ãå
ã
ã¯ä»ã® <literal>Session</literal> ã§"
+"ãã¼ãããã ãã¿ãããããã¤ã³ã¹ã¿ã³ã¹ã®ç¶æ
ãæä½ãã¾ãã ããã¦ã"
+"<literal>Session.update()</literal> ãããã¯ã<literal>Session.saveOrUpdate()"
+"</literal>ã <literal>Session.merge()</literal> ã使ã£ã¦ããããã®ã¤ã³ã¹ã¿ã³"
+"ã¹ãå追å ãã¾ãã"
-#: index.docbook:759
-msgid "Again, Hibernate will check instance versions during flush, throwing an exception if conflicting updates occured."
+#. Tag: programlisting
+#: transactions.xml:757
+#, no-c-format
+msgid ""
+"<![CDATA[// foo is an instance loaded by a previous Session\n"
+"foo.setProperty(\"bar\");\n"
+"session = factory.openSession();\n"
+"Transaction t = session.beginTransaction();\n"
+"session.saveOrUpdate(foo); // Use merge() if \"foo\" might have been loaded "
+"already\n"
+"t.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[// foo is an instance loaded by a previous Session\n"
- "foo.setProperty(\"bar\");\n"
- "session = factory.openSession();\n"
- "Transaction t = session.beginTransaction();\n"
- "session.saveOrUpdate(foo); // Use merge() if \"foo\" might have been loaded already\n"
- "t.commit();\n"
- "session.close();]]>"
-#: index.docbook:764
-msgid "You may also call <literal>lock()</literal> instead of <literal>update()</literal> and use <literal>LockMode.READ</literal> (performing a version check, bypassing all caches) if you are sure that the object has not been modified."
-msgstr "ãã®å ´åããã¯ããHibernateã¯ãã©ãã·ã¥ããéã«ãã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã¸ã§ã³ããã§ãã¯ãã¾ãã æ´æ°ã®ç«¶åãçºçããå ´åã«ã¯ãä¾å¤ãæãã¾ãã"
+#. Tag: para
+#: transactions.xml:759
+#, no-c-format
+msgid ""
+"Again, Hibernate will check instance versions during flush, throwing an "
+"exception if conflicting updates occured."
+msgstr ""
+"ãã®å ´åããã¯ããHibernateã¯ãã©ãã·ã¥ããéã«ãã¤ã³ã¹ã¿ã³ã¹ã®ãã¼ã¸ã§ã³ã"
+"ãã§ãã¯ãã¾ãã æ´æ°ã®ç«¶åãçºçããå ´åã«ã¯ãä¾å¤ãæãã¾ãã"
-#: index.docbook:773
+#. Tag: para
+#: transactions.xml:764
+#, no-c-format
+msgid ""
+"You may also call <literal>lock()</literal> instead of <literal>update()</"
+"literal> and use <literal>LockMode.READ</literal> (performing a version "
+"check, bypassing all caches) if you are sure that the object has not been "
+"modified."
+msgstr ""
+"ãªãã¸ã§ã¯ããä¿®æ£ããã¦ããªããã¨ã確信ãã¦ããå ´åã¯ã <literal>update()</"
+"literal> ã®ä»£ããã«ã<literal>LockMode.READ</literal> ã使ã£ã¦ã "
+"<literal>lock()</literal> ãå¼ã³åºããã¨ãã§ãã¾ã ï¼ãã¹ã¦ã®ãã£ãã·ã¥ãè¿å"
+"ãããã¼ã¸ã§ã³ãã§ãã¯ã宿½ãã¾ãï¼ã"
+
+#. Tag: title
+#: transactions.xml:773
+#, no-c-format
msgid "Customizing automatic versioning"
-msgstr "ãªãã¸ã§ã¯ããä¿®æ£ããã¦ããªããã¨ã確信ãã¦ããå ´åã¯ã <literal>update()</literal> ã®ä»£ããã«ã<literal>LockMode.READ</literal> ã使ã£ã¦ã <literal>lock()</literal> ãå¼ã³åºããã¨ãã§ãã¾ã ï¼ãã¹ã¦ã®ãã£ãã·ã¥ãè¿åãããã¼ã¸ã§ã³ãã§ãã¯ã宿½ãã¾ãï¼ã"
-
-#: index.docbook:775
-msgid "You may disable Hibernate's automatic version increment for particular properties and collections by setting the <literal>optimistic-lock</literal> mapping attribute to <literal>false</literal>. Hibernate will then no longer increment versions if the property is dirty."
msgstr "èªåãã¼ã¸ã§ãã³ã°ã®ã«ã¹ã¿ãã¤ãº"
-#: index.docbook:782
-msgid "Legacy database schemas are often static and can't be modified. Or, other applications might also access the same database and don't know how to handle version numbers or even timestamps. In both cases, versioning can't rely on a particular column in a table. To force a version check without a version or timestamp property mapping, with a comparison of the state of all fields in a row, turn on <literal>optimistic-lock=\"all\"</literal> in the <literal><class></literal> mapping. Note that this concepetually only works if Hibernate can compare the old and new state, i.e. if you use a single long <literal>Session</literal> and not session-per-request-with-detached-objects."
-msgstr "ãããã³ã°ã® <literal>optimistic-lock</literal> 屿§ã« <literal>false</literal> ãè¨å®ãããã¨ã«ãããç¹å®ã®ããããã£ãã³ã¬ã¯ã·ã§ã³ã®ããã« èªåãã¼ã¸ã§ã³ã¤ã³ã¯ãªã¡ã³ããç¡å¹ã«ã§ãã¾ãã ããããã£ããã¼ãã£ã§ãã£ã¦ãããã¼ã¸ã§ã³ãã¤ã³ã¯ãªã¡ã³ããã¾ããã"
+#. Tag: para
+#: transactions.xml:775
+#, no-c-format
+msgid ""
+"You may disable Hibernate's automatic version increment for particular "
+"properties and collections by setting the <literal>optimistic-lock</literal> "
+"mapping attribute to <literal>false</literal>. Hibernate will then no longer "
+"increment versions if the property is dirty."
+msgstr ""
+"ãããã³ã°ã® <literal>optimistic-lock</literal> 屿§ã« <literal>false</"
+"literal> ãè¨å®ãããã¨ã«ãããç¹å®ã®ããããã£ãã³ã¬ã¯ã·ã§ã³ã®ããã« èªå"
+"ãã¼ã¸ã§ã³ã¤ã³ã¯ãªã¡ã³ããç¡å¹ã«ã§ãã¾ãã ããããã£ããã¼ãã£ã§ãã£ã¦ãã"
+"ãã¼ã¸ã§ã³ãã¤ã³ã¯ãªã¡ã³ããã¾ããã"
-#: index.docbook:793
-msgid "Sometimes concurrent modification can be permitted as long as the changes that have been made don't overlap. If you set <literal>optimistic-lock=\"dirty\"</literal> when mapping the <literal><class></literal>, Hibernate will only compare dirty fields during flush."
-msgstr "ã¬ã¬ã·ã¼ã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯ããã°ãã°åºå®çã§ããã夿´ã§ãã¾ããã ã¾ãã¯ãä»ã®ã¢ããªã±ã¼ã·ã§ã³ãåããã¼ã¿ãã¼ã¹ã«ã¢ã¯ã»ã¹ããªããã°ãªããã ãã®ã¢ããªã±ã¼ã·ã§ã³ã¯ãã¼ã¸ã§ã³çªå·ãã¿ã¤ã ã¹ã¿ã³ãããæä½ããæ¹æ³ãç¥ãã¾ããã ã©ã¡ãã®å ´åãããã¼ãã«ã®ç¹å®ã®ã«ã©ã ãå½ã¦ã«ãã¦ããã¼ã¸ã§ãã³ã°ãè¡ãã¾ããã ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ããããã³ã°ããã«ããã¼ã¸ã§ã³ãã§ãã¯ãããããã«ã <literal><class></literal> ãããã³ã°ã« <literal>optimistic-lock=\"all\"</literal> ã æå®ãã¦ãã ããã è¡ã®ãã¹ã¦ã®ãã£ã¼ã«ãã®ç¶æ
ãæ¯è¼ããããã«ãªãã¾ãã ããã¯ãHibernateãå¤ãç¶æ
ã¨æ°ããç¶æ
ãæ¯è¼ã§ããå ´åã«ã çè«çã«åä½ããã ãã§ãããã¨ã«æ³¨æãã¦ãã ããã ä¾ãã!
°ãsession-per-request-with-detached-objects ã§ã¯ãªãã ï¼ã¤ã®é·ã <literal>Session</literal> ã使ãå ´åã§ãã"
+#. Tag: para
+#: transactions.xml:782
+#, no-c-format
+msgid ""
+"Legacy database schemas are often static and can't be modified. Or, other "
+"applications might also access the same database and don't know how to "
+"handle version numbers or even timestamps. In both cases, versioning can't "
+"rely on a particular column in a table. To force a version check without a "
+"version or timestamp property mapping, with a comparison of the state of all "
+"fields in a row, turn on <literal>optimistic-lock=\"all\"</literal> in the "
+"<literal><class></literal> mapping. Note that this concepetually only "
+"works if Hibernate can compare the old and new state, i.e. if you use a "
+"single long <literal>Session</literal> and not session-per-request-with-"
+"detached-objects."
+msgstr ""
+"ã¬ã¬ã·ã¼ã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯ããã°ãã°åºå®çã§ããã夿´ã§ãã¾ããã ã¾ã"
+"ã¯ãä»ã®ã¢ããªã±ã¼ã·ã§ã³ãåããã¼ã¿ãã¼ã¹ã«ã¢ã¯ã»ã¹ããªããã°ãªããã ãã®ã¢"
+"ããªã±ã¼ã·ã§ã³ã¯ãã¼ã¸ã§ã³çªå·ãã¿ã¤ã ã¹ã¿ã³ãããæä½ããæ¹æ³ãç¥ãã¾ããã "
+"ã©ã¡ãã®å ´åãããã¼ãã«ã®ç¹å®ã®ã«ã©ã ãå½ã¦ã«ãã¦ããã¼ã¸ã§ãã³ã°ãè¡ãã¾ã"
+"ãã ãã¼ã¸ã§ã³ãã¿ã¤ã ã¹ã¿ã³ãã®ããããã£ããããã³ã°ããã«ããã¼ã¸ã§ã³"
+"ãã§ãã¯ãããããã«ã <literal><class></literal> ãããã³ã°ã« "
+"<literal>optimistic-lock=\"all\"</literal> ã æå®ãã¦ãã ããã è¡ã®ãã¹ã¦ã®"
+"ãã£ã¼ã«ãã®ç¶æ
ãæ¯è¼ããããã«ãªãã¾ãã ããã¯ãHibernateãå¤ãç¶æ
ã¨æ°ã"
+"ãç¶æ
ãæ¯è¼ã§ããå ´åã«ã çè«çã«åä½ããã ãã§ãããã¨ã«æ³¨æãã¦ãã ã"
+"ãã ä¾ãã°ãsession-per-request-with-detached-objects ã§ã¯ãªãã ï¼ã¤ã®é·ã "
+"<literal>Session</literal> ã使ãå ´åã§ãã"
-#: index.docbook:799
-msgid "In both cases, with dedicated version/timestamp columns or with full/dirty field comparison, Hibernate uses a single <literal>UPDATE</literal> statement (with an appropriate <literal>WHERE</literal> clause) per entity to execute the version check and update the information. If you use transitive persistence to cascade reattachment to associated entities, Hibernate might execute uneccessary updates. This is usually not a problem, but <emphasis>on update</emphasis> triggers in the database might be executed even when no changes have been made to detached instances. You can customize this behavior by setting <literal>select-before-update=\"true\"</literal> in the <literal><class></literal> mapping, forcing Hibernate to <literal>SELECT</literal> the instance to ensure that changes did actually occur, before updating the row."
-msgstr "ã¨ãã©ããè¡ããã夿´ãéãªããªãéããåæã«è¡ããã夿´ãåãå
¥ãããã¨ãã§ãã¾ãã <literal><class></literal> ãããã³ã°ã« <literal>optimistic-lock=\"dirty\"</literal> ãè¨å®ããå ´åããã©ãã·ã¥ããéã«ãHibernateã¯ãã¼ãã£ãã£ã¼ã«ãã®ã¿ãæ¯è¼ãã¾ãã"
+#. Tag: para
+#: transactions.xml:793
+#, no-c-format
+msgid ""
+"Sometimes concurrent modification can be permitted as long as the changes "
+"that have been made don't overlap. If you set <literal>optimistic-lock="
+"\"dirty\"</literal> when mapping the <literal><class></literal>, "
+"Hibernate will only compare dirty fields during flush."
+msgstr ""
+"ã¨ãã©ããè¡ããã夿´ãéãªããªãéããåæã«è¡ããã夿´ãåãå
¥ãããã¨ã"
+"ã§ãã¾ãã <literal><class></literal> ãããã³ã°ã« <literal>optimistic-"
+"lock=\"dirty\"</literal> ãè¨å®ããå ´åããã©ãã·ã¥ããéã«ãHibernateã¯ãã¼"
+"ãã£ãã£ã¼ã«ãã®ã¿ãæ¯è¼ãã¾ãã"
-#: index.docbook:817
+#. Tag: para
+#: transactions.xml:799
+#, no-c-format
+msgid ""
+"In both cases, with dedicated version/timestamp columns or with full/dirty "
+"field comparison, Hibernate uses a single <literal>UPDATE</literal> "
+"statement (with an appropriate <literal>WHERE</literal> clause) per entity "
+"to execute the version check and update the information. If you use "
+"transitive persistence to cascade reattachment to associated entities, "
+"Hibernate might execute uneccessary updates. This is usually not a problem, "
+"but <emphasis>on update</emphasis> triggers in the database might be "
+"executed even when no changes have been made to detached instances. You can "
+"customize this behavior by setting <literal>select-before-update=\"true\"</"
+"literal> in the <literal><class></literal> mapping, forcing Hibernate "
+"to <literal>SELECT</literal> the instance to ensure that changes did "
+"actually occur, before updating the row."
+msgstr ""
+"å°ç¨ã®ãã¼ã¸ã§ã³ï¼ã¿ã¤ã ã¹ã¿ã³ãã®ã«ã©ã ã使ãå ´åã ãããã¯ãã¹ã¦ï¼ãã¼ãã£"
+"ã®ãã£ã¼ã«ããæ¯è¼ããå ´åã©ã¡ãã§ãã£ã¦ãã Hibernateã¯ã¨ã³ãã£ãã£ãã¨ã«1ã¤"
+"ã® <literal>UPDATE</literal> æã ï¼é©å㪠<literal>WHERE</literal> ç¯ã¨å
±"
+"ã«ï¼ä½¿ãã ãã¼ã¸ã§ã³ãã§ãã¯ã¨æ
å ±ã®æ´æ°ãè¡ãã¾ãã é¢é£ããã¨ã³ãã£ãã£ã®"
+"å追å ãã«ã¹ã±ã¼ãããããã«ã é£éçãªæ°¸ç¶åã使ç¨ããå ´åãä¸å¿
è¦ãªæ´æ°ãå®"
+"è¡ããããããã¾ããã ããã¯é常åé¡ã«ãªãã¾ããã ããããåé¢ããã¤ã³ã¹ã¿"
+"ã³ã¹ã夿´ãã¦ããªãã¨ãã ãã¼ã¿ãã¼ã¹ã® <emphasis>on update</emphasis> ããª"
+"ã¬ã¼ãå®è¡ãããããããã¾ããã <literal><class></literal> ãããã³ã°"
+"ã« <literal>select-before-update=\"true\"</literal> ãè¨å®ãããã¨ã«ãã£ã¦ã "
+"ãã®æ¯ãèããã«ã¹ã¿ãã¤ãºã§ãã¾ãã 確å®ã«å¤æ´ããããã確èªããããã«ãè¡ã"
+"æ´æ°ããåã«ã å¿
ãã¤ã³ã¹ã¿ã³ã¹ã <literal>SELECT</literal> ãã¾ãã"
+
+#. Tag: title
+#: transactions.xml:817
+#, no-c-format
msgid "Pessimistic Locking"
-msgstr "å°ç¨ã®ãã¼ã¸ã§ã³ï¼ã¿ã¤ã ã¹ã¿ã³ãã®ã«ã©ã ã使ãå ´åã ãããã¯ãã¹ã¦ï¼ãã¼ãã£ã®ãã£ã¼ã«ããæ¯è¼ããå ´åã©ã¡ãã§ãã£ã¦ãã Hibernateã¯ã¨ã³ãã£ãã£ãã¨ã«1ã¤ã® <literal>UPDATE</literal> æã ï¼é©å㪠<literal>WHERE</literal> ç¯ã¨å
±ã«ï¼ä½¿ãã ãã¼ã¸ã§ã³ãã§ãã¯ã¨æ
å ±ã®æ´æ°ãè¡ãã¾ãã é¢é£ããã¨ã³ãã£ãã£ã®å追å ãã«ã¹ã±ã¼ãããããã«ã é£éçãªæ°¸ç¶åã使ç¨ããå ´åãä¸å¿
è¦ãªæ´æ°ãå®è¡ããããããã¾ããã ããã¯é常åé¡ã«ãªãã¾ããã ããããåé¢ããã¤ã³ã¹ã¿ã³ã¹ã夿´ãã¦ããªãã¨ãã ãã¼ã¿ãã¼ã¹ã® <emphasis>on update</emphasis> ããªã¬ã¼ãå®è¡ãããããããã¾ããã <literal><class></literal> ãããã³ã°ã« <literal>select-before-update=\"true\"</literal> ãè¨å®ãããã¨ã«ãã£ã¦ã ãã®æ¯ãèããã«ã¹ã¿ãã¤ãºã§ã!
ã¾ãã 確å®ã«å¤æ´ããããã確èªããããã«ãè¡ãæ´æ°ããåã«ã å¿
ãã¤ã³ã¹ã¿ã³ã¹ã <literal>SELECT</literal> ãã¾ãã"
-
-#: index.docbook:819
-msgid "It is not intended that users spend much time worring about locking strategies. Its usually enough to specify an isolation level for the JDBC connections and then simply let the database do all the work. However, advanced users may sometimes wish to obtain exclusive pessimistic locks, or re-obtain locks at the start of a new transaction."
msgstr "æ²è¦³çããã¯"
-#: index.docbook:826
-msgid "Hibernate will always use the locking mechanism of the database, never lock objects in memory!"
-msgstr "ã¦ã¼ã¶ãããã¯æ¦ç¥ã«æ©ãã®ã«å¤ãã®æéãè²»ãããã¨ãæå³ãã¦ãã¾ããã é常ã¯ãJDBCã³ãã¯ã·ã§ã³ã«åé¢ã¬ãã«ãæå®ãã åã«ãã¼ã¿ãã¼ã¹ã«ãã¹ã¦ã®ä»äºããããã°ååã§ãã ããããªãããé«åº¦ãªã¦ã¼ã¶ã¯ãæä»çãªæ²è¦³çããã¯ãç²å¾ãããã¨ãã æ°ãããã©ã³ã¶ã¯ã·ã§ã³ãéå§ãããéã«ããã¯ãåç²å¾ãããã¨ã ã¨ãã©ãæãããããã¾ããã"
+#. Tag: para
+#: transactions.xml:819
+#, no-c-format
+msgid ""
+"It is not intended that users spend much time worring about locking "
+"strategies. Its usually enough to specify an isolation level for the JDBC "
+"connections and then simply let the database do all the work. However, "
+"advanced users may sometimes wish to obtain exclusive pessimistic locks, or "
+"re-obtain locks at the start of a new transaction."
+msgstr ""
+"ã¦ã¼ã¶ãããã¯æ¦ç¥ã«æ©ãã®ã«å¤ãã®æéãè²»ãããã¨ãæå³ãã¦ãã¾ããã é常"
+"ã¯ãJDBCã³ãã¯ã·ã§ã³ã«åé¢ã¬ãã«ãæå®ãã åã«ãã¼ã¿ãã¼ã¹ã«ãã¹ã¦ã®ä»äºãã"
+"ããã°ååã§ãã ããããªãããé«åº¦ãªã¦ã¼ã¶ã¯ãæä»çãªæ²è¦³çããã¯ãç²å¾ãã"
+"ãã¨ãã æ°ãããã©ã³ã¶ã¯ã·ã§ã³ãéå§ãããéã«ããã¯ãåç²å¾ãããã¨ã ã¨ã"
+"ã©ãæãããããã¾ããã"
-#: index.docbook:831
-msgid "The <literal>LockMode</literal> class defines the different lock levels that may be acquired by Hibernate. A lock is obtained by the following mechanisms:"
-msgstr "Hibernateã¯ãã¤ããã¼ã¿ãã¼ã¹ã®ããã¯ã®ä»çµã¿ã使ãã¾ãã ã¡ã¢ãªå
ã®ãªãã¸ã§ã¯ããæ±ºãã¦ããã¯ãã¾ããï¼"
+#. Tag: para
+#: transactions.xml:826
+#, no-c-format
+msgid ""
+"Hibernate will always use the locking mechanism of the database, never lock "
+"objects in memory!"
+msgstr ""
+"Hibernateã¯ãã¤ããã¼ã¿ãã¼ã¹ã®ããã¯ã®ä»çµã¿ã使ãã¾ãã ã¡ã¢ãªå
ã®ãªãã¸ã§"
+"ã¯ããæ±ºãã¦ããã¯ãã¾ããï¼"
-#: index.docbook:838
-msgid "<literal>LockMode.WRITE</literal> is acquired automatically when Hibernate updates or inserts a row."
-msgstr "<literal>LockMode</literal> ã¯ã©ã¹ã¯ãHibernateãç²å¾ã§ããç°ãªãããã¯ã¬ãã«ãå®ç¾©ãã¾ãã 以ä¸ã®ä»çµã¿ã«ãããããã¯ãç²å¾ã§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:831
+#, no-c-format
+msgid ""
+"The <literal>LockMode</literal> class defines the different lock levels that "
+"may be acquired by Hibernate. A lock is obtained by the following mechanisms:"
+msgstr ""
+"<literal>LockMode</literal> ã¯ã©ã¹ã¯ãHibernateãç²å¾ã§ããç°ãªãããã¯ã¬ãã«"
+"ãå®ç¾©ãã¾ãã 以ä¸ã®ä»çµã¿ã«ãããããã¯ãç²å¾ã§ãã¾ãã"
-#: index.docbook:844
-msgid "<literal>LockMode.UPGRADE</literal> may be acquired upon explicit user request using <literal>SELECT ... FOR UPDATE</literal> on databases which support that syntax."
-msgstr "<literal>LockMode.WRITE</literal> ã¯ã Hibernateãè¡ãæ´æ°ãããã¯æ¿å
¥ããéã«èªåçã«å¾ããã¾ãã"
+#. Tag: para
+#: transactions.xml:838
+#, no-c-format
+msgid ""
+"<literal>LockMode.WRITE</literal> is acquired automatically when Hibernate "
+"updates or inserts a row."
+msgstr ""
+"<literal>LockMode.WRITE</literal> ã¯ã Hibernateãè¡ãæ´æ°ãããã¯æ¿å
¥ããé"
+"ã«èªåçã«å¾ããã¾ãã"
-#: index.docbook:850
-msgid "<literal>LockMode.UPGRADE_NOWAIT</literal> may be acquired upon explicit user request using a <literal>SELECT ... FOR UPDATE NOWAIT</literal> under Oracle."
-msgstr "<literal>LockMode.UPGRADE</literal> ã¯ã ãã¼ã¿ãã¼ã¹ã§ãµãã¼ãããã¦ããææ³ <literal>SELECT ... FOR UPDATE</literal> ã使ã£ããæç¤ºçãªã¦ã¼ã¶ã¼è¦æ±ã«ããå¾ãããããããã¾ããã"
+#. Tag: para
+#: transactions.xml:844
+#, no-c-format
+msgid ""
+"<literal>LockMode.UPGRADE</literal> may be acquired upon explicit user "
+"request using <literal>SELECT ... FOR UPDATE</literal> on databases which "
+"support that syntax."
+msgstr ""
+"<literal>LockMode.UPGRADE</literal> ã¯ã ãã¼ã¿ãã¼ã¹ã§ãµãã¼ãããã¦ããæ"
+"æ³ <literal>SELECT ... FOR UPDATE</literal> ã使ã£ããæç¤ºçãªã¦ã¼ã¶ã¼è¦æ±ã«"
+"ããå¾ãããããããã¾ããã"
-#: index.docbook:856
-msgid "<literal>LockMode.READ</literal> is acquired automatically when Hibernate reads data under Repeatable Read or Serializable isolation level. May be re-acquired by explicit user request."
-msgstr "<literal>LockMode.UPGRADE_NOWAIT</literal> ã¯ã Oracle ã§ <literal>SELECT ... FOR UPDATE NOWAIT</literal> ã使ã£ãã æç¤ºçãªã¦ã¼ã¶ã¼è¦æ±ã«ããå¾ãããããããã¾ããã"
+#. Tag: para
+#: transactions.xml:850
+#, no-c-format
+msgid ""
+"<literal>LockMode.UPGRADE_NOWAIT</literal> may be acquired upon explicit "
+"user request using a <literal>SELECT ... FOR UPDATE NOWAIT</literal> under "
+"Oracle."
+msgstr ""
+"<literal>LockMode.UPGRADE_NOWAIT</literal> ã¯ã Oracle ã§ "
+"<literal>SELECT ... FOR UPDATE NOWAIT</literal> ã使ã£ãã æç¤ºçãªã¦ã¼ã¶ã¼è¦"
+"æ±ã«ããå¾ãããããããã¾ããã"
-#: index.docbook:863
-msgid "<literal>LockMode.NONE</literal> represents the absence of a lock. All objects switch to this lock mode at the end of a <literal>Transaction</literal>. Objects associated with the session via a call to <literal>update()</literal> or <literal>saveOrUpdate()</literal> also start out in this lock mode."
-msgstr "<literal>LockMode.READ</literal> ã¯ã Repeatable Readãããã¯Serializableã®åé¢ã¬ãã«ã§ããã¼ã¿ãèªãã éã«èªåçã«å¾ããã¾ãã ãããããæç¤ºçãªã¦ã¼ã¶ã¼è¦æ±ã«ãããååå¾ããã¾ãã"
+#. Tag: para
+#: transactions.xml:856
+#, no-c-format
+msgid ""
+"<literal>LockMode.READ</literal> is acquired automatically when Hibernate "
+"reads data under Repeatable Read or Serializable isolation level. May be re-"
+"acquired by explicit user request."
+msgstr ""
+"<literal>LockMode.READ</literal> ã¯ã Repeatable Readãããã¯Serializableã®å"
+"é¢ã¬ãã«ã§ããã¼ã¿ãèªãã éã«èªåçã«å¾ããã¾ãã ãããããæç¤ºçãªã¦ã¼ã¶ã¼"
+"è¦æ±ã«ãããååå¾ããã¾ãã"
-#: index.docbook:872
-msgid "The \"explicit user request\" is expressed in one of the following ways:"
-msgstr "<literal>LockMode.NONE</literal> ã¯ãããã¯ããªããã¨ã表ãã¾ãã <literal>Transaction</literal> ã®çµããã«ã ãã¹ã¦ã®ãªãã¸ã§ã¯ãã¯ãã®ããã¯ã¢ã¼ãã«åãæ¿ããã¾ãã <literal>update()</literal> ã <literal>saveOrUpdate()</literal> ãå¼ã³åºããã¨ã«ãã£ã¦ã ã»ãã·ã§ã³ã«é¢é£ä»ãããããªãã¸ã§ã¯ããããã®ããã¯ã¢ã¼ãã§åºçºãã¾ãã"
+#. Tag: para
+#: transactions.xml:863
+#, no-c-format
+msgid ""
+"<literal>LockMode.NONE</literal> represents the absence of a lock. All "
+"objects switch to this lock mode at the end of a <literal>Transaction</"
+"literal>. Objects associated with the session via a call to <literal>update()"
+"</literal> or <literal>saveOrUpdate()</literal> also start out in this lock "
+"mode."
+msgstr ""
+"<literal>LockMode.NONE</literal> ã¯ãããã¯ããªããã¨ã表ãã¾ãã "
+"<literal>Transaction</literal> ã®çµããã«ã ãã¹ã¦ã®ãªãã¸ã§ã¯ãã¯ãã®ããã¯"
+"ã¢ã¼ãã«åãæ¿ããã¾ãã <literal>update()</literal> ã <literal>saveOrUpdate"
+"()</literal> ãå¼ã³åºããã¨ã«ãã£ã¦ã ã»ãã·ã§ã³ã«é¢é£ä»ãããããªãã¸ã§ã¯ã"
+"ãããã®ããã¯ã¢ã¼ãã§åºçºãã¾ãã"
-#: index.docbook:878
-msgid "A call to <literal>Session.load()</literal>, specifying a <literal>LockMode</literal>."
+#. Tag: para
+#: transactions.xml:872
+#, no-c-format
+msgid ""
+"The \"explicit user request\" is expressed in one of the following ways:"
msgstr "ãæç¤ºçãªã¦ã¼ã¶ã¼è¦æ±ãã¨ã¯ãä¸è¨ã®æ¹æ³ã®ï¼ã¤ã§è¨ã表ãã¾ãã"
-#: index.docbook:883
+#. Tag: para
+#: transactions.xml:878
+#, no-c-format
+msgid ""
+"A call to <literal>Session.load()</literal>, specifying a <literal>LockMode</"
+"literal>."
+msgstr ""
+"<literal>LockMode</literal> ãæå®ãã <literal>Session.load()</literal> ã®å¼"
+"ã³åºãã"
+
+#. Tag: para
+#: transactions.xml:883
+#, no-c-format
msgid "A call to <literal>Session.lock()</literal>."
-msgstr "<literal>LockMode</literal> ãæå®ãã <literal>Session.load()</literal> ã®å¼ã³åºãã"
+msgstr "<literal>Session.lock()</literal> ã®å¼ã³åºãã"
-#: index.docbook:888
+#. Tag: para
+#: transactions.xml:888
+#, no-c-format
msgid "A call to <literal>Query.setLockMode()</literal>."
-msgstr "<literal>Session.lock()</literal> ã®å¼ã³åºãã"
-
-#: index.docbook:894
-msgid "If <literal>Session.load()</literal> is called with <literal>UPGRADE</literal> or <literal>UPGRADE_NOWAIT</literal>, and the requested object was not yet loaded by the session, the object is loaded using <literal>SELECT ... FOR UPDATE</literal>. If <literal>load()</literal> is called for an object that is already loaded with a less restrictive lock than the one requested, Hibernate calls <literal>lock()</literal> for that object."
msgstr "<literal>Query.setLockMode()</literal> ã®å¼ã³åºãã"
-#: index.docbook:903
-msgid "<literal>Session.lock()</literal> performs a version number check if the specified lock mode is <literal>READ</literal>, <literal>UPGRADE</literal> or <literal>UPGRADE_NOWAIT</literal>. (In the case of <literal>UPGRADE</literal> or <literal>UPGRADE_NOWAIT</literal>, <literal>SELECT ... FOR UPDATE</literal> is used.)"
-msgstr "<literal>UPGRADE</literal> ããã㯠<literal>UPGRADE_NOWAIT</literal> ãæå®ããã <literal>Session.load()</literal> ãå¼ã³åºããã ãã¤è¦æ±ããããªãã¸ã§ã¯ããã»ãã·ã§ã³ã«ãã£ã¦ã¾ã ãã¼ãããã¦ããªãã£ãå ´åã¯ã <literal>SELECT ... FOR UPDATE</literal> ã使ã£ã¦ããªãã¸ã§ã¯ãããã¼ãããã¾ãã <literal>load()</literal> ã§å¼ã³åºããããªãã¸ã§ã¯ããã è¦æ±ããã¦ããããå¶éãå°ãªãããã¯ã§ãã§ã«ãã¼ãããã¦ããå ´åã¯ã Hibernateã¯ãã®ãªãã¸ã§ã¯ãã®ããã«ã<literal>lock()</literal> ãå¼ã³åºãã¾ãã"
+#. Tag: para
+#: transactions.xml:894
+#, no-c-format
+msgid ""
+"If <literal>Session.load()</literal> is called with <literal>UPGRADE</"
+"literal> or <literal>UPGRADE_NOWAIT</literal>, and the requested object was "
+"not yet loaded by the session, the object is loaded using "
+"<literal>SELECT ... FOR UPDATE</literal>. If <literal>load()</literal> is "
+"called for an object that is already loaded with a less restrictive lock "
+"than the one requested, Hibernate calls <literal>lock()</literal> for that "
+"object."
+msgstr ""
+"<literal>UPGRADE</literal> ããã㯠<literal>UPGRADE_NOWAIT</literal> ãæå®"
+"ããã <literal>Session.load()</literal> ãå¼ã³åºããã ãã¤è¦æ±ããããªã"
+"ã¸ã§ã¯ããã»ãã·ã§ã³ã«ãã£ã¦ã¾ã ãã¼ãããã¦ããªãã£ãå ´åã¯ã "
+"<literal>SELECT ... FOR UPDATE</literal> ã使ã£ã¦ããªãã¸ã§ã¯ãããã¼ãããã¾"
+"ãã <literal>load()</literal> ã§å¼ã³åºããããªãã¸ã§ã¯ããã è¦æ±ããã¦ãã"
+"ããå¶éãå°ãªãããã¯ã§ãã§ã«ãã¼ãããã¦ããå ´åã¯ã Hibernateã¯ãã®ãªã"
+"ã¸ã§ã¯ãã®ããã«ã<literal>lock()</literal> ãå¼ã³åºãã¾ãã"
-#: index.docbook:910
-msgid "If the database does not support the requested lock mode, Hibernate will use an appropriate alternate mode (instead of throwing an exception). This ensures that applications will be portable."
-msgstr "æå®ãããããã¯ã¢ã¼ãã <literal>READ</literal> ãããã¯ã<literal>UPGRADE</literal>ã <literal>UPGRADE_NOWAIT</literal> ã ã£ãå ´åã<literal>Session.lock()</literal> ã¯ããã¼ã¸ã§ã³çªå·ã®ãã§ãã¯ã宿½ãã¾ãã ï¼<literal>UPGRADE</literal> ããã㯠<literal>UPGRADE_NOWAIT</literal> ã®å ´åã <literal>SELECT ... FOR UPDATE</literal> ã使ããã¾ããï¼"
+#. Tag: para
+#: transactions.xml:903
+#, no-c-format
+msgid ""
+"<literal>Session.lock()</literal> performs a version number check if the "
+"specified lock mode is <literal>READ</literal>, <literal>UPGRADE</literal> "
+"or <literal>UPGRADE_NOWAIT</literal>. (In the case of <literal>UPGRADE</"
+"literal> or <literal>UPGRADE_NOWAIT</literal>, <literal>SELECT ... FOR "
+"UPDATE</literal> is used.)"
+msgstr ""
+"æå®ãããããã¯ã¢ã¼ãã <literal>READ</literal> ãããã¯ã<literal>UPGRADE</"
+"literal>ã <literal>UPGRADE_NOWAIT</literal> ã ã£ãå ´åã<literal>Session."
+"lock()</literal> ã¯ããã¼ã¸ã§ã³çªå·ã®ãã§ãã¯ã宿½ãã¾ãã "
+"ï¼<literal>UPGRADE</literal> ããã㯠<literal>UPGRADE_NOWAIT</literal> ã®å ´"
+"åã <literal>SELECT ... FOR UPDATE</literal> ã使ããã¾ããï¼"
-#: index.docbook:919
+#. Tag: para
+#: transactions.xml:910
+#, no-c-format
+msgid ""
+"If the database does not support the requested lock mode, Hibernate will use "
+"an appropriate alternate mode (instead of throwing an exception). This "
+"ensures that applications will be portable."
+msgstr ""
+"ãã¼ã¿ãã¼ã¹ãè¦æ±ãããããã¯ã¢ã¼ãããµãã¼ããã¦ããªãå ´åã Hibernateã¯"
+"ï¼ä¾å¤ãæãã代ããã«ãï¼é©åãªä»£ããã®ã¢ã¼ãã使ãã¾ãã ããã¯ãã¢ããªã±ã¼"
+"ã·ã§ã³ããã¼ã¿ãã«ã§ãããã¨ãä¿è¨¼ãã¾ãã"
+
+#. Tag: title
+#: transactions.xml:919
+#, no-c-format
msgid "Connection Release Modes"
-msgstr "ãã¼ã¿ãã¼ã¹ãè¦æ±ãããããã¯ã¢ã¼ãããµãã¼ããã¦ããªãå ´åã Hibernateã¯ï¼ä¾å¤ãæãã代ããã«ãï¼é©åãªä»£ããã®ã¢ã¼ãã使ãã¾ãã ããã¯ãã¢ããªã±ã¼ã·ã§ã³ããã¼ã¿ãã«ã§ãããã¨ãä¿è¨¼ãã¾ãã"
-
-#: index.docbook:921
-msgid "The legacy (2.x) behavior of Hibernate in regards to JDBC connection management was that a <literal>Session</literal> would obtain a connection when it was first needed and then hold unto that connection until the session was closed. Hibernate 3.x introduced the notion of connection release modes to tell a session how to handle its JDBC connections. Note that the following discussion is pertinent only to connections provided through a configured <literal>ConnectionProvider</literal>; user-supplied connections are outside the breadth of this discussion. The different release modes are identified by the enumerated values of <literal>org.hibernate.ConnectionReleaseMode</literal>:"
msgstr "ã³ãã¯ã·ã§ã³éæ¾ã¢ã¼ã"
-#: index.docbook:935
-msgid "<literal>ON_CLOSE</literal> - is essentially the legacy behavior described above. The Hibernate session obatins a connection when it first needs to perform some JDBC access and holds unto that connection until the session is closed."
-msgstr "Hibernateã®ã¬ã¬ã·ã¼ï¼2.xï¼ã®JDBCã³ãã¯ã·ã§ã³ç®¡çã«é¢ããæ¯ãèãã¯ã æåã«å¿
è¦ã¨ããéã« <literal>Session</literal> ãã³ãã¯ã·ã§ã³ãå¾ãã¨ãããã®ã§ããã ããã¦ãã»ãã·ã§ã³ãéããããã¾ã§ããã®ã³ãã¯ã·ã§ã³ãä¿æãã¾ããã Hibernate 3.xã¯ãã»ãã·ã§ã³ã«JDBCã³ãã¯ã·ã§ã³ãã©ã®ããã«å¶å¾¡ããããä¼ãã ã³ãã¯ã·ã§ã³éæ¾ã¢ã¼ãã¨ããæ¦å¿µãå°å
¥ãã¾ããã 以éã®è°è«ã¯ãæ§æããã <literal>ConnectionProvider</literal> ãéãã¦æä¾ããã ã³ãã¯ã·ã§ã³ã«é©åã§ãããã¨ã«æ³¨æãã¦ãã ããã ç°ãªãéæ¾ã¢ã¼ãã¯ã<literal>org.hibernate.ConnectionReleaseMode</literal> ã« åæãããå¤ã«ãã確èªããã¾ãã"
+#. Tag: para
+#: transactions.xml:921
+#, no-c-format
+msgid ""
+"The legacy (2.x) behavior of Hibernate in regards to JDBC connection "
+"management was that a <literal>Session</literal> would obtain a connection "
+"when it was first needed and then hold unto that connection until the "
+"session was closed. Hibernate 3.x introduced the notion of connection "
+"release modes to tell a session how to handle its JDBC connections. Note "
+"that the following discussion is pertinent only to connections provided "
+"through a configured <literal>ConnectionProvider</literal>; user-supplied "
+"connections are outside the breadth of this discussion. The different "
+"release modes are identified by the enumerated values of <literal>org."
+"hibernate.ConnectionReleaseMode</literal>:"
+msgstr ""
+"Hibernateã®ã¬ã¬ã·ã¼ï¼2.xï¼ã®JDBCã³ãã¯ã·ã§ã³ç®¡çã«é¢ããæ¯ãèãã¯ã æåã«å¿
"
+"è¦ã¨ããéã« <literal>Session</literal> ãã³ãã¯ã·ã§ã³ãå¾ãã¨ãããã®ã§ã"
+"ãã ããã¦ãã»ãã·ã§ã³ãéããããã¾ã§ããã®ã³ãã¯ã·ã§ã³ãä¿æãã¾ããã "
+"Hibernate 3.xã¯ãã»ãã·ã§ã³ã«JDBCã³ãã¯ã·ã§ã³ãã©ã®ããã«å¶å¾¡ããããä¼ãã "
+"ã³ãã¯ã·ã§ã³éæ¾ã¢ã¼ãã¨ããæ¦å¿µãå°å
¥ãã¾ããã 以éã®è°è«ã¯ãæ§æããã "
+"<literal>ConnectionProvider</literal> ãéãã¦æä¾ããã ã³ãã¯ã·ã§ã³ã«é©åã§"
+"ãããã¨ã«æ³¨æãã¦ãã ããã ç°ãªãéæ¾ã¢ã¼ãã¯ã<literal>org.hibernate."
+"ConnectionReleaseMode</literal> ã« åæãããå¤ã«ãã確èªããã¾ãã"
-#: index.docbook:942
-msgid "<literal>AFTER_TRANSACTION</literal> - says to release connections after a <literal>org.hibernate.Transaction</literal> has completed."
-msgstr "<literal>ON_CLOSE</literal> - æ¬è³ªçã«ä¸è¨ã§è¿°ã¹ãã¬ã¬ã·ã¼ã®æ¯ãèãã§ãã Hibernateã»ãã·ã§ã³ã¯æåã«JDBCã¢ã¯ã»ã¹ãå®è¡ããå¿
è¦ãããéã«ã³ãã¯ã·ã§ã³ãå¾ã¾ãã ããã¦ãã»ãã·ã§ã³ãéããããã¾ã§ãã³ãã¯ã·ã§ã³ãä¿æãã¾ãã"
+#. Tag: para
+#: transactions.xml:935
+#, no-c-format
+msgid ""
+"<literal>ON_CLOSE</literal> - is essentially the legacy behavior described "
+"above. The Hibernate session obatins a connection when it first needs to "
+"perform some JDBC access and holds unto that connection until the session is "
+"closed."
+msgstr ""
+"<literal>ON_CLOSE</literal> - æ¬è³ªçã«ä¸è¨ã§è¿°ã¹ãã¬ã¬ã·ã¼ã®æ¯ãèãã§ãã "
+"Hibernateã»ãã·ã§ã³ã¯æåã«JDBCã¢ã¯ã»ã¹ãå®è¡ããå¿
è¦ãããéã«ã³ãã¯ã·ã§ã³ã"
+"å¾ã¾ãã ããã¦ãã»ãã·ã§ã³ãéããããã¾ã§ãã³ãã¯ã·ã§ã³ãä¿æãã¾ãã"
-#: index.docbook:948
-msgid "<literal>AFTER_STATEMENT</literal> (also referred to as aggressive release) - says to release connections after each and every statement execution. This aggressive releasing is skipped if that statement leaves open resources associated with the given session; currently the only situation where this occurs is through the use of <literal>org.hibernate.ScrollableResults</literal>."
-msgstr "<literal>AFTER_TRANSACTION</literal> - <literal>org.hibernate.Transaction</literal> ãå®äºããå¾ã ã³ãã¯ã·ã§ã³ãéæ¾ãã¾ãã"
+#. Tag: para
+#: transactions.xml:942
+#, no-c-format
+msgid ""
+"<literal>AFTER_TRANSACTION</literal> - says to release connections after a "
+"<literal>org.hibernate.Transaction</literal> has completed."
+msgstr ""
+"<literal>AFTER_TRANSACTION</literal> - <literal>org.hibernate.Transaction</"
+"literal> ãå®äºããå¾ã ã³ãã¯ã·ã§ã³ãéæ¾ãã¾ãã"
-#: index.docbook:958
-msgid "The configuration parameter <literal>hibernate.connection.release_mode</literal> is used to specify which release mode to use. The possible values:"
-msgstr "<literal>AFTER_STATEMENT</literal> ï¼ç©æ¥µçãªéæ¾ã¨ãå¼ã°ããï¼ - ãã¹ã¦ã®ã¹ãã¼ãã¡ã³ããããããå®è¡ãããå¾ãã³ãã¯ã·ã§ã³ãéæ¾ããã¾ãã ã¹ãã¼ãã¡ã³ããã»ãã·ã§ã³ã«é¢é£ãããªã½ã¼ã¹ãéããã¾ã¾ã«ããå ´åã¯ã ãã®ç©æ¥µçãªéæ¾ã¯ã¹ãããããã¾ãã ä»ã®ã¨ããããããèµ·ããã®ã¯ <literal>org.hibernate.ScrollableResults</literal> ã使ãããå ´åã®ã¿ã§ãã"
+#. Tag: para
+#: transactions.xml:948
+#, no-c-format
+msgid ""
+"<literal>AFTER_STATEMENT</literal> (also referred to as aggressive release) "
+"- says to release connections after each and every statement execution. This "
+"aggressive releasing is skipped if that statement leaves open resources "
+"associated with the given session; currently the only situation where this "
+"occurs is through the use of <literal>org.hibernate.ScrollableResults</"
+"literal>."
+msgstr ""
+"<literal>AFTER_STATEMENT</literal> ï¼ç©æ¥µçãªéæ¾ã¨ãå¼ã°ããï¼ - ãã¹ã¦ã®ã¹"
+"ãã¼ãã¡ã³ããããããå®è¡ãããå¾ãã³ãã¯ã·ã§ã³ãéæ¾ããã¾ãã ã¹ãã¼ãã¡ã³"
+"ããã»ãã·ã§ã³ã«é¢é£ãããªã½ã¼ã¹ãéããã¾ã¾ã«ããå ´åã¯ã ãã®ç©æ¥µçãªéæ¾ã¯"
+"ã¹ãããããã¾ãã ä»ã®ã¨ããããããèµ·ããã®ã¯ <literal>org.hibernate."
+"ScrollableResults</literal> ã使ãããå ´åã®ã¿ã§ãã"
-#: index.docbook:965
-msgid "<literal>auto</literal> (the default) - this choice delegates to the release mode returned by the <literal>org.hibernate.transaction.TransactionFactory.getDefaultReleaseMode()</literal> method. For JTATransactionFactory, this returns ConnectionReleaseMode.AFTER_STATEMENT; for JDBCTransactionFactory, this returns ConnectionReleaseMode.AFTER_TRANSACTION. It is rarely a good idea to change this default behavior as failures due to the value of this setting tend to indicate bugs and/or invalid assumptions in user code."
-msgstr "ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ãã©ã¡ã¼ã¿ã® <literal>hibernate.connection.release_mode</literal> ã¯ã使ç¨ããéæ¾ã¢ã¼ããæå®ããããã«ä½¿ãã¾ãã æå®ã§ããå¤ã¯æ¬¡ã®éãã§ãã"
+#. Tag: para
+#: transactions.xml:958
+#, no-c-format
+msgid ""
+"The configuration parameter <literal>hibernate.connection.release_mode</"
+"literal> is used to specify which release mode to use. The possible values:"
+msgstr ""
+"ã³ã³ãã£ã°ã¬ã¼ã·ã§ã³ãã©ã¡ã¼ã¿ã® <literal>hibernate.connection.release_mode</"
+"literal> ã¯ã使ç¨ããéæ¾ã¢ã¼ããæå®ããããã«ä½¿ãã¾ãã æå®ã§ããå¤ã¯æ¬¡ã®"
+"éãã§ãã"
-#: index.docbook:975
-msgid "<literal>on_close</literal> - says to use ConnectionReleaseMode.ON_CLOSE. This setting is left for backwards compatibility, but its use is highly discouraged."
-msgstr "<literal>auto</literal> ï¼ããã©ã«ãï¼ - ããã鏿ãã㨠<literal>org.hibernate.transaction.TransactionFactory.getDefaultReleaseMode()</literal> ã¡ã½ããã«ãã£ã¦è¿ãããéæ¾ã¢ã¼ãã«å§è²ããã¾ãã ãã®ã¡ã½ããã¯ã JTATransactionFactoryã«ã¯ConnectionReleaseMode.AFTER_STATEMENTãè¿ãã JDBCTransactionFactoryã«ã¯ConnectionReleaseMode.AFTER_TRANSACTIONãè¿ãã¾ãã ãã®ããã©ã«ãã®æ¯ãèããå¤ãã¦ãã¾ããã£ã試ããããã¾ããã ããã¯ããã®è¨å®å¤ãåå ã§èµ·ããé害ã¯ã ã¦ã¼ã¶ã³ã¼ãã®ä¸ã§ãã°ãééã£ãæ¡ä»¶ã«ãªããããããã§ãã"
+#. Tag: para
+#: transactions.xml:965
+#, no-c-format
+msgid ""
+"<literal>auto</literal> (the default) - this choice delegates to the release "
+"mode returned by the <literal>org.hibernate.transaction.TransactionFactory."
+"getDefaultReleaseMode()</literal> method. For JTATransactionFactory, this "
+"returns ConnectionReleaseMode.AFTER_STATEMENT; for JDBCTransactionFactory, "
+"this returns ConnectionReleaseMode.AFTER_TRANSACTION. It is rarely a good "
+"idea to change this default behavior as failures due to the value of this "
+"setting tend to indicate bugs and/or invalid assumptions in user code."
+msgstr ""
+"<literal>auto</literal> ï¼ããã©ã«ãï¼ - ããã鏿ãã㨠<literal>org."
+"hibernate.transaction.TransactionFactory.getDefaultReleaseMode()</literal> ã¡"
+"ã½ããã«ãã£ã¦è¿ãããéæ¾ã¢ã¼ãã«å§è²ããã¾ãã ãã®ã¡ã½ããã¯ã "
+"JTATransactionFactoryã«ã¯ConnectionReleaseMode.AFTER_STATEMENTãè¿ãã "
+"JDBCTransactionFactoryã«ã¯ConnectionReleaseMode.AFTER_TRANSACTIONãè¿ãã¾"
+"ãã ãã®ããã©ã«ãã®æ¯ãèããå¤ãã¦ãã¾ããã£ã試ããããã¾ããã ããã¯ã"
+"ãã®è¨å®å¤ãåå ã§èµ·ããé害ã¯ã ã¦ã¼ã¶ã³ã¼ãã®ä¸ã§ãã°ãééã£ãæ¡ä»¶ã«ãªãã"
+"ããããã§ãã"
-#: index.docbook:981
-msgid "<literal>after_transaction</literal> - says to use ConnectionReleaseMode.AFTER_TRANSACTION. This setting should not be used in JTA environments. Also note that with ConnectionReleaseMode.AFTER_TRANSACTION, if a session is considered to be in auto-commit mode connections will be released as if the release mode were AFTER_STATEMENT."
-msgstr "<literal>on_close</literal> - ConnectionReleaseMode.ON_CLOSEã使ãã¾ãã ãã®è¨å®ã¯å¾æ¹äºæã®ããã«æ®ããã¦ãã¾ããã使ããªããã¨ãå¼·ãå§ãã¾ãã"
+#. Tag: para
+#: transactions.xml:975
+#, no-c-format
+msgid ""
+"<literal>on_close</literal> - says to use ConnectionReleaseMode.ON_CLOSE. "
+"This setting is left for backwards compatibility, but its use is highly "
+"discouraged."
+msgstr ""
+"<literal>on_close</literal> - ConnectionReleaseMode.ON_CLOSEã使ãã¾ãã ãã®"
+"è¨å®ã¯å¾æ¹äºæã®ããã«æ®ããã¦ãã¾ããã使ããªããã¨ãå¼·ãå§ãã¾ãã"
-#: index.docbook:989
-msgid "<literal>after_statement</literal> - says to use ConnectionReleaseMode.AFTER_STATEMENT. Additionally, the configured <literal>ConnectionProvider</literal> is consulted to see if it supports this setting (<literal>supportsAggressiveRelease()</literal>). If not, the release mode is reset to ConnectionReleaseMode.AFTER_TRANSACTION. This setting is only safe in environments where we can either re-acquire the same underlying JDBC connection each time we make a call into <literal>ConnectionProvider.getConnection()</literal> or in auto-commit environments where it does not matter whether we get back the same connection."
-msgstr "<literal>after_transaction</literal> - ConnectionReleaseMode.AFTER_TRANSACTIONã使ãã¾ãã ãã®è¨å®ã¯JTAç°å¢ã®ä¸ã§ã¯ä½¿ãã¹ãã§ã¯ããã¾ããã ConnectionReleaseMode.AFTER_TRANSACTIONãæå®ããèªåã³ãããã¢ã¼ãã®ä¸ã§ã¯ã éæ¾ã¢ã¼ããAFTER_STATEMENTã§ãããã®ããã«ãã³ãã¯ã·ã§ã³ã¯éæ¾ããããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: transactions.xml:981
+#, no-c-format
+msgid ""
+"<literal>after_transaction</literal> - says to use ConnectionReleaseMode."
+"AFTER_TRANSACTION. This setting should not be used in JTA environments. Also "
+"note that with ConnectionReleaseMode.AFTER_TRANSACTION, if a session is "
+"considered to be in auto-commit mode connections will be released as if the "
+"release mode were AFTER_STATEMENT."
+msgstr ""
+"<literal>after_transaction</literal> - ConnectionReleaseMode."
+"AFTER_TRANSACTIONã使ãã¾ãã ãã®è¨å®ã¯JTAç°å¢ã®ä¸ã§ã¯ä½¿ãã¹ãã§ã¯ããã¾ã"
+"ãã ConnectionReleaseMode.AFTER_TRANSACTIONãæå®ããèªåã³ãããã¢ã¼ãã®ä¸"
+"ã§ã¯ã éæ¾ã¢ã¼ããAFTER_STATEMENTã§ãããã®ããã«ãã³ãã¯ã·ã§ã³ã¯éæ¾ããã"
+"ãã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:1153
-msgid "appended paragraph 1"
-msgstr "<literal>after_statement</literal> - ConnectionReleaseMode.AFTER_STATEMENTã使ãã¾ãã ããã«ãè¨å®ããã <literal>ConnectionProvider</literal> ã¯ã ãã®è¨å® (<literal>supportsAggressiveRelease()</literal>) ããµãã¼ããããã©ãã ã調ã¹ãããã«ä½¿ç¨ãã¾ãã ããããã§ãªãå ´åãéæ¾ã¢ã¼ãã¯ConnectionReleaseMode.AFTER_TRANSACTION ã«ãªã»ããããã¾ãã ãã®è¨å®ã¯æ¬¡ã®ç°å¢ã§ã®ã¿å®å
¨ã§ãã ããã¯ã<literal>ConnectionProvider.getConnection()</literal> ãå¼ã³åºããã³ã« åºç¤ã¨ãªãJDBCã³ãã¯ã·ã§ã³ãåããã®ãåå¾ã§ãããã åãã³ãã¯ã·ã§ã³ãå¾ããããã¨ãåé¡ã¨ãªããªãèªåã³ãããç°å¢ã®ä¸ã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: transactions.xml:989
+#, no-c-format
+msgid ""
+"<literal>after_statement</literal> - says to use ConnectionReleaseMode."
+"AFTER_STATEMENT. Additionally, the configured <literal>ConnectionProvider</"
+"literal> is consulted to see if it supports this setting "
+"(<literal>supportsAggressiveRelease()</literal>). If not, the release mode "
+"is reset to ConnectionReleaseMode.AFTER_TRANSACTION. This setting is only "
+"safe in environments where we can either re-acquire the same underlying JDBC "
+"connection each time we make a call into <literal>ConnectionProvider."
+"getConnection()</literal> or in auto-commit environments where it does not "
+"matter whether we get back the same connection."
+msgstr ""
+"<literal>after_statement</literal> - ConnectionReleaseMode.AFTER_STATEMENTã"
+"使ãã¾ãã ããã«ãè¨å®ããã <literal>ConnectionProvider</literal> ã¯ã ãã®"
+"è¨å® (<literal>supportsAggressiveRelease()</literal>) ããµãã¼ããããã©ãã "
+"ã調ã¹ãããã«ä½¿ç¨ãã¾ãã ããããã§ãªãå ´åãéæ¾ã¢ã¼ãã¯"
+"ConnectionReleaseMode.AFTER_TRANSACTION ã«ãªã»ããããã¾ãã ãã®è¨å®ã¯æ¬¡ã®ç°"
+"å¢ã§ã®ã¿å®å
¨ã§ãã ããã¯ã<literal>ConnectionProvider.getConnection()</"
+"literal> ãå¼ã³åºããã³ã« åºç¤ã¨ãªãJDBCã³ãã¯ã·ã§ã³ãåããã®ãåå¾ã§ãã"
+"ãã åãã³ãã¯ã·ã§ã³ãå¾ããããã¨ãåé¡ã¨ãªããªãèªåã³ãããç°å¢ã®ä¸ã§ãã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/tutorial.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/tutorial.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/tutorial.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,2432 +1,2777 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:7
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: tutorial.xml:7
+#, no-c-format
msgid "Introduction to Hibernate"
msgstr "Hibernateã®å°å
¥"
-#: index.docbook:10
+#. Tag: title
+#: tutorial.xml:10
+#, no-c-format
msgid "Preface"
-msgstr "<title>忏ã</title>"
+msgstr "忏ã"
-#: index.docbook:12
-msgid "This chapter is an introductory tutorial for new users of Hibernate. We start with a simple command line application using an in-memory database and develop it in easy to understand steps."
-msgstr "ãã®ç« ã¯Hibernateãåãã¦ä½¿ãã¦ã¼ã¶åãã®å
¥éçãªãã¥ã¼ããªã¢ã«ã§ãã ã¤ã³ã¡ã¢ãªãã¼ã¿ãã¼ã¹ã使ãç°¡åãªã³ãã³ãã©ã¤ã³ã¢ããªã±ã¼ã·ã§ã³ããå§ãã 䏿©ä¸æ©ããããããããæ¹ã§éçºãé²ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:12
+#, no-c-format
+msgid ""
+"This chapter is an introductory tutorial for new users of Hibernate. We "
+"start with a simple command line application using an in-memory database and "
+"develop it in easy to understand steps."
+msgstr ""
+"ãã®ç« ã¯Hibernateãåãã¦ä½¿ãã¦ã¼ã¶åãã®å
¥éçãªãã¥ã¼ããªã¢ã«ã§ãã ã¤ã³ã¡"
+"ã¢ãªãã¼ã¿ãã¼ã¹ã使ãç°¡åãªã³ãã³ãã©ã¤ã³ã¢ããªã±ã¼ã·ã§ã³ããå§ãã 䏿©ä¸æ©"
+"ããããããããæ¹ã§éçºãé²ãã¾ãã"
-#: index.docbook:18
-msgid "This tutorial is intended for new users of Hibernate but requires Java and SQL knowledge. It is based on a tutorial by Michael Gloegl, the third-party libraries we name are for JDK 1.4 and 5.0. You might need others for JDK 1.3."
-msgstr "ãã®ãã¥ã¼ããªã¢ã«ã¯Hibernateãåãã¦ä½¿ãã¦ã¼ã¶ãæ³å®ãã¦ãã¾ããã çè§£ããã«ã¯Javaã¨SQLã«ã¤ãã¦ã®ç¥èãå¿
è¦ã§ãã ããã¯Michael Gloeglã®æã«ãããã¥ã¼ããªã¢ã«ã䏿·ãã«ãã¦ãã¾ããã ããã§ãµã¼ããã¼ãã£ã©ã¤ãã©ãªã¨è¨ã£ã¦ããã®ã¯ãJDK 1.4ã¨5.0ç¨ã®ãã®ã§ãã JDK 1.3ãå©ç¨ããã®ã§ããã°ä»ã®ã©ã¤ãã©ãªãå¿
è¦ããããã¾ããã"
+#. Tag: para
+#: tutorial.xml:18
+#, no-c-format
+msgid ""
+"This tutorial is intended for new users of Hibernate but requires Java and "
+"SQL knowledge. It is based on a tutorial by Michael Gloegl, the third-party "
+"libraries we name are for JDK 1.4 and 5.0. You might need others for JDK 1.3."
+msgstr ""
+"ãã®ãã¥ã¼ããªã¢ã«ã¯Hibernateãåãã¦ä½¿ãã¦ã¼ã¶ãæ³å®ãã¦ãã¾ããã çè§£ãã"
+"ã«ã¯Javaã¨SQLã«ã¤ãã¦ã®ç¥èãå¿
è¦ã§ãã ããã¯Michael Gloeglã®æã«ãããã¥ã¼"
+"ããªã¢ã«ã䏿·ãã«ãã¦ãã¾ããã ããã§ãµã¼ããã¼ãã£ã©ã¤ãã©ãªã¨è¨ã£ã¦ããã®"
+"ã¯ãJDK 1.4ã¨5.0ç¨ã®ãã®ã§ãã JDK 1.3ãå©ç¨ããã®ã§ããã°ä»ã®ã©ã¤ãã©ãªãå¿
"
+"è¦ããããã¾ããã"
-#: index.docbook:24
-msgid "The source code for the tutorial is included in the distribution in the <literal>doc/reference/tutorial/</literal> directory."
-msgstr "ãã¥ã¼ããªã¢ã«ã®ã½ã¼ã¹ã³ã¼ãã¯Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>doc/reference/tutorial/</literal> ã«ããã¾ãã"
+#. Tag: para
+#: tutorial.xml:24
+#, no-c-format
+msgid ""
+"The source code for the tutorial is included in the distribution in the "
+"<literal>doc/reference/tutorial/</literal> directory."
+msgstr ""
+"ãã¥ã¼ããªã¢ã«ã®ã½ã¼ã¹ã³ã¼ãã¯Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>doc/"
+"reference/tutorial/</literal> ã«ããã¾ãã"
-#: index.docbook:32
+#. Tag: title
+#: tutorial.xml:32
+#, no-c-format
msgid "Part 1 - The first Hibernate Application"
msgstr "ãã¼ã1 - åãã¦ã®Hibernateã¢ããªã±ã¼ã·ã§ã³"
-#: index.docbook:34
-msgid "First, we'll create a simple console-based Hibernate application. We use an Java database (HSQL DB), so we do not have to install any database server."
-msgstr "æåã«ã³ã³ã½ã¼ã«ãã¼ã¹ã®ç°¡åãªHibernateã¢ããªã±ã¼ã·ã§ã³ã使ãã¾ãã Javaãã¼ã¿ãã¼ã¹ï¼HSQL DBï¼ãå©ç¨ããã®ã§ã ãã¼ã¿ãã¼ã¹ãµã¼ããã¤ã³ã¹ãã¼ã«ããå¿
è¦ã¯ããã¾ããã"
+#. Tag: para
+#: tutorial.xml:34
+#, no-c-format
+msgid ""
+"First, we'll create a simple console-based Hibernate application. We use an "
+"Java database (HSQL DB), so we do not have to install any database server."
+msgstr ""
+"æåã«ã³ã³ã½ã¼ã«ãã¼ã¹ã®ç°¡åãªHibernateã¢ããªã±ã¼ã·ã§ã³ã使ãã¾ãã Java"
+"ãã¼ã¿ãã¼ã¹ï¼HSQL DBï¼ãå©ç¨ããã®ã§ã ãã¼ã¿ãã¼ã¹ãµã¼ããã¤ã³ã¹ãã¼ã«ãã"
+"å¿
è¦ã¯ããã¾ããã"
-#: index.docbook:39
-msgid "Let's assume we need a small database application that can store events we want to attend, and information about the hosts of these events."
-msgstr "ä»®ã«å°ããªãã¼ã¿ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ãå¿
è¦ã ã¨ãã¾ãããã ãã®ã¢ããªã±ã¼ã·ã§ã³ã«ã¯åºå¸ãããã¤ãã³ãã¨ã ãã®ã¤ãã³ãã®ãã¹ãã«ã¤ãã¦ã®æ
å ±ãæ ¼ç´ãããã®ã¨ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:39
+#, no-c-format
+msgid ""
+"Let's assume we need a small database application that can store events we "
+"want to attend, and information about the hosts of these events."
+msgstr ""
+"ä»®ã«å°ããªãã¼ã¿ãã¼ã¹ã¢ããªã±ã¼ã·ã§ã³ãå¿
è¦ã ã¨ãã¾ãããã ãã®ã¢ããªã±ã¼"
+"ã·ã§ã³ã«ã¯åºå¸ãããã¤ãã³ãã¨ã ãã®ã¤ãã³ãã®ãã¹ãã«ã¤ãã¦ã®æ
å ±ãæ ¼ç´ãã"
+"ãã®ã¨ãã¾ãã"
-#: index.docbook:44
-msgid "The first thing we do, is set up our development directory and put all the Java libraries we need into it. Download the Hibernate distribution from the Hibernate website. Extract the package and place all required libraries found in <literal>/lib</literal> into into the <literal>/lib</literal> directory of your new development working directory. It should look like this:"
-msgstr "ã¾ãæåã«ãããã¨ã¯éçºç¨ã®ãã£ã¬ã¯ããªãã»ããã¢ãããã¦ã å¿
è¦ã¨ãªããã¹ã¦ã®Javaã©ã¤ãã©ãªãé
ç½®ãããã¨ã§ãã Hibernateã¦ã§ããµã¤ãããHibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ããã¦ã³ãã¼ããã¦ãã ããã ãã¡ã¤ã«ãè§£åã㦠<literal>/lib</literal> ã«ããå¿
è¦ãªã©ã¤ãã©ãªã®ãã¹ã¦ãã æ°ããéçºç¨ãã£ã¬ã¯ããªã® <literal>/lib</literal> ãã£ã¬ã¯ããªã«é
ç½®ãã¦ãã ããã ãã®ããã«ãªã£ã¦ããã¯ãã§ãï¼"
+#. Tag: para
+#: tutorial.xml:44
+#, no-c-format
+msgid ""
+"The first thing we do, is set up our development directory and put all the "
+"Java libraries we need into it. Download the Hibernate distribution from the "
+"Hibernate website. Extract the package and place all required libraries "
+"found in <literal>/lib</literal> into into the <literal>/lib</literal> "
+"directory of your new development working directory. It should look like "
+"this:"
+msgstr ""
+"ã¾ãæåã«ãããã¨ã¯éçºç¨ã®ãã£ã¬ã¯ããªãã»ããã¢ãããã¦ã å¿
è¦ã¨ãªããã¹ã¦"
+"ã®Javaã©ã¤ãã©ãªãé
ç½®ãããã¨ã§ãã Hibernateã¦ã§ããµã¤ãããHibernateãã£ã¹"
+"ããªãã¥ã¼ã·ã§ã³ããã¦ã³ãã¼ããã¦ãã ããã ãã¡ã¤ã«ãè§£åã㦠<literal>/"
+"lib</literal> ã«ããå¿
è¦ãªã©ã¤ãã©ãªã®ãã¹ã¦ãã æ°ããéçºç¨ãã£ã¬ã¯ããªã® "
+"<literal>/lib</literal> ãã£ã¬ã¯ããªã«é
ç½®ãã¦ãã ããã ãã®ããã«ãªã£ã¦ãã"
+"ã¯ãã§ãï¼"
-#: index.docbook:52
+#. Tag: programlisting
+#: tutorial.xml:52
+#, no-c-format
msgid ""
- "<![CDATA[.\n"
- "+lib\n"
- " antlr.jar\n"
- " cglib.jar\n"
- " asm.jar\n"
- " asm-attrs.jars\n"
- " commons-collections.jar\n"
- " commons-logging.jar\n"
- " hibernate3.jar\n"
- " jta.jar\n"
- " dom4j.jar\n"
- " log4j.jar ]]>"
+"<![CDATA[.\n"
+"+lib\n"
+" antlr.jar\n"
+" cglib.jar\n"
+" asm.jar\n"
+" asm-attrs.jars\n"
+" commons-collections.jar\n"
+" commons-logging.jar\n"
+" hibernate3.jar\n"
+" jta.jar\n"
+" dom4j.jar\n"
+" log4j.jar ]]>"
msgstr ""
- "<![CDATA[.
-\n"
- "+lib
-\n"
- " antlr.jar
-\n"
- " cglib.jar
-\n"
- " asm.jar
-\n"
- " asm-attrs.jars
-\n"
- " commons-collections.jar
-\n"
- " commons-logging.jar
-\n"
- " hibernate3.jar
-\n"
- " jta.jar
-\n"
- " dom4j.jar
-\n"
- " log4j.jar ]]>"
-#: index.docbook:54
-msgid "This is the minimum set of required libraries (note that we also copied hibernate3.jar, the main archive) for Hibernate <emphasis>at the time of writing</emphasis>. The Hibernate release you are using might require more or less libraries. See the <literal>README.txt</literal> file in the <literal>lib/</literal> directory of the Hibernate distribution for more information about required and optional third-party libraries. (Actually, Log4j is not required but preferred by many developers.)"
-msgstr "ããã <emphasis>æ¬ããã¥ã¡ã³ãå·çæç¹ã§ã®</emphasis> Hibernateã®å¿
è¦æä½éã®ã©ã¤ãã©ãªã§ã ï¼ã¡ã¤ã³ã¢ã¼ã«ã¤ãã®hibernate3.jarãã³ãã¼ãã¦ãããã¨ã«æ³¨æãã¦ãã ããï¼ã Hibernateã®ãã¼ã¸ã§ã³ã«ãã£ã¦ã¯ããã«å¿
è¦ãªã©ã¤ãã©ãªããä¸è¦ãªã©ã¤ãã©ãªãããããããã¾ããã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>lib/</literal> ãã£ã¬ã¯ããªã«ãã <literal>README.txt</literal> ãã¡ã¤ã«ãè¦ã¦ãã ããã å¿
é ã¾ãã¯ãªãã·ã§ã³ã®ãµã¼ããã¼ãã£ã©ã¤ãã©ãªã«ã¤ãã¦ã®æ
å ±ãè¼ãã¦ãã¾ã ï¼å®éLog4jã¯å¿
é ã§ã¯ããã¾ããããå¤ãã®éçºè
ã好ãã§ãã¾ãï¼ã"
+#. Tag: para
+#: tutorial.xml:54
+#, no-c-format
+msgid ""
+"This is the minimum set of required libraries (note that we also copied "
+"hibernate3.jar, the main archive) for Hibernate <emphasis>at the time of "
+"writing</emphasis>. The Hibernate release you are using might require more "
+"or less libraries. See the <literal>README.txt</literal> file in the "
+"<literal>lib/</literal> directory of the Hibernate distribution for more "
+"information about required and optional third-party libraries. (Actually, "
+"Log4j is not required but preferred by many developers.)"
+msgstr ""
+"ããã <emphasis>æ¬ããã¥ã¡ã³ãå·çæç¹ã§ã®</emphasis> Hibernateã®å¿
è¦æä½é"
+"ã®ã©ã¤ãã©ãªã§ã ï¼ã¡ã¤ã³ã¢ã¼ã«ã¤ãã®hibernate3.jarãã³ãã¼ãã¦ãããã¨ã«æ³¨æ"
+"ãã¦ãã ããï¼ã Hibernateã®ãã¼ã¸ã§ã³ã«ãã£ã¦ã¯ããã«å¿
è¦ãªã©ã¤ãã©ãªããä¸"
+"è¦ãªã©ã¤ãã©ãªãããããããã¾ããã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® "
+"<literal>lib/</literal> ãã£ã¬ã¯ããªã«ãã <literal>README.txt</literal> ãã¡"
+"ã¤ã«ãè¦ã¦ãã ããã å¿
é ã¾ãã¯ãªãã·ã§ã³ã®ãµã¼ããã¼ãã£ã©ã¤ãã©ãªã«ã¤ãã¦ã®"
+"æ
å ±ãè¼ãã¦ãã¾ã ï¼å®éLog4jã¯å¿
é ã§ã¯ããã¾ããããå¤ãã®éçºè
ã好ãã§ã"
+"ã¾ãï¼ã"
-#: index.docbook:63
-msgid "Next we create a class that represents the event we want to store in database."
+#. Tag: para
+#: tutorial.xml:63
+#, no-c-format
+msgid ""
+"Next we create a class that represents the event we want to store in "
+"database."
msgstr "次ã«ãã¼ã¿ãã¼ã¹ã«æ ¼ç´ããã¤ãã³ãã表ãã¯ã©ã¹ã使ãã¾ãã"
-#: index.docbook:68
+#. Tag: title
+#: tutorial.xml:68
+#, no-c-format
msgid "The first class"
msgstr "æåã®ã¯ã©ã¹"
-#: index.docbook:70
-msgid "Our first persistent class is a simple JavaBean class with some properties:"
+#. Tag: para
+#: tutorial.xml:70
+#, no-c-format
+msgid ""
+"Our first persistent class is a simple JavaBean class with some properties:"
msgstr "æåã®æ°¸ç¶ã¯ã©ã¹ã¯ãããããã£ãããã¤ãæã¤ã·ã³ãã«ãªJavaBeanã§ãï¼"
-#: index.docbook:74
+#. Tag: programlisting
+#: tutorial.xml:74
+#, no-c-format
msgid ""
- "<![CDATA[package events;\n"
- "\n"
- "import java.util.Date;\n"
- "\n"
- "public class Event {\n"
- " private Long id;\n"
- "\n"
- " private String title;\n"
- " private Date date;\n"
- "\n"
- " public Event() {}\n"
- "\n"
- " public Long getId() {\n"
- " return id;\n"
- " }\n"
- "\n"
- " private void setId(Long id) {\n"
- " this.id = id;\n"
- " }\n"
- "\n"
- " public Date getDate() {\n"
- " return date;\n"
- " }\n"
- "\n"
- " public void setDate(Date date) {\n"
- " this.date = date;\n"
- " }\n"
- "\n"
- " public String getTitle() {\n"
- " return title;\n"
- " }\n"
- "\n"
- " public void setTitle(String title) {\n"
- " this.title = title;\n"
- " }\n"
- "}]]>"
+"<![CDATA[package events;\n"
+"\n"
+"import java.util.Date;\n"
+"\n"
+"public class Event {\n"
+" private Long id;\n"
+"\n"
+" private String title;\n"
+" private Date date;\n"
+"\n"
+" public Event() {}\n"
+"\n"
+" public Long getId() {\n"
+" return id;\n"
+" }\n"
+"\n"
+" private void setId(Long id) {\n"
+" this.id = id;\n"
+" }\n"
+"\n"
+" public Date getDate() {\n"
+" return date;\n"
+" }\n"
+"\n"
+" public void setDate(Date date) {\n"
+" this.date = date;\n"
+" }\n"
+"\n"
+" public String getTitle() {\n"
+" return title;\n"
+" }\n"
+"\n"
+" public void setTitle(String title) {\n"
+" this.title = title;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[package events;
-\n"
- "
-\n"
- "import java.util.Date;
-\n"
- "
-\n"
- "public class Event {
-\n"
- " private Long id;
-\n"
- "
-\n"
- " private String title;
-\n"
- " private Date date;
-\n"
- "
-\n"
- " public Event() {}
-\n"
- "
-\n"
- " public Long getId() {
-\n"
- " return id;
-\n"
- " }
-\n"
- "
-\n"
- " private void setId(Long id) {
-\n"
- " this.id = id;
-\n"
- " }
-\n"
- "
-\n"
- " public Date getDate() {
-\n"
- " return date;
-\n"
- " }
-\n"
- "
-\n"
- " public void setDate(Date date) {
-\n"
- " this.date = date;
-\n"
- " }
-\n"
- "
-\n"
- " public String getTitle() {
-\n"
- " return title;
-\n"
- " }
-\n"
- "
-\n"
- " public void setTitle(String title) {
-\n"
- " this.title = title;
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:76
-msgid "You can see that this class uses standard JavaBean naming conventions for property getter and setter methods, as well as private visibility for the fields. This is a recommended design - but not required. Hibernate can also access fields directly, the benefit of accessor methods is robustness for refactoring. The no-argument constructor is required to instantiate an object of this class through reflection."
-msgstr "ã覧ã®ã¨ããããã®ã¯ã©ã¹ã¯ãã£ã¼ã«ããprivateã®å¯è¦æ§ãæã£ã¦ããã®ã¨åæã«ã JavaBeanæ¨æºã®ã²ãã¿ã¼ãã»ãã¿ã¼ã¡ã½ããã®å½åè¦ç´ã«å¾ã£ã¦ãã¾ãã ãã®ãããªè¨è¨ã¯æ¨å¥¨ããã¦ãã¾ããå¿
é ã§ã¯ããã¾ããã ã¢ã¯ã»ãµã¡ã½ãããè¨ããã®ã¯ãªãã¡ã¯ã¿ãªã³ã°ãèããé 奿§ã®ããã§ã Hibernateã¯ãã£ã¼ã«ãã«ç´æ¥ã¢ã¯ã»ã¹ãããã¨ãå¯è½ã§ãã 弿°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ã¯ããªãã¬ã¯ã·ã§ã³ã§ãã®ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ã使ããããã« å¿
è¦ã§ãã"
+#. Tag: para
+#: tutorial.xml:76
+#, no-c-format
+msgid ""
+"You can see that this class uses standard JavaBean naming conventions for "
+"property getter and setter methods, as well as private visibility for the "
+"fields. This is a recommended design - but not required. Hibernate can also "
+"access fields directly, the benefit of accessor methods is robustness for "
+"refactoring. The no-argument constructor is required to instantiate an "
+"object of this class through reflection."
+msgstr ""
+"ã覧ã®ã¨ããããã®ã¯ã©ã¹ã¯ãã£ã¼ã«ããprivateã®å¯è¦æ§ãæã£ã¦ããã®ã¨åæ"
+"ã«ã JavaBeanæ¨æºã®ã²ãã¿ã¼ãã»ãã¿ã¼ã¡ã½ããã®å½åè¦ç´ã«å¾ã£ã¦ãã¾ãã ãã®"
+"ãããªè¨è¨ã¯æ¨å¥¨ããã¦ãã¾ããå¿
é ã§ã¯ããã¾ããã ã¢ã¯ã»ãµã¡ã½ãããè¨ããã®"
+"ã¯ãªãã¡ã¯ã¿ãªã³ã°ãèããé 奿§ã®ããã§ã Hibernateã¯ãã£ã¼ã«ãã«ç´æ¥ã¢ã¯ã»"
+"ã¹ãããã¨ãå¯è½ã§ãã 弿°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ã¯ããªãã¬ã¯ã·ã§ã³ã§ãã®ã¯ã©ã¹"
+"ã®ã¤ã³ã¹ã¿ã³ã¹ã使ããããã« å¿
è¦ã§ãã"
-#: index.docbook:84
-msgid "The <literal>id</literal> property holds a unique identifier value for a particular event. All persistent entity classes (there are less important dependent classes as well) will need such an identifier property if we want to use the full feature set of Hibernate. In fact, most applications (esp. web applications) need to distinguish objects by identifier, so you should consider this a feature rather than a limitation. However, we usually don't manipulate the identity of an object, hence the setter method should be private. Only Hibernate will assign identifiers when an object is saved. You can see that Hibernate can access public, private, and protected accessor methods, as well as (public, private, protected) fields directly. The choice is up to you and you can match it to fit your application design."
-msgstr "<literal>id</literal> ããããã£ã¯ãããç¹å®ã®ã¤ãã³ãã«å¯¾ããã¦ãã¼ã¯ãªèå¥åã®å¤ãä¿æãã¾ãã Hibernateã®å®å
¨ãªæ©è½ã使ããããã°ããã¹ã¦ã®æ°¸ç¶ã¨ã³ãã£ãã£ã¯ã©ã¹ ï¼ããã»ã©éè¦ã§ã¯ãªãä¾åã¯ã©ã¹ã¨ãããã®ãããã¾ãï¼ ã«ãã®ãããªèå¥åããããã£ãå¿
è¦ã«ãªãã¾ãã äºå®ä¸ã»ã¨ãã©ã®ã¢ããªã±ã¼ã·ã§ã³ï¼ç¹ã«webã¢ããªã±ã¼ã·ã§ã³ï¼ã§ã¯ã èå¥åã§ãªãã¸ã§ã¯ããåºå¥ããå¿
è¦ããããããããã¯å¶éã¨ãããããç¹å¾´ã§ããã¨èããã¹ãã§ãã ãããé常ãªãã¸ã§ã¯ãã®IDãæä½ãããããªãã¨ã¯ãã¾ããã ãã®ããã»ãã¿ã¼ã¡ã½ããã¯privateã«ããã¹ãã§ãã Hibernateã ãããªãã¸ã§ã¯ããã»ã¼ããããã¨ãã«èå¥åã¸å¤ã代å
¥ãã¾ãã Hibernateãï¼public, private, protectedï¼ãã£ã¼ã«ãã«ç´æ¥ã¢ã¯ã»ã¹ã§ããã®ã!
¨åæ§ã«ã public, private, protectedã®ã¢ã¯ã»ãµã¡ã½ããã«ã¢ã¯ã»ã¹ã§ããã¨ãããã¨ããããã§ãããã 鏿ã¯ããªãã«ä»»ããã¦ããã®ã§ãããªãã®ã¢ããªã±ã¼ã·ã§ã³ã®è¨è¨ã«åããããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:84
+#, no-c-format
+msgid ""
+"The <literal>id</literal> property holds a unique identifier value for a "
+"particular event. All persistent entity classes (there are less important "
+"dependent classes as well) will need such an identifier property if we want "
+"to use the full feature set of Hibernate. In fact, most applications (esp. "
+"web applications) need to distinguish objects by identifier, so you should "
+"consider this a feature rather than a limitation. However, we usually don't "
+"manipulate the identity of an object, hence the setter method should be "
+"private. Only Hibernate will assign identifiers when an object is saved. You "
+"can see that Hibernate can access public, private, and protected accessor "
+"methods, as well as (public, private, protected) fields directly. The choice "
+"is up to you and you can match it to fit your application design."
+msgstr ""
+"<literal>id</literal> ããããã£ã¯ãããç¹å®ã®ã¤ãã³ãã«å¯¾ããã¦ãã¼ã¯ãªèå¥"
+"åã®å¤ãä¿æãã¾ãã Hibernateã®å®å
¨ãªæ©è½ã使ããããã°ããã¹ã¦ã®æ°¸ç¶ã¨ã³"
+"ãã£ãã£ã¯ã©ã¹ ï¼ããã»ã©éè¦ã§ã¯ãªãä¾åã¯ã©ã¹ã¨ãããã®ãããã¾ãï¼ ã«ãã®"
+"ãããªèå¥åããããã£ãå¿
è¦ã«ãªãã¾ãã äºå®ä¸ã»ã¨ãã©ã®ã¢ããªã±ã¼ã·ã§ã³ï¼ç¹"
+"ã«webã¢ããªã±ã¼ã·ã§ã³ï¼ã§ã¯ã èå¥åã§ãªãã¸ã§ã¯ããåºå¥ããå¿
è¦ãããããã"
+"ããã¯å¶éã¨ãããããç¹å¾´ã§ããã¨èããã¹ãã§ãã ãããé常ãªãã¸ã§ã¯ãã®ID"
+"ãæä½ãããããªãã¨ã¯ãã¾ããã ãã®ããã»ãã¿ã¼ã¡ã½ããã¯privateã«ããã¹ã"
+"ã§ãã Hibernateã ãããªãã¸ã§ã¯ããã»ã¼ããããã¨ãã«èå¥åã¸å¤ã代å
¥ãã¾"
+"ãã Hibernateãï¼public, private, protectedï¼ãã£ã¼ã«ãã«ç´æ¥ã¢ã¯ã»ã¹ã§ãã"
+"ã®ã¨åæ§ã«ã public, private, protectedã®ã¢ã¯ã»ãµã¡ã½ããã«ã¢ã¯ã»ã¹ã§ããã¨ã"
+"ããã¨ããããã§ãããã 鏿ã¯ããªãã«ä»»ããã¦ããã®ã§ãããªãã®ã¢ããªã±ã¼"
+"ã·ã§ã³ã®è¨è¨ã«åããããã¨ãã§ãã¾ãã"
-#: index.docbook:96
-msgid "The no-argument constructor is a requirement for all persistent classes; Hibernate has to create objects for you, using Java Reflection. The constructor can be private, however, package visibility is required for runtime proxy generation and efficient data retrieval without bytecode instrumentation."
-msgstr "弿°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ã¯ãã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«å¿
é ã§ãã ããã¯HibernateãJavaã®ãªãã¬ã¯ã·ã§ã³ã使ã£ã¦ããªãã¸ã§ã¯ãã使ããªããã°ãªããªãããã§ãã ã³ã³ã¹ãã©ã¯ã¿ãprivateã«ãããã¨ã¯å¯è½ã§ããã å®è¡æã®ãããã·çæã¨ããã¤ãã³ã¼ãæä½ãªãã®å¹ççãªãã¼ã¿ã®æ½åºã«ã¯ã packageå¯è¦æ§ãå¿
è¦ã§ãã"
+#. Tag: para
+#: tutorial.xml:96
+#, no-c-format
+msgid ""
+"The no-argument constructor is a requirement for all persistent classes; "
+"Hibernate has to create objects for you, using Java Reflection. The "
+"constructor can be private, however, package visibility is required for "
+"runtime proxy generation and efficient data retrieval without bytecode "
+"instrumentation."
+msgstr ""
+"弿°ã®ãªãã³ã³ã¹ãã©ã¯ã¿ã¯ãã¹ã¦ã®æ°¸ç¶ã¯ã©ã¹ã«å¿
é ã§ãã ããã¯Hibernateã"
+"Javaã®ãªãã¬ã¯ã·ã§ã³ã使ã£ã¦ããªãã¸ã§ã¯ãã使ããªããã°ãªããªãããã§ãã "
+"ã³ã³ã¹ãã©ã¯ã¿ãprivateã«ãããã¨ã¯å¯è½ã§ããã å®è¡æã®ãããã·çæã¨ããã¤"
+"ãã³ã¼ãæä½ãªãã®å¹ççãªãã¼ã¿ã®æ½åºã«ã¯ã packageå¯è¦æ§ãå¿
è¦ã§ãã"
-#: index.docbook:103
-msgid "Place this Java source file in a directory called <literal>src</literal> in the development folder, and in its correct package. The directory should now look like this:"
-msgstr "éçºãã©ã«ãã® <literal>src</literal> ã¨ãããã£ã¬ã¯ããªã®é©åãªããã±ã¼ã¸ã«ã ãã®Javaã½ã¼ã¹ãã¡ã¤ã«ãé
ç½®ãã¦ãã ããã ãã®æç¹ã§ãã£ã¬ã¯ããªã¯ä»¥ä¸ã®ããã«ãªã£ã¦ããã¯ãã§ãï¼"
+#. Tag: para
+#: tutorial.xml:103
+#, no-c-format
+msgid ""
+"Place this Java source file in a directory called <literal>src</literal> in "
+"the development folder, and in its correct package. The directory should now "
+"look like this:"
+msgstr ""
+"éçºãã©ã«ãã® <literal>src</literal> ã¨ãããã£ã¬ã¯ããªã®é©åãªããã±ã¼ã¸"
+"ã«ã ãã®Javaã½ã¼ã¹ãã¡ã¤ã«ãé
ç½®ãã¦ãã ããã ãã®æç¹ã§ãã£ã¬ã¯ããªã¯ä»¥ä¸"
+"ã®ããã«ãªã£ã¦ããã¯ãã§ãï¼"
-#: index.docbook:108
+#. Tag: programlisting
+#: tutorial.xml:108
+#, no-c-format
msgid ""
- "<![CDATA[.\n"
- "+lib\n"
- " <Hibernate and third-party libraries>\n"
- "+src\n"
- " +events\n"
- " Event.java]]>"
+"<![CDATA[.\n"
+"+lib\n"
+" <Hibernate and third-party libraries>\n"
+"+src\n"
+" +events\n"
+" Event.java]]>"
msgstr ""
- "<![CDATA[.
-\n"
- "+lib
-\n"
- " <Hibernate and third-party libraries>
-\n"
- "+src
-\n"
- " +events
-\n"
- " Event.java]]>"
-#: index.docbook:110
+#. Tag: para
+#: tutorial.xml:110
+#, no-c-format
msgid "In the next step, we tell Hibernate about this persistent class."
msgstr "次ã®ã¹ãããã§ã¯ãHibernateã«ãã®æ°¸ç¶ã¯ã©ã¹ã®æ
å ±ãæãã¾ãã"
-#: index.docbook:117
+#. Tag: title
+#: tutorial.xml:117
+#, no-c-format
msgid "The mapping file"
msgstr "ãããã³ã°ãã¡ã¤ã«"
-#: index.docbook:119
-msgid "Hibernate needs to know how to load and store objects of the persistent class. This is where the Hibernate mapping file comes into play. The mapping file tells Hibernate what table in the database it has to access, and what columns in that table it should use."
-msgstr "Hibernateã¯ãã©ã®ããã«æ°¸ç¶ã¯ã©ã¹ã®ãªãã¸ã§ã¯ãããã¼ããæ ¼ç´ããã°ããããç¥ãå¿
è¦ãããã¾ãã ããã§Hibernateãããã³ã°ãã¡ã¤ã«ãç»å ´ãã¾ãã ãããã³ã°ãã¡ã¤ã«ã¯ããã¼ã¿ãã¼ã¹å
ã®ã©ã®ãã¼ãã«ã«ã¢ã¯ã»ã¹ããªããã°ãªããªããã ãã®ãã¼ãã«ã®ã©ã®ã«ã©ã ã使ãã¹ããããHibernateã«æãã¾ãã"
+#. Tag: para
+#: tutorial.xml:119
+#, no-c-format
+msgid ""
+"Hibernate needs to know how to load and store objects of the persistent "
+"class. This is where the Hibernate mapping file comes into play. The mapping "
+"file tells Hibernate what table in the database it has to access, and what "
+"columns in that table it should use."
+msgstr ""
+"Hibernateã¯ãã©ã®ããã«æ°¸ç¶ã¯ã©ã¹ã®ãªãã¸ã§ã¯ãããã¼ããæ ¼ç´ããã°ããããç¥"
+"ãå¿
è¦ãããã¾ãã ããã§Hibernateãããã³ã°ãã¡ã¤ã«ãç»å ´ãã¾ãã ãããã³ã°"
+"ãã¡ã¤ã«ã¯ããã¼ã¿ãã¼ã¹å
ã®ã©ã®ãã¼ãã«ã«ã¢ã¯ã»ã¹ããªããã°ãªããªããã ãã®"
+"ãã¼ãã«ã®ã©ã®ã«ã©ã ã使ãã¹ããããHibernateã«æãã¾ãã"
-#: index.docbook:126
+#. Tag: para
+#: tutorial.xml:126
+#, no-c-format
msgid "The basic structure of a mapping file looks like this:"
msgstr "ãããã³ã°ãã¡ã¤ã«ã®åºæ¬çãªæ§é ã¯ãã®ããã«ãªãã¾ãï¼"
-#: index.docbook:130
+#. Tag: programlisting
+#: tutorial.xml:130
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\"?>\n"
- "<!DOCTYPE hibernate-mapping PUBLIC\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
- "\n"
- "<hibernate-mapping>\n"
- "[...]\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<?xml version=\"1.0\"?>\n"
+"<!DOCTYPE hibernate-mapping PUBLIC\n"
+" \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">\n"
+"\n"
+"<hibernate-mapping>\n"
+"[...]\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\"?>
-\n"
- "<!DOCTYPE hibernate-mapping PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Mapping DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd\">
-\n"
- "
-\n"
- "<hibernate-mapping>
-\n"
- "[...]
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:132
-msgid "Note that the Hibernate DTD is very sophisticated. You can use it for auto-completion of XML mapping elements and attributes in your editor or IDE. You also should open up the DTD file in your text editor - it's the easiest way to get an overview of all elements and attributes and to see the defaults, as well as some comments. Note that Hibernate will not load the DTD file from the web, but first look it up from the classpath of the application. The DTD file is included in <literal>hibernate3.jar</literal> as well as in the <literal>src/</literal> directory of the Hibernate distribution."
-msgstr "Hibernate DTDãéå¸¸ã«æ´ç·´ããã¦ãããã¨ã«æ³¨ç®ãã¦ãã ããã ãã®DTDã¯ãã¨ãã£ã¿ãIDEã§ã®XMLãããã³ã°è¦ç´ ã¨å±æ§ã®ãªã¼ãã³ã³ããªã¼ã·ã§ã³æ©è½ã«å©ç¨ã§ãã¾ãã ã¾ãDTDãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éãã¦ã¿ã¦ãã ããã ã¨ããã®ãããã¹ã¦ã®è¦ç´ ã¨å±æ§ãæ¦è¦³ãã ã³ã¡ã³ããããã©ã«ãã®å¤ãè¦ãã«ã¯ä¸çªç°¡åãªæ¹æ³ã ããã§ãã Hibernateã¯ãwebããDTDãã¡ã¤ã«ããã¼ãããã«ã ã¾ãã¢ããªã±ã¼ã·ã§ã³ã®ã¯ã©ã¹ãã¹ãããããæ¢ãåºããã¨ãããã¨ã«æ³¨æãã¦ãã ããã DTDãã¡ã¤ã«ã¯Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>src/</literal> ãã£ã¬ã¯ããªã¨åæ§ã<literal>hibernate3.jar</literal> ã«ãå«ã¾ãã¦ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:132
+#, no-c-format
+msgid ""
+"Note that the Hibernate DTD is very sophisticated. You can use it for auto-"
+"completion of XML mapping elements and attributes in your editor or IDE. You "
+"also should open up the DTD file in your text editor - it's the easiest way "
+"to get an overview of all elements and attributes and to see the defaults, "
+"as well as some comments. Note that Hibernate will not load the DTD file "
+"from the web, but first look it up from the classpath of the application. "
+"The DTD file is included in <literal>hibernate3.jar</literal> as well as in "
+"the <literal>src/</literal> directory of the Hibernate distribution."
+msgstr ""
+"Hibernate DTDãéå¸¸ã«æ´ç·´ããã¦ãããã¨ã«æ³¨ç®ãã¦ãã ããã ãã®DTDã¯ãã¨ãã£"
+"ã¿ãIDEã§ã®XMLãããã³ã°è¦ç´ ã¨å±æ§ã®ãªã¼ãã³ã³ããªã¼ã·ã§ã³æ©è½ã«å©ç¨ã§ãã¾"
+"ãã ã¾ãDTDãã¡ã¤ã«ãããã¹ãã¨ãã£ã¿ã§éãã¦ã¿ã¦ãã ããã ã¨ããã®ãããã¹"
+"ã¦ã®è¦ç´ ã¨å±æ§ãæ¦è¦³ãã ã³ã¡ã³ããããã©ã«ãã®å¤ãè¦ãã«ã¯ä¸çªç°¡åãªæ¹æ³ã ã"
+"ãã§ãã Hibernateã¯ãwebããDTDãã¡ã¤ã«ããã¼ãããã«ã ã¾ãã¢ããªã±ã¼ã·ã§ã³"
+"ã®ã¯ã©ã¹ãã¹ãããããæ¢ãåºããã¨ãããã¨ã«æ³¨æãã¦ãã ããã DTDãã¡ã¤ã«ã¯"
+"Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã® <literal>src/</literal> ãã£ã¬ã¯ããªã¨å"
+"æ§ã<literal>hibernate3.jar</literal> ã«ãå«ã¾ãã¦ãã¾ãã"
-#: index.docbook:143
-msgid "We will omit the DTD declaration in future examples to shorten the code. It is of course not optional."
-msgstr "以éã®ä¾ã§ã¯ã³ã¼ããçãããããã«DTD宣è¨ãçç¥ãã¾ãã å½ç¶ã§ããããã¯ãªãã·ã§ã³ã§ã¯ããã¾ããã"
+#. Tag: para
+#: tutorial.xml:143
+#, no-c-format
+msgid ""
+"We will omit the DTD declaration in future examples to shorten the code. It "
+"is of course not optional."
+msgstr ""
+"以éã®ä¾ã§ã¯ã³ã¼ããçãããããã«DTD宣è¨ãçç¥ãã¾ãã å½ç¶ã§ããããã¯ãªã"
+"ã·ã§ã³ã§ã¯ããã¾ããã"
-#: index.docbook:148
-msgid "Between the two <literal>hibernate-mapping</literal> tags, include a <literal>class</literal> element. All persistent entity classes (again, there might be dependent classes later on, which are not first-class entities) need such a mapping, to a table in the SQL database:"
-msgstr "2ã¤ã® <literal>hibernate-mapping</literal> ã¿ã°ã®éã« <literal>class</literal> è¦ç´ ãå«ãã¦ãã ããã ãã¹ã¦ã®æ°¸ç¶ã¨ã³ãã£ãã£ã¯ã©ã¹ï¼å¿µãæ¼ãã¾ããã ãã¡ã¼ã¹ãã¯ã©ã¹ã®ã¨ã³ãã£ãã£ã§ã¯ãªãä¾åã¯ã©ã¹ã¨ãããã®ãå¾ã»ã©ç»å ´ãã¾ãï¼ ã¯SQLãã¼ã¿ãã¼ã¹å
ã®ãã¼ãã«ã¸ã®ãã®ãããªãããã³ã°ãå¿
è¦ã¨ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:148
+#, no-c-format
+msgid ""
+"Between the two <literal>hibernate-mapping</literal> tags, include a "
+"<literal>class</literal> element. All persistent entity classes (again, "
+"there might be dependent classes later on, which are not first-class "
+"entities) need such a mapping, to a table in the SQL database:"
+msgstr ""
+"2ã¤ã® <literal>hibernate-mapping</literal> ã¿ã°ã®éã« <literal>class</"
+"literal> è¦ç´ ãå«ãã¦ãã ããã ãã¹ã¦ã®æ°¸ç¶ã¨ã³ãã£ãã£ã¯ã©ã¹ï¼å¿µãæ¼ãã¾ã"
+"ãã ãã¡ã¼ã¹ãã¯ã©ã¹ã®ã¨ã³ãã£ãã£ã§ã¯ãªãä¾åã¯ã©ã¹ã¨ãããã®ãå¾ã»ã©ç»å ´ã"
+"ã¾ãï¼ ã¯SQLãã¼ã¿ãã¼ã¹å
ã®ãã¼ãã«ã¸ã®ãã®ãããªãããã³ã°ãå¿
è¦ã¨ãã¾ãã"
-#: index.docbook:155
+#. Tag: programlisting
+#: tutorial.xml:155
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"events.Event\" table=\"EVENTS\">\n"
- "\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"events.Event\" table=\"EVENTS\">\n"
+"\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"events.Event\" table=\"EVENTS\">
-\n"
- "
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:157
-msgid "So far we told Hibernate how to persist and load object of class <literal>Event</literal> to the table <literal>EVENTS</literal>, each instance represented by a row in that table. Now we continue with a mapping of the unique identifier property to the tables primary key. In addition, as we don't want to care about handling this identifier, we configure Hibernate's identifier generation strategy for a surrogate primary key column:"
-msgstr "ããã¾ã§ç§ãã¡ã¯ã<literal>Event</literal> ã¯ã©ã¹ã®ãªãã¸ã§ã¯ãã <literal>EVENTS</literal> ãã¼ãã«ã«å¯¾ãã¦ãã©ã®ããã«æ°¸ç¶åããããã¼ããããããã®ãã Hibernateã«æãã¦ãã¾ãããããã¦åã
ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãã¼ãã«ã®è¡ã¨ãã¦è¡¨ç¾ããã¾ãã ããã§ã¯å¼ãç¶ããã¼ãã«ã®ä¸»ãã¼ã«å¯¾ããã¦ãã¼ã¯ãªèå¥åããããã£ããããã³ã°ãã¦ããã¾ãã ããã«ããã®èå¥åã®æ±ãã«æ°ã使ããããªãã£ãã®ã¨åæ§ã«ã 代çã®ä¸»ãã¼ã«ã©ã ã«å¯¾ããHibernateã®èå¥åçææ¦ç¥ãè¨å®ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:157
+#, no-c-format
+msgid ""
+"So far we told Hibernate how to persist and load object of class "
+"<literal>Event</literal> to the table <literal>EVENTS</literal>, each "
+"instance represented by a row in that table. Now we continue with a mapping "
+"of the unique identifier property to the tables primary key. In addition, as "
+"we don't want to care about handling this identifier, we configure "
+"Hibernate's identifier generation strategy for a surrogate primary key "
+"column:"
+msgstr ""
+"ããã¾ã§ç§ãã¡ã¯ã<literal>Event</literal> ã¯ã©ã¹ã®ãªãã¸ã§ã¯ãã "
+"<literal>EVENTS</literal> ãã¼ãã«ã«å¯¾ãã¦ãã©ã®ããã«æ°¸ç¶åããããã¼ããã"
+"ãããã®ãã Hibernateã«æãã¦ãã¾ãããããã¦åã
ã®ã¤ã³ã¹ã¿ã³ã¹ã¯ãã¼ãã«ã®"
+"è¡ã¨ãã¦è¡¨ç¾ããã¾ãã ããã§ã¯å¼ãç¶ããã¼ãã«ã®ä¸»ãã¼ã«å¯¾ããã¦ãã¼ã¯ãªèå¥"
+"åããããã£ããããã³ã°ãã¦ããã¾ãã ããã«ããã®èå¥åã®æ±ãã«æ°ã使ããã"
+"ãªãã£ãã®ã¨åæ§ã«ã 代çã®ä¸»ãã¼ã«ã©ã ã«å¯¾ããHibernateã®èå¥åçææ¦ç¥ãè¨"
+"å®ãã¾ãã"
-#: index.docbook:165
+#. Tag: programlisting
+#: tutorial.xml:165
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"events.Event\" table=\"EVENTS\">\n"
- " <id name=\"id\" column=\"EVENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"events.Event\" table=\"EVENTS\">\n"
+" <id name=\"id\" column=\"EVENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"events.Event\" table=\"EVENTS\">
-\n"
- " <id name=\"id\" column=\"EVENT_ID\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:167
-msgid "The <literal>id</literal> element is the declaration of the identifer property, <literal>name=\"id\"</literal> declares the name of the Java property - Hibernate will use the getter and setter methods to access the property. The column attribute tells Hibernate which column of the <literal>EVENTS</literal> table we use for this primary key. The nested <literal>generator</literal> element specifies the identifier generation strategy, in this case we used <literal>native</literal>, which picks the best strategy depending on the configured database (dialect). Hibernate supports database generated, globally unique, as well as application assigned identifiers (or any strategy you have written an extension for)."
-msgstr "<literal>id</literal> è¦ç´ ã¯èå¥åããããã£ã®å®£è¨ã§ããã <literal>name=\"id\"</literal> ã§Javaããããã£ã®ååã宣è¨ãã¾ãã Hibernateã¯ãã®ããããã£ã¸ã¢ã¯ã»ã¹ããããã«ã²ãã¿ã¼ãã»ãã¿ã¼ã¡ã½ããã使ãã¾ãã ã«ã©ã 屿§ã§ã¯ <literal>EVENTS</literal> ãã¼ãã«ã®ã©ã®ã«ã©ã ã主ãã¼ã¨ãã¦ä½¿ãã®ãã Hibernateã«æãã¾ãã å
¥ãåã«ãªã£ã¦ãã <literal>generator</literal> è¦ç´ ã¯ãèå¥åãçæããæã®æ¦ç¥ãæå®ãã¾ãã ï¼ãã®ä¾ã§ã¯ <literal>native</literal> ãç¨ãã¾ããï¼ã ãã®è¦ç´ ã¯ãè¨å®ãããã¼ã¿ãã¼ã¹ï¼dialectï¼ã«å¯¾ããæè¯ãªèå¥åçææ¦ç¥ãé¸å®ãããã®ã§ãã Hibernateã¯ãã¢ããªã±ã¼ã·ã§ã³ã§å¤ãå²ãå½ã¦ãæ¦ç¥ï¼ãããã¯ç¬èªã«æ¡å¼µããæ¦ç¥ï¼ã¨åæ§ã«ã ã°ãã¼ãã«ã«ã¦ãã¼ã¯ãªå¤ããã¼ã¿ãã¼ã¹ã«çæãããæ¦ç¥ããµãã¼ã!
ãã¦ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:167
+#, no-c-format
+msgid ""
+"The <literal>id</literal> element is the declaration of the identifer "
+"property, <literal>name=\"id\"</literal> declares the name of the Java "
+"property - Hibernate will use the getter and setter methods to access the "
+"property. The column attribute tells Hibernate which column of the "
+"<literal>EVENTS</literal> table we use for this primary key. The nested "
+"<literal>generator</literal> element specifies the identifier generation "
+"strategy, in this case we used <literal>native</literal>, which picks the "
+"best strategy depending on the configured database (dialect). Hibernate "
+"supports database generated, globally unique, as well as application "
+"assigned identifiers (or any strategy you have written an extension for)."
+msgstr ""
+"<literal>id</literal> è¦ç´ ã¯èå¥åããããã£ã®å®£è¨ã§ããã <literal>name=\"id"
+"\"</literal> ã§Javaããããã£ã®ååã宣è¨ãã¾ãã Hibernateã¯ãã®ããããã£ã¸"
+"ã¢ã¯ã»ã¹ããããã«ã²ãã¿ã¼ãã»ãã¿ã¼ã¡ã½ããã使ãã¾ãã ã«ã©ã 屿§ã§ã¯ "
+"<literal>EVENTS</literal> ãã¼ãã«ã®ã©ã®ã«ã©ã ã主ãã¼ã¨ãã¦ä½¿ãã®ãã "
+"Hibernateã«æãã¾ãã å
¥ãåã«ãªã£ã¦ãã <literal>generator</literal> è¦ç´ "
+"ã¯ãèå¥åãçæããæã®æ¦ç¥ãæå®ãã¾ãã ï¼ãã®ä¾ã§ã¯ <literal>native</"
+"literal> ãç¨ãã¾ããï¼ã ãã®è¦ç´ ã¯ãè¨å®ãããã¼ã¿ãã¼ã¹ï¼dialectï¼ã«å¯¾ãã"
+"æè¯ãªèå¥åçææ¦ç¥ãé¸å®ãããã®ã§ãã Hibernateã¯ãã¢ããªã±ã¼ã·ã§ã³ã§å¤ã"
+"å²ãå½ã¦ãæ¦ç¥ï¼ãããã¯ç¬èªã«æ¡å¼µããæ¦ç¥ï¼ã¨åæ§ã«ã ã°ãã¼ãã«ã«ã¦ãã¼ã¯ãª"
+"å¤ããã¼ã¿ãã¼ã¹ã«çæãããæ¦ç¥ããµãã¼ããã¦ãã¾ãã"
-#: index.docbook:180
-msgid "Finally we include declarations for the persistent properties of the class in the mapping file. By default, no properties of the class are considered persistent:"
-msgstr "æå¾ã«ã¯ã©ã¹ã®æ°¸ç¶ããããã£ã®å®£è¨ããããã³ã°ãã¡ã¤ã«ã«å«ãã¾ãã ããã©ã«ãã§ã¯ãã¯ã©ã¹ã®ããããã£ã¯æ°¸ç¶ã¨è¦ãªããã¾ããï¼"
+#. Tag: para
+#: tutorial.xml:180
+#, no-c-format
+msgid ""
+"Finally we include declarations for the persistent properties of the class "
+"in the mapping file. By default, no properties of the class are considered "
+"persistent:"
+msgstr ""
+"æå¾ã«ã¯ã©ã¹ã®æ°¸ç¶ããããã£ã®å®£è¨ããããã³ã°ãã¡ã¤ã«ã«å«ãã¾ãã ããã©ã«ã"
+"ã§ã¯ãã¯ã©ã¹ã®ããããã£ã¯æ°¸ç¶ã¨è¦ãªããã¾ããï¼"
-#: index.docbook:186
+#. Tag: programlisting
+#: tutorial.xml:186
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- "<hibernate-mapping>\n"
- "\n"
- " <class name=\"events.Event\" table=\"EVENTS\">\n"
- " <id name=\"id\" column=\"EVENT_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"date\" type=\"timestamp\" column=\"EVENT_DATE\"/>\n"
- " <property name=\"title\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[\n"
+"<hibernate-mapping>\n"
+"\n"
+" <class name=\"events.Event\" table=\"EVENTS\">\n"
+" <id name=\"id\" column=\"EVENT_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"date\" type=\"timestamp\" column=\"EVENT_DATE\"/>\n"
+" <property name=\"title\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[
-\n"
- "<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"events.Event\" table=\"EVENTS\">
-\n"
- " <id name=\"id\" column=\"EVENT_ID\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"date\" type=\"timestamp\" column=\"EVENT_DATE\"/>
-\n"
- " <property name=\"title\"/>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:188
-msgid "Just as with the <literal>id</literal> element, the <literal>name</literal> attribute of the <literal>property</literal> element tells Hibernate which getter and setter methods to use. So, in this case, Hibernate will look for <literal>getDate()/setDate()</literal>, as well as <literal>getTitle()/setTitle()</literal>."
-msgstr "<literal>id</literal> è¦ç´ ã®å ´åã¨åæ§ã«ã <literal>property</literal> è¦ç´ ã® <literal>name</literal> 屿§ã§ãã©ã®ã²ãã¿ã¼ã¨ã»ãã¿ã¼ã¡ã½ããã使ãã¹ãããHibernateã«æãã¾ãã ãã®ä¾ã§ã¯ãHibernate㯠<literal>getDate()/setDate()</literal> 㨠<literal>getTitle()/setTitle()</literal> ã æ¢ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:188
+#, no-c-format
+msgid ""
+"Just as with the <literal>id</literal> element, the <literal>name</literal> "
+"attribute of the <literal>property</literal> element tells Hibernate which "
+"getter and setter methods to use. So, in this case, Hibernate will look for "
+"<literal>getDate()/setDate()</literal>, as well as <literal>getTitle()/"
+"setTitle()</literal>."
+msgstr ""
+"<literal>id</literal> è¦ç´ ã®å ´åã¨åæ§ã«ã <literal>property</literal> è¦ç´ "
+"ã® <literal>name</literal> 屿§ã§ãã©ã®ã²ãã¿ã¼ã¨ã»ãã¿ã¼ã¡ã½ããã使ãã¹ãã"
+"ãHibernateã«æãã¾ãã ãã®ä¾ã§ã¯ãHibernate㯠<literal>getDate()/setDate()"
+"</literal> 㨠<literal>getTitle()/setTitle()</literal> ã æ¢ãã¾ãã"
-#: index.docbook:195
-msgid "Why does the <literal>date</literal> property mapping include the <literal>column</literal> attribute, but the <literal>title</literal> doesn't? Without the <literal>column</literal> attribute Hibernate by default uses the property name as the column name. This works fine for <literal>title</literal>. However, <literal>date</literal> is a reserved keyword in most database, so we better map it to a different name."
-msgstr "ãªã <literal>date</literal> ããããã£ã®ãããã³ã°ã«ã¯ <literal>column</literal> 屿§ãããã<literal>title</literal> ããããã£ã«ã¯ãªãã®ã§ããããï¼ <literal>column</literal> 屿§ããªããã°ãHibernateã¯ããããã£åãã«ã©ã åã¨ãã¦ä½¿ãã¾ãã ãã㯠<literal>title</literal> ã§ã¯ä¸æãè¡ãã¾ãã ããã <literal>date</literal> ã¯ã»ã¨ãã©ã®ãã¼ã¿ãã¼ã¹ã§äºç´èªãªã®ã§ã éãååã§ãããã³ã°ããæ¹ãããã®ã§ãã"
+#. Tag: para
+#: tutorial.xml:195
+#, no-c-format
+msgid ""
+"Why does the <literal>date</literal> property mapping include the "
+"<literal>column</literal> attribute, but the <literal>title</literal> "
+"doesn't? Without the <literal>column</literal> attribute Hibernate by "
+"default uses the property name as the column name. This works fine for "
+"<literal>title</literal>. However, <literal>date</literal> is a reserved "
+"keyword in most database, so we better map it to a different name."
+msgstr ""
+"ãªã <literal>date</literal> ããããã£ã®ãããã³ã°ã«ã¯ <literal>column</"
+"literal> 屿§ãããã<literal>title</literal> ããããã£ã«ã¯ãªãã®ã§ããã"
+"ãï¼ <literal>column</literal> 屿§ããªããã°ãHibernateã¯ããããã£åãã«ã©"
+"ã åã¨ãã¦ä½¿ãã¾ãã ãã㯠<literal>title</literal> ã§ã¯ä¸æãè¡ãã¾ãã ã"
+"ãã <literal>date</literal> ã¯ã»ã¨ãã©ã®ãã¼ã¿ãã¼ã¹ã§äºç´èªãªã®ã§ã éãå"
+"åã§ãããã³ã°ããæ¹ãããã®ã§ãã"
-#: index.docbook:204
-msgid "The next interesting thing is that the <literal>title</literal> mapping also lacks a <literal>type</literal> attribute. The types we declare and use in the mapping files are not, as you might expect, Java data types. They are also not SQL database types. These types are so called <emphasis>Hibernate mapping types</emphasis>, converters which can translate from Java to SQL data types and vice versa. Again, Hibernate will try to determine the correct conversion and mapping type itself if the <literal>type</literal> attribute is not present in the mapping. In some cases this automatic detection (using Reflection on the Java class) might not have the default you expect or need. This is the case with the <literal>date</literal> property. Hibernate can't know if the property (which is of <literal>java.util.Date</literal>) should map to a SQL <literal>date</literal>, <literal>timestamp</literal>, or <literal>time</literal> column. We preserve full date and time information !
by mapping the property with a <literal>timestamp</literal> converter."
-msgstr "次ã«è峿·±ãã®ã¯ <literal>title</literal> ãããã³ã°ã <literal>type</literal> 屿§ããæ¬ ãã¦ããç¹ã§ãã ãããã³ã°ãã¡ã¤ã«ã§å®£è¨ãã¦ä½¿ãtypeã¯ãããããããããã¾ãããJavaã®ãã¼ã¿åã§ã¯ããã¾ããã SQLãã¼ã¿ãã¼ã¹ã®åã§ãããã¾ããã ãã㯠<emphasis>Hibernateãããã³ã°å</emphasis> ã¨å¼ã°ããã JavaããSQLãã¼ã¿ã®åã¸ã¾ãã¯SQLããJavaãã¼ã¿åã¸ç¿»è¨³ããã³ã³ãã¼ã¿ã§ãã ç¹°ãè¿ãã«ãªãã¾ãããHibernate㯠<literal>type</literal> 屿§ããããã³ã°ãã¡ã¤ã«å
ã«ãªããã°ã æ£ããã³ã³ãã¼ã¸ã§ã³ã¨ãããã³ã°åãèªåã§è§£æ±ºãããã¨ãã¾ãã ï¼Javaã¯ã©ã¹ã®ãªãã¬ã¯ã·ã§ã³ã使ã£ãï¼ãã®èªåæ¤ç¥ã¯ã å ´åã«ãã£ã¦ã¯ããªããæå¾
ã¾ãã¯å¿
è¦ã¨ããããã©ã«ãå¤ã«ãªããªãããããã¾ããã <literal>date</literal> ããããã£ã®å ´åã!
ããã§ããã Hibernateã¯ãã®ï¼ <literal>java.util.Date</literal> ã®ï¼ããããã£ã SQLã® <literal>date</literal> , <literal>timestamp</literal> , <literal>time</literal> ã®ãã¡ãã©ã®ã«ã©ã ã«ãããã³ã°ããã¹ããªã®ããããã¾ããã <literal>timestamp</literal> ã³ã³ãã¼ã¿ã§ããããã£ããããã³ã°ãããã¨ã«ãããå®å
¨ãªæ¥æãä¿åãã¾ãã"
+#. Tag: para
+#: tutorial.xml:204
+#, no-c-format
+msgid ""
+"The next interesting thing is that the <literal>title</literal> mapping also "
+"lacks a <literal>type</literal> attribute. The types we declare and use in "
+"the mapping files are not, as you might expect, Java data types. They are "
+"also not SQL database types. These types are so called <emphasis>Hibernate "
+"mapping types</emphasis>, converters which can translate from Java to SQL "
+"data types and vice versa. Again, Hibernate will try to determine the "
+"correct conversion and mapping type itself if the <literal>type</literal> "
+"attribute is not present in the mapping. In some cases this automatic "
+"detection (using Reflection on the Java class) might not have the default "
+"you expect or need. This is the case with the <literal>date</literal> "
+"property. Hibernate can't know if the property (which is of <literal>java."
+"util.Date</literal>) should map to a SQL <literal>date</literal>, "
+"<literal>timestamp</literal>, or <literal>time</literal> column. We preserve "
+"full date and time information by mapping the property with a "
+"<literal>timestamp</literal> converter."
+msgstr ""
+"次ã«è峿·±ãã®ã¯ <literal>title</literal> ãããã³ã°ã <literal>type</"
+"literal> 屿§ããæ¬ ãã¦ããç¹ã§ãã ãããã³ã°ãã¡ã¤ã«ã§å®£è¨ãã¦ä½¿ãtypeã¯ã"
+"ããããããããã¾ãããJavaã®ãã¼ã¿åã§ã¯ããã¾ããã SQLãã¼ã¿ãã¼ã¹ã®åã§"
+"ãããã¾ããã ãã㯠<emphasis>Hibernateãããã³ã°å</emphasis> ã¨å¼ã°ã"
+"ãã JavaããSQLãã¼ã¿ã®åã¸ã¾ãã¯SQLããJavaãã¼ã¿åã¸ç¿»è¨³ããã³ã³ãã¼ã¿ã§"
+"ãã ç¹°ãè¿ãã«ãªãã¾ãããHibernate㯠<literal>type</literal> 屿§ããããã³"
+"ã°ãã¡ã¤ã«å
ã«ãªããã°ã æ£ããã³ã³ãã¼ã¸ã§ã³ã¨ãããã³ã°åãèªåã§è§£æ±ºããã"
+"ã¨ãã¾ãã ï¼Javaã¯ã©ã¹ã®ãªãã¬ã¯ã·ã§ã³ã使ã£ãï¼ãã®èªåæ¤ç¥ã¯ã å ´åã«ãã£"
+"ã¦ã¯ããªããæå¾
ã¾ãã¯å¿
è¦ã¨ããããã©ã«ãå¤ã«ãªããªãããããã¾ããã "
+"<literal>date</literal> ããããã£ã®å ´åãããã§ããã Hibernateã¯ãã®"
+"ï¼ <literal>java.util.Date</literal> ã®ï¼ããããã£ã SQLã® <literal>date</"
+"literal> , <literal>timestamp</literal> , <literal>time</literal> ã®ãã¡ãã©"
+"ã®ã«ã©ã ã«ãããã³ã°ããã¹ããªã®ããããã¾ããã <literal>timestamp</"
+"literal> ã³ã³ãã¼ã¿ã§ããããã£ããããã³ã°ãããã¨ã«ãããå®å
¨ãªæ¥æãä¿åã"
+"ã¾ãã"
-#: index.docbook:220
-msgid "This mapping file should be saved as <literal>Event.hbm.xml</literal>, right in the directory next to the <literal>Event</literal> Java class source file. The naming of mapping files can be arbitrary, however the <literal>hbm.xml</literal> suffix is a convention in the Hibernate developer community. The directory structure should now look like this:"
-msgstr "ãã®ãããã³ã°ãã¡ã¤ã«ã¯ã<literal>Event.hbm.xml</literal> ã¨ã㦠<literal>Event</literal> Javaã¯ã©ã¹ã½ã¼ã¹ãã¡ã¤ã«ã®ããé£ã«ã»ã¼ãããã¹ãã§ãã ãããã³ã°ãã¡ã¤ã«ã®å½åæ¹æ³ã¯ä»»æã§ããã<literal>hbm.xml</literal> ãµãã£ãã¯ã¹ãHibernateã®éçºè
ã®ã³ãã¥ããã£å
ã§ã®ç¿æ
£ã¨ãªã£ã¦ãã¾ãã ç¾å¨ãã£ã¬ã¯ããªæ§é ã¯ãã®ããã«ãªã£ã¦ããã¯ãã§ãï¼"
+#. Tag: para
+#: tutorial.xml:220
+#, no-c-format
+msgid ""
+"This mapping file should be saved as <literal>Event.hbm.xml</literal>, right "
+"in the directory next to the <literal>Event</literal> Java class source "
+"file. The naming of mapping files can be arbitrary, however the <literal>hbm."
+"xml</literal> suffix is a convention in the Hibernate developer community. "
+"The directory structure should now look like this:"
+msgstr ""
+"ãã®ãããã³ã°ãã¡ã¤ã«ã¯ã<literal>Event.hbm.xml</literal> ã¨ã㦠"
+"<literal>Event</literal> Javaã¯ã©ã¹ã½ã¼ã¹ãã¡ã¤ã«ã®ããé£ã«ã»ã¼ãããã¹ãã§"
+"ãã ãããã³ã°ãã¡ã¤ã«ã®å½åæ¹æ³ã¯ä»»æã§ããã<literal>hbm.xml</literal> ãµ"
+"ãã£ãã¯ã¹ãHibernateã®éçºè
ã®ã³ãã¥ããã£å
ã§ã®ç¿æ
£ã¨ãªã£ã¦ãã¾ãã ç¾å¨"
+"ãã£ã¬ã¯ããªæ§é ã¯ãã®ããã«ãªã£ã¦ããã¯ãã§ãï¼"
-#: index.docbook:228
+#. Tag: programlisting
+#: tutorial.xml:228
+#, no-c-format
msgid ""
- "<![CDATA[.\n"
- "+lib\n"
- " <Hibernate and third-party libraries>\n"
- "+src\n"
- " +events\n"
- " Event.java\n"
- " Event.hbm.xml]]>"
+"<![CDATA[.\n"
+"+lib\n"
+" <Hibernate and third-party libraries>\n"
+"+src\n"
+" +events\n"
+" Event.java\n"
+" Event.hbm.xml]]>"
msgstr ""
- "<![CDATA[.
-\n"
- "+lib
-\n"
- " <Hibernate and third-party libraries>
-\n"
- "+src
-\n"
- " +events
-\n"
- " Event.java
-\n"
- " Event.hbm.xml]]>"
-#: index.docbook:230
+#. Tag: para
+#: tutorial.xml:230
+#, no-c-format
msgid "We continue with the main configuration of Hibernate."
msgstr "Hibernateã®ä¸»è¦ãªè¨å®ãç¶ãã¾ãã"
-#: index.docbook:237
+#. Tag: title
+#: tutorial.xml:237
+#, no-c-format
msgid "Hibernate configuration"
msgstr "Hibernateã®è¨å®"
-#: index.docbook:239
-msgid "We now have a persistent class and its mapping file in place. It is time to configure Hibernate. Before we do this, we will need a database. HSQL DB, a java-based SQL DBMS, can be downloaded from the HSQL DB website(http://hsqldb.org/). Actually, you only need the <literal>hsqldb.jar</literal> from this download. Place this file in the <literal>lib/</literal> directory of the development folder."
-msgstr "ããã¾ã§ã§æ°¸ç¶ã¯ã©ã¹ã¨ãããã³ã°ãã¡ã¤ã«ãæãã¾ãããããããHibernateã®è¨å®ãè¡ãã¾ããã ãã®åã«ãã¼ã¿ãã¼ã¹ãå¿
è¦ã§ãã HSQL DBã¯Javaãã¼ã¹ã®ã¤ã³ã¡ã¢ãªSQL DBMSã§ãããHSQL DBã¦ã§ããµã¤ããããã¦ã³ãã¼ãã§ãã¾ãã å®éã«ã¯ãã¦ã³ãã¼ãããä¸ã® <literal>hsqldb.jar</literal> ã ããå¿
è¦ã§ãã ãã®ãã¡ã¤ã«ãéçºãã©ã«ãã® <literal>lib/</literal> ãã£ã¬ã¯ããªã«é
ç½®ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:239
+#, no-c-format
+msgid ""
+"We now have a persistent class and its mapping file in place. It is time to "
+"configure Hibernate. Before we do this, we will need a database. HSQL DB, a "
+"java-based SQL DBMS, can be downloaded from the HSQL DB website(http://"
+"hsqldb.org/). Actually, you only need the <literal>hsqldb.jar</literal> from "
+"this download. Place this file in the <literal>lib/</literal> directory of "
+"the development folder."
+msgstr ""
+"ããã¾ã§ã§æ°¸ç¶ã¯ã©ã¹ã¨ãããã³ã°ãã¡ã¤ã«ãæãã¾ãããããããHibernateã®è¨å®"
+"ãè¡ãã¾ããã ãã®åã«ãã¼ã¿ãã¼ã¹ãå¿
è¦ã§ãã HSQL DBã¯Javaãã¼ã¹ã®ã¤ã³ã¡ã¢"
+"ãªSQL DBMSã§ãããHSQL DBã¦ã§ããµã¤ããããã¦ã³ãã¼ãã§ãã¾ãã å®éã«ã¯ãã¦"
+"ã³ãã¼ãããä¸ã® <literal>hsqldb.jar</literal> ã ããå¿
è¦ã§ãã ãã®ãã¡ã¤ã«"
+"ãéçºãã©ã«ãã® <literal>lib/</literal> ãã£ã¬ã¯ããªã«é
ç½®ãã¦ãã ããã"
-#: index.docbook:247
-msgid "Create a directory called <literal>data</literal> in the root of the development directory - this is where HSQL DB will store its data files. Now start the database by running <literal>java -classpath ../lib/hsqldb.jar org.hsqldb.Server</literal> in this data directory. You can see it start up and bind to a TCP/IP socket, this is where our application will connect later. If you want to start with a fresh database during this tutorial, shutdown HSQL DB (press <literal>CTRL + C</literal> in the window), delete all files in the <literal>data/</literal> directory, and start HSQL DB again."
-msgstr "<literal>data</literal> ã¨ãããã£ã¬ã¯ããªãéçºãã£ã¬ã¯ããªã®ã«ã¼ãã«ä½æãã¦ãã ããã HSQL DBã¯ããã«ãã¼ã¿ãã¡ã¤ã«ãæ ¼ç´ãã¾ãã ãã®ãã¼ã¿ãã£ã¬ã¯ããªã«ãã㦠<literal>java -classpath lib/hsqldb.jar org.hsqldb.Server</literal> ãå®è¡ãã ãã¼ã¿ãã¼ã¹ãèµ·åããã¦ãã ããã åä½ã®éå§ã¨ãTCP/IPã½ã±ããã®ãã¤ã³ãã確èªã§ãã¾ãã å¾ã»ã©ä½æããã¢ããªã±ã¼ã·ã§ã³ã¯ããã«æ¥ç¶ãã¾ãã ãããã®ãã¥ã¼ããªã¢ã«ä¸ã«ãã¼ã¿ãã¼ã¹ãåæåããããã°ã HSQL DBãã·ã£ãããã¦ã³ãã¦ï¼ä½æ¥ã¦ã£ã³ãã¦ã§ <literal>CTRL + C</literal> ãæ¼ãã¾ãï¼ <literal>data/</literal> ãã£ã¬ã¯ããªå
ã®ãã¡ã¤ã«ãå
¨ã¦æ¶å»ããå¾ã HSQL DBãåèµ·åãã¾ãã"
+#. Tag: para
+#: tutorial.xml:247
+#, no-c-format
+msgid ""
+"Create a directory called <literal>data</literal> in the root of the "
+"development directory - this is where HSQL DB will store its data files. Now "
+"start the database by running <literal>java -classpath ../lib/hsqldb.jar org."
+"hsqldb.Server</literal> in this data directory. You can see it start up and "
+"bind to a TCP/IP socket, this is where our application will connect later. "
+"If you want to start with a fresh database during this tutorial, shutdown "
+"HSQL DB (press <literal>CTRL + C</literal> in the window), delete all files "
+"in the <literal>data/</literal> directory, and start HSQL DB again."
+msgstr ""
+"<literal>data</literal> ã¨ãããã£ã¬ã¯ããªãéçºãã£ã¬ã¯ããªã®ã«ã¼ãã«ä½æã"
+"ã¦ãã ããã HSQL DBã¯ããã«ãã¼ã¿ãã¡ã¤ã«ãæ ¼ç´ãã¾ãã ãã®ãã¼ã¿ãã£ã¬ã¯ã"
+"ãªã«ãã㦠<literal>java -classpath lib/hsqldb.jar org.hsqldb.Server</"
+"literal> ãå®è¡ãã ãã¼ã¿ãã¼ã¹ãèµ·åããã¦ãã ããã åä½ã®éå§ã¨ãTCP/IPã½"
+"ã±ããã®ãã¤ã³ãã確èªã§ãã¾ãã å¾ã»ã©ä½æããã¢ããªã±ã¼ã·ã§ã³ã¯ããã«æ¥ç¶ã"
+"ã¾ãã ãããã®ãã¥ã¼ããªã¢ã«ä¸ã«ãã¼ã¿ãã¼ã¹ãåæåããããã°ã HSQL DBã"
+"ã·ã£ãããã¦ã³ãã¦ï¼ä½æ¥ã¦ã£ã³ãã¦ã§ <literal>CTRL + C</literal> ãæ¼ãã¾"
+"ãï¼ <literal>data/</literal> ãã£ã¬ã¯ããªå
ã®ãã¡ã¤ã«ãå
¨ã¦æ¶å»ããå¾ã "
+"HSQL DBãåèµ·åãã¾ãã"
-#: index.docbook:257
-msgid "Hibernate is the layer in your application which connects to this database, so it needs connection information. The connections are made through a JDBC connection pool, which we also have to configure. The Hibernate distribution contains several open source JDBC connection pooling tools, but will use the Hibernate built-in connection pool for this tutorial. Note that you have to copy the required library into your classpath and use different connection pooling settings if you want to use a production-quality third party JDBC pooling software."
-msgstr "Hibernateã¯ã¢ããªã±ã¼ã·ã§ã³ã®ãã¼ã¿ãã¼ã¹ã«æ¥ç¶ãã層ãªã®ã§ã ã³ãã¯ã·ã§ã³ã®æ
å ±ãå¿
è¦ã«ãªãã¾ãã ã³ãã¯ã·ã§ã³ã¯JDBCã³ãã¯ã·ã§ã³ãã¼ã«ãéãã¦è¡ããã¾ããããããè¨å®ããå¿
è¦ãããã¾ãã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ã¯ããã¤ãã®ãªã¼ãã³ã½ã¼ã¹ã®JDBCã³ãã¯ã·ã§ã³ãã¼ã«ãã¼ã«ãå«ã¾ãã¦ãã¾ããã ãã®ãã¥ã¼ããªã¢ã«ã§ã¯Hibernateã«çµã¿è¾¼ã¾ããã³ãã¯ã·ã§ã³ãã¼ã«ã使ãã¾ãã ãã製åã¬ãã«ã®å質ã®ãµã¼ããã¼ãã£JDBCã³ãã¯ã·ã§ã³ãã¼ã«ã½ããã¦ã§ã¢ã使ããããã°ã ã¯ã©ã¹ãã¹ã«å¿
è¦ãªã©ã¤ãã©ãªãã³ãã¼ãã¦ãç°ãªãã³ãã¯ã·ã§ã³ãã¼ã«ãè¨å®ããªããã° ãªããªããã¨ã«æ³¨æãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:257
+#, no-c-format
+msgid ""
+"Hibernate is the layer in your application which connects to this database, "
+"so it needs connection information. The connections are made through a JDBC "
+"connection pool, which we also have to configure. The Hibernate distribution "
+"contains several open source JDBC connection pooling tools, but will use the "
+"Hibernate built-in connection pool for this tutorial. Note that you have to "
+"copy the required library into your classpath and use different connection "
+"pooling settings if you want to use a production-quality third party JDBC "
+"pooling software."
+msgstr ""
+"Hibernateã¯ã¢ããªã±ã¼ã·ã§ã³ã®ãã¼ã¿ãã¼ã¹ã«æ¥ç¶ãã層ãªã®ã§ã ã³ãã¯ã·ã§ã³ã®"
+"æ
å ±ãå¿
è¦ã«ãªãã¾ãã ã³ãã¯ã·ã§ã³ã¯JDBCã³ãã¯ã·ã§ã³ãã¼ã«ãéãã¦è¡ããã¾ã"
+"ãããããè¨å®ããå¿
è¦ãããã¾ãã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ã¯ããã¤"
+"ãã®ãªã¼ãã³ã½ã¼ã¹ã®JDBCã³ãã¯ã·ã§ã³ãã¼ã«ãã¼ã«ãå«ã¾ãã¦ãã¾ããã ãã®"
+"ãã¥ã¼ããªã¢ã«ã§ã¯Hibernateã«çµã¿è¾¼ã¾ããã³ãã¯ã·ã§ã³ãã¼ã«ã使ãã¾ãã ãã"
+"製åã¬ãã«ã®å質ã®ãµã¼ããã¼ãã£JDBCã³ãã¯ã·ã§ã³ãã¼ã«ã½ããã¦ã§ã¢ã使ããã"
+"ãã°ã ã¯ã©ã¹ãã¹ã«å¿
è¦ãªã©ã¤ãã©ãªãã³ãã¼ãã¦ãç°ãªãã³ãã¯ã·ã§ã³ãã¼ã«ãè¨"
+"å®ããªããã° ãªããªããã¨ã«æ³¨æãã¦ãã ããã"
-#: index.docbook:267
-msgid "For Hibernate's configuration, we can use a simple <literal>hibernate.properties</literal> file, a slightly more sophisticated <literal>hibernate.cfg.xml</literal> file, or even complete programmatic setup. Most users prefer the XML configuration file:"
-msgstr "Hibernateã®è¨å®ã§ã¯ãåç´ãª <literal>hibernate.properties</literal> ãã¡ã¤ã«ã ããããå°ãæ´ç·´ããã¦ãã <literal>hibernate.cfg.xml</literal> ãã¡ã¤ã«ã ã¾ãã¯å®å
¨ã«ããã°ã©ã ä¸ã§ã»ããã¢ããããæ¹æ³ãå©ç¨ã§ãã¾ãã ã»ã¨ãã©ã®ã¦ã¼ã¶ã好ãã®ã¯XMLè¨å®ãã¡ã¤ã«ã§ãï¼"
+#. Tag: para
+#: tutorial.xml:267
+#, no-c-format
+msgid ""
+"For Hibernate's configuration, we can use a simple <literal>hibernate."
+"properties</literal> file, a slightly more sophisticated <literal>hibernate."
+"cfg.xml</literal> file, or even complete programmatic setup. Most users "
+"prefer the XML configuration file:"
+msgstr ""
+"Hibernateã®è¨å®ã§ã¯ãåç´ãª <literal>hibernate.properties</literal> ãã¡ã¤"
+"ã«ã ããããå°ãæ´ç·´ããã¦ãã <literal>hibernate.cfg.xml</literal> ãã¡ã¤"
+"ã«ã ã¾ãã¯å®å
¨ã«ããã°ã©ã ä¸ã§ã»ããã¢ããããæ¹æ³ãå©ç¨ã§ãã¾ãã ã»ã¨ãã©"
+"ã®ã¦ã¼ã¶ã好ãã®ã¯XMLè¨å®ãã¡ã¤ã«ã§ãï¼"
-#: index.docbook:273
+#. Tag: programlisting
+#: tutorial.xml:273
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version='1.0' encoding='utf-8'?>\n"
- "<!DOCTYPE hibernate-configuration PUBLIC\n"
- " \"-//Hibernate/Hibernate Configuration DTD 3.0//EN\"\n"
- " \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd\">\n"
- "\n"
- "<hibernate-configuration>\n"
- "\n"
- " <session-factory>\n"
- "\n"
- " <!-- Database connection settings -->\n"
- " <property name=\"connection.driver_class\">org.hsqldb.jdbcDriver</property>\n"
- " <property name=\"connection.url\">jdbc:hsqldb:hsql://localhost</property>\n"
- " <property name=\"connection.username\">sa</property>\n"
- " <property name=\"connection.password\"></property>\n"
- "\n"
- " <!-- JDBC connection pool (use the built-in) -->\n"
- " <property name=\"connection.pool_size\">1</property>\n"
- "\n"
- " <!-- SQL dialect -->\n"
- " <property name=\"dialect\">org.hibernate.dialect.HSQLDialect</property>\n"
- "\n"
- " <!-- Enable Hibernate's automatic session context management -->\n"
- " <property name=\"current_session_context_class\">thread</property>\n"
- "\n"
- " <!-- Disable the second-level cache -->\n"
- " <property name=\"cache.provider_class\">org.hibernate.cache.NoCacheProvider</property>\n"
- "\n"
- " <!-- Echo all executed SQL to stdout -->\n"
- " <property name=\"show_sql\">true</property>\n"
- "\n"
- " <!-- Drop and re-create the database schema on startup -->\n"
- " <property name=\"hbm2ddl.auto\">create</property>\n"
- "\n"
- " <mapping resource=\"events/Event.hbm.xml\"/>\n"
- "\n"
- " </session-factory>\n"
- "\n"
- "</hibernate-configuration>]]>"
+"<![CDATA[<?xml version='1.0' encoding='utf-8'?>\n"
+"<!DOCTYPE hibernate-configuration PUBLIC\n"
+" \"-//Hibernate/Hibernate Configuration DTD 3.0//EN\"\n"
+" \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"
+"\">\n"
+"\n"
+"<hibernate-configuration>\n"
+"\n"
+" <session-factory>\n"
+"\n"
+" <!-- Database connection settings -->\n"
+" <property name=\"connection.driver_class\">org.hsqldb.jdbcDriver</"
+"property>\n"
+" <property name=\"connection.url\">jdbc:hsqldb:hsql://localhost</"
+"property>\n"
+" <property name=\"connection.username\">sa</property>\n"
+" <property name=\"connection.password\"></property>\n"
+"\n"
+" <!-- JDBC connection pool (use the built-in) -->\n"
+" <property name=\"connection.pool_size\">1</property>\n"
+"\n"
+" <!-- SQL dialect -->\n"
+" <property name=\"dialect\">org.hibernate.dialect.HSQLDialect</"
+"property>\n"
+"\n"
+" <!-- Enable Hibernate's automatic session context management -->\n"
+" <property name=\"current_session_context_class\">thread</property>\n"
+"\n"
+" <!-- Disable the second-level cache -->\n"
+" <property name=\"cache.provider_class\">org.hibernate.cache."
+"NoCacheProvider</property>\n"
+"\n"
+" <!-- Echo all executed SQL to stdout -->\n"
+" <property name=\"show_sql\">true</property>\n"
+"\n"
+" <!-- Drop and re-create the database schema on startup -->\n"
+" <property name=\"hbm2ddl.auto\">create</property>\n"
+"\n"
+" <mapping resource=\"events/Event.hbm.xml\"/>\n"
+"\n"
+" </session-factory>\n"
+"\n"
+"</hibernate-configuration>]]>"
msgstr ""
- "<![CDATA[<?xml version='1.0' encoding='utf-8'?>
-\n"
- "<!DOCTYPE hibernate-configuration PUBLIC
-\n"
- " \"-//Hibernate/Hibernate Configuration DTD 3.0//EN\"
-\n"
- " \"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd\">
-\n"
- "
-\n"
- "<hibernate-configuration>
-\n"
- "
-\n"
- " <session-factory>
-\n"
- "
-\n"
- " <!-- Database connection settings -->
-\n"
- " <property name=\"connection.driver_class\">org.hsqldb.jdbcDriver</property>
-\n"
- " <property name=\"connection.url\">jdbc:hsqldb:hsql://localhost</property>
-\n"
- " <property name=\"connection.username\">sa</property>
-\n"
- " <property name=\"connection.password\"></property>
-\n"
- "
-\n"
- " <!-- JDBC connection pool (use the built-in) -->
-\n"
- " <property name=\"connection.pool_size\">1</property>
-\n"
- "
-\n"
- " <!-- SQL dialect -->
-\n"
- " <property name=\"dialect\">org.hibernate.dialect.HSQLDialect</property>
-\n"
- "
-\n"
- " <!-- Enable Hibernate's automatic session context management -->
-\n"
- " <property name=\"current_session_context_class\">thread</property>
-\n"
- "
-\n"
- " <!-- Disable the second-level cache -->
-\n"
- " <property name=\"cache.provider_class\">org.hibernate.cache.NoCacheProvider</property>
-\n"
- "
-\n"
- " <!-- Echo all executed SQL to stdout -->
-\n"
- " <property name=\"show_sql\">true</property>
-\n"
- "
-\n"
- " <!-- Drop and re-create the database schema on startup -->
-\n"
- " <property name=\"hbm2ddl.auto\">create</property>
-\n"
- "
-\n"
- " <mapping resource=\"events/Event.hbm.xml\"/>
-\n"
- "
-\n"
- " </session-factory>
-\n"
- "
-\n"
- "</hibernate-configuration>]]>"
-#: index.docbook:275
-msgid "Note that this XML configuration uses a different DTD. We configure Hibernate's <literal>SessionFactory</literal> - a global factory responsible for a particular database. If you have several databases, use several <literal><session-factory></literal> configurations, usually in several configuration files (for easier startup)."
-msgstr "ãã®XMLã®è¨å®ãç°ãªãDTDã使ããã¨ã«æ³¨æãã¦ãã ããã ç¹å®ã®ãã¼ã¿ãã¼ã¹ãåãæã¤ã°ãã¼ãã«ãã¡ã¯ããªã§ããHibernateã® <literal>SessionFactory</literal> ãè¨å®ãã¾ãã ããè¤æ°ã®ãã¼ã¿ãã¼ã¹ãããå ´åã«ã¯ã ï¼ã¹ã¿ã¼ãã¢ãããç°¡åã«ããããï¼é常ããã¤ãã®è¨å®ãã¡ã¤ã«å
ã§ã ããã¤ãã® <literal><session-factory></literal> ã使ãè¨å®ã«ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:275
+#, no-c-format
+msgid ""
+"Note that this XML configuration uses a different DTD. We configure "
+"Hibernate's <literal>SessionFactory</literal> - a global factory responsible "
+"for a particular database. If you have several databases, use several "
+"<literal><session-factory></literal> configurations, usually in "
+"several configuration files (for easier startup)."
+msgstr ""
+"ãã®XMLã®è¨å®ãç°ãªãDTDã使ããã¨ã«æ³¨æãã¦ãã ããã ç¹å®ã®ãã¼ã¿ãã¼ã¹ãå"
+"ãæã¤ã°ãã¼ãã«ãã¡ã¯ããªã§ããHibernateã® <literal>SessionFactory</"
+"literal> ãè¨å®ãã¾ãã ããè¤æ°ã®ãã¼ã¿ãã¼ã¹ãããå ´åã«ã¯ã ï¼ã¹ã¿ã¼ãã¢ã"
+"ããç°¡åã«ããããï¼é常ããã¤ãã®è¨å®ãã¡ã¤ã«å
ã§ã ããã¤ãã® <literal><"
+"session-factory></literal> ã使ãè¨å®ã«ãã¦ãã ããã"
-#: index.docbook:283
-msgid "The first four <literal>property</literal> elements contain the necessary configuration for the JDBC connection. The dialect <literal>property</literal> element specifies the particular SQL variant Hibernate generates. Hibernate's automatic session management for persistence contexts will come in handy as you will soon see. The <literal>hbm2ddl.auto</literal> option turns on automatic generation of database schemas - directly into the database. This can of course also be turned off (by removing the config option) or redirected to a file with the help of the <literal>SchemaExport</literal> Ant task. Finally, we add the mapping file(s) for persistent classes to the configuration."
-msgstr "æåã®4ã¤ã® <literal>property</literal> è¦ç´ ã¯JDBCã³ãã¯ã·ã§ã³ã«å¿
è¦ãªè¨å®ãå«ãã§ãã¾ãã dialectã¨ããååã® <literal>property</literal> è¦ç´ ã¯ãHibernateãçæããç¹å®ã®SQLæ¹è¨ãæå®ãã¾ãã æ°¸ç¶çãªã³ã³ããã¹ãã«å¯¾ããHibernateã®ã»ãã·ã§ã³ã®èªå管çã¯ãå¾ã®ä¾ã§ããã«ãããããã«ãå½¹ã«ç«ã¤ãã¨ã§ãããã <literal>hbm2ddl.auto</literal> ãªãã·ã§ã³ã¯ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã®èªåçæãonã«ãã¾ãã ããã¯ç´æ¥ãã¼ã¿ãã¼ã¹ã«å¯¾ãã¦çæããã¾ãã å½ç¶ï¼configãªãã·ã§ã³ãåé¤ãã¦ï¼offã«ãããã <literal>SchemaExport</literal> ã¨ããAntã¿ã¹ã¯ã®å©ããåãã¦ãã¡ã¤ã«ã«ãªãã¤ã¬ã¯ããããã§ãã¾ãã æå¾ã«æ°¸ç¶ã¯ã©ã¹ã®ããã®ãããã³ã°ãã¡ã¤ã«ãè¨å®ã«è¿½å ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:283
+#, no-c-format
+msgid ""
+"The first four <literal>property</literal> elements contain the necessary "
+"configuration for the JDBC connection. The dialect <literal>property</"
+"literal> element specifies the particular SQL variant Hibernate generates. "
+"Hibernate's automatic session management for persistence contexts will come "
+"in handy as you will soon see. The <literal>hbm2ddl.auto</literal> option "
+"turns on automatic generation of database schemas - directly into the "
+"database. This can of course also be turned off (by removing the config "
+"option) or redirected to a file with the help of the <literal>SchemaExport</"
+"literal> Ant task. Finally, we add the mapping file(s) for persistent "
+"classes to the configuration."
+msgstr ""
+"æåã®4ã¤ã® <literal>property</literal> è¦ç´ ã¯JDBCã³ãã¯ã·ã§ã³ã«å¿
è¦ãªè¨å®ã"
+"å«ãã§ãã¾ãã dialectã¨ããååã® <literal>property</literal> è¦ç´ ã¯ã"
+"Hibernateãçæããç¹å®ã®SQLæ¹è¨ãæå®ãã¾ãã æ°¸ç¶çãªã³ã³ããã¹ãã«å¯¾ãã"
+"Hibernateã®ã»ãã·ã§ã³ã®èªå管çã¯ãå¾ã®ä¾ã§ããã«ãããããã«ãå½¹ã«ç«ã¤ãã¨ã§"
+"ãããã <literal>hbm2ddl.auto</literal> ãªãã·ã§ã³ã¯ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã®èª"
+"åçæãonã«ãã¾ãã ããã¯ç´æ¥ãã¼ã¿ãã¼ã¹ã«å¯¾ãã¦çæããã¾ãã å½ç¶"
+"ï¼configãªãã·ã§ã³ãåé¤ãã¦ï¼offã«ãããã <literal>SchemaExport</literal> "
+"ã¨ããAntã¿ã¹ã¯ã®å©ããåãã¦ãã¡ã¤ã«ã«ãªãã¤ã¬ã¯ããããã§ãã¾ãã æå¾ã«æ°¸"
+"ç¶ã¯ã©ã¹ã®ããã®ãããã³ã°ãã¡ã¤ã«ãè¨å®ã«è¿½å ãã¾ãã"
-#: index.docbook:296
-msgid "Copy this file into the source directory, so it will end up in the root of the classpath. Hibernate automatically looks for a file called <literal>hibernate.cfg.xml</literal> in the root of the classpath, on startup."
-msgstr "ãã®ãã¡ã¤ã«ãã½ã¼ã¹ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ããã¨ããã¯ã¯ã©ã¹ãã¹ã®ã«ã¼ãã«ãããã¨ã«ãªãã¾ãã Hibernateã¯ãã¹ã¿ã¼ãã¢ããæã«ã¯ã©ã¹ãã¹ã®ã«ã¼ãã§ <literal>hibernate.cfg.xml</literal> ã¨ãããã¡ã¤ã«ãèªåçã«æ¢ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:296
+#, no-c-format
+msgid ""
+"Copy this file into the source directory, so it will end up in the root of "
+"the classpath. Hibernate automatically looks for a file called "
+"<literal>hibernate.cfg.xml</literal> in the root of the classpath, on "
+"startup."
+msgstr ""
+"ãã®ãã¡ã¤ã«ãã½ã¼ã¹ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ããã¨ããã¯ã¯ã©ã¹ãã¹"
+"ã®ã«ã¼ãã«ãããã¨ã«ãªãã¾ãã Hibernateã¯ãã¹ã¿ã¼ãã¢ããæã«ã¯ã©ã¹ãã¹ã®"
+"ã«ã¼ãã§ <literal>hibernate.cfg.xml</literal> ã¨ãããã¡ã¤ã«ãèªåçã«æ¢ãã¾"
+"ãã"
-#: index.docbook:305
+#. Tag: title
+#: tutorial.xml:305
+#, no-c-format
msgid "Building with Ant"
msgstr "Antã«ãããã«ã"
-#: index.docbook:307
-msgid "We'll now build the tutorial with Ant. You will need to have Ant installed - get it from the <ulink url=\"http://ant.apache.org/bindownload.cgi\">Ant download page</ulink>. How to install Ant will not be covered here. Please refer to the <ulink url=\"http://ant.apache.org/manual/index.html\">Ant manual</ulink>. After you have installed Ant, we can start to create the buildfile. It will be called <literal>build.xml</literal> and placed directly in the development directory."
-msgstr "ããã§ã¯Antã使ã£ã¦ãã¥ã¼ããªã¢ã«ããã«ããã¾ãããã ããã«ã¯Antãã¤ã³ã¹ãã¼ã«ããã¦ããªããã°ãªãã¾ããã <ulink url=\"http://ant.apache.org/bindownload.cgi\">Antãã¦ã³ãã¼ããã¼ã¸</ulink> ãããã¦ã³ãã¼ããã¦ãã ããã Antã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ããã§ã¯èª¬æãã¾ããã®ã§ã <ulink url=\"http://ant.apache.org/manual/index.html\">Antããã¥ã¢ã«</ulink> ãåç
§ãã¦ãã ããã Antãã¤ã³ã¹ãã¼ã«ããã°ããã«ããã¡ã¤ã«ã®ä½æãéå§ã§ãã¾ãã ãã®ãã¡ã¤ã«ã¯ <literal>build.xml</literal> ã¨å¼ã°ããéçºãã£ã¬ã¯ããªã«ç´æ¥é
ç½®ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:307
+#, no-c-format
+msgid ""
+"We'll now build the tutorial with Ant. You will need to have Ant installed - "
+"get it from the <ulink url=\"http://ant.apache.org/bindownload.cgi\">Ant "
+"download page</ulink>. How to install Ant will not be covered here. Please "
+"refer to the <ulink url=\"http://ant.apache.org/manual/index.html\">Ant "
+"manual</ulink>. After you have installed Ant, we can start to create the "
+"buildfile. It will be called <literal>build.xml</literal> and placed "
+"directly in the development directory."
+msgstr ""
+"ããã§ã¯Antã使ã£ã¦ãã¥ã¼ããªã¢ã«ããã«ããã¾ãããã ããã«ã¯Antãã¤ã³ã¹ãã¼"
+"ã«ããã¦ããªããã°ãªãã¾ããã <ulink url=\"http://ant.apache.org/"
+"bindownload.cgi\">Antãã¦ã³ãã¼ããã¼ã¸</ulink> ãããã¦ã³ãã¼ããã¦ãã ã"
+"ãã Antã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ããã§ã¯èª¬æãã¾ããã®ã§ã <ulink url=\"http://"
+"ant.apache.org/manual/index.html\">Antããã¥ã¢ã«</ulink> ãåç
§ãã¦ãã ã"
+"ãã Antãã¤ã³ã¹ãã¼ã«ããã°ããã«ããã¡ã¤ã«ã®ä½æãéå§ã§ãã¾ãã ãã®ãã¡ã¤"
+"ã«ã¯ <literal>build.xml</literal> ã¨å¼ã°ããéçºãã£ã¬ã¯ããªã«ç´æ¥é
ç½®ãã¾"
+"ãã"
-#: index.docbook:316
+#. Tag: para
+#: tutorial.xml:316
+#, no-c-format
msgid "A basic build file looks like this:"
msgstr "åºæ¬çãªãã«ããã¡ã¤ã«ã¯ãã®ããã«ãªãã¾ãï¼"
-#: index.docbook:320
+#. Tag: programlisting
+#: tutorial.xml:320
+#, no-c-format
msgid ""
- "<![CDATA[<project name=\"hibernate-tutorial\" default=\"compile\">\n"
- "\n"
- " <property name=\"sourcedir\" value=\"${basedir}/src\"/>\n"
- " <property name=\"targetdir\" value=\"${basedir}/bin\"/>\n"
- " <property name=\"librarydir\" value=\"${basedir}/lib\"/>\n"
- "\n"
- " <path id=\"libraries\">\n"
- " <fileset dir=\"${librarydir}\">\n"
- " <include name=\"*.jar\"/>\n"
- " </fileset>\n"
- " </path>\n"
- "\n"
- " <target name=\"clean\">\n"
- " <delete dir=\"${targetdir}\"/>\n"
- " <mkdir dir=\"${targetdir}\"/>\n"
- " </target>\n"
- "\n"
- " <target name=\"compile\" depends=\"clean, copy-resources\">\n"
- " <javac srcdir=\"${sourcedir}\"\n"
- " destdir=\"${targetdir}\"\n"
- " classpathref=\"libraries\"/>\n"
- " </target>\n"
- "\n"
- " <target name=\"copy-resources\">\n"
- " <copy todir=\"${targetdir}\">\n"
- " <fileset dir=\"${sourcedir}\">\n"
- " <exclude name=\"**/*.java\"/>\n"
- " </fileset>\n"
- " </copy>\n"
- " </target>\n"
- "\n"
- "</project>]]>"
+"<![CDATA[<project name=\"hibernate-tutorial\" default=\"compile\">\n"
+"\n"
+" <property name=\"sourcedir\" value=\"${basedir}/src\"/>\n"
+" <property name=\"targetdir\" value=\"${basedir}/bin\"/>\n"
+" <property name=\"librarydir\" value=\"${basedir}/lib\"/>\n"
+"\n"
+" <path id=\"libraries\">\n"
+" <fileset dir=\"${librarydir}\">\n"
+" <include name=\"*.jar\"/>\n"
+" </fileset>\n"
+" </path>\n"
+"\n"
+" <target name=\"clean\">\n"
+" <delete dir=\"${targetdir}\"/>\n"
+" <mkdir dir=\"${targetdir}\"/>\n"
+" </target>\n"
+"\n"
+" <target name=\"compile\" depends=\"clean, copy-resources\">\n"
+" <javac srcdir=\"${sourcedir}\"\n"
+" destdir=\"${targetdir}\"\n"
+" classpathref=\"libraries\"/>\n"
+" </target>\n"
+"\n"
+" <target name=\"copy-resources\">\n"
+" <copy todir=\"${targetdir}\">\n"
+" <fileset dir=\"${sourcedir}\">\n"
+" <exclude name=\"**/*.java\"/>\n"
+" </fileset>\n"
+" </copy>\n"
+" </target>\n"
+"\n"
+"</project>]]>"
msgstr ""
- "<![CDATA[<project name=\"hibernate-tutorial\" default=\"compile\">
-\n"
- "
-\n"
- " <property name=\"sourcedir\" value=\"${basedir}/src\"/>
-\n"
- " <property name=\"targetdir\" value=\"${basedir}/bin\"/>
-\n"
- " <property name=\"librarydir\" value=\"${basedir}/lib\"/>
-\n"
- "
-\n"
- " <path id=\"libraries\">
-\n"
- " <fileset dir=\"${librarydir}\">
-\n"
- " <include name=\"*.jar\"/>
-\n"
- " </fileset>
-\n"
- " </path>
-\n"
- "
-\n"
- " <target name=\"clean\">
-\n"
- " <delete dir=\"${targetdir}\"/>
-\n"
- " <mkdir dir=\"${targetdir}\"/>
-\n"
- " </target>
-\n"
- "
-\n"
- " <target name=\"compile\" depends=\"clean, copy-resources\">
-\n"
- " <javac srcdir=\"${sourcedir}\"
-\n"
- " destdir=\"${targetdir}\"
-\n"
- " classpathref=\"libraries\"/>
-\n"
- " </target>
-\n"
- "
-\n"
- " <target name=\"copy-resources\">
-\n"
- " <copy todir=\"${targetdir}\">
-\n"
- " <fileset dir=\"${sourcedir}\">
-\n"
- " <exclude name=\"**/*.java\"/>
-\n"
- " </fileset>
-\n"
- " </copy>
-\n"
- " </target>
-\n"
- "
-\n"
- "</project>]]>"
-#: index.docbook:322
-msgid "This will tell Ant to add all files in the lib directory ending with <literal>.jar</literal> to the classpath used for compilation. It will also copy all non-Java source files to the target directory, e.g. configuration and Hibernate mapping files. If you now run Ant, you should get this output:"
-msgstr "ãã㯠<literal>.jar</literal> ã§çµããlibãã£ã¬ã¯ããªã®ãã¹ã¦ã®ãã¡ã¤ã«ãã ã³ã³ãã¤ã«ã«ä½¿ç¨ããã¯ã©ã¹ãã¹ã«è¿½å ãããã¨ãAntã«æãã¾ãã ã¾ããJavaã½ã¼ã¹ãã¡ã¤ã«ã§ãªããã¹ã¦ã®ãã¡ã¤ã«ãã¿ã¼ã²ãããã£ã¬ã¯ããªã«ã³ãã¼ããã¨ãããã¨ã§ãããã¾ãã ä¾ãã°è¨å®ãã¡ã¤ã«ãHibernateãããã³ã°ãã¡ã¤ã«ãªã©ã§ãã ä»Antãå®è¡ããã¨ããã®ãããªåºåãããã¯ãã§ãï¼"
+#. Tag: para
+#: tutorial.xml:322
+#, no-c-format
+msgid ""
+"This will tell Ant to add all files in the lib directory ending with "
+"<literal>.jar</literal> to the classpath used for compilation. It will also "
+"copy all non-Java source files to the target directory, e.g. configuration "
+"and Hibernate mapping files. If you now run Ant, you should get this output:"
+msgstr ""
+"ãã㯠<literal>.jar</literal> ã§çµããlibãã£ã¬ã¯ããªã®ãã¹ã¦ã®ãã¡ã¤ã«ãã "
+"ã³ã³ãã¤ã«ã«ä½¿ç¨ããã¯ã©ã¹ãã¹ã«è¿½å ãããã¨ãAntã«æãã¾ãã ã¾ããJavaã½ã¼"
+"ã¹ãã¡ã¤ã«ã§ãªããã¹ã¦ã®ãã¡ã¤ã«ãã¿ã¼ã²ãããã£ã¬ã¯ããªã«ã³ãã¼ããã¨ããã"
+"ã¨ã§ãããã¾ãã ä¾ãã°è¨å®ãã¡ã¤ã«ãHibernateãããã³ã°ãã¡ã¤ã«ãªã©ã§ãã ä»"
+"Antãå®è¡ããã¨ããã®ãããªåºåãããã¯ãã§ãï¼"
-#: index.docbook:329
+#. Tag: programlisting
+#: tutorial.xml:329
+#, no-c-format
msgid ""
- "<![CDATA[C:\\hibernateTutorial\\>ant\n"
- "Buildfile: build.xml\n"
- "\n"
- "copy-resources:\n"
- " [copy] Copying 2 files to C:\\hibernateTutorial\\bin\n"
- "\n"
- "compile:\n"
- " [javac] Compiling 1 source file to C:\\hibernateTutorial\\bin\n"
- "\n"
- "BUILD SUCCESSFUL\n"
- "Total time: 1 second ]]>"
+"<![CDATA[C:\\hibernateTutorial\\>ant\n"
+"Buildfile: build.xml\n"
+"\n"
+"copy-resources:\n"
+" [copy] Copying 2 files to C:\\hibernateTutorial\\bin\n"
+"\n"
+"compile:\n"
+" [javac] Compiling 1 source file to C:\\hibernateTutorial\\bin\n"
+"\n"
+"BUILD SUCCESSFUL\n"
+"Total time: 1 second ]]>"
msgstr ""
- "<![CDATA[C:¥hibernateTutorial¥>ant
-\n"
- "Buildfile: build.xml
-\n"
- "
-\n"
- "copy-resources:
-\n"
- " [copy] Copying 2 files to C:¥hibernateTutorial¥bin
-\n"
- "
-\n"
- "compile:
-\n"
- " [javac] Compiling 1 source file to C:¥hibernateTutorial¥bin
-\n"
- "
-\n"
- "BUILD SUCCESSFUL
-\n"
- "Total time: 1 second ]]>"
-#: index.docbook:334
+#. Tag: title
+#: tutorial.xml:334
+#, no-c-format
msgid "Startup and helpers"
msgstr "ã¹ã¿ã¼ãã¢ããã¨ãã«ã"
-#: index.docbook:336
-msgid "It's time to load and store some <literal>Event</literal> objects, but first we have to complete the setup with some infrastructure code. We have to startup Hibernate. This startup includes building a global <literal>SessionFactory</literal> object and to store it somewhere for easy access in application code. A <literal>SessionFactory</literal> can open up new <literal>Session</literal>'s. A <literal>Session</literal> represents a single-threaded unit of work, the <literal>SessionFactory</literal> is a thread-safe global object, instantiated once."
-msgstr "ã㦠<literal>Event</literal> ãªãã¸ã§ã¯ãããã¼ããããæ ¼ç´ãããããæºåãã§ãã¾ããã ãããã¾ãã¯ã¤ã³ãã©ã¹ãã©ã¯ãã£ã®ã³ã¼ããæ¸ãã¦ãã»ããã¢ãããå®äºããå¿
è¦ãããã¾ãã ã¾ãã¯Hibernateãã¹ã¿ã¼ãã¢ããããªããã°ãªãã¾ããã ãã®ã¹ã¿ã¼ãã¢ããã«ã¯ãã°ãã¼ãã«ã® <literal>SessionFactory</literal> ãªãã¸ã§ã¯ããçæãã¦ã ãããã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãã§ã¢ã¯ã»ã¹ããããå ´æã«æ ¼ç´ãããã¨ãå«ã¾ãã¾ãã <literal>SessionFactory</literal> ã¯æ°ãã <literal>Session</literal> ããªã¼ãã³ãããã¨ãã§ãã¾ãã <literal>Session</literal> ã¯ã·ã³ã°ã«ã¹ã¬ããã®ä½æ¥åä½(Unit of Work)ã表ç¾ãã¾ãã ããã«å¯¾ã<literal>SessionFactory</literal> ã¯ã¹ã¬ããã»ã¼ãã®ã°ãã¼ãã«ãªãã¸ã§ã¯ãã§ããã ä¸åº¦ã ãã¤ã³ã¹ã¿ã³ã¹åããã¾ãã"
+#. Tag: para
+#: tutorial.xml:336
+#, no-c-format
+msgid ""
+"It's time to load and store some <literal>Event</literal> objects, but first "
+"we have to complete the setup with some infrastructure code. We have to "
+"startup Hibernate. This startup includes building a global "
+"<literal>SessionFactory</literal> object and to store it somewhere for easy "
+"access in application code. A <literal>SessionFactory</literal> can open up "
+"new <literal>Session</literal>'s. A <literal>Session</literal> represents a "
+"single-threaded unit of work, the <literal>SessionFactory</literal> is a "
+"thread-safe global object, instantiated once."
+msgstr ""
+"ã㦠<literal>Event</literal> ãªãã¸ã§ã¯ãããã¼ããããæ ¼ç´ãããããæºåã"
+"ã§ãã¾ããã ãããã¾ãã¯ã¤ã³ãã©ã¹ãã©ã¯ãã£ã®ã³ã¼ããæ¸ãã¦ãã»ããã¢ããã"
+"å®äºããå¿
è¦ãããã¾ãã ã¾ãã¯Hibernateãã¹ã¿ã¼ãã¢ããããªããã°ãªãã¾ã"
+"ãã ãã®ã¹ã¿ã¼ãã¢ããã«ã¯ãã°ãã¼ãã«ã® <literal>SessionFactory</literal> "
+"ãªãã¸ã§ã¯ããçæãã¦ã ãããã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãã§ã¢ã¯ã»ã¹ããããå ´æ"
+"ã«æ ¼ç´ãããã¨ãå«ã¾ãã¾ãã <literal>SessionFactory</literal> ã¯æ°ãã "
+"<literal>Session</literal> ããªã¼ãã³ãããã¨ãã§ãã¾ãã <literal>Session</"
+"literal> ã¯ã·ã³ã°ã«ã¹ã¬ããã®ä½æ¥åä½(Unit of Work)ã表ç¾ãã¾ãã ããã«å¯¾ã"
+"<literal>SessionFactory</literal> ã¯ã¹ã¬ããã»ã¼ãã®ã°ãã¼ãã«ãªãã¸ã§ã¯ãã§"
+"ããã ä¸åº¦ã ãã¤ã³ã¹ã¿ã³ã¹åããã¾ãã"
-#: index.docbook:346
-msgid "We'll create a <literal>HibernateUtil</literal> helper class which takes care of startup and makes accessing a <literal>SessionFactory</literal> convenient. Let's have a look at the implementation:"
-msgstr "ããã§ã¹ã¿ã¼ãã¢ãããè¡ãã 便å©ã« <literal>SessionFactory</literal> ã¸ã¢ã¯ã»ã¹ãã <literal>HibernateUtil</literal> ãã«ãã¯ã©ã¹ã使ãã¾ãã å®è£
ãè¦ã¦ã¿ã¾ãããï¼"
+#. Tag: para
+#: tutorial.xml:346
+#, no-c-format
+msgid ""
+"We'll create a <literal>HibernateUtil</literal> helper class which takes "
+"care of startup and makes accessing a <literal>SessionFactory</literal> "
+"convenient. Let's have a look at the implementation:"
+msgstr ""
+"ããã§ã¹ã¿ã¼ãã¢ãããè¡ãã 便å©ã« <literal>SessionFactory</literal> ã¸ã¢ã¯"
+"ã»ã¹ãã <literal>HibernateUtil</literal> ãã«ãã¯ã©ã¹ã使ãã¾ãã å®è£
ãè¦"
+"ã¦ã¿ã¾ãããï¼"
-#: index.docbook:352
+#. Tag: programlisting
+#: tutorial.xml:352
+#, no-c-format
msgid ""
- "<![CDATA[package util;\n"
- "\n"
- "import org.hibernate.*;\n"
- "import org.hibernate.cfg.*;\n"
- "\n"
- "public class HibernateUtil {\n"
- "\n"
- " private static final SessionFactory sessionFactory;\n"
- "\n"
- " static {\n"
- " try {\n"
- " // Create the SessionFactory from hibernate.cfg.xml\n"
- " sessionFactory = new Configuration().configure().buildSessionFactory();\n"
- " } catch (Throwable ex) {\n"
- " // Make sure you log the exception, as it might be swallowed\n"
- " System.err.println(\"Initial SessionFactory creation failed.\" + ex);\n"
- " throw new ExceptionInInitializerError(ex);\n"
- " }\n"
- " }\n"
- "\n"
- " public static SessionFactory getSessionFactory() {\n"
- " return sessionFactory;\n"
- " }\n"
- "\n"
- "}]]>"
+"<![CDATA[package util;\n"
+"\n"
+"import org.hibernate.*;\n"
+"import org.hibernate.cfg.*;\n"
+"\n"
+"public class HibernateUtil {\n"
+"\n"
+" private static final SessionFactory sessionFactory;\n"
+"\n"
+" static {\n"
+" try {\n"
+" // Create the SessionFactory from hibernate.cfg.xml\n"
+" sessionFactory = new Configuration().configure()."
+"buildSessionFactory();\n"
+" } catch (Throwable ex) {\n"
+" // Make sure you log the exception, as it might be swallowed\n"
+" System.err.println(\"Initial SessionFactory creation failed.\" + "
+"ex);\n"
+" throw new ExceptionInInitializerError(ex);\n"
+" }\n"
+" }\n"
+"\n"
+" public static SessionFactory getSessionFactory() {\n"
+" return sessionFactory;\n"
+" }\n"
+"\n"
+"}]]>"
msgstr ""
- "<![CDATA[package util;
-\n"
- "
-\n"
- "import org.hibernate.*;
-\n"
- "import org.hibernate.cfg.*;
-\n"
- "
-\n"
- "public class HibernateUtil {
-\n"
- "
-\n"
- " private static final SessionFactory sessionFactory;
-\n"
- "
-\n"
- " static {
-\n"
- " try {
-\n"
- " // Create the SessionFactory from hibernate.cfg.xml
-\n"
- " sessionFactory = new Configuration().configure().buildSessionFactory();
-\n"
- " } catch (Throwable ex) {
-\n"
- " // Make sure you log the exception, as it might be swallowed
-\n"
- " System.err.println(\"Initial SessionFactory creation failed.\" + ex);
-\n"
- " throw new ExceptionInInitializerError(ex);
-\n"
- " }
-\n"
- " }
-\n"
- "
-\n"
- " public static SessionFactory getSessionFactory() {
-\n"
- " return sessionFactory;
-\n"
- " }
-\n"
- "
-\n"
- "}]]>"
-#: index.docbook:354
-msgid "This class does not only produce the global <literal>SessionFactory</literal> in its static initializer (called once by the JVM when the class is loaded), but also hides the fact that it uses a static singleton. It might as well lookup the <literal>SessionFactory</literal> from JNDI in an application server."
-msgstr "ãã®ã¯ã©ã¹ã¯éçåæåãããã¯ï¼ã¯ã©ã¹ããã¼ããããã¨ãã«JVMã«ãã£ã¦ä¸åº¦ã ãå¼ã°ããï¼ ã§ã°ãã¼ãã«ã® <literal>SessionFactory</literal> ãçæããã ãã§ã¯ãªãã éçã·ã³ã°ã«ãã³ã®ä½¿ç¨ãé è½ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®JNDIãã <literal>SessionFactory</literal> ã ã«ãã¯ã¢ããããã®ã¨åæ§ã§ãã"
+#. Tag: para
+#: tutorial.xml:354
+#, no-c-format
+msgid ""
+"This class does not only produce the global <literal>SessionFactory</"
+"literal> in its static initializer (called once by the JVM when the class is "
+"loaded), but also hides the fact that it uses a static singleton. It might "
+"as well lookup the <literal>SessionFactory</literal> from JNDI in an "
+"application server."
+msgstr ""
+"ãã®ã¯ã©ã¹ã¯éçåæåãããã¯ï¼ã¯ã©ã¹ããã¼ããããã¨ãã«JVMã«ãã£ã¦ä¸åº¦ã ã"
+"å¼ã°ããï¼ ã§ã°ãã¼ãã«ã® <literal>SessionFactory</literal> ãçæããã ãã§"
+"ã¯ãªãã éçã·ã³ã°ã«ãã³ã®ä½¿ç¨ãé è½ãã¾ãã ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®JNDI"
+"ãã <literal>SessionFactory</literal> ã ã«ãã¯ã¢ããããã®ã¨åæ§ã§ãã"
-#: index.docbook:361
-msgid "If you give the <literal>SessionFactory</literal> a name in your configuration file, Hibernate will in fact try to bind it to JNDI after it has been built. To avoid this code completely you could also use JMX deployment and let the JMX-capable container instantiate and bind a <literal>HibernateService</literal> to JNDI. These advanced options are discussed in the Hibernate reference documentation."
-msgstr "è¨å®ãã¡ã¤ã«å
ã§ <literal>SessionFactory</literal> ã«ååãä¸ããã¨ã Hibernate㯠<literal>SessionFactory</literal> æ§ç¯å¾ã«JNDIã«å¯¾ããã¤ã³ããè¡ããã¨ãã¾ãã ãã®ã³ã¼ããå®å
¨ã«æé¤ããããã«ã¯ã JMXãããã¤ã¡ã³ããå©ç¨ã㦠JMXãå©ç¨ã§ããã³ã³ãããã¤ã³ã¹ã¿ã³ã¹åãã <literal>HibernateService</literal> ãJNDIã¸ãã¤ã³ããããã¨ãã§ãã¾ãã ãããã®é«åº¦ãªãªãã·ã§ã³ã¯ãHibernateã®ãªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã§èª¬æããã¦ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:361
+#, no-c-format
+msgid ""
+"If you give the <literal>SessionFactory</literal> a name in your "
+"configuration file, Hibernate will in fact try to bind it to JNDI after it "
+"has been built. To avoid this code completely you could also use JMX "
+"deployment and let the JMX-capable container instantiate and bind a "
+"<literal>HibernateService</literal> to JNDI. These advanced options are "
+"discussed in the Hibernate reference documentation."
+msgstr ""
+"è¨å®ãã¡ã¤ã«å
ã§ <literal>SessionFactory</literal> ã«ååãä¸ããã¨ã "
+"Hibernate㯠<literal>SessionFactory</literal> æ§ç¯å¾ã«JNDIã«å¯¾ããã¤ã³ããè¡"
+"ããã¨ãã¾ãã ãã®ã³ã¼ããå®å
¨ã«æé¤ããããã«ã¯ã JMXãããã¤ã¡ã³ããå©ç¨ã"
+"㦠JMXãå©ç¨ã§ããã³ã³ãããã¤ã³ã¹ã¿ã³ã¹åãã <literal>HibernateService</"
+"literal> ãJNDIã¸ãã¤ã³ããããã¨ãã§ãã¾ãã ãããã®é«åº¦ãªãªãã·ã§ã³ã¯ã"
+"Hibernateã®ãªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã§èª¬æããã¦ãã¾ãã"
-#: index.docbook:370
-msgid "Place <literal>HibernateUtil.java</literal> in the development source directory, in a package next to <literal>events</literal>:"
-msgstr "<literal>HibernateUtil.java</literal> ãéçºã½ã¼ã¹ãã£ã¬ã¯ããªã«ãã <literal>events</literal> ããã±ã¼ã¸ã® é£ã«é
ç½®ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:370
+#, no-c-format
+msgid ""
+"Place <literal>HibernateUtil.java</literal> in the development source "
+"directory, in a package next to <literal>events</literal>:"
+msgstr ""
+"<literal>HibernateUtil.java</literal> ãéçºã½ã¼ã¹ãã£ã¬ã¯ããªã«ãã "
+"<literal>events</literal> ããã±ã¼ã¸ã® é£ã«é
ç½®ãã¦ãã ããã"
-#: index.docbook:375
+#. Tag: programlisting
+#: tutorial.xml:375
+#, no-c-format
msgid ""
- "<![CDATA[.\n"
- "+lib\n"
- " <Hibernate and third-party libraries>\n"
- "+src\n"
- " +events\n"
- " Event.java\n"
- " Event.hbm.xml\n"
- " +util\n"
- " HibernateUtil.java\n"
- " hibernate.cfg.xml\n"
- "+data\n"
- "build.xml]]>"
+"<![CDATA[.\n"
+"+lib\n"
+" <Hibernate and third-party libraries>\n"
+"+src\n"
+" +events\n"
+" Event.java\n"
+" Event.hbm.xml\n"
+" +util\n"
+" HibernateUtil.java\n"
+" hibernate.cfg.xml\n"
+"+data\n"
+"build.xml]]>"
msgstr ""
- "<![CDATA[.
-\n"
- "+lib
-\n"
- " <Hibernate and third-party libraries>
-\n"
- "+src
-\n"
- " +events
-\n"
- " Event.java
-\n"
- " Event.hbm.xml
-\n"
- " +util
-\n"
- " HibernateUtil.java
-\n"
- " hibernate.cfg.xml
-\n"
- "+data
-\n"
- "build.xml]]>"
-#: index.docbook:377
-msgid "This should again compile without problems. We finally need to configure a logging system - Hibernate uses commons logging and leaves you the choice between Log4j and JDK 1.4 logging. Most developers prefer Log4j: copy <literal>log4j.properties</literal> from the Hibernate distribution (it's in the <literal>etc/</literal> directory) to your <literal>src</literal> directory, next to <literal>hibernate.cfg.xml</literal>. Have a look at the example configuration and change the settings if you like to have more verbose output. By default, only Hibernate startup message are shown on stdout."
-msgstr "ããã¯åé¡ãªãåã³ã³ãã¤ã«ã§ããã¯ãã§ãã æå¾ã«ãã®ã³ã°ã·ã¹ãã ãè¨å®ããå¿
è¦ãããã¾ãã Hibernateã¯commons loggingã使ããããLog4jã¨JDK 1.4 loggingã®é¸æãããå¿
è¦ãããã¾ããã ã»ã¨ãã©ã®éçºè
ã好ãã®ã¯Log4jã§ãã Hibernateãã£ã¹ããªãã¥ã¼ã·ã§ã³ï¼ã®<literal>etc/</literal> ãã£ã¬ã¯ããªï¼ãã <literal>log4j.properties</literal> ãããªãã® <literal>src</literal> ãã£ã¬ã¯ããªå
ã® <literal>hibernate.cfg.xml</literal> ã®é£ã«ã³ãã¼ãã¦ãã ããã è¨å®ä¾ãè¦ã¦ãåé·ãªåºåããããã°è¨å®ã夿´ãã¦ãã ããã ããã©ã«ãã§ã¯Hibernateã®ã¹ã¿ã¼ãã¢ããã¡ãã»ã¼ã¸ã ããæ¨æºåºåã«è¡¨ç¤ºããã¾ãã"
+#. Tag: para
+#: tutorial.xml:377
+#, no-c-format
+msgid ""
+"This should again compile without problems. We finally need to configure a "
+"logging system - Hibernate uses commons logging and leaves you the choice "
+"between Log4j and JDK 1.4 logging. Most developers prefer Log4j: copy "
+"<literal>log4j.properties</literal> from the Hibernate distribution (it's in "
+"the <literal>etc/</literal> directory) to your <literal>src</literal> "
+"directory, next to <literal>hibernate.cfg.xml</literal>. Have a look at the "
+"example configuration and change the settings if you like to have more "
+"verbose output. By default, only Hibernate startup message are shown on "
+"stdout."
+msgstr ""
+"ããã¯åé¡ãªãåã³ã³ãã¤ã«ã§ããã¯ãã§ãã æå¾ã«ãã®ã³ã°ã·ã¹ãã ãè¨å®ããå¿
"
+"è¦ãããã¾ãã Hibernateã¯commons loggingã使ããããLog4jã¨JDK 1.4 loggingã®"
+"鏿ãããå¿
è¦ãããã¾ããã ã»ã¨ãã©ã®éçºè
ã好ãã®ã¯Log4jã§ãã Hibernate"
+"ãã£ã¹ããªãã¥ã¼ã·ã§ã³ï¼ã®<literal>etc/</literal> ãã£ã¬ã¯ããªï¼ãã "
+"<literal>log4j.properties</literal> ãããªãã® <literal>src</literal> ãã£ã¬"
+"ã¯ããªå
ã® <literal>hibernate.cfg.xml</literal> ã®é£ã«ã³ãã¼ãã¦ãã ããã è¨"
+"å®ä¾ãè¦ã¦ãåé·ãªåºåããããã°è¨å®ã夿´ãã¦ãã ããã ããã©ã«ãã§ã¯"
+"Hibernateã®ã¹ã¿ã¼ãã¢ããã¡ãã»ã¼ã¸ã ããæ¨æºåºåã«è¡¨ç¤ºããã¾ãã"
-#: index.docbook:387
-msgid "The tutorial infrastructure is complete - and we are ready to do some real work with Hibernate."
-msgstr "ãã¥ã¼ããªã¢ã«ã®ã¤ã³ãã©ã¯å®å
¨ã§ãã Hibernateã使ã£ã¦å®éã®ä½æ¥ãããæºåãæ´ãã¾ããã"
+#. Tag: para
+#: tutorial.xml:387
+#, no-c-format
+msgid ""
+"The tutorial infrastructure is complete - and we are ready to do some real "
+"work with Hibernate."
+msgstr ""
+"ãã¥ã¼ããªã¢ã«ã®ã¤ã³ãã©ã¯å®å
¨ã§ãã Hibernateã使ã£ã¦å®éã®ä½æ¥ãããæºåã"
+"æ´ãã¾ããã"
-#: index.docbook:395
+#. Tag: title
+#: tutorial.xml:395
+#, no-c-format
msgid "Loading and storing objects"
msgstr "ãªãã¸ã§ã¯ãã®ãã¼ãã¨æ ¼ç´"
-#: index.docbook:397
-msgid "Finally, we can use Hibernate to load and store objects. We write an <literal>EventManager</literal> class with a <literal>main()</literal> method:"
-msgstr "ã¤ãã«ãªãã¸ã§ã¯ãã®ãã¼ãã¨æ ¼ç´ã«Hibernateã使ããã¨ãã§ãã¾ãã <literal>main()</literal> ã¡ã½ãããæã¤ <literal>EventManager</literal> ã¯ã©ã¹ãæ¸ãã¾ãï¼"
+#. Tag: para
+#: tutorial.xml:397
+#, no-c-format
+msgid ""
+"Finally, we can use Hibernate to load and store objects. We write an "
+"<literal>EventManager</literal> class with a <literal>main()</literal> "
+"method:"
+msgstr ""
+"ã¤ãã«ãªãã¸ã§ã¯ãã®ãã¼ãã¨æ ¼ç´ã«Hibernateã使ããã¨ãã§ãã¾ãã "
+"<literal>main()</literal> ã¡ã½ãããæã¤ <literal>EventManager</literal> ã¯ã©"
+"ã¹ãæ¸ãã¾ãï¼"
-#: index.docbook:402
+#. Tag: programlisting
+#: tutorial.xml:402
+#, no-c-format
msgid ""
- "<![CDATA[package events;\n"
- "import org.hibernate.Session;\n"
- "\n"
- "import java.util.Date;\n"
- "\n"
- "import util.HibernateUtil;\n"
- "\n"
- "public class EventManager {\n"
- "\n"
- " public static void main(String[] args) {\n"
- " EventManager mgr = new EventManager();\n"
- "\n"
- " if (args[0].equals(\"store\")) {\n"
- " mgr.createAndStoreEvent(\"My Event\", new Date());\n"
- " }\n"
- "\n"
- " HibernateUtil.getSessionFactory().close();\n"
- " }\n"
- "\n"
- " private void createAndStoreEvent(String title, Date theDate) {\n"
- "\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- "\n"
- " session.beginTransaction();\n"
- "\n"
- " Event theEvent = new Event();\n"
- " theEvent.setTitle(title);\n"
- " theEvent.setDate(theDate);\n"
- "\n"
- " session.save(theEvent);\n"
- "\n"
- " session.getTransaction().commit();\n"
- " }\n"
- "\n"
- "}]]>"
+"<![CDATA[package events;\n"
+"import org.hibernate.Session;\n"
+"\n"
+"import java.util.Date;\n"
+"\n"
+"import util.HibernateUtil;\n"
+"\n"
+"public class EventManager {\n"
+"\n"
+" public static void main(String[] args) {\n"
+" EventManager mgr = new EventManager();\n"
+"\n"
+" if (args[0].equals(\"store\")) {\n"
+" mgr.createAndStoreEvent(\"My Event\", new Date());\n"
+" }\n"
+"\n"
+" HibernateUtil.getSessionFactory().close();\n"
+" }\n"
+"\n"
+" private void createAndStoreEvent(String title, Date theDate) {\n"
+"\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+"\n"
+" session.beginTransaction();\n"
+"\n"
+" Event theEvent = new Event();\n"
+" theEvent.setTitle(title);\n"
+" theEvent.setDate(theDate);\n"
+"\n"
+" session.save(theEvent);\n"
+"\n"
+" session.getTransaction().commit();\n"
+" }\n"
+"\n"
+"}]]>"
msgstr ""
- "<![CDATA[package events;
-\n"
- "import org.hibernate.Session;
-\n"
- "
-\n"
- "import java.util.Date;
-\n"
- "
-\n"
- "import util.HibernateUtil;
-\n"
- "
-\n"
- "public class EventManager {
-\n"
- "
-\n"
- " public static void main(String[] args) {
-\n"
- " EventManager mgr = new EventManager();
-\n"
- "
-\n"
- " if (args[0].equals(\"store\")) {
-\n"
- " mgr.createAndStoreEvent(\"My Event\", new Date());
-\n"
- " }
-\n"
- "
-\n"
- " HibernateUtil.getSessionFactory().close();
-\n"
- " }
-\n"
- "
-\n"
- " private void createAndStoreEvent(String title, Date theDate) {
-\n"
- "
-\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- "
-\n"
- " session.beginTransaction();
-\n"
- "
-\n"
- " Event theEvent = new Event();
-\n"
- " theEvent.setTitle(title);
-\n"
- " theEvent.setDate(theDate);
-\n"
- "
-\n"
- " session.save(theEvent);
-\n"
- "
-\n"
- " session.getTransaction().commit();
-\n"
- " }
-\n"
- "
-\n"
- "}]]>"
-#: index.docbook:404
-msgid "We create a new <literal>Event</literal> object, and hand it over to Hibernate. Hibernate now takes care of the SQL and executes <literal>INSERT</literal>s on the database. Let's have a look at the <literal>Session</literal> and <literal>Transaction</literal>-handling code before we run this."
-msgstr "æ°ãã <literal>Event</literal> ãªãã¸ã§ã¯ããçæãããããHibernateã«æ¸¡ãã¾ãã ä»ã§ã¯HibernateãSQLãå¦çãããã¼ã¿ãã¼ã¹ã§ <literal>INSERT</literal> ãå®è¡ãã¾ãã å®è¡åã« <literal>Session</literal> 㨠<literal>Transaction</literal> ãå¦çããã³ã¼ãã確èªãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:404
+#, no-c-format
+msgid ""
+"We create a new <literal>Event</literal> object, and hand it over to "
+"Hibernate. Hibernate now takes care of the SQL and executes <literal>INSERT</"
+"literal>s on the database. Let's have a look at the <literal>Session</"
+"literal> and <literal>Transaction</literal>-handling code before we run this."
+msgstr ""
+"æ°ãã <literal>Event</literal> ãªãã¸ã§ã¯ããçæãããããHibernateã«æ¸¡ãã¾"
+"ãã ä»ã§ã¯HibernateãSQLãå¦çãããã¼ã¿ãã¼ã¹ã§ <literal>INSERT</literal> "
+"ãå®è¡ãã¾ãã å®è¡åã« <literal>Session</literal> 㨠<literal>Transaction</"
+"literal> ãå¦çããã³ã¼ãã確èªãã¦ãã ããã"
-#: index.docbook:411
-msgid "A <literal>Session</literal> is a single unit of work. For now we'll keep things simple and assume a one-to-one granularity between a Hibernate <literal>Session</literal> and a database transaction. To shield our code from the actual underlying transaction system (in this case plain JDBC, but it could also run with JTA) we use the <literal>Transaction</literal> API that is available on the Hibernate <literal>Session</literal>."
-msgstr "<literal>Session</literal> ã¯1ã¤ã®ä½æ¥åä½(Unit of Work)ã§ãã å½åã®éã話ãç°¡åã«ããããã«ã <literal>Session</literal> 㨠<literal>Transaction</literal> ã®å¯¾å¿ãä¸å¯¾ä¸ã¨ä»®å®ãã¾ãã 使ç¨ãã¦ãããã©ã³ã¶ã¯ã·ã§ã³ã»ã·ã¹ãã ï¼ãã®ã±ã¼ã¹ã§ã¯JTAã¨å
±åã§ããåç´ãªJDBCï¼ããã³ã¼ããä¿è·ããããã«ã Hibernate <literal>Session</literal> ä¸ã§å©ç¨å¯è½ãª <literal>Transaction</literal> APIã使ç¨ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:411
+#, no-c-format
+msgid ""
+"A <literal>Session</literal> is a single unit of work. For now we'll keep "
+"things simple and assume a one-to-one granularity between a Hibernate "
+"<literal>Session</literal> and a database transaction. To shield our code "
+"from the actual underlying transaction system (in this case plain JDBC, but "
+"it could also run with JTA) we use the <literal>Transaction</literal> API "
+"that is available on the Hibernate <literal>Session</literal>."
+msgstr ""
+"<literal>Session</literal> ã¯1ã¤ã®ä½æ¥åä½(Unit of Work)ã§ãã å½åã®éã話ã"
+"ç°¡åã«ããããã«ã <literal>Session</literal> 㨠<literal>Transaction</"
+"literal> ã®å¯¾å¿ãä¸å¯¾ä¸ã¨ä»®å®ãã¾ãã 使ç¨ãã¦ãããã©ã³ã¶ã¯ã·ã§ã³ã»ã·ã¹ãã "
+"ï¼ãã®ã±ã¼ã¹ã§ã¯JTAã¨å
±åã§ããåç´ãªJDBCï¼ããã³ã¼ããä¿è·ããããã«ã "
+"Hibernate <literal>Session</literal> ä¸ã§å©ç¨å¯è½ãª <literal>Transaction</"
+"literal> APIã使ç¨ãã¾ãã"
-#: index.docbook:419
-msgid "What does <literal>sessionFactory.getCurrentSession()</literal> do? First, you can call it as many times and anywhere you like, once you get hold of your <literal>SessionFactory</literal> (easy thanks to <literal>HibernateUtil</literal>). The <literal>getCurrentSession()</literal> method always returns the \"current\" unit of work. Remember that we switched the configuration option for this mechanism to \"thread\" in <literal>hibernate.cfg.xml</literal>? Hence, the current unit of work is bound to the current Java thread that executes our application. However, this is not the full picture, you also have to consider scope, when a unit of work begins and when it ends."
-msgstr "<literal>sessionFactory.getCurrentSession()</literal> ã¯ãªã«ãããã®ã§ããããï¼ ã¾ãããã£ãã <literal>SessionFactory</literal> ãåå¾ãä¿æããã° ï¼ <literal>HibernateUtil</literal> ã®ãããã§ç°¡åã§ãï¼ããã®ã¡ã½ãããä½åº¦ã§ãã ã©ãããã§ãå¼ã³åºããã¨ãåºæ¥ã¾ãã <literal>getCurrentSession()</literal> ã¡ã½ããã¯å¸¸ã«ãç¾å¨ã®ã使¥åä½(Unit of Work)ãè¿ãã¾ãã <literal>hibernate.cfg.xml</literal> ã®ãã®æ©è½ã®è¨å®ã§ã\"thread\"ãæå®ãããã¨ãæãåºãã¦ãã ããã ãã®ããç¾å¨ã®ä½æ¥åä½ã®ã¹ã³ã¼ãã¯ããã®ã¢ããªã±ã¼ã·ã§ã³ãå®è¡ããç¾å¨ã®Javaã¹ã¬ããã§ãã ãããããã§å
¨ã¦ã§ã¯ããã¾ããã <literal>Session</literal> ã¯æåã«å¿
è¦ã¨ãªã£ãã¨ããã¤ã¾ãæåã« <literal>getCurrentSession()</literal> ã å¼ã°ããã¨ãã«éå§ãã¾ãã ãã®ã¨ãHibernateã«ããç¾å¨ã!
®ã¹ã¬ããã«çµã³ä»ãããã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ãçµäºï¼ã³ããããããã¯ãã¼ã«ããã¯ï¼ããã¨ãã Hibernateãã¹ã¬ãããã <literal>Session</literal> ãåãé¢ããã¯ãã¼ãºãã¾ãã åã³ <literal>getCurrentSession()</literal> ãå¼ã¶ã¨ã æ°ãã <literal>Session</literal> ãåå¾ãã¦æ°ãã使¥åä½ãã¹ã¿ã¼ãã§ãã¾ãã ãã® <emphasis>thread-bound</emphasis> ããã°ã©ãã³ã°ã»ã¢ãã«ã¯Hibernateãå©ç¨ããä¸ã§æã人æ°ãããã¾ãã"
+#. Tag: para
+#: tutorial.xml:419
+#, no-c-format
+msgid ""
+"What does <literal>sessionFactory.getCurrentSession()</literal> do? First, "
+"you can call it as many times and anywhere you like, once you get hold of "
+"your <literal>SessionFactory</literal> (easy thanks to "
+"<literal>HibernateUtil</literal>). The <literal>getCurrentSession()</"
+"literal> method always returns the \"current\" unit of work. Remember that "
+"we switched the configuration option for this mechanism to \"thread\" in "
+"<literal>hibernate.cfg.xml</literal>? Hence, the current unit of work is "
+"bound to the current Java thread that executes our application. However, "
+"this is not the full picture, you also have to consider scope, when a unit "
+"of work begins and when it ends."
+msgstr ""
+"<literal>sessionFactory.getCurrentSession()</literal> ã¯ãªã«ãããã®ã§ããã"
+"ãï¼ ã¾ãããã£ãã <literal>SessionFactory</literal> ãåå¾ãä¿æããã° "
+"ï¼ <literal>HibernateUtil</literal> ã®ãããã§ç°¡åã§ãï¼ããã®ã¡ã½ãããä½åº¦"
+"ã§ãã ã©ãããã§ãå¼ã³åºããã¨ãåºæ¥ã¾ãã <literal>getCurrentSession()</"
+"literal> ã¡ã½ããã¯å¸¸ã«ãç¾å¨ã®ã使¥åä½(Unit of Work)ãè¿ãã¾ãã "
+"<literal>hibernate.cfg.xml</literal> ã®ãã®æ©è½ã®è¨å®ã§ã\"thread\"ãæå®ãã"
+"ãã¨ãæãåºãã¦ãã ããã ãã®ããç¾å¨ã®ä½æ¥åä½ã®ã¹ã³ã¼ãã¯ããã®ã¢ããªã±ã¼"
+"ã·ã§ã³ãå®è¡ããç¾å¨ã®Javaã¹ã¬ããã§ãã ãããããã§å
¨ã¦ã§ã¯ããã¾ããã"
-#: index.docbook:430
-msgid "A <literal>Session</literal> begins when it is first needed, when the first call to <literal>getCurrentSession()</literal> is made. It is then bound by Hibernate to the current thread. When the transaction ends, either through commit or rollback, Hibernate automatically unbinds the <literal>Session</literal> from the thread and closes it for you. If you call <literal>getCurrentSession()</literal> again, you get a new <literal>Session</literal> and can start a new unit of work. This <emphasis>thread-bound</emphasis> programming model is the most popular way of using Hibernate, as it allows flexible layering of your code (transaction demarcation code can be separated from data access code, we'll do this later in this tutorial)."
-msgstr "ãã©ã³ã¶ã¯ã·ã§ã³ã®æ±ãã¨å¢çã®è©³ããæ
å ±ã«ã¤ãã¦ã¯ã <xref linkend=\"transactions\"/> ãè¦ã¦ãã ããã ãã®ä¾ã§ã¯ã¨ã©ã¼å¦çããã¼ã«ããã¯ã岿ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:430
+#, no-c-format
+msgid ""
+"A <literal>Session</literal> begins when it is first needed, when the first "
+"call to <literal>getCurrentSession()</literal> is made. It is then bound by "
+"Hibernate to the current thread. When the transaction ends, either through "
+"commit or rollback, Hibernate automatically unbinds the <literal>Session</"
+"literal> from the thread and closes it for you. If you call "
+"<literal>getCurrentSession()</literal> again, you get a new "
+"<literal>Session</literal> and can start a new unit of work. This "
+"<emphasis>thread-bound</emphasis> programming model is the most popular way "
+"of using Hibernate, as it allows flexible layering of your code (transaction "
+"demarcation code can be separated from data access code, we'll do this later "
+"in this tutorial)."
+msgstr ""
+"<literal>Session</literal> ã¯æåã«å¿
è¦ã¨ãªã£ãã¨ããã¤ã¾ãæåã« "
+"<literal>getCurrentSession()</literal> ã å¼ã°ããã¨ãã«éå§ãã¾ãã ãã®ã¨ã"
+"Hibernateã«ããç¾å¨ã®ã¹ã¬ããã«çµã³ä»ãããã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ãçµäºï¼ã³"
+"ããããããã¯ãã¼ã«ããã¯ï¼ããã¨ãã Hibernateãã¹ã¬ãããã "
+"<literal>Session</literal> ãåãé¢ããã¯ãã¼ãºãã¾ãã åã³ "
+"<literal>getCurrentSession()</literal> ãå¼ã¶ã¨ã æ°ãã <literal>Session</"
+"literal> ãåå¾ãã¦æ°ãã使¥åä½ãã¹ã¿ã¼ãã§ãã¾ãã ãã® <emphasis>thread-"
+"bound</emphasis> ããã°ã©ãã³ã°ã»ã¢ãã«ã¯Hibernateãå©ç¨ããä¸ã§æã人æ°ãã"
+"ãã¾ãã"
-#: index.docbook:441
-msgid "Related to the unit of work scope, should the Hibernate <literal>Session</literal> be used to execute one or several database operations? The above example uses one <literal>Session</literal> for one operation. This is pure coincidence, the example is just not complex enough to show any other approach. The scope of a Hibernate <literal>Session</literal> is flexible but you should never design your application to use a new Hibernate <literal>Session</literal> for <emphasis>every</emphasis> database operation. So even if you see it a few more times in the following (very trivial) examples, consider <emphasis>session-per-operation</emphasis> an anti-pattern. A real (web) application is shown later in this tutorial."
-msgstr "ãã®æåã®ã«ã¼ãã³ãå®è¡ããã«ã¯ãAntã®ãã«ããã¡ã¤ã«ã«å¼ã³åºãå¯è½ãªã¿ã¼ã²ããã 追å ããªããã°ãªãã¾ããï¼"
+#. Tag: para
+#: tutorial.xml:441
+#, no-c-format
+msgid ""
+"Related to the unit of work scope, should the Hibernate <literal>Session</"
+"literal> be used to execute one or several database operations? The above "
+"example uses one <literal>Session</literal> for one operation. This is pure "
+"coincidence, the example is just not complex enough to show any other "
+"approach. The scope of a Hibernate <literal>Session</literal> is flexible "
+"but you should never design your application to use a new Hibernate "
+"<literal>Session</literal> for <emphasis>every</emphasis> database "
+"operation. So even if you see it a few more times in the following (very "
+"trivial) examples, consider <emphasis>session-per-operation</emphasis> an "
+"anti-pattern. A real (web) application is shown later in this tutorial."
+msgstr ""
+"Related to the unit of work scope, should the Hibernate <literal>Session</"
+"literal> be used to execute one or several database operations? The above "
+"example uses one <literal>Session</literal> for one operation. This is pure "
+"coincidence, the example is just not complex enough to show any other "
+"approach. The scope of a Hibernate <literal>Session</literal> is flexible "
+"but you should never design your application to use a new Hibernate "
+"<literal>Session</literal> for <emphasis>every</emphasis> database "
+"operation. So even if you see it a few more times in the following (very "
+"trivial) examples, consider <emphasis>session-per-operation</emphasis> an "
+"anti-pattern. A real (web) application is shown later in this tutorial."
-#: index.docbook:452
-msgid "Have a look at <xref linkend=\"transactions\"/> for more information about transaction handling and demarcation. We also skipped any error handling and rollback in the previous example."
+#. Tag: para
+#: tutorial.xml:452
+#, no-c-format
+msgid ""
+"Have a look at <xref linkend=\"transactions\"/> for more information about "
+"transaction handling and demarcation. We also skipped any error handling and "
+"rollback in the previous example."
msgstr ""
- "<![CDATA[<target name=\"run\" depends=\"compile\">
-\n"
- " <java fork=\"true\" classname=\"events.EventManager\" classpathref=\"libraries\">
-\n"
- " <classpath path=\"${targetdir}\"/>
-\n"
- " <arg value=\"${action}\"/>
-\n"
- " </java>
-\n"
- "</target>]]>"
+"ãã©ã³ã¶ã¯ã·ã§ã³ã®æ±ãã¨å¢çã®è©³ããæ
å ±ã«ã¤ãã¦ã¯ã <xref linkend="
+"\"transactions\"/> ãè¦ã¦ãã ããã ãã®ä¾ã§ã¯ã¨ã©ã¼å¦çããã¼ã«ããã¯ã岿"
+"ãã¾ãã"
-#: index.docbook:458
-msgid "To run this first routine we have to add a callable target to the Ant build file:"
-msgstr "<literal>action</literal> 弿°ã®å¤ã¯ãã¿ã¼ã²ãããå¼ã¶ã¨ãã«ã³ãã³ãã©ã¤ã³ã§è¨å®ãã¾ãï¼"
+#. Tag: para
+#: tutorial.xml:458
+#, no-c-format
+msgid ""
+"To run this first routine we have to add a callable target to the Ant build "
+"file:"
+msgstr ""
+"ãã®æåã®ã«ã¼ãã³ãå®è¡ããã«ã¯ãAntã®ãã«ããã¡ã¤ã«ã«å¼ã³åºãå¯è½ãªã¿ã¼ã²ã"
+"ãã 追å ããªããã°ãªãã¾ããï¼"
-#: index.docbook:462
+#. Tag: programlisting
+#: tutorial.xml:462
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"run\" depends=\"compile\">\n"
- " <java fork=\"true\" classname=\"events.EventManager\" classpathref=\"libraries\">\n"
- " <classpath path=\"${targetdir}\"/>\n"
- " <arg value=\"${action}\"/>\n"
- " </java>\n"
- "</target>]]>"
-msgstr "<![CDATA[C:¥hibernateTutorial¥>ant run -Daction=store]]>"
+"<![CDATA[<target name=\"run\" depends=\"compile\">\n"
+" <java fork=\"true\" classname=\"events.EventManager\" classpathref="
+"\"libraries\">\n"
+" <classpath path=\"${targetdir}\"/>\n"
+" <arg value=\"${action}\"/>\n"
+" </java>\n"
+"</target>]]>"
+msgstr ""
-#: index.docbook:464
-msgid "The value of the <literal>action</literal> argument is set on the command line when calling the target:"
-msgstr "ã³ã³ãã¤ã«ããã¨ãHibernateãã¹ã¿ã¼ãããããªãã®è¨å®ã«ããã¾ããã å¤ãã®ãã°åºåãããã¯ãã§ãã ãã®æå¾ã«ã¯ä»¥ä¸ã®è¡ãããã§ãããï¼"
+#. Tag: para
+#: tutorial.xml:464
+#, no-c-format
+msgid ""
+"The value of the <literal>action</literal> argument is set on the command "
+"line when calling the target:"
+msgstr ""
+"<literal>action</literal> 弿°ã®å¤ã¯ãã¿ã¼ã²ãããå¼ã¶ã¨ãã«ã³ãã³ãã©ã¤ã³ã§"
+"è¨å®ãã¾ãï¼"
-#: index.docbook:469
+#. Tag: programlisting
+#: tutorial.xml:469
+#, no-c-format
msgid "<![CDATA[C:\\hibernateTutorial\\>ant run -Daction=store]]>"
-msgstr "<![CDATA[[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) values (?, ?, ?)]]>"
+msgstr ""
-#: index.docbook:471
-msgid "You should see, after compilation, Hibernate starting up and, depending on your configuration, lots of log output. At the end you will find the following line:"
-msgstr "ããã¯Hibernateãå®è¡ãã <literal>INSERT</literal> ã§ã ã¯ã¨ã¹ãã§ã³ãã¼ã¯ã¯JDBCãã¤ã³ããã©ã¡ã¼ã¿ã表ãã¦ãã¾ãã 弿°ã¨ãã¦ãã¤ã³ããããå¤ãè¦ãããããããã¯ãã°ã®åé·æ§ãæ¸ããããã«ã¯ã <literal>log4j.properties</literal> ããã§ãã¯ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:471
+#, no-c-format
+msgid ""
+"You should see, after compilation, Hibernate starting up and, depending on "
+"your configuration, lots of log output. At the end you will find the "
+"following line:"
+msgstr ""
+"ã³ã³ãã¤ã«ããã¨ãHibernateãã¹ã¿ã¼ãããããªãã®è¨å®ã«ããã¾ããã å¤ãã®ã"
+"ã°åºåãããã¯ãã§ãã ãã®æå¾ã«ã¯ä»¥ä¸ã®è¡ãããã§ãããï¼"
-#: index.docbook:476
-msgid "<![CDATA[[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) values (?, ?, ?)]]>"
-msgstr "ããã§ã¯åãããã«æ ¼ç´ãããã¤ãã³ãã®ä¸è¦§ãè¦ããã¨æãã¾ãã ãã®ããã¡ã¤ã³ã¡ã½ããã«ãªãã·ã§ã³ã追å ãã¾ãï¼"
+#. Tag: programlisting
+#: tutorial.xml:476
+#, no-c-format
+msgid ""
+"<![CDATA[[java] Hibernate: insert into EVENTS (EVENT_DATE, title, EVENT_ID) "
+"values (?, ?, ?)]]>"
+msgstr ""
-#: index.docbook:478
-msgid "This is the <literal>INSERT</literal> executed by Hibernate, the question marks represent JDBC bind parameters. To see the values bound as arguments, or to reduce the verbosity of the log, check your <literal>log4j.properties</literal>."
+#. Tag: para
+#: tutorial.xml:478
+#, no-c-format
+msgid ""
+"This is the <literal>INSERT</literal> executed by Hibernate, the question "
+"marks represent JDBC bind parameters. To see the values bound as arguments, "
+"or to reduce the verbosity of the log, check your <literal>log4j.properties</"
+"literal>."
msgstr ""
- "<![CDATA[if (args[0].equals(\"store\")) {
-\n"
- " mgr.createAndStoreEvent(\"My Event\", new Date());
-\n"
- "}
-\n"
- "else if (args[0].equals(\"list\")) {
-\n"
- " List events = mgr.listEvents();
-\n"
- " for (int i = 0; i < events.size(); i++) {
-\n"
- " Event theEvent = (Event) events.get(i);
-\n"
- " System.out.println(\"Event: \" + theEvent.getTitle() +
-\n"
- " \" Time: \" + theEvent.getDate());
-\n"
- " }
-\n"
- "}]]>"
+"ããã¯Hibernateãå®è¡ãã <literal>INSERT</literal> ã§ã ã¯ã¨ã¹ãã§ã³ãã¼ã¯ã¯"
+"JDBCãã¤ã³ããã©ã¡ã¼ã¿ã表ãã¦ãã¾ãã 弿°ã¨ãã¦ãã¤ã³ããããå¤ãè¦ãããã"
+"ãããã¯ãã°ã®åé·æ§ãæ¸ããããã«ã¯ã <literal>log4j.properties</literal> ã"
+"ãã§ãã¯ãã¦ãã ããã"
-#: index.docbook:484
-msgid "Now we'd like to list stored events as well, so we add an option to the main method:"
-msgstr "æ°ãã <literal>listEvents()ã¡ã½ãã</literal> ã追å ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:484
+#, no-c-format
+msgid ""
+"Now we'd like to list stored events as well, so we add an option to the main "
+"method:"
+msgstr ""
+"ããã§ã¯åãããã«æ ¼ç´ãããã¤ãã³ãã®ä¸è¦§ãè¦ããã¨æãã¾ãã ãã®ããã¡ã¤ã³"
+"ã¡ã½ããã«ãªãã·ã§ã³ã追å ãã¾ãï¼"
-#: index.docbook:488
+#. Tag: programlisting
+#: tutorial.xml:488
+#, no-c-format
msgid ""
- "<![CDATA[if (args[0].equals(\"store\")) {\n"
- " mgr.createAndStoreEvent(\"My Event\", new Date());\n"
- "}\n"
- "else if (args[0].equals(\"list\")) {\n"
- " List events = mgr.listEvents();\n"
- " for (int i = 0; i < events.size(); i++) {\n"
- " Event theEvent = (Event) events.get(i);\n"
- " System.out.println(\"Event: \" + theEvent.getTitle() +\n"
- " \" Time: \" + theEvent.getDate());\n"
- " }\n"
- "}]]>"
+"<![CDATA[if (args[0].equals(\"store\")) {\n"
+" mgr.createAndStoreEvent(\"My Event\", new Date());\n"
+"}\n"
+"else if (args[0].equals(\"list\")) {\n"
+" List events = mgr.listEvents();\n"
+" for (int i = 0; i < events.size(); i++) {\n"
+" Event theEvent = (Event) events.get(i);\n"
+" System.out.println(\"Event: \" + theEvent.getTitle() +\n"
+" \" Time: \" + theEvent.getDate());\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[private List listEvents() {
-\n"
- "
-\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- "
-\n"
- " session.beginTransaction();
-\n"
- "
-\n"
- " List result = session.createQuery(\"from Event\").list();
-\n"
- "
-\n"
- " session.getTransaction().commit();
-\n"
- "
-\n"
- " return result;
-\n"
- "}]]>"
-#: index.docbook:490
+#. Tag: para
+#: tutorial.xml:490
+#, no-c-format
msgid "We also add a new <literal>listEvents() method</literal>:"
-msgstr "ããã§ãããã¨ã¯ããã¼ã¿ãã¼ã¹ããåå¨ãããã¹ã¦ã® <literal>Event</literal> ãªãã¸ã§ã¯ãããã¼ãããHQL (Hibernate Query Language) ã¯ã¨ãªã使ããã¨ã§ãã Hibernateã¯é©åãªSQLãçæããããããã¼ã¿ãã¼ã¹ã«éãã ãã®ãã¼ã¿ã使ã£ã¦ <literal>Event</literal> ãªãã¸ã§ã¯ããçæãã¾ãã å½ç¶HQLã§ããã«è¤éãªã¯ã¨ãªã使ã§ãã¾ãã"
+msgstr "æ°ãã <literal>listEvents()ã¡ã½ãã</literal> ã追å ãã¾ãã"
-#: index.docbook:494
+#. Tag: programlisting
+#: tutorial.xml:494
+#, no-c-format
msgid ""
- "<![CDATA[private List listEvents() {\n"
- "\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- "\n"
- " session.beginTransaction();\n"
- "\n"
- " List result = session.createQuery(\"from Event\").list();\n"
- "\n"
- " session.getTransaction().commit();\n"
- "\n"
- " return result;\n"
- "}]]>"
-msgstr "以ä¸ã®ã¹ãããã§ããã¹ã¦ã®å®è¡ã¨ãã¹ããè¡ãã¾ãã"
+"<![CDATA[private List listEvents() {\n"
+"\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+"\n"
+" session.beginTransaction();\n"
+"\n"
+" List result = session.createQuery(\"from Event\").list();\n"
+"\n"
+" session.getTransaction().commit();\n"
+"\n"
+" return result;\n"
+"}]]>"
+msgstr ""
-#: index.docbook:496
-msgid "What we do here is use an HQL (Hibernate Query Language) query to load all existing <literal>Event</literal> objects from the database. Hibernate will generate the appropriate SQL, send it to the database and populate <literal>Event</literal> objects with the data. You can create more complex queries with HQL, of course."
-msgstr "hbm2ddlãéãåã«ãã¼ã¿ãã¼ã¹ã®ãã¼ã¿ã使ãããã¼ã¿ãã¼ã¹ã¹ãã¼ããçæããããã«ã <literal>ant run -Daction=store</literal> ãå®è¡ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:496
+#, no-c-format
+msgid ""
+"What we do here is use an HQL (Hibernate Query Language) query to load all "
+"existing <literal>Event</literal> objects from the database. Hibernate will "
+"generate the appropriate SQL, send it to the database and populate "
+"<literal>Event</literal> objects with the data. You can create more complex "
+"queries with HQL, of course."
+msgstr ""
+"ããã§ãããã¨ã¯ããã¼ã¿ãã¼ã¹ããåå¨ãããã¹ã¦ã® <literal>Event</literal> "
+"ãªãã¸ã§ã¯ãããã¼ãããHQL (Hibernate Query Language) ã¯ã¨ãªã使ããã¨ã§"
+"ãã Hibernateã¯é©åãªSQLãçæããããããã¼ã¿ãã¼ã¹ã«éãã ãã®ãã¼ã¿ã"
+"使ã£ã¦ <literal>Event</literal> ãªãã¸ã§ã¯ããçæãã¾ãã å½ç¶HQLã§ããã«è¤"
+"éãªã¯ã¨ãªã使ã§ãã¾ãã"
-#: index.docbook:503
+#. Tag: para
+#: tutorial.xml:503
+#, no-c-format
msgid "Now, to execute and test all of this, follow these steps:"
-msgstr "ä»ã¯ <literal>hibernate.cfg.xml</literal> ãã¡ã¤ã«ã®ããããã£ãã³ã¡ã³ãã¢ã¦ããã¦hbm2ddlãç¡å¹ã«ãã¦ãã ããã é常ã¯ç¶ç¶çã«åä½ãã¹ãããã¦ããéã¯hbm2ddlãæå¹ã«ãã¦ããã®ã§ããã ãã以å¤ã®å ´åã«hbm2ddlãèµ·åããã¨æ ¼ç´ãã¦ãããå
¨ã¦ã®ãã¼ã¿ã <emphasis>ãããã</emphasis> ããã§ãããã è¨å®ã <literal>create</literal> ã«ããã¨ãçµæã¨ã㦠ãSessionFactoryçæã®éãã¹ãã¼ãããå
¨ã¦ã®ãã¼ãã«ããããããã¦å使ãããã¨ããè¨å®ã«ãªãã¾ãã"
+msgstr "以ä¸ã®ã¹ãããã§ããã¹ã¦ã®å®è¡ã¨ãã¹ããè¡ãã¾ãã"
-#: index.docbook:509
-msgid "Run <literal>ant run -Daction=store</literal> to store something into the database and, of course, to generate the database schema before through hbm2ddl."
-msgstr "ä» <literal>-Daction=list</literal> ã¨æå®ãã¦Antãå¼ã¶ã¨ã ããã¾ã§æ ¼ç´ããã¤ãã³ããè¦ããã¯ãã§ãã <literal>store</literal> ã¢ã¯ã·ã§ã³ãæ°å以ä¸å¼ã¶ãã¨ãå¯è½ã§ãã"
+#. Tag: para
+#: tutorial.xml:509
+#, no-c-format
+msgid ""
+"Run <literal>ant run -Daction=store</literal> to store something into the "
+"database and, of course, to generate the database schema before through "
+"hbm2ddl."
+msgstr ""
+"hbm2ddlãéãåã«ãã¼ã¿ãã¼ã¹ã®ãã¼ã¿ã使ãããã¼ã¿ãã¼ã¹ã¹ãã¼ããçæãã"
+"ããã«ã <literal>ant run -Daction=store</literal> ãå®è¡ãã¦ãã ããã"
-#: index.docbook:515
-msgid "Now disable hbm2ddl by commenting out the property in your <literal>hibernate.cfg.xml</literal> file. Usually you only leave it turned on in continous unit testing, but another run of hbm2ddl would <emphasis>drop</emphasis> everything you have stored - the <literal>create</literal> configuration setting actually translates into \"drop all tables from the schema, then re-create all tables, when the SessionFactory is build\"."
-msgstr "注æï¼åãã¦Hibernateã«è§¦ãã人ã
ã®å¤ããããã§å¤±æããããã<emphasis>Table not found</emphasis> ã¨ã©ã¼ã¡ãã»ã¼ã¸ã« é¢ãã質åã宿çã«è¦ããã¾ãã ãããä¸è¨ã®ã¹ãããã«å¾ãã°ãhbm2ddlãæåã«å®è¡ãããã¨ãã«ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã使ãã ãã®å¾ã®å®è¡ã«ããã¦ããã®ã¹ãã¼ãã使ç¨ããã®ã§ãåé¡ã¯èµ·ãããªãã§ãããã ãããã³ã°ããã¼ã¿ãã¼ã¹ã¹ãã¼ãã夿´ããã¨ãã¯ãããä¸åº¦hbm2ddlãæå¹ã«ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:515
+#, no-c-format
+msgid ""
+"Now disable hbm2ddl by commenting out the property in your "
+"<literal>hibernate.cfg.xml</literal> file. Usually you only leave it turned "
+"on in continous unit testing, but another run of hbm2ddl would "
+"<emphasis>drop</emphasis> everything you have stored - the <literal>create</"
+"literal> configuration setting actually translates into \"drop all tables "
+"from the schema, then re-create all tables, when the SessionFactory is build"
+"\"."
+msgstr ""
+"ä»ã¯ <literal>hibernate.cfg.xml</literal> ãã¡ã¤ã«ã®ããããã£ãã³ã¡ã³ãã¢ã¦"
+"ããã¦hbm2ddlãç¡å¹ã«ãã¦ãã ããã é常ã¯ç¶ç¶çã«åä½ãã¹ãããã¦ããéã¯"
+"hbm2ddlãæå¹ã«ãã¦ããã®ã§ããã ãã以å¤ã®å ´åã«hbm2ddlãèµ·åããã¨æ ¼ç´ãã¦"
+"ãããå
¨ã¦ã®ãã¼ã¿ã <emphasis>ãããã</emphasis> ããã§ãããã è¨å®ã "
+"<literal>create</literal> ã«ããã¨ãçµæã¨ã㦠ãSessionFactoryçæã®éãã¹"
+"ãã¼ãããå
¨ã¦ã®ãã¼ãã«ããããããã¦å使ãããã¨ããè¨å®ã«ãªãã¾ãã"
-#: index.docbook:525
-msgid "If you now call Ant with <literal>-Daction=list</literal>, you should see the events you have stored so far. You can of course also call the <literal>store</literal> action a few times more."
-msgstr "ãã¼ã2 - é¢é£ã®ãããã³ã°"
+#. Tag: para
+#: tutorial.xml:525
+#, no-c-format
+msgid ""
+"If you now call Ant with <literal>-Daction=list</literal>, you should see "
+"the events you have stored so far. You can of course also call the "
+"<literal>store</literal> action a few times more."
+msgstr ""
+"ä» <literal>-Daction=list</literal> ã¨æå®ãã¦Antãå¼ã¶ã¨ã ããã¾ã§æ ¼ç´ãã"
+"ã¤ãã³ããè¦ããã¯ãã§ãã <literal>store</literal> ã¢ã¯ã·ã§ã³ãæ°å以ä¸å¼ã¶"
+"ãã¨ãå¯è½ã§ãã"
-#: index.docbook:531
-msgid "Note: Most new Hibernate users fail at this point and we see questions about <emphasis>Table not found</emphasis> error messages regularly. However, if you follow the steps outlined above you will not have this problem, as hbm2ddl creates the database schema on the first run, and subsequent application restarts will use this schema. If you change the mapping and/or database schema, you have to re-enable hbm2ddl once again."
-msgstr "æ°¸ç¶ã¨ã³ãã£ãã£ã¯ã©ã¹ããã¼ãã«ã«ãããã³ã°ãã¾ããã ããã«ãã®ä¸ã«ããã¤ãã®ã¯ã©ã¹ã®é¢é£ã追å ãã¾ãããã ã¾ãåãã«ã¢ããªã±ã¼ã·ã§ã³ã«äººã
ã追å ããå½¼ããåå ããã¤ãã³ãã®ãªã¹ããæ ¼ç´ãã¾ãã"
+#. Tag: para
+#: tutorial.xml:531
+#, no-c-format
+msgid ""
+"Note: Most new Hibernate users fail at this point and we see questions about "
+"<emphasis>Table not found</emphasis> error messages regularly. However, if "
+"you follow the steps outlined above you will not have this problem, as "
+"hbm2ddl creates the database schema on the first run, and subsequent "
+"application restarts will use this schema. If you change the mapping and/or "
+"database schema, you have to re-enable hbm2ddl once again."
+msgstr ""
+"注æï¼åãã¦Hibernateã«è§¦ãã人ã
ã®å¤ããããã§å¤±æããããã<emphasis>Table "
+"not found</emphasis> ã¨ã©ã¼ã¡ãã»ã¼ã¸ã« é¢ãã質åã宿çã«è¦ããã¾ãã ãã"
+"ãä¸è¨ã®ã¹ãããã«å¾ãã°ãhbm2ddlãæåã«å®è¡ãããã¨ãã«ãã¼ã¿ãã¼ã¹ã¹ãã¼ã"
+"ã使ãã ãã®å¾ã®å®è¡ã«ããã¦ããã®ã¹ãã¼ãã使ç¨ããã®ã§ãåé¡ã¯èµ·ãããªã"
+"ã§ãããã ãããã³ã°ããã¼ã¿ãã¼ã¹ã¹ãã¼ãã夿´ããã¨ãã¯ãããä¸åº¦hbm2ddl"
+"ãæå¹ã«ãã¦ãã ããã"
-#: index.docbook:544
+#. Tag: title
+#: tutorial.xml:544
+#, no-c-format
msgid "Part 2 - Mapping associations"
-msgstr "Personã¯ã©ã¹ã®ãããã³ã°"
+msgstr "ãã¼ã2 - é¢é£ã®ãããã³ã°"
-#: index.docbook:546
-msgid "We mapped a persistent entity class to a table. Let's build on this and add some class associations. First we'll add people to our application, and store a list of events they participate in."
-msgstr "æåã® <literal>Person</literal> ã¯ã©ã¹ã¯åç´ã§ãï¼"
+#. Tag: para
+#: tutorial.xml:546
+#, no-c-format
+msgid ""
+"We mapped a persistent entity class to a table. Let's build on this and add "
+"some class associations. First we'll add people to our application, and "
+"store a list of events they participate in."
+msgstr ""
+"æ°¸ç¶ã¨ã³ãã£ãã£ã¯ã©ã¹ããã¼ãã«ã«ãããã³ã°ãã¾ããã ããã«ãã®ä¸ã«ããã¤ã"
+"ã®ã¯ã©ã¹ã®é¢é£ã追å ãã¾ãããã ã¾ãåãã«ã¢ããªã±ã¼ã·ã§ã³ã«äººã
ã追å ããå½¼"
+"ããåå ããã¤ãã³ãã®ãªã¹ããæ ¼ç´ãã¾ãã"
-#: index.docbook:552
+#. Tag: title
+#: tutorial.xml:552
+#, no-c-format
msgid "Mapping the Person class"
-msgstr ""
- "<![CDATA[package events;
-\n"
- "
-\n"
- "public class Person {
-\n"
- "
-\n"
- " private Long id;
-\n"
- " private int age;
-\n"
- " private String firstname;
-\n"
- " private String lastname;
-\n"
- "
-\n"
- " public Person() {}
-\n"
- "
-\n"
- " // Accessor methods for all properties, private setter for 'id'
-\n"
- "
-\n"
- "}]]>"
+msgstr "Personã¯ã©ã¹ã®ãããã³ã°"
-#: index.docbook:554
+#. Tag: para
+#: tutorial.xml:554
+#, no-c-format
msgid "The first cut of the <literal>Person</literal> class is simple:"
-msgstr "<literal>Person.hbm.xml</literal> ã¨ããæ°ãããããã³ã°ãã¡ã¤ã«ã使ãã¦ãã ãã ï¼ãã¡ã¤ã«ã®æåã«DTDã¸ã®åç
§ãå¿ããã«å
¥ãã¦ãã ããï¼ï¼"
+msgstr "æåã® <literal>Person</literal> ã¯ã©ã¹ã¯åç´ã§ãï¼"
-#: index.docbook:558
+#. Tag: programlisting
+#: tutorial.xml:558
+#, no-c-format
msgid ""
- "<![CDATA[package events;\n"
- "\n"
- "public class Person {\n"
- "\n"
- " private Long id;\n"
- " private int age;\n"
- " private String firstname;\n"
- " private String lastname;\n"
- "\n"
- " public Person() {}\n"
- "\n"
- " // Accessor methods for all properties, private setter for 'id'\n"
- "\n"
- "}]]>"
+"<![CDATA[package events;\n"
+"\n"
+"public class Person {\n"
+"\n"
+" private Long id;\n"
+" private int age;\n"
+" private String firstname;\n"
+" private String lastname;\n"
+"\n"
+" public Person() {}\n"
+"\n"
+" // Accessor methods for all properties, private setter for 'id'\n"
+"\n"
+"}]]>"
msgstr ""
- "<![CDATA[<hibernate-mapping>
-\n"
- "
-\n"
- " <class name=\"events.Person\" table=\"PERSON\">
-\n"
- " <id name=\"id\" column=\"PERSON_ID\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"age\"/>
-\n"
- " <property name=\"firstname\"/>
-\n"
- " <property name=\"lastname\"/>
-\n"
- " </class>
-\n"
- "
-\n"
- "</hibernate-mapping>]]>"
-#: index.docbook:560
-msgid "Create a new mapping file called <literal>Person.hbm.xml</literal> (don't forget the DTD reference at the top):"
-msgstr "æå¾ã«Hibernateã®è¨å®ã«æ°ãããããã³ã°ã追å ãã¦ãã ããï¼"
+#. Tag: para
+#: tutorial.xml:560
+#, no-c-format
+msgid ""
+"Create a new mapping file called <literal>Person.hbm.xml</literal> (don't "
+"forget the DTD reference at the top):"
+msgstr ""
+"<literal>Person.hbm.xml</literal> ã¨ããæ°ãããããã³ã°ãã¡ã¤ã«ã使ãã¦ã"
+"ã ãã ï¼ãã¡ã¤ã«ã®æåã«DTDã¸ã®åç
§ãå¿ããã«å
¥ãã¦ãã ããï¼ï¼"
-#: index.docbook:565
+#. Tag: programlisting
+#: tutorial.xml:565
+#, no-c-format
msgid ""
- "<![CDATA[<hibernate-mapping>\n"
- "\n"
- " <class name=\"events.Person\" table=\"PERSON\">\n"
- " <id name=\"id\" column=\"PERSON_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"age\"/>\n"
- " <property name=\"firstname\"/>\n"
- " <property name=\"lastname\"/>\n"
- " </class>\n"
- "\n"
- "</hibernate-mapping>]]>"
+"<![CDATA[<hibernate-mapping>\n"
+"\n"
+" <class name=\"events.Person\" table=\"PERSON\">\n"
+" <id name=\"id\" column=\"PERSON_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"age\"/>\n"
+" <property name=\"firstname\"/>\n"
+" <property name=\"lastname\"/>\n"
+" </class>\n"
+"\n"
+"</hibernate-mapping>]]>"
msgstr ""
- "<![CDATA[<mapping resource=\"events/Event.hbm.xml\"/>
-\n"
- "<mapping resource=\"events/Person.hbm.xml\"/>]]>"
-#: index.docbook:567
+#. Tag: para
+#: tutorial.xml:567
+#, no-c-format
msgid "Finally, add the new mapping to Hibernate's configuration:"
-msgstr "ããã§ã¯ããã2ã¤ã®ã¨ã³ãã£ãã£éã®é¢é£ã使ãã¾ãã 人ã
ãã¤ãã³ãã«åå ã§ããã¤ãã³ããåå è
ãæã¤ã®ã¯æããã§ãã æ±ããªããã°ãªããªãè¨è¨ã®åé¡ã¯ãæ¹åãå¤é度ãã³ã¬ã¯ã·ã§ã³ã®æ¯ãèãã§ãã"
+msgstr "æå¾ã«Hibernateã®è¨å®ã«æ°ãããããã³ã°ã追å ãã¦ãã ããï¼"
-#: index.docbook:571
+#. Tag: programlisting
+#: tutorial.xml:571
+#, no-c-format
msgid ""
- "<![CDATA[<mapping resource=\"events/Event.hbm.xml\"/>\n"
- "<mapping resource=\"events/Person.hbm.xml\"/>]]>"
-msgstr "åæ¹åSetãã¼ã¹é¢é£"
+"<![CDATA[<mapping resource=\"events/Event.hbm.xml\"/>\n"
+"<mapping resource=\"events/Person.hbm.xml\"/>]]>"
+msgstr ""
-#: index.docbook:573
-msgid "We'll now create an association between these two entities. Obviously, persons can participate in events, and events have participants. The design questions we have to deal with are: directionality, multiplicity, and collection behavior."
-msgstr "ã¤ãã³ãã®ã³ã¬ã¯ã·ã§ã³ã <literal>Person</literal> ã¯ã©ã¹ã«è¿½å ãã¾ãã ãããã¦ããã¨ãæç¤ºçãªã¯ã¨ãªãã¤ã¾ããããã<literal>aPerson.getEvents()</literal>ãå¼ã³åºããã«ã ç¹å®ã®äººã«ç´ä»ãã¤ãã³ããç°¡åã«ããã²ã¼ããããã¨ãã§ãã¾ãã ç§ãã¡ã¯Javaã®ã³ã¬ã¯ã·ã§ã³ã<literal>Set</literal> ã使ãã¾ãã ã³ã¬ã¯ã·ã§ã³ã¯éè¤è¦ç´ ãæããªãããé çªã¯ç§ãã¡ã«ã¯æå³ããªãããã§ãã"
+#. Tag: para
+#: tutorial.xml:573
+#, no-c-format
+msgid ""
+"We'll now create an association between these two entities. Obviously, "
+"persons can participate in events, and events have participants. The design "
+"questions we have to deal with are: directionality, multiplicity, and "
+"collection behavior."
+msgstr ""
+"ããã§ã¯ããã2ã¤ã®ã¨ã³ãã£ãã£éã®é¢é£ã使ãã¾ãã 人ã
ãã¤ãã³ãã«åå ã§"
+"ããã¤ãã³ããåå è
ãæã¤ã®ã¯æããã§ãã æ±ããªããã°ãªããªãè¨è¨ã®åé¡ã¯ã"
+"æ¹åãå¤é度ãã³ã¬ã¯ã·ã§ã³ã®æ¯ãèãã§ãã"
-#: index.docbook:583
+#. Tag: title
+#: tutorial.xml:583
+#, no-c-format
msgid "A unidirectional Set-based association"
-msgstr "<literal>Set</literal> ã§å®è£
ãããåæ¹åãå¤å¤é¢é£ãå¿
è¦ã§ãã Javaã¯ã©ã¹å
ã«å¯¾å¿ããã³ã¼ããæ¸ãã¦ãããã³ã°ãã¾ãããï¼"
+msgstr "åæ¹åSetãã¼ã¹é¢é£"
-#: index.docbook:585
-msgid "We'll add a collection of events to the <literal>Person</literal> class. That way we can easily navigate to the events for a particular person, without executing an explicit query - by calling <literal>aPerson.getEvents()</literal>. We use a Java collection, a <literal>Set</literal>, because the collection will not contain duplicate elements and the ordering is not relevant for us."
+#. Tag: para
+#: tutorial.xml:585
+#, no-c-format
+msgid ""
+"We'll add a collection of events to the <literal>Person</literal> class. "
+"That way we can easily navigate to the events for a particular person, "
+"without executing an explicit query - by calling <literal>aPerson.getEvents()"
+"</literal>. We use a Java collection, a <literal>Set</literal>, because the "
+"collection will not contain duplicate elements and the ordering is not "
+"relevant for us."
msgstr ""
- "<![CDATA[public class Person {
-\n"
- "
-\n"
- " private Set events = new HashSet();
-\n"
- "
-\n"
- " public Set getEvents() {
-\n"
- " return events;
-\n"
- " }
-\n"
- "
-\n"
- " public void setEvents(Set events) {
-\n"
- " this.events = events;
-\n"
- " }
-\n"
- "}]]>"
+"ã¤ãã³ãã®ã³ã¬ã¯ã·ã§ã³ã <literal>Person</literal> ã¯ã©ã¹ã«è¿½å ãã¾ãã ãã"
+"ãã¦ããã¨ãæç¤ºçãªã¯ã¨ãªãã¤ã¾ããããã<literal>aPerson.getEvents()</"
+"literal>ãå¼ã³åºããã«ã ç¹å®ã®äººã«ç´ä»ãã¤ãã³ããç°¡åã«ããã²ã¼ããããã¨ã"
+"ã§ãã¾ãã ç§ãã¡ã¯Javaã®ã³ã¬ã¯ã·ã§ã³ã<literal>Set</literal> ã使ãã¾ãã ã³"
+"ã¬ã¯ã·ã§ã³ã¯éè¤è¦ç´ ãæããªãããé çªã¯ç§ãã¡ã«ã¯æå³ããªãããã§ãã"
-#: index.docbook:592
-msgid "We need a unidirectional, many-valued associations, implemented with a <literal>Set</literal>. Let's write the code for this in the Java classes and then map it:"
-msgstr "ãã®é¢é£ããããã³ã°ããåã«ãå対å´ã«ã¤ãã¦èãã¦ãã ããã æãããªãã¨ã§ãããä»ã¯ãããåæ¹åã«ããã ãã§ãã éã«ã <literal>Event</literal> å´ã«ãå¥ã®ã³ã¬ã¯ã·ã§ã³ãä½ããã¨ãã§ãã¾ãã ä¾ãã° <literal>anEvent.getParticipants()</literal> ã®ããã«ã åæ¹åã«ããã²ã¼ãããããã°ããããããã¨ãã§ãã¾ãã ããã¯æ©è½çã«ã¿ã¦å¿
è¦ã§ã¯ããã¾ããã ç¹å®ã®ã¤ãã³ãã«é¢ä¿ãããã¼ã¿ãåå¾ããæç¢ºãªã¯ã¨ãªãããã¤ã§ãå®è¡ãããã¨ãåºæ¥ã¾ããã ãã®è¨è¨ã®é¸æã¯éçºè
ã«ä»»ããã¦ãã¦ããã®è°è«ã«ããæãããªã®ã¯é¢é£ã®å¤é度ã§ãã ã¤ã¾ã両å´ããå¤ãå¤ã«ããã <emphasis>å¤å¯¾å¤</emphasis> ã¨å¼ã°ããé¢é£ã§ãã ãã®ããHibernateã®many-to-manyãããã³ã°ã使ãã¾ãï¼"
+#. Tag: para
+#: tutorial.xml:592
+#, no-c-format
+msgid ""
+"We need a unidirectional, many-valued associations, implemented with a "
+"<literal>Set</literal>. Let's write the code for this in the Java classes "
+"and then map it:"
+msgstr ""
+"<literal>Set</literal> ã§å®è£
ãããåæ¹åãå¤å¤é¢é£ãå¿
è¦ã§ãã Javaã¯ã©ã¹å
"
+"ã«å¯¾å¿ããã³ã¼ããæ¸ãã¦ãããã³ã°ãã¾ãããï¼"
-#: index.docbook:597
+#. Tag: programlisting
+#: tutorial.xml:597
+#, no-c-format
msgid ""
- "<![CDATA[public class Person {\n"
- "\n"
- " private Set events = new HashSet();\n"
- "\n"
- " public Set getEvents() {\n"
- " return events;\n"
- " }\n"
- "\n"
- " public void setEvents(Set events) {\n"
- " this.events = events;\n"
- " }\n"
- "}]]>"
+"<![CDATA[public class Person {\n"
+"\n"
+" private Set events = new HashSet();\n"
+"\n"
+" public Set getEvents() {\n"
+" return events;\n"
+" }\n"
+"\n"
+" public void setEvents(Set events) {\n"
+" this.events = events;\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[<class name=\"events.Person\" table=\"PERSON\">
-\n"
- " <id name=\"id\" column=\"PERSON_ID\">
-\n"
- " <generator class=\"native\"/>
-\n"
- " </id>
-\n"
- " <property name=\"age\"/>
-\n"
- " <property name=\"firstname\"/>
-\n"
- " <property name=\"lastname\"/>
-\n"
- "
-\n"
- " <set name=\"events\" table=\"PERSON_EVENT\">
-\n"
- " <key column=\"PERSON_ID\"/>
-\n"
- " <many-to-many column=\"EVENT_ID\" class=\"events.Event\"/>
-\n"
- " </set>
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:599
-msgid "Before we map this association, think about the other side. Clearly, we could just keep this unidirectional. Or, we could create another collection on the <literal>Event</literal>, if we want to be able to navigate it bi-directional, i.e. <literal>anEvent.getParticipants()</literal>. This is not necessary, from a functional perspective. You could always execute an explicit query to retrieve the participants for a particular event. This is a design choice left to you, but what is clear from this discussion is the multiplicity of the association: \"many\" valued on both sides, we call this a <emphasis>many-to-many</emphasis> association. Hence, we use Hibernate's many-to-many mapping:"
-msgstr "Hibernateã¯ããã¨ãããã種é¡ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ããµãã¼ããã¦ãã¾ããã æãä¸è¬çãªãã®ã <literal><set></literal> ã§ãã å¤å¯¾å¤é¢é£ï¼ã¾ã㯠<emphasis>n:m</emphasis> ã¨ã³ãã£ãã£ãªã¬ã¼ã·ã§ã³ã·ããï¼ã«ã¯ã é¢é£ãã¼ãã«ãå¿
è¦ã§ãã ãã®ãã¼ãã«ã®ããããã®è¡ã¯ã人ã¨ã¤ãã³ãéã®ãªã³ã¯ã表ç¾ãã¾ãã ãã¼ãã«å㯠<literal>set</literal> è¦ç´ ã® <literal>table</literal> 屿§ã§è¨å®ãã¾ãã 人å´ã®é¢é£ã®èå¥åã«ã©ã å㯠<literal><key></literal> è¦ç´ ã§ã ã¤ãã³ãå´ã®ã«ã©ã å㯠<literal><many-to-many></literal> ã® <literal>column</literal> 屿§ã§å®ç¾©ãã¾ãã Hibernateã«ã³ã¬ã¯ã·ã§ã³ã®ãªãã¸ã§ã¯ãã®ã¯ã©ã¹ ï¼æ£ç¢ºã«ã¯ãåç
§ã®ã³ã¬ã¯ã·ã§ã³ã®å対å´ã®ã¯ã©ã¹ï¼ãæããªããã°ãªãã¾ããã"
+#. Tag: para
+#: tutorial.xml:599
+#, no-c-format
+msgid ""
+"Before we map this association, think about the other side. Clearly, we "
+"could just keep this unidirectional. Or, we could create another collection "
+"on the <literal>Event</literal>, if we want to be able to navigate it bi-"
+"directional, i.e. <literal>anEvent.getParticipants()</literal>. This is not "
+"necessary, from a functional perspective. You could always execute an "
+"explicit query to retrieve the participants for a particular event. This is "
+"a design choice left to you, but what is clear from this discussion is the "
+"multiplicity of the association: \"many\" valued on both sides, we call this "
+"a <emphasis>many-to-many</emphasis> association. Hence, we use Hibernate's "
+"many-to-many mapping:"
+msgstr ""
+"ãã®é¢é£ããããã³ã°ããåã«ãå対å´ã«ã¤ãã¦èãã¦ãã ããã æãããªãã¨ã§ã"
+"ããä»ã¯ãããåæ¹åã«ããã ãã§ãã éã«ã <literal>Event</literal> å´ã«ãå¥"
+"ã®ã³ã¬ã¯ã·ã§ã³ãä½ããã¨ãã§ãã¾ãã ä¾ãã° <literal>anEvent.getParticipants"
+"()</literal> ã®ããã«ã åæ¹åã«ããã²ã¼ãããããã°ããããããã¨ãã§ãã¾"
+"ãã ããã¯æ©è½çã«ã¿ã¦å¿
è¦ã§ã¯ããã¾ããã ç¹å®ã®ã¤ãã³ãã«é¢ä¿ãããã¼ã¿ã"
+"åå¾ããæç¢ºãªã¯ã¨ãªãããã¤ã§ãå®è¡ãããã¨ãåºæ¥ã¾ããã ãã®è¨è¨ã®é¸æã¯é"
+"çºè
ã«ä»»ããã¦ãã¦ããã®è°è«ã«ããæãããªã®ã¯é¢é£ã®å¤é度ã§ãã ã¤ã¾ã両å´ã"
+"ãå¤ãå¤ã«ããã <emphasis>å¤å¯¾å¤</emphasis> ã¨å¼ã°ããé¢é£ã§ãã ãã®ãã"
+"Hibernateã®many-to-manyãããã³ã°ã使ãã¾ãï¼"
-#: index.docbook:610
+#. Tag: programlisting
+#: tutorial.xml:610
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"events.Person\" table=\"PERSON\">\n"
- " <id name=\"id\" column=\"PERSON_ID\">\n"
- " <generator class=\"native\"/>\n"
- " </id>\n"
- " <property name=\"age\"/>\n"
- " <property name=\"firstname\"/>\n"
- " <property name=\"lastname\"/>\n"
- "\n"
- " <set name=\"events\" table=\"PERSON_EVENT\">\n"
- " <key column=\"PERSON_ID\"/>\n"
- " <many-to-many column=\"EVENT_ID\" class=\"events.Event\"/>\n"
- " </set>\n"
- "\n"
- "</class>]]>"
-msgstr "ãã®ãããã®ãããã³ã°ã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯ä»¥ä¸ã®ããã«ãªãã¾ããï¼"
+"<![CDATA[<class name=\"events.Person\" table=\"PERSON\">\n"
+" <id name=\"id\" column=\"PERSON_ID\">\n"
+" <generator class=\"native\"/>\n"
+" </id>\n"
+" <property name=\"age\"/>\n"
+" <property name=\"firstname\"/>\n"
+" <property name=\"lastname\"/>\n"
+"\n"
+" <set name=\"events\" table=\"PERSON_EVENT\">\n"
+" <key column=\"PERSON_ID\"/>\n"
+" <many-to-many column=\"EVENT_ID\" class=\"events.Event\"/>\n"
+" </set>\n"
+"\n"
+"</class>]]>"
+msgstr ""
-#: index.docbook:612
-msgid "Hibernate supports all kinds of collection mappings, a <literal><set></literal> being most common. For a many-to-many association (or <emphasis>n:m</emphasis> entity relationship), an association table is needed. Each row in this table represents a link between a person and an event. The table name is configured with the <literal>table</literal> attribute of the <literal>set</literal> element. The identifier column name in the association, for the person's side, is defined with the <literal><key></literal> element, the column name for the event's side with the <literal>column</literal> attribute of the <literal><many-to-many></literal>. You also have to tell Hibernate the class of the objects in your collection (correct: the class on the other side of the collection of references)."
+#. Tag: para
+#: tutorial.xml:612
+#, no-c-format
+msgid ""
+"Hibernate supports all kinds of collection mappings, a <literal><set></"
+"literal> being most common. For a many-to-many association (or <emphasis>n:"
+"m</emphasis> entity relationship), an association table is needed. Each row "
+"in this table represents a link between a person and an event. The table "
+"name is configured with the <literal>table</literal> attribute of the "
+"<literal>set</literal> element. The identifier column name in the "
+"association, for the person's side, is defined with the <literal><key>"
+"</literal> element, the column name for the event's side with the "
+"<literal>column</literal> attribute of the <literal><many-to-many></"
+"literal>. You also have to tell Hibernate the class of the objects in your "
+"collection (correct: the class on the other side of the collection of "
+"references)."
msgstr ""
- "<![CDATA[
-\n"
- " _____________ __________________
-\n"
- " | | | | _____________
-\n"
- " | EVENTS | | PERSON_EVENT | | |
-\n"
- " |_____________| |__________________| | PERSON |
-\n"
- " | | | | |_____________|
-\n"
- " | *EVENT_ID | <--> | *EVENT_ID | | |
-\n"
- " | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |
-\n"
- " | TITLE | |__________________| | AGE |
-\n"
- " |_____________| | FIRSTNAME |
-\n"
- " | LASTNAME |
-\n"
- " |_____________|
-\n"
- " ]]>"
+"Hibernateã¯ããã¨ãããã種é¡ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ããµãã¼ããã¦ãã¾ã"
+"ãã æãä¸è¬çãªãã®ã <literal><set></literal> ã§ãã å¤å¯¾å¤é¢é£ï¼ã¾"
+"ã㯠<emphasis>n:m</emphasis> ã¨ã³ãã£ãã£ãªã¬ã¼ã·ã§ã³ã·ããï¼ã«ã¯ã é¢é£ãã¼"
+"ãã«ãå¿
è¦ã§ãã ãã®ãã¼ãã«ã®ããããã®è¡ã¯ã人ã¨ã¤ãã³ãéã®ãªã³ã¯ã表ç¾ã"
+"ã¾ãã ãã¼ãã«å㯠<literal>set</literal> è¦ç´ ã® <literal>table</literal> å±"
+"æ§ã§è¨å®ãã¾ãã 人å´ã®é¢é£ã®èå¥åã«ã©ã å㯠<literal><key></literal> "
+"è¦ç´ ã§ã ã¤ãã³ãå´ã®ã«ã©ã å㯠<literal><many-to-many></literal> ã® "
+"<literal>column</literal> 屿§ã§å®ç¾©ãã¾ãã Hibernateã«ã³ã¬ã¯ã·ã§ã³ã®ãªã"
+"ã¸ã§ã¯ãã®ã¯ã©ã¹ ï¼æ£ç¢ºã«ã¯ãåç
§ã®ã³ã¬ã¯ã·ã§ã³ã®å対å´ã®ã¯ã©ã¹ï¼ãæããªãã"
+"ã°ãªãã¾ããã"
-#: index.docbook:624
+#. Tag: para
+#: tutorial.xml:624
+#, no-c-format
msgid "The database schema for this mapping is therefore:"
-msgstr "é¢é£ãåããã"
+msgstr "ãã®ãããã®ãããã³ã°ã®ãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯ä»¥ä¸ã®ããã«ãªãã¾ããï¼"
-#: index.docbook:628
+#. Tag: programlisting
+#: tutorial.xml:628
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- " _____________ __________________\n"
- " | | | | _____________\n"
- " | EVENTS | | PERSON_EVENT | | |\n"
- " |_____________| |__________________| | PERSON |\n"
- " | | | | |_____________|\n"
- " | *EVENT_ID | <--> | *EVENT_ID | | |\n"
- " | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |\n"
- " | TITLE | |__________________| | AGE |\n"
- " |_____________| | FIRSTNAME |\n"
- " | LASTNAME |\n"
- " |_____________|\n"
- " ]]>"
-msgstr "<literal>EventManager</literal> ã®æ°ããã¡ã½ããã§äººã
ã¨ã¤ãã³ããä¸ç·ã«ãã¾ãããï¼"
+"<![CDATA[\n"
+" _____________ __________________\n"
+" | | | | _____________\n"
+" | EVENTS | | PERSON_EVENT | | |\n"
+" |_____________| |__________________| | PERSON |\n"
+" | | | | |_____________|\n"
+" | *EVENT_ID | <--> | *EVENT_ID | | |\n"
+" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID |\n"
+" | TITLE | |__________________| | AGE |\n"
+" |_____________| | FIRSTNAME |\n"
+" | LASTNAME |\n"
+" |_____________|\n"
+" ]]>"
+msgstr ""
-#: index.docbook:633
+#. Tag: title
+#: tutorial.xml:633
+#, no-c-format
msgid "Working the association"
+msgstr "é¢é£ãåããã"
+
+#. Tag: para
+#: tutorial.xml:635
+#, no-c-format
+msgid ""
+"Let's bring some people and events together in a new method in "
+"<literal>EventManager</literal>:"
msgstr ""
- "<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {
-\n"
- "
-\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- " session.beginTransaction();
-\n"
- "
-\n"
- " Person aPerson = (Person) session.load(Person.class, personId);
-\n"
- " Event anEvent = (Event) session.load(Event.class, eventId);
-\n"
- "
-\n"
- " aPerson.getEvents().add(anEvent);
-\n"
- "
-\n"
- " session.getTransaction().commit();
-\n"
- "}]]>"
+"<literal>EventManager</literal> ã®æ°ããã¡ã½ããã§äººã
ã¨ã¤ãã³ããä¸ç·ã«ãã¾"
+"ãããï¼"
-#: index.docbook:635
-msgid "Let's bring some people and events together in a new method in <literal>EventManager</literal>:"
-msgstr "<literal>Person</literal> 㨠<literal>Event</literal> ããã¼ãããå¾ã æ®éã®ã³ã¬ã¯ã·ã§ã³ã¡ã½ããã使ã£ã¦åç´ã«ãã®ã³ã¬ã¯ã·ã§ã³ãä¿®æ£ãã¦ãã ããã ã覧ã®ã¨ãã <literal>update()</literal> ã <literal>save()</literal> ã®æç¤ºçãªå¼ã³åºãã¯ããã¾ããã Hibernateã¯ãä¿®æ£ããããã¨ã«ããæ´æ°ããå¿
è¦ã®ããã³ã¬ã¯ã·ã§ã³ãèªåçã«æ¤ç¥ãã¾ãã ãã㯠<emphasis>èªåãã¼ãã£ãã§ãã¯</emphasis> ã¨å¼ã°ãã ãªãã¸ã§ã¯ãã®ååãdateããããã£ãä¿®æ£ãããã¨ã§è©¦ããã¨ãå¯è½ã§ãã ãããã <emphasis>æ°¸ç¶</emphasis> ç¶æ
ã«ããéãã ã¤ã¾ãç¹å®ã®Hibernate <literal>Session</literal> ã«ãã¤ã³ãããã¦ããéã ï¼ä¾ãã°ä½æ¥åä½(Unit of Work)ã®ä¸ã§åã«ãã¼ãã¾ãã¯ã»ã¼ããããï¼ã Hibernateã¯ã©ããªå¤æ´ãã¢ãã¿ã¼ããé
å»¶æ¸ãè¾¼ã¿(write-behind)ã§SQLãå®è¡ãã!
¾ãã é常ã使¥åä½(Unit of Work)ã®æå¾ã«ã ãè¡ããããã¼ã¿ãã¼ã¹ã¨ã¡ã¢ãªã®ç¶æ
ãåæãããå¦çã¯ã <emphasis>ãã©ãã·ã¥</emphasis> ã¨å¼ã°ãã¾ãã ãã®ã³ã¼ãã§ã¯ã使¥åä½(Unit of Work)ã¯ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ã³ãããï¼ãããã¯ãã¼ã«ããã¯ï¼ã§çµäºãã¾ãã ããã¯ã <literal>CurrentSessionContext</literal> ã¯ã©ã¹ã«å¯¾ã㦠<literal>thread</literal> ãè¨å®ããããã§ãã"
+#. Tag: programlisting
+#: tutorial.xml:639
+#, no-c-format
+msgid ""
+"<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {\n"
+"\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+" session.beginTransaction();\n"
+"\n"
+" Person aPerson = (Person) session.load(Person.class, personId);\n"
+" Event anEvent = (Event) session.load(Event.class, eventId);\n"
+"\n"
+" aPerson.getEvents().add(anEvent);\n"
+"\n"
+" session.getTransaction().commit();\n"
+"}]]>"
+msgstr ""
-#: index.docbook:639
+#. Tag: para
+#: tutorial.xml:641
+#, no-c-format
msgid ""
- "<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {\n"
- "\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- " session.beginTransaction();\n"
- "\n"
- " Person aPerson = (Person) session.load(Person.class, personId);\n"
- " Event anEvent = (Event) session.load(Event.class, eventId);\n"
- "\n"
- " aPerson.getEvents().add(anEvent);\n"
- "\n"
- " session.getTransaction().commit();\n"
- "}]]>"
-msgstr "ç°ãªã使¥åä½(Unit of Work)ã§äººã
ã¨ã¤ãã³ãããã¼ããããã¨ãå½ç¶ã§ãã¾ãã ããã§ãªããã°ãæ°¸ç¶ç¶æ
ã«ãªãã¨ãï¼ä»¥åã«æ°¸ç¶ã§ãã£ããªãããã®ç¶æ
ã <emphasis>åé¢ï¼detachedï¼</emphasis> ã¨å¼ã³ã¾ãï¼ã <literal>Session</literal> ã®å¤é¨ã§ãªãã¸ã§ã¯ããä¿®æ£ãã¾ãã åé¢ãããã¨ãã«ã¯ã³ã¬ã¯ã·ã§ã³ã夿´ãããã¨ãå¯è½ã§ãï¼"
+"After loading a <literal>Person</literal> and an <literal>Event</literal>, "
+"simply modify the collection using the normal collection methods. As you can "
+"see, there is no explicit call to <literal>update()</literal> or "
+"<literal>save()</literal>, Hibernate automatically detects that the "
+"collection has been modified and needs to be updated. This is called "
+"<emphasis>automatic dirty checking</emphasis>, and you can also try it by "
+"modifying the name or the date property of any of your objects. As long as "
+"they are in <emphasis>persistent</emphasis> state, that is, bound to a "
+"particular Hibernate <literal>Session</literal> (i.e. they have been just "
+"loaded or saved in a unit of work), Hibernate monitors any changes and "
+"executes SQL in a write-behind fashion. The process of synchronizing the "
+"memory state with the database, usually only at the end of a unit of work, "
+"is called <emphasis>flushing</emphasis>. In our code, the unit of work ends "
+"with a commit (or rollback) of the database transaction - as defined by the "
+"<literal>thread</literal> configuration option for the "
+"<literal>CurrentSessionContext</literal> class."
+msgstr ""
+"<literal>Person</literal> 㨠<literal>Event</literal> ããã¼ãããå¾ã æ®éã®"
+"ã³ã¬ã¯ã·ã§ã³ã¡ã½ããã使ã£ã¦åç´ã«ãã®ã³ã¬ã¯ã·ã§ã³ãä¿®æ£ãã¦ãã ããã ã覧ã®"
+"ã¨ãã <literal>update()</literal> ã <literal>save()</literal> ã®æç¤ºçãªå¼"
+"ã³åºãã¯ããã¾ããã Hibernateã¯ãä¿®æ£ããããã¨ã«ããæ´æ°ããå¿
è¦ã®ããã³ã¬"
+"ã¯ã·ã§ã³ãèªåçã«æ¤ç¥ãã¾ãã ãã㯠<emphasis>èªåãã¼ãã£ãã§ãã¯</"
+"emphasis> ã¨å¼ã°ãã ãªãã¸ã§ã¯ãã®ååãdateããããã£ãä¿®æ£ãããã¨ã§è©¦ãã"
+"ã¨ãå¯è½ã§ãã ãããã <emphasis>æ°¸ç¶</emphasis> ç¶æ
ã«ããéãã ã¤ã¾ãç¹å®"
+"ã®Hibernate <literal>Session</literal> ã«ãã¤ã³ãããã¦ããéã ï¼ä¾ãã°ä½æ¥"
+"åä½(Unit of Work)ã®ä¸ã§åã«ãã¼ãã¾ãã¯ã»ã¼ããããï¼ã Hibernateã¯ã©ããªå¤"
+"æ´ãã¢ãã¿ã¼ããé
å»¶æ¸ãè¾¼ã¿(write-behind)ã§SQLãå®è¡ãã¾ãã é常ã使¥åä½"
+"(Unit of Work)ã®æå¾ã«ã ãè¡ããããã¼ã¿ãã¼ã¹ã¨ã¡ã¢ãªã®ç¶æ
ãåæãããå¦ç"
+"ã¯ã <emphasis>ãã©ãã·ã¥</emphasis> ã¨å¼ã°ãã¾ãã ãã®ã³ã¼ãã§ã¯ã使¥åä½"
+"(Unit of Work)ã¯ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ã®ã³ãããï¼ãããã¯ãã¼ã«ãã"
+"ã¯ï¼ã§çµäºãã¾ãã ããã¯ã <literal>CurrentSessionContext</literal> ã¯ã©ã¹ã«"
+"対ã㦠<literal>thread</literal> ãè¨å®ããããã§ãã"
-#: index.docbook:641
-msgid "After loading a <literal>Person</literal> and an <literal>Event</literal>, simply modify the collection using the normal collection methods. As you can see, there is no explicit call to <literal>update()</literal> or <literal>save()</literal>, Hibernate automatically detects that the collection has been modified and needs to be updated. This is called <emphasis>automatic dirty checking</emphasis>, and you can also try it by modifying the name or the date property of any of your objects. As long as they are in <emphasis>persistent</emphasis> state, that is, bound to a particular Hibernate <literal>Session</literal> (i.e. they have been just loaded or saved in a unit of work), Hibernate monitors any changes and executes SQL in a write-behind fashion. The process of synchronizing the memory state with the database, usually only at the end of a unit of work, is called <emphasis>flushing</emphasis>. In our code, the unit of work ends with a commit (or rollback) of the dat!
abase transaction - as defined by the <literal>thread</literal> configuration option for the <literal>CurrentSessionContext</literal> class."
+#. Tag: para
+#: tutorial.xml:656
+#, no-c-format
+msgid ""
+"You might of course load person and event in different units of work. Or you "
+"modify an object outside of a <literal>Session</literal>, when it is not in "
+"persistent state (if it was persistent before, we call this state "
+"<emphasis>detached</emphasis>). You can even modify a collection when it is "
+"detached:"
msgstr ""
- "<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {
-\n"
- "
-\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- " session.beginTransaction();
-\n"
- "
-\n"
- " Person aPerson = (Person) session
-\n"
- " .createQuery(\"select p from Person p left join fetch p.events where p.id = :pid\")
-\n"
- " .setParameter(\"pid\", personId)
-\n"
- " .uniqueResult(); // Eager fetch the collection so we can use it detached
-\n"
- "
-\n"
- " Event anEvent = (Event) session.load(Event.class, eventId);
-\n"
- "
-\n"
- " session.getTransaction().commit();
-\n"
- "
-\n"
- " // End of first unit of work
-\n"
- "
-\n"
- " aPerson.getEvents().add(anEvent); // aPerson (and its collection) is detached
-\n"
- "
-\n"
- " // Begin second unit of work
-\n"
- "
-\n"
- " Session session2 = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- " session2.beginTransaction();
-\n"
- "
-\n"
- " session2.update(aPerson); // Reattachment of aPerson
-\n"
- "
-\n"
- " session2.getTransaction().commit();
-\n"
- "}]]>"
+"ç°ãªã使¥åä½(Unit of Work)ã§äººã
ã¨ã¤ãã³ãããã¼ããããã¨ãå½ç¶ã§ãã¾ãã "
+"ããã§ãªããã°ãæ°¸ç¶ç¶æ
ã«ãªãã¨ãï¼ä»¥åã«æ°¸ç¶ã§ãã£ããªãããã®ç¶æ
ã "
+"<emphasis>åé¢ï¼detachedï¼</emphasis> ã¨å¼ã³ã¾ãï¼ã <literal>Session</"
+"literal> ã®å¤é¨ã§ãªãã¸ã§ã¯ããä¿®æ£ãã¾ãã åé¢ãããã¨ãã«ã¯ã³ã¬ã¯ã·ã§ã³ã"
+"夿´ãããã¨ãå¯è½ã§ãï¼"
-#: index.docbook:656
-msgid "You might of course load person and event in different units of work. Or you modify an object outside of a <literal>Session</literal>, when it is not in persistent state (if it was persistent before, we call this state <emphasis>detached</emphasis>). You can even modify a collection when it is detached:"
-msgstr "<literal>update</literal> ã®å¼ã³åºãã¯åé¢ãªãã¸ã§ã¯ããåã³æ°¸ç¶åãã¾ãã ããã¯ãæ°ãã使¥åä½(Unit of Work)ã«ãã¤ã³ãããã¨è¨ããã§ãããã ãã®ããåé¢ã®éã«å ããããã©ã®ãããªä¿®æ£ããã¼ã¿ãã¼ã¹ã«ã»ã¼ãã§ãã¾ãã ã¨ã³ãã£ãã£ãªãã¸ã§ã¯ãã®ã³ã¬ã¯ã·ã§ã³ã¸ã®ä¿®æ£ï¼è¿½å ï½¥åé¤ï¼ãåæ§ã«ã»ã¼ãã§ãã¾ãã"
+#. Tag: programlisting
+#: tutorial.xml:663
+#, no-c-format
+msgid ""
+"<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {\n"
+"\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+" session.beginTransaction();\n"
+"\n"
+" Person aPerson = (Person) session\n"
+" .createQuery(\"select p from Person p left join fetch p.events "
+"where p.id = :pid\")\n"
+" .setParameter(\"pid\", personId)\n"
+" .uniqueResult(); // Eager fetch the collection so we can use it "
+"detached\n"
+"\n"
+" Event anEvent = (Event) session.load(Event.class, eventId);\n"
+"\n"
+" session.getTransaction().commit();\n"
+"\n"
+" // End of first unit of work\n"
+"\n"
+" aPerson.getEvents().add(anEvent); // aPerson (and its collection) is "
+"detached\n"
+"\n"
+" // Begin second unit of work\n"
+"\n"
+" Session session2 = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+" session2.beginTransaction();\n"
+"\n"
+" session2.update(aPerson); // Reattachment of aPerson\n"
+"\n"
+" session2.getTransaction().commit();\n"
+"}]]>"
+msgstr ""
-#: index.docbook:663
+#. Tag: para
+#: tutorial.xml:665
+#, no-c-format
msgid ""
- "<![CDATA[private void addPersonToEvent(Long personId, Long eventId) {\n"
- "\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- " session.beginTransaction();\n"
- "\n"
- " Person aPerson = (Person) session\n"
- " .createQuery(\"select p from Person p left join fetch p.events where p.id = :pid\")\n"
- " .setParameter(\"pid\", personId)\n"
- " .uniqueResult(); // Eager fetch the collection so we can use it detached\n"
- "\n"
- " Event anEvent = (Event) session.load(Event.class, eventId);\n"
- "\n"
- " session.getTransaction().commit();\n"
- "\n"
- " // End of first unit of work\n"
- "\n"
- " aPerson.getEvents().add(anEvent); // aPerson (and its collection) is detached\n"
- "\n"
- " // Begin second unit of work\n"
- "\n"
- " Session session2 = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- " session2.beginTransaction();\n"
- "\n"
- " session2.update(aPerson); // Reattachment of aPerson\n"
- "\n"
- " session2.getTransaction().commit();\n"
- "}]]>"
-msgstr "ããã¯ä»ã¯ãã¾ã使ãã¿ã¡ãããã¾ãããã èªåã®ã¢ããªã±ã¼ã·ã§ã³ã®è¨è¨ã«çµã¿è¾¼ããã¨ãã§ããéè¦ãªã³ã³ã»ããã§ãã ããã§ã¯ãã®ã¨ã¯ãµãµã¤ãºã®æå¾ã«ã <literal>EventManager</literal> ã®ã¡ã¤ã³ã¡ã½ããã«æ°ããã¢ã¯ã·ã§ã³ã追å ã㦠ã³ãã³ãã©ã¤ã³ããå¼ã³åºãã¦ã¿ã¾ãããã 人ãã¤ãã³ãã®èå¥åãå¿
è¦ãªãã <literal>save()</literal> ã¡ã½ãããè¿ãã¦ããã¾ã ï¼å ´åã«ãã£ã¦ã¯èå¥åãè¿ãããã«ã¡ã½ãããä¿®æ£ããå¿
è¦ãããããããã¾ããï¼ã"
+"The call to <literal>update</literal> makes a detached object persistent "
+"again, you could say it binds it to a new unit of work, so any modifications "
+"you made to it while detached can be saved to the database. This includes "
+"any modifications (additions/deletions) you made to a collection of that "
+"entity object."
+msgstr ""
+"<literal>update</literal> ã®å¼ã³åºãã¯åé¢ãªãã¸ã§ã¯ããåã³æ°¸ç¶åãã¾ãã ã"
+"ãã¯ãæ°ãã使¥åä½(Unit of Work)ã«ãã¤ã³ãããã¨è¨ããã§ãããã ãã®ããå"
+"é¢ã®éã«å ããããã©ã®ãããªä¿®æ£ããã¼ã¿ãã¼ã¹ã«ã»ã¼ãã§ãã¾ãã ã¨ã³ãã£ãã£"
+"ãªãã¸ã§ã¯ãã®ã³ã¬ã¯ã·ã§ã³ã¸ã®ä¿®æ£ï¼è¿½å ï½¥åé¤ï¼ãåæ§ã«ã»ã¼ãã§ãã¾ãã"
-#: index.docbook:665
-msgid "The call to <literal>update</literal> makes a detached object persistent again, you could say it binds it to a new unit of work, so any modifications you made to it while detached can be saved to the database. This includes any modifications (additions/deletions) you made to a collection of that entity object."
+#. Tag: para
+#: tutorial.xml:672
+#, no-c-format
+msgid ""
+"Well, this is not much use in our current situation, but it's an important "
+"concept you can design into your own application. For now, complete this "
+"exercise by adding a new action to the <literal>EventManager</literal>'s "
+"main method and call it from the command line. If you need the identifiers "
+"of a person and an event - the <literal>save()</literal> method returns it "
+"(you might have to modify some of the previous methods to return that "
+"identifier):"
msgstr ""
- "<![CDATA[else if (args[0].equals(\"addpersontoevent\")) {
-\n"
- " Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date());
-\n"
- " Long personId = mgr.createAndStorePerson(\"Foo\", \"Bar\");
-\n"
- " mgr.addPersonToEvent(personId, eventId);
-\n"
- " System.out.println(\"Added person \" + personId + \" to event \" + eventId);
-\n"
- "}]]>"
+"ããã¯ä»ã¯ãã¾ã使ãã¿ã¡ãããã¾ãããã èªåã®ã¢ããªã±ã¼ã·ã§ã³ã®è¨è¨ã«çµã¿è¾¼"
+"ããã¨ãã§ããéè¦ãªã³ã³ã»ããã§ãã ããã§ã¯ãã®ã¨ã¯ãµãµã¤ãºã®æå¾ã«ã "
+"<literal>EventManager</literal> ã®ã¡ã¤ã³ã¡ã½ããã«æ°ããã¢ã¯ã·ã§ã³ã追å ã㦠"
+"ã³ãã³ãã©ã¤ã³ããå¼ã³åºãã¦ã¿ã¾ãããã 人ãã¤ãã³ãã®èå¥åãå¿
è¦ãªãã "
+"<literal>save()</literal> ã¡ã½ãããè¿ãã¦ããã¾ã ï¼å ´åã«ãã£ã¦ã¯èå¥åãè¿"
+"ãããã«ã¡ã½ãããä¿®æ£ããå¿
è¦ãããããããã¾ããï¼ã"
-#: index.docbook:672
-msgid "Well, this is not much use in our current situation, but it's an important concept you can design into your own application. For now, complete this exercise by adding a new action to the <literal>EventManager</literal>'s main method and call it from the command line. If you need the identifiers of a person and an event - the <literal>save()</literal> method returns it (you might have to modify some of the previous methods to return that identifier):"
-msgstr "ããã¯åãããã«éè¦ãª2ã¤ã®ã¯ã©ã¹ãã¤ã¾ã2ã¤ã®ã¨ã³ãã£ãã£éã®é¢é£ã®ä¾ã§ããã åã«è¿°ã¹ãããã«ãå
¸åçãªã¢ãã«ã«ã¯ãæ®éãæ¯è¼çéè¦ã§ã¯ãªããä»ã®ã¯ã©ã¹ã¨åãããã¾ãã ããã¾ã§ã«è¦ããã㪠<literal>int</literal> ã <literal>String</literal> ã®ãããªãã®ã§ãã ãã®ãããªã¯ã©ã¹ã <emphasis>å¤å</emphasis> ã¨è¨ãã¾ãã ãã®ã¤ã³ã¹ã¿ã³ã¹ã¯ç¹å®ã®ã¨ã³ãã£ãã£ã« <emphasis>ä¾å</emphasis> ãã¾ãã ãã®åã®ã¤ã³ã¹ã¿ã³ã¹ã¯ç¬èªã®IDãæã¡ã¾ãããã ã¨ã³ãã£ãã£éã§å
±æããããã¨ãããã¾ãã ï¼ãã¡ã¼ã¹ããã¼ã ãåãã ã£ãã¨ãã¦ãã2人ã®äººã¯åã <literal>firstname</literal> ãªãã¸ã§ã¯ããåç
§ãã¾ããï¼ã å¤åã¯ãã¡ããJDKå
ã«è¦ã¤ããã¾ãããããã ãã§ã¯ãªã ï¼å®éãHibernateã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ãã¹ã¦ã®JDKã!
¯ã©ã¹ã¯å¤åã¨è¦ãªãã¾ãï¼ã ä¾ãã° <literal>Address</literal> ã <literal>MonetaryAmount</literal> ã®ãããªç¬èªã®ä¾åã¯ã©ã¹ãæ¸ããã¨ãã§ãã¾ãã"
+#. Tag: programlisting
+#: tutorial.xml:680
+#, no-c-format
+msgid ""
+"<![CDATA[else if (args[0].equals(\"addpersontoevent\")) {\n"
+" Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date());\n"
+" Long personId = mgr.createAndStorePerson(\"Foo\", \"Bar\");\n"
+" mgr.addPersonToEvent(personId, eventId);\n"
+" System.out.println(\"Added person \" + personId + \" to event \" + "
+"eventId);\n"
+"}]]>"
+msgstr ""
-#: index.docbook:680
+#. Tag: para
+#: tutorial.xml:682
+#, no-c-format
msgid ""
- "<![CDATA[else if (args[0].equals(\"addpersontoevent\")) {\n"
- " Long eventId = mgr.createAndStoreEvent(\"My Event\", new Date());\n"
- " Long personId = mgr.createAndStorePerson(\"Foo\", \"Bar\");\n"
- " mgr.addPersonToEvent(personId, eventId);\n"
- " System.out.println(\"Added person \" + personId + \" to event \" + eventId);\n"
- "}]]>"
-msgstr "å¤åã®ã³ã¬ã¯ã·ã§ã³ãè¨è¨ãããã¨ãã§ãã¾ãã ããã¯ä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ã®ã³ã¬ã¯ã·ã§ã³ã¨ã¯æ¦å¿µçã«é常ã«ç°ãªãã¾ããã Javaã§ã¯ã»ã¨ãã©åãããã«è¦ãã¾ãã"
+"This was an example of an association between two equally important classes, "
+"two entities. As mentioned earlier, there are other classes and types in a "
+"typical model, usually \"less important\". Some you have already seen, like "
+"an <literal>int</literal> or a <literal>String</literal>. We call these "
+"classes <emphasis>value types</emphasis>, and their instances "
+"<emphasis>depend</emphasis> on a particular entity. Instances of these types "
+"don't have their own identity, nor are they shared between entities (two "
+"persons don't reference the same <literal>firstname</literal> object, even "
+"if they have the same first name). Of course, value types can not only be "
+"found in the JDK (in fact, in a Hibernate application all JDK classes are "
+"considered value types), but you can also write dependent classes yourself, "
+"<literal>Address</literal> or <literal>MonetaryAmount</literal>, for example."
+msgstr ""
+"ããã¯åãããã«éè¦ãª2ã¤ã®ã¯ã©ã¹ãã¤ã¾ã2ã¤ã®ã¨ã³ãã£ãã£éã®é¢é£ã®ä¾ã§ã"
+"ãã åã«è¿°ã¹ãããã«ãå
¸åçãªã¢ãã«ã«ã¯ãæ®éãæ¯è¼çéè¦ã§ã¯ãªããä»ã®ã¯ã©"
+"ã¹ã¨åãããã¾ãã ããã¾ã§ã«è¦ããã㪠<literal>int</literal> ã "
+"<literal>String</literal> ã®ãããªãã®ã§ãã ãã®ãããªã¯ã©ã¹ã <emphasis>å¤"
+"å</emphasis> ã¨è¨ãã¾ãã ãã®ã¤ã³ã¹ã¿ã³ã¹ã¯ç¹å®ã®ã¨ã³ãã£ãã£ã« <emphasis>"
+"ä¾å</emphasis> ãã¾ãã ãã®åã®ã¤ã³ã¹ã¿ã³ã¹ã¯ç¬èªã®IDãæã¡ã¾ãããã ã¨ã³"
+"ãã£ãã£éã§å
±æããããã¨ãããã¾ãã ï¼ãã¡ã¼ã¹ããã¼ã ãåãã ã£ãã¨ãã¦"
+"ãã2人ã®äººã¯åã <literal>firstname</literal> ãªãã¸ã§ã¯ããåç
§ãã¾ã"
+"ãï¼ã å¤åã¯ãã¡ããJDKå
ã«è¦ã¤ããã¾ãããããã ãã§ã¯ãªã ï¼å®éã"
+"Hibernateã¢ããªã±ã¼ã·ã§ã³ã«ããã¦ãã¹ã¦ã®JDKã¯ã©ã¹ã¯å¤åã¨è¦ãªãã¾ãï¼ã ä¾ã"
+"ã° <literal>Address</literal> ã <literal>MonetaryAmount</literal> ã®ãããªç¬"
+"èªã®ä¾åã¯ã©ã¹ãæ¸ããã¨ãã§ãã¾ãã"
-#: index.docbook:682
-msgid "This was an example of an association between two equally important classes, two entities. As mentioned earlier, there are other classes and types in a typical model, usually \"less important\". Some you have already seen, like an <literal>int</literal> or a <literal>String</literal>. We call these classes <emphasis>value types</emphasis>, and their instances <emphasis>depend</emphasis> on a particular entity. Instances of these types don't have their own identity, nor are they shared between entities (two persons don't reference the same <literal>firstname</literal> object, even if they have the same first name). Of course, value types can not only be found in the JDK (in fact, in a Hibernate application all JDK classes are considered value types), but you can also write dependent classes yourself, <literal>Address</literal> or <literal>MonetaryAmount</literal>, for example."
+#. Tag: para
+#: tutorial.xml:695
+#, no-c-format
+msgid ""
+"You can also design a collection of value types. This is conceptually very "
+"different from a collection of references to other entities, but looks "
+"almost the same in Java."
+msgstr ""
+"å¤åã®ã³ã¬ã¯ã·ã§ã³ãè¨è¨ãããã¨ãã§ãã¾ãã ããã¯ä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ã®"
+"ã³ã¬ã¯ã·ã§ã³ã¨ã¯æ¦å¿µçã«é常ã«ç°ãªãã¾ããã Javaã§ã¯ã»ã¨ãã©åãããã«è¦ãã¾"
+"ãã"
+
+#. Tag: title
+#: tutorial.xml:703
+#, no-c-format
+msgid "Collection of values"
msgstr "å¤ã®ã³ã¬ã¯ã·ã§ã³"
-#: index.docbook:695
-msgid "You can also design a collection of value types. This is conceptually very different from a collection of references to other entities, but looks almost the same in Java."
-msgstr "å¤åãªãã¸ã§ã¯ãã®ã³ã¬ã¯ã·ã§ã³ã <literal>Person</literal> ã¨ã³ãã£ãã£ã¸è¿½å ãã¾ãã Eã¡ã¼ã«ã¢ãã¬ã¹ãæ ¼ç´ãããã®ã§ããã<literal>String</literal> åã使ã£ã¦ããã®ã§ã ã³ã¬ã¯ã·ã§ã³ã¯åã³ <literal>Set</literal> ã§ãï¼"
+#. Tag: para
+#: tutorial.xml:705
+#, no-c-format
+msgid ""
+"We add a collection of value typed objects to the <literal>Person</literal> "
+"entity. We want to store email addresses, so the type we use is "
+"<literal>String</literal>, and the collection is again a <literal>Set</"
+"literal>:"
+msgstr ""
+"å¤åãªãã¸ã§ã¯ãã®ã³ã¬ã¯ã·ã§ã³ã <literal>Person</literal> ã¨ã³ãã£ãã£ã¸è¿½å "
+"ãã¾ãã Eã¡ã¼ã«ã¢ãã¬ã¹ãæ ¼ç´ãããã®ã§ããã<literal>String</literal> åã"
+"使ã£ã¦ããã®ã§ã ã³ã¬ã¯ã·ã§ã³ã¯åã³ <literal>Set</literal> ã§ãï¼"
-#: index.docbook:703
-msgid "Collection of values"
+#. Tag: programlisting
+#: tutorial.xml:710
+#, no-c-format
+msgid ""
+"<![CDATA[private Set emailAddresses = new HashSet();\n"
+"\n"
+"public Set getEmailAddresses() {\n"
+" return emailAddresses;\n"
+"}\n"
+"\n"
+"public void setEmailAddresses(Set emailAddresses) {\n"
+" this.emailAddresses = emailAddresses;\n"
+"}]]>"
msgstr ""
- "<![CDATA[private Set emailAddresses = new HashSet();
-\n"
- "
-\n"
- "public Set getEmailAddresses() {
-\n"
- " return emailAddresses;
-\n"
- "}
-\n"
- "
-\n"
- "public void setEmailAddresses(Set emailAddresses) {
-\n"
- " this.emailAddresses = emailAddresses;
-\n"
- "}]]>"
-#: index.docbook:705
-msgid "We add a collection of value typed objects to the <literal>Person</literal> entity. We want to store email addresses, so the type we use is <literal>String</literal>, and the collection is again a <literal>Set</literal>:"
+#. Tag: para
+#: tutorial.xml:712
+#, no-c-format
+msgid "The mapping of this <literal>Set</literal>:"
msgstr "ãã® <literal>Set</literal> ã®ãããã³ã°ã§ãï¼"
-#: index.docbook:710
+#. Tag: programlisting
+#: tutorial.xml:716
+#, no-c-format
msgid ""
- "<![CDATA[private Set emailAddresses = new HashSet();\n"
- "\n"
- "public Set getEmailAddresses() {\n"
- " return emailAddresses;\n"
- "}\n"
- "\n"
- "public void setEmailAddresses(Set emailAddresses) {\n"
- " this.emailAddresses = emailAddresses;\n"
- "}]]>"
+"<![CDATA[<set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">\n"
+" <key column=\"PERSON_ID\"/>\n"
+" <element type=\"string\" column=\"EMAIL_ADDR\"/>\n"
+"</set>]]>"
msgstr ""
- "<![CDATA[<set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">
-\n"
- " <key column=\"PERSON_ID\"/>
-\n"
- " <element type=\"string\" column=\"EMAIL_ADDR\"/>
-\n"
- "</set>]]>"
-#: index.docbook:712
-msgid "The mapping of this <literal>Set</literal>:"
-msgstr "åã®ãããã³ã°ã¨æ¯ã¹ã¦éãã®ã¯ <literal>element</literal> ã®é¨åã§ããã Hibernateã«ãã®ã³ã¬ã¯ã·ã§ã³ãä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ãå«ã¾ãã <literal>String</literal> åã®è¦ç´ ã®ã³ã¬ã¯ã·ã§ã³ãå«ããã¨ãæãã¾ãã ï¼å°æåã®åå(string)ã¯Hibernateã®ãããã³ã°åã¾ãã¯ã³ã³ãã¼ã¿ã§ããã¨ãããã¨ã§ãï¼ã ç¹°ãè¿ãã¾ããã<literal>set</literal> è¦ç´ ã® <literal>table</literal> 屿§ã¯ã ã³ã¬ã¯ã·ã§ã³ã®ããã®ãã¼ãã«åãæå®ãã¾ãã <literal>key</literal> è¦ç´ ã¯ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®å¤é¨ãã¼ã«ã©ã åãå®ç¾©ãã¾ãã <literal>element</literal> è¦ç´ ã® <literal>column</literal> 屿§ã¯ <literal>String</literal> ã®å¤ãå®éã«æ ¼ç´ãããã«ã©ã ã®ååãå®ç¾©ãã¾ãã"
-
-#: index.docbook:716
+#. Tag: para
+#: tutorial.xml:718
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"emailAddresses\" table=\"PERSON_EMAIL_ADDR\">\n"
- " <key column=\"PERSON_ID\"/>\n"
- " <element type=\"string\" column=\"EMAIL_ADDR\"/>\n"
- "</set>]]>"
-msgstr "æ´æ°ããã¹ãã¼ããè¦ã¦ãã ããï¼"
-
-#: index.docbook:718
-msgid "The difference compared with the earlier mapping is the <literal>element</literal> part, which tells Hibernate that the collection does not contain references to another entity, but a collection of elements of type <literal>String</literal> (the lowercase name tells you it's a Hibernate mapping type/converter). Once again, the <literal>table</literal> attribute of the <literal>set</literal> element determines the table name for the collection. The <literal>key</literal> element defines the foreign-key column name in the collection table. The <literal>column</literal> attribute in the <literal>element</literal> element defines the column name where the <literal>String</literal> values will actually be stored."
+"The difference compared with the earlier mapping is the <literal>element</"
+"literal> part, which tells Hibernate that the collection does not contain "
+"references to another entity, but a collection of elements of type "
+"<literal>String</literal> (the lowercase name tells you it's a Hibernate "
+"mapping type/converter). Once again, the <literal>table</literal> attribute "
+"of the <literal>set</literal> element determines the table name for the "
+"collection. The <literal>key</literal> element defines the foreign-key "
+"column name in the collection table. The <literal>column</literal> attribute "
+"in the <literal>element</literal> element defines the column name where the "
+"<literal>String</literal> values will actually be stored."
msgstr ""
- "<![CDATA[
-\n"
- " _____________ __________________
-\n"
- " | | | | _____________
-\n"
- " | EVENTS | | PERSON_EVENT | | | ___________________
-\n"
- " |_____________| |__________________| | PERSON | | |
-\n"
- " | | | | |_____________| | PERSON_EMAIL_ADDR |
-\n"
- " | *EVENT_ID | <--> | *EVENT_ID | | | |___________________|
-\n"
- " | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID | <--> | *PERSON_ID |
-\n"
- " | TITLE | |__________________| | AGE | | *EMAIL_ADDR |
-\n"
- " |_____________| | FIRSTNAME | |___________________|
-\n"
- " | LASTNAME |
-\n"
- " |_____________|
-\n"
- " ]]>"
+"åã®ãããã³ã°ã¨æ¯ã¹ã¦éãã®ã¯ <literal>element</literal> ã®é¨åã§ããã "
+"Hibernateã«ãã®ã³ã¬ã¯ã·ã§ã³ãä»ã®ã¨ã³ãã£ãã£ã¸ã®åç
§ãå«ã¾ãã "
+"<literal>String</literal> åã®è¦ç´ ã®ã³ã¬ã¯ã·ã§ã³ãå«ããã¨ãæãã¾ãã ï¼å°æ"
+"åã®åå(string)ã¯Hibernateã®ãããã³ã°åã¾ãã¯ã³ã³ãã¼ã¿ã§ããã¨ãããã¨ã§"
+"ãï¼ã ç¹°ãè¿ãã¾ããã<literal>set</literal> è¦ç´ ã® <literal>table</"
+"literal> 屿§ã¯ã ã³ã¬ã¯ã·ã§ã³ã®ããã®ãã¼ãã«åãæå®ãã¾ãã <literal>key</"
+"literal> è¦ç´ ã¯ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®å¤é¨ãã¼ã«ã©ã åãå®ç¾©ãã¾ãã "
+"<literal>element</literal> è¦ç´ ã® <literal>column</literal> 屿§ã¯ "
+"<literal>String</literal> ã®å¤ãå®éã«æ ¼ç´ãããã«ã©ã ã®ååãå®ç¾©ãã¾ãã"
-#: index.docbook:728
+#. Tag: para
+#: tutorial.xml:728
+#, no-c-format
msgid "Have a look at the updated schema:"
-msgstr "ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®ä¸»ãã¼ã¯ãå®éã¯ä¸¡æ¹ã®ã«ã©ã ã使ã£ãè¤åãã¼ã§ãããã¨ããããã¾ãã ããã¯äººãã¨ã«Eã¡ã¼ã«ã¢ãã¬ã¹ãéè¤ã§ããªãã¨ãããã¨ã§ã Javaã®setã«è¦æ±ãããã»ãã³ãã£ã¯ã¹ãã®ãã®ã§ãã"
+msgstr "æ´æ°ããã¹ãã¼ããè¦ã¦ãã ããï¼"
-#: index.docbook:732
+#. Tag: programlisting
+#: tutorial.xml:732
+#, no-c-format
msgid ""
- "<![CDATA[\n"
- " _____________ __________________\n"
- " | | | | _____________\n"
- " | EVENTS | | PERSON_EVENT | | | ___________________\n"
- " |_____________| |__________________| | PERSON | | |\n"
- " | | | | |_____________| | PERSON_EMAIL_ADDR |\n"
- " | *EVENT_ID | <--> | *EVENT_ID | | | |___________________|\n"
- " | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID | <--> | *PERSON_ID |\n"
- " | TITLE | |__________________| | AGE | | *EMAIL_ADDR |\n"
- " |_____________| | FIRSTNAME | |___________________|\n"
- " | LASTNAME |\n"
- " |_____________|\n"
- " ]]>"
-msgstr "以å人ã¨ã¤ãã³ããé¢é£ã¥ããã¨ãã¨å
¨ãåãããã«ã ä»ã試ãã«ã³ã¬ã¯ã·ã§ã³ã«è¦ç´ ã追å ãããã¨ãã§ããããã«ãªãã¾ããã 両æ¹ã¨ãJavaã§ã¯åãã³ã¼ãã§ãã"
+"<![CDATA[\n"
+" _____________ __________________\n"
+" | | | | _____________\n"
+" | EVENTS | | PERSON_EVENT | | | "
+"___________________\n"
+" |_____________| |__________________| | PERSON | "
+"| |\n"
+" | | | | |_____________| | "
+"PERSON_EMAIL_ADDR |\n"
+" | *EVENT_ID | <--> | *EVENT_ID | | | |"
+"___________________|\n"
+" | EVENT_DATE | | *PERSON_ID | <--> | *PERSON_ID | <--> | "
+"*PERSON_ID |\n"
+" | TITLE | |__________________| | AGE | | "
+"*EMAIL_ADDR |\n"
+" |_____________| | FIRSTNAME | |"
+"___________________|\n"
+" | LASTNAME |\n"
+" |_____________|\n"
+" ]]>"
+msgstr ""
-#: index.docbook:734
-msgid "You can see that the primary key of the collection table is in fact a composite key, using both columns. This also implies that there can't be duplicate email addresses per person, which is exactly the semantics we need for a set in Java."
+#. Tag: para
+#: tutorial.xml:734
+#, no-c-format
+msgid ""
+"You can see that the primary key of the collection table is in fact a "
+"composite key, using both columns. This also implies that there can't be "
+"duplicate email addresses per person, which is exactly the semantics we need "
+"for a set in Java."
msgstr ""
- "<![CDATA[private void addEmailToPerson(Long personId, String emailAddress) {
-\n"
- "
-\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();
-\n"
- " session.beginTransaction();
-\n"
- "
-\n"
- " Person aPerson = (Person) session.load(Person.class, personId);
-\n"
- "
-\n"
- " // The getEmailAddresses() might trigger a lazy load of the collection
-\n"
- " aPerson.getEmailAddresses().add(emailAddress);
-\n"
- "
-\n"
- " session.getTransaction().commit();
-\n"
- "}]]>"
+"ã³ã¬ã¯ã·ã§ã³ãã¼ãã«ã®ä¸»ãã¼ã¯ãå®éã¯ä¸¡æ¹ã®ã«ã©ã ã使ã£ãè¤åãã¼ã§ãããã¨"
+"ããããã¾ãã ããã¯äººãã¨ã«Eã¡ã¼ã«ã¢ãã¬ã¹ãéè¤ã§ããªãã¨ãããã¨ã§ã Java"
+"ã®setã«è¦æ±ãããã»ãã³ãã£ã¯ã¹ãã®ãã®ã§ãã"
-#: index.docbook:740
-msgid "You can now try and add elements to this collection, just like we did before by linking persons and events. It's the same code in Java:"
-msgstr "ä»åãã³ã¬ã¯ã·ã§ã³ã®åæåã« <emphasis>fetch</emphasis> ã¯ã¨ãªã使ç¨ãã¾ããã§ããã ãã®ãããgetterã¡ã½ããã®å¼ã³åºãã«ãã£ã¦ã³ã¬ã¯ã·ã§ã³ãåæåããããã®SELECTã å®è¡ãããã®ã§ãã³ã¬ã¯ã·ã§ã³ã«è¦ç´ ã追å ã§ãã¾ãã SQLã®ãã°ãç£è¦ãã¦ã峿ãã§ããã使ã£ã¦æé©åãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:740
+#, no-c-format
+msgid ""
+"You can now try and add elements to this collection, just like we did before "
+"by linking persons and events. It's the same code in Java:"
+msgstr ""
+"以å人ã¨ã¤ãã³ããé¢é£ã¥ããã¨ãã¨å
¨ãåãããã«ã ä»ã試ãã«ã³ã¬ã¯ã·ã§ã³ã«è¦"
+"ç´ ã追å ãããã¨ãã§ããããã«ãªãã¾ããã 両æ¹ã¨ãJavaã§ã¯åãã³ã¼ãã§ãã"
-#: index.docbook:745
+#. Tag: programlisting
+#: tutorial.xml:745
+#, no-c-format
msgid ""
- "<![CDATA[private void addEmailToPerson(Long personId, String emailAddress) {\n"
- "\n"
- " Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n"
- " session.beginTransaction();\n"
- "\n"
- " Person aPerson = (Person) session.load(Person.class, personId);\n"
- "\n"
- " // The getEmailAddresses() might trigger a lazy load of the collection\n"
- " aPerson.getEmailAddresses().add(emailAddress);\n"
- "\n"
- " session.getTransaction().commit();\n"
- "}]]>"
-msgstr "åæ¹åé¢é£"
+"<![CDATA[private void addEmailToPerson(Long personId, String emailAddress) "
+"{\n"
+"\n"
+" Session session = HibernateUtil.getSessionFactory().getCurrentSession"
+"();\n"
+" session.beginTransaction();\n"
+"\n"
+" Person aPerson = (Person) session.load(Person.class, personId);\n"
+"\n"
+" // The getEmailAddresses() might trigger a lazy load of the collection\n"
+" aPerson.getEmailAddresses().add(emailAddress);\n"
+"\n"
+" session.getTransaction().commit();\n"
+"}]]>"
+msgstr ""
-#: index.docbook:747
-msgid "This time we didnt' use a <emphasis>fetch</emphasis> query to initialize the collection. Hence, the call to its getter method will trigger an additional select to initialize it, so we can add an element to it. Monitor the SQL log and try to optimize this with an eager fetch."
-msgstr "次ã«åæ¹åé¢é£ããããã³ã°ãã¾ãã Javaã§ä¸¡å´ãã人ã¨ã¤ãã³ãã®é¢é£ãåä½ããã¾ãã ãã¡ããããã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯å¤ããã¾ããããå¤é度ã¯å¤å¯¾å¤ã®ã¾ã¾ã§ãã ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã¯ãããã¯ã¼ã¯ããã°ã©ãã³ã°è¨èªãããæè»ãªã®ã§ã ããã²ã¼ã·ã§ã³ã®æ¹åã®ãããªãã®ãå¿
è¦ã¨ãã¾ããã ãã¼ã¿ã¯ããããã®æ¹æ³ã§è¦ãã復å
ã§ããã¨ãããã¨ã§ãã"
+#. Tag: para
+#: tutorial.xml:747
+#, no-c-format
+msgid ""
+"This time we didnt' use a <emphasis>fetch</emphasis> query to initialize the "
+"collection. Hence, the call to its getter method will trigger an additional "
+"select to initialize it, so we can add an element to it. Monitor the SQL log "
+"and try to optimize this with an eager fetch."
+msgstr ""
+"ä»åãã³ã¬ã¯ã·ã§ã³ã®åæåã« <emphasis>fetch</emphasis> ã¯ã¨ãªã使ç¨ãã¾ãã"
+"ã§ããã ãã®ãããgetterã¡ã½ããã®å¼ã³åºãã«ãã£ã¦ã³ã¬ã¯ã·ã§ã³ãåæåããã"
+"ãã®SELECTã å®è¡ãããã®ã§ãã³ã¬ã¯ã·ã§ã³ã«è¦ç´ ã追å ã§ãã¾ãã SQLã®ãã°ãç£"
+"è¦ãã¦ã峿ãã§ããã使ã£ã¦æé©åãã¦ãã ããã"
-#: index.docbook:757
+#. Tag: title
+#: tutorial.xml:757
+#, no-c-format
msgid "Bi-directional associations"
-msgstr "ã¾ã <literal>Event</literal> ã¤ãã³ãã¯ã©ã¹ã«åå è
ã®ã³ã¬ã¯ã·ã§ã³ã追å ãã¾ãï¼"
+msgstr "åæ¹åé¢é£"
-#: index.docbook:759
-msgid "Next we are going to map a bi-directional association - making the association between person and event work from both sides in Java. Of course, the database schema doesn't change, we still have many-to-many multiplicity. A relational database is more flexible than a network programming language, so it doesn't need anything like a navigation direction - data can be viewed and retrieved in any possible way."
+#. Tag: para
+#: tutorial.xml:759
+#, no-c-format
+msgid ""
+"Next we are going to map a bi-directional association - making the "
+"association between person and event work from both sides in Java. Of "
+"course, the database schema doesn't change, we still have many-to-many "
+"multiplicity. A relational database is more flexible than a network "
+"programming language, so it doesn't need anything like a navigation "
+"direction - data can be viewed and retrieved in any possible way."
msgstr ""
- "<![CDATA[private Set participants = new HashSet();
-\n"
- "
-\n"
- "public Set getParticipants() {
-\n"
- " return participants;
-\n"
- "}
-\n"
- "
-\n"
- "public void setParticipants(Set participants) {
-\n"
- " this.participants = participants;
-\n"
- "}]]>"
+"次ã«åæ¹åé¢é£ããããã³ã°ãã¾ãã Javaã§ä¸¡å´ãã人ã¨ã¤ãã³ãã®é¢é£ãåä½ãã"
+"ã¾ãã ãã¡ããããã¼ã¿ãã¼ã¹ã¹ãã¼ãã¯å¤ããã¾ããããå¤é度ã¯å¤å¯¾å¤ã®ã¾ã¾ã§"
+"ãã ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã¯ãããã¯ã¼ã¯ããã°ã©ãã³ã°è¨èªãããæè»ãªã®"
+"ã§ã ããã²ã¼ã·ã§ã³ã®æ¹åã®ãããªãã®ãå¿
è¦ã¨ãã¾ããã ãã¼ã¿ã¯ããããã®æ¹"
+"æ³ã§è¦ãã復å
ã§ããã¨ãããã¨ã§ãã"
-#: index.docbook:767
-msgid "First, add a collection of participants to the <literal>Event</literal> Event class:"
-msgstr "ããã§ã¯ <literal>Event.hbm.xml</literal> ã§é¢é£ã®ãã¡ãå´ããããã³ã°ãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:767
+#, no-c-format
+msgid ""
+"First, add a collection of participants to the <literal>Event</literal> "
+"Event class:"
+msgstr ""
+"ã¾ã <literal>Event</literal> ã¤ãã³ãã¯ã©ã¹ã«åå è
ã®ã³ã¬ã¯ã·ã§ã³ã追å ãã¾"
+"ãï¼"
-#: index.docbook:771
+#. Tag: programlisting
+#: tutorial.xml:771
+#, no-c-format
msgid ""
- "<![CDATA[private Set participants = new HashSet();\n"
- "\n"
- "public Set getParticipants() {\n"
- " return participants;\n"
- "}\n"
- "\n"
- "public void setParticipants(Set participants) {\n"
- " this.participants = participants;\n"
- "}]]>"
+"<![CDATA[private Set participants = new HashSet();\n"
+"\n"
+"public Set getParticipants() {\n"
+" return participants;\n"
+"}\n"
+"\n"
+"public void setParticipants(Set participants) {\n"
+" this.participants = participants;\n"
+"}]]>"
msgstr ""
- "<![CDATA[<set name=\"participants\" table=\"PERSON_EVENT\" inverse=\"true\">
-\n"
- " <key column=\"EVENT_ID\"/>
-\n"
- " <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>
-\n"
- "</set>]]>"
-#: index.docbook:773
-msgid "Now map this side of the association too, in <literal>Event.hbm.xml</literal>."
-msgstr "ã覧ã®ã¨ããããããã®ãããã³ã°ããã¥ã¡ã³ã(XMLãã¡ã¤ã«)ã§ããæ®éã® <literal>set</literal> ãããã³ã°ã使ã£ã¦ãã¾ãã <literal>key</literal> 㨠<literal>many-to-many</literal> ã®ã«ã©ã åãã 両æ¹ã®ãããã³ã°ããã¥ã¡ã³ãã§å
¥ãæ¿ãã«ãªã£ã¦ãããã¨ã«æ³¨ç®ãã¦ãã ããã ããã§æãéè¦ãªè¿½å é
ç®ã¯ã <literal>Event</literal> ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã® <literal>set</literal> è¦ç´ ã«ãã <literal>inverse=\"true\"</literal> 屿§ã§ãã"
+#. Tag: para
+#: tutorial.xml:773
+#, no-c-format
+msgid ""
+"Now map this side of the association too, in <literal>Event.hbm.xml</"
+"literal>."
+msgstr ""
+"ããã§ã¯ <literal>Event.hbm.xml</literal> ã§é¢é£ã®ãã¡ãå´ããããã³ã°ãã¦ã"
+"ã ããã"
-#: index.docbook:777
+#. Tag: programlisting
+#: tutorial.xml:777
+#, no-c-format
msgid ""
- "<![CDATA[<set name=\"participants\" table=\"PERSON_EVENT\" inverse=\"true\">\n"
- " <key column=\"EVENT_ID\"/>\n"
- " <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>\n"
- "</set>]]>"
-msgstr "ãã®æå®ã®æå³ã¯ã2ã¤ã®éã®ã¨ã³ãã£ãã£éã®ãªã³ã¯ã«ã¤ãã¦ã®æ
å ±ãæ¢ãå¿
è¦ãããã¨ãã Hibernateã¯å対å´ã®ã¨ã³ãã£ãã£ãã¤ã¾ã <literal>Person</literal> ã¯ã©ã¹ããæ¢ãã¨ãããã¨ã§ãã ä¸åº¦2ã¤ã®ã¨ã³ãã£ãã£éã®åæ¹åãªã³ã¯ãã©ã®ããã«ä½æããããããããã°ã ãããçè§£ãããã¨ã¯ã¨ã¦ãç°¡åã§ãã"
+"<![CDATA[<set name=\"participants\" table=\"PERSON_EVENT\" inverse=\"true"
+"\">\n"
+" <key column=\"EVENT_ID\"/>\n"
+" <many-to-many column=\"PERSON_ID\" class=\"events.Person\"/>\n"
+"</set>]]>"
+msgstr ""
-#: index.docbook:779
-msgid "As you see, these are normal <literal>set</literal> mappings in both mapping documents. Notice that the column names in <literal>key</literal> and <literal>many-to-many</literal> are swapped in both mapping documents. The most important addition here is the <literal>inverse=\"true\"</literal> attribute in the <literal>set</literal> element of the <literal>Event</literal>'s collection mapping."
-msgstr "åæ¹åãªã³ã¯ã®åä½"
+#. Tag: para
+#: tutorial.xml:779
+#, no-c-format
+msgid ""
+"As you see, these are normal <literal>set</literal> mappings in both mapping "
+"documents. Notice that the column names in <literal>key</literal> and "
+"<literal>many-to-many</literal> are swapped in both mapping documents. The "
+"most important addition here is the <literal>inverse=\"true\"</literal> "
+"attribute in the <literal>set</literal> element of the <literal>Event</"
+"literal>'s collection mapping."
+msgstr ""
+"ã覧ã®ã¨ããããããã®ãããã³ã°ããã¥ã¡ã³ã(XMLãã¡ã¤ã«)ã§ããæ®éã® "
+"<literal>set</literal> ãããã³ã°ã使ã£ã¦ãã¾ãã <literal>key</literal> 㨠"
+"<literal>many-to-many</literal> ã®ã«ã©ã åãã 両æ¹ã®ãããã³ã°ããã¥ã¡ã³ãã§"
+"å
¥ãæ¿ãã«ãªã£ã¦ãããã¨ã«æ³¨ç®ãã¦ãã ããã ããã§æãéè¦ãªè¿½å é
ç®ã¯ã "
+"<literal>Event</literal> ã®ã³ã¬ã¯ã·ã§ã³ãããã³ã°ã® <literal>set</literal> è¦"
+"ç´ ã«ãã <literal>inverse=\"true\"</literal> 屿§ã§ãã"
-#: index.docbook:787
-msgid "What this means is that Hibernate should take the other side - the <literal>Person</literal> class - when it needs to find out information about the link between the two. This will be a lot easier to understand once you see how the bi-directional link between our two entities is created ."
-msgstr "ã¾ããHibernateãé常ã®Javaã®ã»ãã³ãã£ã¯ã¹ã«å½±é¿ãåã¼ããªããã¨ãå¿ã«çãã¦ããã¦ãã ããã ç§ãã¡ã¯ãåæ¹åã®ä¾ã¨ãã¦ã©ã®ããã« <literal>Person</literal> 㨠<literal>Event</literal> ã®éã®ãªã³ã¯ã使ããã§ããããï¼ <literal>Person</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã®ã¤ãã³ãã¸ã®åç
§ã®ã³ã¬ã¯ã·ã§ã³ã« <literal>Event</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã追å ãã¾ããã ãã®ãããã®ãªã³ã¯ãåæ¹åã«ããããã°ã å½ããåã§ããå対å´ã«ãåããã¨ãããªããã°ãªãã¾ããã <literal>Event</literal> ã®ã³ã¬ã¯ã·ã§ã³ã« <literal>Person</literal> ã¸ã® åç
§ã追å ããã¨ãããã¨ã§ãã ãã®ã両å´ã§ãªã³ã¯ãè¨å®ãããã¨ãã¯çµ¶å¯¾ã«å¿
è¦ãªã®ã§ã決ãã¦å¿ããªãã§ãã ããã"
+#. Tag: para
+#: tutorial.xml:787
+#, no-c-format
+msgid ""
+"What this means is that Hibernate should take the other side - the "
+"<literal>Person</literal> class - when it needs to find out information "
+"about the link between the two. This will be a lot easier to understand once "
+"you see how the bi-directional link between our two entities is created ."
+msgstr ""
+"ãã®æå®ã®æå³ã¯ã2ã¤ã®éã®ã¨ã³ãã£ãã£éã®ãªã³ã¯ã«ã¤ãã¦ã®æ
å ±ãæ¢ãå¿
è¦ãã"
+"ãã¨ãã Hibernateã¯å対å´ã®ã¨ã³ãã£ãã£ãã¤ã¾ã <literal>Person</literal> ã¯"
+"ã©ã¹ããæ¢ãã¨ãããã¨ã§ãã ä¸åº¦2ã¤ã®ã¨ã³ãã£ãã£éã®åæ¹åãªã³ã¯ãã©ã®ãã"
+"ã«ä½æããããããããã°ã ãããçè§£ãããã¨ã¯ã¨ã¦ãç°¡åã§ãã"
-#: index.docbook:796
+#. Tag: title
+#: tutorial.xml:796
+#, no-c-format
msgid "Working bi-directional links"
-msgstr "å¤ãã®éçºè
ã¯æ
éã«ããã°ã©ã ããã®ã§ã ã¨ã³ãã£ãã£ã®ä¸¡å´ã«æ£ããé¢é£ãè¨å®ãããªã³ã¯ç®¡çã¡ã½ããã使ãã¾ãã ä¾ãã° <literal>Person</literal> ã§ã¯ä»¥ä¸ã®ããã«ãªãã¾ããï¼"
+msgstr "åæ¹åãªã³ã¯ã®åä½"
-#: index.docbook:798
-msgid "First, keep in mind that Hibernate does not affect normal Java semantics. How did we create a link between a <literal>Person</literal> and an <literal>Event</literal> in the unidirectional example? We added an instance of <literal>Event</literal> to the collection of event references, of an instance of <literal>Person</literal>. So, obviously, if we want to make this link working bi-directional, we have to do the same on the other side - adding a <literal>Person</literal> reference to the collection in an <literal>Event</literal>. This \"setting the link on both sides\" is absolutely necessary and you should never forget doing it."
+#. Tag: para
+#: tutorial.xml:798
+#, no-c-format
+msgid ""
+"First, keep in mind that Hibernate does not affect normal Java semantics. "
+"How did we create a link between a <literal>Person</literal> and an "
+"<literal>Event</literal> in the unidirectional example? We added an instance "
+"of <literal>Event</literal> to the collection of event references, of an "
+"instance of <literal>Person</literal>. So, obviously, if we want to make "
+"this link working bi-directional, we have to do the same on the other side - "
+"adding a <literal>Person</literal> reference to the collection in an "
+"<literal>Event</literal>. This \"setting the link on both sides\" is "
+"absolutely necessary and you should never forget doing it."
msgstr ""
- "<![CDATA[protected Set getEvents() {
-\n"
- " return events;
-\n"
- "}
-\n"
- "
-\n"
- "protected void setEvents(Set events) {
-\n"
- " this.events = events;
-\n"
- "}
-\n"
- "
-\n"
- "public void addToEvent(Event event) {
-\n"
- " this.getEvents().add(event);
-\n"
- " event.getParticipants().add(this);
-\n"
- "}
-\n"
- "
-\n"
- "public void removeFromEvent(Event event) {
-\n"
- " this.getEvents().remove(event);
-\n"
- " event.getParticipants().remove(this);
-\n"
- "}]]>"
+"ã¾ããHibernateãé常ã®Javaã®ã»ãã³ãã£ã¯ã¹ã«å½±é¿ãåã¼ããªããã¨ãå¿ã«çãã¦"
+"ããã¦ãã ããã ç§ãã¡ã¯ãåæ¹åã®ä¾ã¨ãã¦ã©ã®ããã« <literal>Person</"
+"literal> 㨠<literal>Event</literal> ã®éã®ãªã³ã¯ã使ããã§ããããï¼ "
+"<literal>Person</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã®ã¤ãã³ãã¸ã®åç
§ã®ã³ã¬ã¯ã·ã§ã³ã« "
+"<literal>Event</literal> ã®ã¤ã³ã¹ã¿ã³ã¹ã追å ãã¾ããã ãã®ãããã®ãªã³ã¯ã"
+"åæ¹åã«ããããã°ã å½ããåã§ããå対å´ã«ãåããã¨ãããªããã°ãªãã¾ã"
+"ãã <literal>Event</literal> ã®ã³ã¬ã¯ã·ã§ã³ã« <literal>Person</literal> ã¸"
+"ã® åç
§ã追å ããã¨ãããã¨ã§ãã ãã®ã両å´ã§ãªã³ã¯ãè¨å®ãããã¨ãã¯çµ¶å¯¾ã«"
+"å¿
è¦ãªã®ã§ã決ãã¦å¿ããªãã§ãã ããã"
-#: index.docbook:808
-msgid "Many developers program defensive and create link management methods to correctly set both sides, e.g. in <literal>Person</literal>:"
-msgstr "ã³ã¬ã¯ã·ã§ã³ã®ã²ããã¨ã»ããã¡ã½ãããç¾å¨protectedã«ãªã£ã¦ãããã¨ã«æ³¨æãã¦ãã ããã ããã¯åãããã±ã¼ã¸ã®ã¯ã©ã¹ããµãã¯ã©ã¹ã®ã¡ã½ããã¯ä¾ç¶ã¢ã¯ã»ã¹ãå¯è½ã§ããã ï¼ã»ã¨ãã©ï¼ãã®ããã±ã¼ã¸å¤ã®ã©ã®ã¯ã©ã¹ã§ãç´æ¥ãã®ã³ã¬ã¯ã·ã§ã³ãå°ç¡ãã«ãããã¨ãé²ãã¾ãã ããããå対å´ã®ã³ã¬ã¯ã·ã§ã³ã«ãåããã¨ãããæ¹ãããã§ãããã"
+#. Tag: para
+#: tutorial.xml:808
+#, no-c-format
+msgid ""
+"Many developers program defensive and create link management methods to "
+"correctly set both sides, e.g. in <literal>Person</literal>:"
+msgstr ""
+"å¤ãã®éçºè
ã¯æ
éã«ããã°ã©ã ããã®ã§ã ã¨ã³ãã£ãã£ã®ä¸¡å´ã«æ£ããé¢é£ãè¨å®"
+"ãããªã³ã¯ç®¡çã¡ã½ããã使ãã¾ãã ä¾ãã° <literal>Person</literal> ã§ã¯ä»¥"
+"ä¸ã®ããã«ãªãã¾ããï¼"
-#: index.docbook:813
+#. Tag: programlisting
+#: tutorial.xml:813
+#, no-c-format
msgid ""
- "<![CDATA[protected Set getEvents() {\n"
- " return events;\n"
- "}\n"
- "\n"
- "protected void setEvents(Set events) {\n"
- " this.events = events;\n"
- "}\n"
- "\n"
- "public void addToEvent(Event event) {\n"
- " this.getEvents().add(event);\n"
- " event.getParticipants().add(this);\n"
- "}\n"
- "\n"
- "public void removeFromEvent(Event event) {\n"
- " this.getEvents().remove(event);\n"
- " event.getParticipants().remove(this);\n"
- "}]]>"
-msgstr "<literal>inverse</literal> ãããã³ã°å±æ§ã¨ã¯ãã£ããä½ã§ããããï¼ éçºè
ã¨Javaã«ã¨ã£ã¦ã¯ãåæ¹åãªã³ã¯ã¯åã«ä¸¡å´ã®åç
§ãæ£ããè¨å®ããã¨ãããã¨ã§ãã ãããHibernateã¯ï¼å¶ç´éåãé¿ããããã«ï¼SQLã® <literal>INSERT</literal> 㨠<literal>UPDATE</literal> æãæ£ç¢ºã«å¤æ´ããããã®ååãªæ
å ±ãæã£ã¦ããªãã®ã§ã åæ¹åé¢é£ããããã£ãæ±ãããã®ä½ããã®å©ããå¿
è¦ã¨ãã¾ãã é¢é£ã®çå´ã <literal>inverse</literal> ã«è¨å®ãããã¨ã§ãHibernateã¯åºæ¬çã«ã¯è¨å®ããå´ãç¡è¦ãã å対å´ã® <emphasis>é¡</emphasis> ã¨ãã¦èãã¾ãã ããã ãã§ãHibernateã¯æ¹åãæã¤ããã²ã¼ã·ã§ã³ã¢ãã«ãSQLãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¸å¤æããã¨ãã® ãã¹ã¦ã®åé¡ã«ãã¾ã対å¦ã§ãã¾ãã è¦ãã¦ãããªããã°ãªããªãã«ã¼ã«ã¯ç°¡åã§ãã åæ¹åé¢é£ã¯å¿
ã!
çå´ã <literal>inverse</literal> ã«ããå¿
è¦ãããã¨ãããã¨ã§ãã ä¸å¯¾å¤é¢é£ã§ã¯ããã¯å¤å´ã§ãªããã°ãªãã¾ããã å¤å¯¾å¤é¢é£ã§ã¯ã©ã¡ãå´ã§ãæ§ãã¾ãããã©ã¡ãã§ãéãã¯ããã¾ããã"
+"<![CDATA[protected Set getEvents() {\n"
+" return events;\n"
+"}\n"
+"\n"
+"protected void setEvents(Set events) {\n"
+" this.events = events;\n"
+"}\n"
+"\n"
+"public void addToEvent(Event event) {\n"
+" this.getEvents().add(event);\n"
+" event.getParticipants().add(this);\n"
+"}\n"
+"\n"
+"public void removeFromEvent(Event event) {\n"
+" this.getEvents().remove(event);\n"
+" event.getParticipants().remove(this);\n"
+"}]]>"
+msgstr ""
-#: index.docbook:815
-msgid "Notice that the get and set methods for the collection are now protected - this allows classes in the same package and subclasses to still access the methods, but prevents everybody else from messing with the collections directly (well, almost). You should probably do the same with the collection on the other side."
-msgstr "ã§ã¯ãããå°ããªWebã¢ããªã±ã¼ã·ã§ã³ã«ãã¦ã¿ã¾ãããã"
+#. Tag: para
+#: tutorial.xml:815
+#, no-c-format
+msgid ""
+"Notice that the get and set methods for the collection are now protected - "
+"this allows classes in the same package and subclasses to still access the "
+"methods, but prevents everybody else from messing with the collections "
+"directly (well, almost). You should probably do the same with the collection "
+"on the other side."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã®ã²ããã¨ã»ããã¡ã½ãããç¾å¨protectedã«ãªã£ã¦ãããã¨ã«æ³¨æãã¦"
+"ãã ããã ããã¯åãããã±ã¼ã¸ã®ã¯ã©ã¹ããµãã¯ã©ã¹ã®ã¡ã½ããã¯ä¾ç¶ã¢ã¯ã»ã¹ã"
+"å¯è½ã§ããã ï¼ã»ã¨ãã©ï¼ãã®ããã±ã¼ã¸å¤ã®ã©ã®ã¯ã©ã¹ã§ãç´æ¥ãã®ã³ã¬ã¯ã·ã§ã³"
+"ãå°ç¡ãã«ãããã¨ãé²ãã¾ãã ããããå対å´ã®ã³ã¬ã¯ã·ã§ã³ã«ãåããã¨ããã"
+"æ¹ãããã§ãããã"
-#: index.docbook:822
-msgid "What about the <literal>inverse</literal> mapping attribute? For you, and for Java, a bi-directional link is simply a matter of setting the references on both sides correctly. Hibernate however doesn't have enough information to correctly arrange SQL <literal>INSERT</literal> and <literal>UPDATE</literal> statements (to avoid constraint violations), and needs some help to handle bi-directional associations properly. Making one side of the association <literal>inverse</literal> tells Hibernate to basically ignore it, to consider it a <emphasis>mirror</emphasis> of the other side. That's all that is necessary for Hibernate to work out all of the issues when transformation a directional navigation model to a SQL database schema. The rules you have to remember are straightforward: All bi-directional associations need one side as <literal>inverse</literal>. In a one-to-many association it has to be the many-side, in many-to-many association you can pick either side, there!
is no difference."
-msgstr "ãã¼ã3 - EventManager Webã¢ããªã±ã¼ã·ã§ã³"
+#. Tag: para
+#: tutorial.xml:822
+#, no-c-format
+msgid ""
+"What about the <literal>inverse</literal> mapping attribute? For you, and "
+"for Java, a bi-directional link is simply a matter of setting the references "
+"on both sides correctly. Hibernate however doesn't have enough information "
+"to correctly arrange SQL <literal>INSERT</literal> and <literal>UPDATE</"
+"literal> statements (to avoid constraint violations), and needs some help to "
+"handle bi-directional associations properly. Making one side of the "
+"association <literal>inverse</literal> tells Hibernate to basically ignore "
+"it, to consider it a <emphasis>mirror</emphasis> of the other side. That's "
+"all that is necessary for Hibernate to work out all of the issues when "
+"transformation a directional navigation model to a SQL database schema. The "
+"rules you have to remember are straightforward: All bi-directional "
+"associations need one side as <literal>inverse</literal>. In a one-to-many "
+"association it has to be the many-side, in many-to-many association you can "
+"pick either side, there is no difference."
+msgstr ""
+"<literal>inverse</literal> ãããã³ã°å±æ§ã¨ã¯ãã£ããä½ã§ããããï¼ éçºè
ã¨"
+"Javaã«ã¨ã£ã¦ã¯ãåæ¹åãªã³ã¯ã¯åã«ä¸¡å´ã®åç
§ãæ£ããè¨å®ããã¨ãããã¨ã§ãã "
+"ãããHibernateã¯ï¼å¶ç´éåãé¿ããããã«ï¼SQLã® <literal>INSERT</literal> "
+"㨠<literal>UPDATE</literal> æãæ£ç¢ºã«å¤æ´ããããã®ååãªæ
å ±ãæã£ã¦ããªã"
+"ã®ã§ã åæ¹åé¢é£ããããã£ãæ±ãããã®ä½ããã®å©ããå¿
è¦ã¨ãã¾ãã é¢é£ã®ç"
+"å´ã <literal>inverse</literal> ã«è¨å®ãããã¨ã§ãHibernateã¯åºæ¬çã«ã¯è¨å®ã"
+"ãå´ãç¡è¦ãã å対å´ã® <emphasis>é¡</emphasis> ã¨ãã¦èãã¾ãã ããã ãã§ã"
+"Hibernateã¯æ¹åãæã¤ããã²ã¼ã·ã§ã³ã¢ãã«ãSQLãã¼ã¿ãã¼ã¹ã¹ãã¼ãã¸å¤æãã"
+"ã¨ãã® ãã¹ã¦ã®åé¡ã«ãã¾ã対å¦ã§ãã¾ãã è¦ãã¦ãããªããã°ãªããªãã«ã¼ã«ã¯"
+"ç°¡åã§ãã åæ¹åé¢é£ã¯å¿
ãçå´ã <literal>inverse</literal> ã«ããå¿
è¦ããã"
+"ã¨ãããã¨ã§ãã ä¸å¯¾å¤é¢é£ã§ã¯ããã¯å¤å´ã§ãªããã°ãªãã¾ããã å¤å¯¾å¤é¢é£ã§"
+"ã¯ã©ã¡ãå´ã§ãæ§ãã¾ãããã©ã¡ãã§ãéãã¯ããã¾ããã"
-#: index.docbook:837
+#. Tag: para
+#: tutorial.xml:837
+#, no-c-format
msgid "Let's turn this into a small web application."
-msgstr "Hibernateã®Webã¢ããªã±ã¼ã·ã§ã³ã¯ãã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ã®ããã« <literal>Session</literal> 㨠<literal>Transaction</literal> ã使ç¨ãã¾ãã ãããããã¤ãã®ä¸è¬çãªãã¿ã¼ã³ãå½¹ç«ã¡ã¾ãã ããã§ <literal>EventManagerServlet</literal> ã使ãã¾ãããã®ãµã¼ãã¬ããã¯ã ãã¼ã¿ãã¼ã¹ã«æ ¼ç´ããå
¨ã¦ã®ã¤ãã³ãããªã¹ãã«ã§ããããã«HTMLãã©ã¼ã ããæ°ããã¤ãã³ããå
¥åã§ãããã®ã§ãã"
+msgstr "ã§ã¯ãããå°ããªWebã¢ããªã±ã¼ã·ã§ã³ã«ãã¦ã¿ã¾ãããã"
-#: index.docbook:844
+#. Tag: title
+#: tutorial.xml:844
+#, no-c-format
msgid "Part 3 - The EventManager web application"
-msgstr "åºæ¬çãªServletã®è¨è¿°"
+msgstr "ãã¼ã3 - EventManager Webã¢ããªã±ã¼ã·ã§ã³"
-#: index.docbook:846
-msgid "A Hibernate web application uses <literal>Session</literal> and <literal>Transaction</literal> almost like a standalone application. However, some common patterns are useful. We now write an <literal>EventManagerServlet</literal>. This servlet can list all events stored in the database, and it provides an HTML form to enter new events."
-msgstr "æ°ããã¯ã©ã¹ããã½ã¼ã¹ãã£ã¬ã¯ããªã® <literal>events</literal> ããã±ã¼ã¸ã«ä½æãã¦ãã ããã"
+#. Tag: para
+#: tutorial.xml:846
+#, no-c-format
+msgid ""
+"A Hibernate web application uses <literal>Session</literal> and "
+"<literal>Transaction</literal> almost like a standalone application. "
+"However, some common patterns are useful. We now write an "
+"<literal>EventManagerServlet</literal>. This servlet can list all events "
+"stored in the database, and it provides an HTML form to enter new events."
+msgstr ""
+"Hibernateã®Webã¢ããªã±ã¼ã·ã§ã³ã¯ãã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ã®ããã« "
+"<literal>Session</literal> 㨠<literal>Transaction</literal> ã使ç¨ãã¾ãã "
+"ãããããã¤ãã®ä¸è¬çãªãã¿ã¼ã³ãå½¹ç«ã¡ã¾ãã ããã§ "
+"<literal>EventManagerServlet</literal> ã使ãã¾ãããã®ãµã¼ãã¬ããã¯ã "
+"ãã¼ã¿ãã¼ã¹ã«æ ¼ç´ããå
¨ã¦ã®ã¤ãã³ãããªã¹ãã«ã§ããããã«HTMLãã©ã¼ã ããæ°"
+"ããã¤ãã³ããå
¥åã§ãããã®ã§ãã"
-#: index.docbook:854
+#. Tag: title
+#: tutorial.xml:854
+#, no-c-format
msgid "Writing the basic servlet"
+msgstr "åºæ¬çãªServletã®è¨è¿°"
+
+#. Tag: para
+#: tutorial.xml:856
+#, no-c-format
+msgid ""
+"Create a new class in your source directory, in the <literal>events</"
+"literal> package:"
msgstr ""
- "<![CDATA[package events;
-\n"
- "
-\n"
- "// Imports
-\n"
- "
-\n"
- "public class EventManagerServlet extends HttpServlet {
-\n"
- "
-\n"
- " // Servlet code
-\n"
- "}]]>"
+"æ°ããã¯ã©ã¹ããã½ã¼ã¹ãã£ã¬ã¯ããªã® <literal>events</literal> ããã±ã¼ã¸ã«ä½"
+"æãã¦ãã ããã"
-#: index.docbook:856
-msgid "Create a new class in your source directory, in the <literal>events</literal> package:"
-msgstr "Servletã¯HTTPã® <literal>GET</literal> ãªã¯ã¨ã¹ãã®ã¿ãå¦çããã®ã§ã <literal>doGet()</literal> ãå®è£
ãã¾ãã"
+#. Tag: programlisting
+#: tutorial.xml:861
+#, no-c-format
+msgid ""
+"<![CDATA[package events;\n"
+"\n"
+"// Imports\n"
+"\n"
+"public class EventManagerServlet extends HttpServlet {\n"
+"\n"
+" // Servlet code\n"
+"}]]>"
+msgstr ""
-#: index.docbook:861
+#. Tag: para
+#: tutorial.xml:863
+#, no-c-format
msgid ""
- "<![CDATA[package events;\n"
- "\n"
- "// Imports\n"
- "\n"
- "public class EventManagerServlet extends HttpServlet {\n"
- "\n"
- " // Servlet code\n"
- "}]]>"
+"The servlet handles HTTP <literal>GET</literal> requests only, hence, the "
+"method we implement is <literal>doGet()</literal>:"
msgstr ""
- "<![CDATA[protected void doGet(HttpServletRequest request,
-\n"
- " HttpServletResponse response)
-\n"
- " throws ServletException, IOException {
-\n"
- "
-\n"
- " SimpleDateFormat dateFormatter = new SimpleDateFormat(\"dd.MM.yyyy\");
-\n"
- "
-\n"
- " try {
-\n"
- " // Begin unit of work
-\n"
- " HibernateUtil.getSessionFactory()
-\n"
- " .getCurrentSession().beginTransaction();
-\n"
- "
-\n"
- " // Process request and render page...
-\n"
- "
-\n"
- " // End unit of work
-\n"
- " HibernateUtil.getSessionFactory()
-\n"
- " .getCurrentSession().getTransaction().commit();
-\n"
- "
-\n"
- " } catch (Exception ex) {
-\n"
- " HibernateUtil.getSessionFactory()
-\n"
- " .getCurrentSession().getTransaction().rollback();
-\n"
- " throw new ServletException(ex);
-\n"
- " }
-\n"
- "
-\n"
- "}]]>"
+"Servletã¯HTTPã® <literal>GET</literal> ãªã¯ã¨ã¹ãã®ã¿ãå¦çããã®ã§ã "
+"<literal>doGet()</literal> ãå®è£
ãã¾ãã"
-#: index.docbook:863
-msgid "The servlet handles HTTP <literal>GET</literal> requests only, hence, the method we implement is <literal>doGet()</literal>:"
-msgstr "ãã㯠<emphasis>session-per-request</emphasis> ã¨ãããã¿ã¼ã³ã§ãã Servletããªã¯ã¨ã¹ããåãåãã¨ã <literal>SessionFactory</literal> ã® <literal>getCurrentSession()</literal> ã®æåã®å¼ã³åºãã§ã Hibernateã®æ°ãã <literal>Session</literal> ãéããã¾ãã ãã®ã¨ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ãéå§ããã¾ãã ãã¼ã¿ã®èªã¿æ¸ãã«é¢ãããããã¹ã¦ã®ãã¼ã¿ã¢ã¯ã»ã¹ã¯ãã©ã³ã¶ã¯ã·ã§ã³å
ã§è¡ãã¾ãã ï¼ã¢ããªã±ã¼ã·ã§ã³å
ã§ã¯ãªã¼ãã³ãããã¢ã¼ãã使ç¨ãã¾ããï¼ã"
+#. Tag: programlisting
+#: tutorial.xml:868
+#, no-c-format
+msgid ""
+"<![CDATA[protected void doGet(HttpServletRequest request,\n"
+" HttpServletResponse response)\n"
+" throws ServletException, IOException {\n"
+"\n"
+" SimpleDateFormat dateFormatter = new SimpleDateFormat(\"dd.MM.yyyy\");\n"
+"\n"
+" try {\n"
+" // Begin unit of work\n"
+" HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().beginTransaction();\n"
+"\n"
+" // Process request and render page...\n"
+"\n"
+" // End unit of work\n"
+" HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().getTransaction().commit();\n"
+"\n"
+" } catch (Exception ex) {\n"
+" HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().getTransaction().rollback();\n"
+" throw new ServletException(ex);\n"
+" }\n"
+"\n"
+"}]]>"
+msgstr ""
-#: index.docbook:868
+#. Tag: para
+#: tutorial.xml:870
+#, fuzzy, no-c-format
msgid ""
- "<![CDATA[protected void doGet(HttpServletRequest request,\n"
- " HttpServletResponse response)\n"
- " throws ServletException, IOException {\n"
- "\n"
- " SimpleDateFormat dateFormatter = new SimpleDateFormat(\"dd.MM.yyyy\");\n"
- "\n"
- " try {\n"
- " // Begin unit of work\n"
- " HibernateUtil.getSessionFactory()\n"
- " .getCurrentSession().beginTransaction();\n"
- "\n"
- " // Process request and render page...\n"
- "\n"
- " // End unit of work\n"
- " HibernateUtil.getSessionFactory()\n"
- " .getCurrentSession().getTransaction().commit();\n"
- "\n"
- " } catch (Exception ex) {\n"
- " HibernateUtil.getSessionFactory()\n"
- " .getCurrentSession().getTransaction().rollback();\n"
- " throw new ServletException(ex);\n"
- " }\n"
- "\n"
- "}]]>"
-msgstr "次ã«ããªã¯ã¨ã¹ãã®ã¢ã¯ã·ã§ã³ã¯å¦çãããã¬ã¹ãã³ã¹ã§ããHTMLãæç»ããã¾ãã ããã«ã¤ãã¦ã¯ããã«èª¬æãã¾ãã"
+"The pattern we are applying here is called <emphasis>session-per-request</"
+"emphasis>. When a request hits the servlet, a new Hibernate "
+"<literal>Session</literal> is opened through the first call to "
+"<literal>getCurrentSession()</literal> on the <literal>SessionFactory</"
+"literal>. Then a database transaction is started—all data access as to "
+"occur inside a transaction, no matter if data is read or written (we don't "
+"use the auto-commit mode in applications)."
+msgstr ""
+"ãã㯠<emphasis>session-per-request</emphasis> ã¨ãããã¿ã¼ã³ã§ãã Servlet"
+"ããªã¯ã¨ã¹ããåãåãã¨ã <literal>SessionFactory</literal> ã® "
+"<literal>getCurrentSession()</literal> ã®æåã®å¼ã³åºãã§ã Hibernateã®æ°ã"
+"ã <literal>Session</literal> ãéããã¾ãã ãã®ã¨ããã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯"
+"ã·ã§ã³ãéå§ããã¾ãã ãã¼ã¿ã®èªã¿æ¸ãã«é¢ãããããã¹ã¦ã®ãã¼ã¿ã¢ã¯ã»ã¹ã¯ã"
+"ã©ã³ã¶ã¯ã·ã§ã³å
ã§è¡ãã¾ãã ï¼ã¢ããªã±ã¼ã·ã§ã³å
ã§ã¯ãªã¼ãã³ãããã¢ã¼ãã使"
+"ç¨ãã¾ããï¼ã"
-#: index.docbook:870
-msgid "The pattern we are applying here is called <emphasis>session-per-request</emphasis>. When a request hits the servlet, a new Hibernate <literal>Session</literal> is opened through the first call to <literal>getCurrentSession()</literal> on the <literal>SessionFactory</literal>. Then a database transaction is started—all data access as to occur inside a transaction, no matter if data is read or written (we don't use the auto-commit mode in applications)."
-msgstr "æå¾ã«ãªã¯ã¨ã¹ãã®å¦çã¨HTMLæç»ãå®äºããã¨ãã«ã使¥åä½(Unit of Work)ãçµäºãã¾ãã ããå¦çãæç»ä¸ã«åé¡ãçºçããå ´åãexceptionãæãããã¦ãã¼ã¿ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã¾ãã ããã§ <literal>session-per-request</literal> ãã¿ã¼ã³ãå®äºãã¾ãã å
¨ã¦ã®ãµã¼ãã¬ããã«ãã©ã³ã¶ã¯ã·ã§ã³å¢çã®ã³ã¼ããæ¸ã代ããã«ããµã¼ãã¬ãããã£ã«ã¿ã«è¨è¿°ãããã¨ãå¯è½ã§ãã <emphasis>Open Session in View</emphasis> ã¨å¼ã°ãããã®ãã¿ã¼ã³ã«ã¤ãã¦ã¯ã Hibernateã®Webãµã¤ããWikiãåç
§ãã¦ãã ããã ãµã¼ãã¬ããã§ã¯ãªãJSPã§HTMLæç»ããããã¨ããã¨ãããã«ãã®ãã¿ã¼ã³ã«ã¤ãã¦ã®æ
å ±ãå¿
è¦ã«ãªãã§ãããã"
+#. Tag: para
+#: tutorial.xml:879
+#, no-c-format
+msgid ""
+"Do <emphasis>not</emphasis> use a new Hibernate <literal>Session</literal> "
+"for every database operation. Use one Hibernate <literal>Session</literal> "
+"that is scoped to the whole request. Use <literal>getCurrentSession()</"
+"literal>, so that it is automatically bound to the current Java thread."
+msgstr ""
+"Do <emphasis>not</emphasis> use a new Hibernate <literal>Session</literal> "
+"for every database operation. Use one Hibernate <literal>Session</literal> "
+"that is scoped to the whole request. Use <literal>getCurrentSession()</"
+"literal>, so that it is automatically bound to the current Java thread."
-#: index.docbook:879
-msgid "Do <emphasis>not</emphasis> use a new Hibernate <literal>Session</literal> for every database operation. Use one Hibernate <literal>Session</literal> that is scoped to the whole request. Use <literal>getCurrentSession()</literal>, so that it is automatically bound to the current Java thread."
+#. Tag: para
+#: tutorial.xml:886
+#, no-c-format
+msgid ""
+"Next, the possible actions of the request are processed and the response "
+"HTML is rendered. We'll get to that part soon."
+msgstr ""
+"次ã«ããªã¯ã¨ã¹ãã®ã¢ã¯ã·ã§ã³ã¯å¦çãããã¬ã¹ãã³ã¹ã§ããHTMLãæç»ããã¾ãã "
+"ããã«ã¤ãã¦ã¯ããã«èª¬æãã¾ãã"
+
+#. Tag: para
+#: tutorial.xml:891
+#, fuzzy, no-c-format
+msgid ""
+"Finally, the unit of work ends when processing and rendering is complete. If "
+"any problem occured during processing or rendering, an exception will be "
+"thrown and the database transaction rolled back. This completes the "
+"<literal>session-per-request</literal> pattern. Instead of the transaction "
+"demarcation code in every servlet you could also write a servlet filter. See "
+"the Hibernate website and Wiki for more information about this pattern, "
+"called <emphasis>Open Session in View</emphasis>—you'll need it as "
+"soon as you consider rendering your view in JSP, not in a servlet."
+msgstr ""
+"æå¾ã«ãªã¯ã¨ã¹ãã®å¦çã¨HTMLæç»ãå®äºããã¨ãã«ã使¥åä½(Unit of Work)ãçµ"
+"äºãã¾ãã ããå¦çãæç»ä¸ã«åé¡ãçºçããå ´åãexceptionãæãããã¦ãã¼ã¿"
+"ãã¼ã¹ãã©ã³ã¶ã¯ã·ã§ã³ããã¼ã«ããã¯ãã¾ãã ããã§ <literal>session-per-"
+"request</literal> ãã¿ã¼ã³ãå®äºãã¾ãã å
¨ã¦ã®ãµã¼ãã¬ããã«ãã©ã³ã¶ã¯ã·ã§ã³"
+"å¢çã®ã³ã¼ããæ¸ã代ããã«ããµã¼ãã¬ãããã£ã«ã¿ã«è¨è¿°ãããã¨ãå¯è½ã§ãã "
+"<emphasis>Open Session in View</emphasis> ã¨å¼ã°ãããã®ãã¿ã¼ã³ã«ã¤ãã¦ã¯ã "
+"Hibernateã®Webãµã¤ããWikiãåç
§ãã¦ãã ããã ãµã¼ãã¬ããã§ã¯ãªãJSPã§HTML"
+"æç»ããããã¨ããã¨ãããã«ãã®ãã¿ã¼ã³ã«ã¤ãã¦ã®æ
å ±ãå¿
è¦ã«ãªãã§ãããã"
+
+#. Tag: title
+#: tutorial.xml:905
+#, no-c-format
+msgid "Processing and rendering"
msgstr "å¦çã¨æç»"
-#: index.docbook:886
-msgid "Next, the possible actions of the request are processed and the response HTML is rendered. We'll get to that part soon."
+#. Tag: para
+#: tutorial.xml:907
+#, no-c-format
+msgid ""
+"Let's implement the processing of the request and rendering of the page."
msgstr "ã§ã¯ããªã¯ã¨ã¹ãã®å¦çã¨ãã¼ã¸ã®æç»ãå®è£
ãã¾ãã"
-#: index.docbook:891
-msgid "Finally, the unit of work ends when processing and rendering is complete. If any problem occured during processing or rendering, an exception will be thrown and the database transaction rolled back. This completes the <literal>session-per-request</literal> pattern. Instead of the transaction demarcation code in every servlet you could also write a servlet filter. See the Hibernate website and Wiki for more information about this pattern, called <emphasis>Open Session in View</emphasis>—you'll need it as soon as you consider rendering your view in JSP, not in a servlet."
+#. Tag: programlisting
+#: tutorial.xml:911
+#, no-c-format
+msgid ""
+"<![CDATA[// Write HTML header\n"
+"PrintWriter out = response.getWriter();\n"
+"out.println(\"<html><head><title>Event Manager</title></head><body>\");\n"
+"\n"
+"// Handle actions\n"
+"if ( \"store\".equals(request.getParameter(\"action\")) ) {\n"
+"\n"
+" String eventTitle = request.getParameter(\"eventTitle\");\n"
+" String eventDate = request.getParameter(\"eventDate\");\n"
+"\n"
+" if ( \"\".equals(eventTitle) || \"\".equals(eventDate) ) {\n"
+" out.println(\"<b><i>Please enter event title and date.</i></b>\");\n"
+" } else {\n"
+" createAndStoreEvent(eventTitle, dateFormatter.parse(eventDate));\n"
+" out.println(\"<b><i>Added event.</i></b>\");\n"
+" }\n"
+"}\n"
+"\n"
+"// Print page\n"
+"printEventForm(out);\n"
+"listEvents(out, dateFormatter);\n"
+"\n"
+"// Write HTML footer\n"
+"out.println(\"</body></html>\");\n"
+"out.flush();\n"
+"out.close();]]>"
msgstr ""
- "<![CDATA[// Write HTML header
-\n"
- "PrintWriter out = response.getWriter();
-\n"
- "out.println(\"<html><head><title>Event Manager</title></head><body>\");
-\n"
- "
-\n"
- "// Handle actions
-\n"
- "if ( \"store\".equals(request.getParameter(\"action\")) ) {
-\n"
- "
-\n"
- " String eventTitle = request.getParameter(\"eventTitle\");
-\n"
- " String eventDate = request.getParameter(\"eventDate\");
-\n"
- "
-\n"
- " if ( \"\".equals(eventTitle) || \"\".equals(eventDate) ) {
-\n"
- " out.println(\"<b><i>Please enter event title and date.</i></b>\");
-\n"
- " } else {
-\n"
- " createAndStoreEvent(eventTitle, dateFormatter.parse(eventDate));
-\n"
- " out.println(\"<b><i>Added event.</i></b>\");
-\n"
- " }
-\n"
- "}
-\n"
- "
-\n"
- "// Print page
-\n"
- "printEventForm(out);
-\n"
- "listEvents(out, dateFormatter);
-\n"
- "
-\n"
- "// Write HTML footer
-\n"
- "out.println(\"</body></html>\");
-\n"
- "out.flush();
-\n"
- "out.close();]]>"
-#: index.docbook:905
-msgid "Processing and rendering"
-msgstr "Javaã¨HTMLãæ··å¨ããã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã¯ãããè¤éãªã¢ããªã±ã¼ã·ã§ã³ã«ã¯é©ãã¦ããªãã§ããã ï¼ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ãåºæ¬çãªHibernateã®ã³ã³ã»ããã示ãã¦ããã ãã§ãããã¨ãè¦ãã¦ããã¦ãã ããï¼ã ãã®ã³ã¼ãã¯HTMLã®ãããã¼ã¨ããã¿ã¼ã®è¨è¿°ã§ãã ãã®ãã¼ã¸ã«ã¯ãã¤ãã³ããå
¥åããHTMLãã©ã¼ã ã¨ããã¼ã¿ãã¼ã¹ã«ããå
¨ã¦ã®ã¤ãã³ãã®ãªã¹ãã表示ããã¾ãã æåã®ã¡ã½ããã¯ããåç´ãªHTMLåºåã§ãã"
+#. Tag: para
+#: tutorial.xml:913
+#, fuzzy, no-c-format
+msgid ""
+"Granted, this coding style with a mix of Java and HTML would not scale in a "
+"more complex application—keep in mind that we are only illustrating "
+"basic Hibernate concepts in this tutorial. The code prints an HTML header "
+"and a footer. Inside this page, an HTML form for event entry and a list of "
+"all events in the database are printed. The first method is trivial and only "
+"outputs HTML:"
+msgstr ""
+"Javaã¨HTMLãæ··å¨ããã³ã¼ãã£ã³ã°ã¹ã¿ã¤ã«ã¯ãããè¤éãªã¢ããªã±ã¼ã·ã§ã³ã«ã¯é©"
+"ãã¦ããªãã§ããã ï¼ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ãåºæ¬çãªHibernateã®ã³ã³ã»ããã"
+"示ãã¦ããã ãã§ãããã¨ãè¦ãã¦ããã¦ãã ããï¼ã ãã®ã³ã¼ãã¯HTMLã®ãããã¼"
+"ã¨ããã¿ã¼ã®è¨è¿°ã§ãã ãã®ãã¼ã¸ã«ã¯ãã¤ãã³ããå
¥åããHTMLãã©ã¼ã ã¨ããã¼"
+"ã¿ãã¼ã¹ã«ããå
¨ã¦ã®ã¤ãã³ãã®ãªã¹ãã表示ããã¾ãã æåã®ã¡ã½ããã¯ããåç´"
+"ãªHTMLåºåã§ãã"
-#: index.docbook:907
-msgid "Let's implement the processing of the request and rendering of the page."
+#. Tag: programlisting
+#: tutorial.xml:922
+#, no-c-format
+msgid ""
+"<![CDATA[private void printEventForm(PrintWriter out) {\n"
+" out.println(\"<h2>Add new event:</h2>\");\n"
+" out.println(\"<form>\");\n"
+" out.println(\"Title: <input name='eventTitle' length='50'/><br/>\");\n"
+" out.println(\"Date (e.g. 24.12.2009): <input name='eventDate' "
+"length='10'/><br/>\");\n"
+" out.println(\"<input type='submit' name='action' value='store'/>\");\n"
+" out.println(\"</form>\");\n"
+"}]]>"
msgstr ""
- "<![CDATA[private void printEventForm(PrintWriter out) {
-\n"
- " out.println(\"<h2>Add new event:</h2>\");
-\n"
- " out.println(\"<form>\");
-\n"
- " out.println(\"Title: <input name='eventTitle' length='50'/><br/>\");
-\n"
- " out.println(\"Date (e.g. 24.12.2009): <input name='eventDate' length='10'/><br/>\");
-\n"
- " out.println(\"<input type='submit' name='action' value='store'/>\");
-\n"
- " out.println(\"</form>\");
-\n"
- "}]]>"
-#: index.docbook:911
+#. Tag: para
+#: tutorial.xml:924
+#, no-c-format
msgid ""
- "<![CDATA[// Write HTML header\n"
- "PrintWriter out = response.getWriter();\n"
- "out.println(\"<html><head><title>Event Manager</title></head><body>\");\n"
- "\n"
- "// Handle actions\n"
- "if ( \"store\".equals(request.getParameter(\"action\")) ) {\n"
- "\n"
- " String eventTitle = request.getParameter(\"eventTitle\");\n"
- " String eventDate = request.getParameter(\"eventDate\");\n"
- "\n"
- " if ( \"\".equals(eventTitle) || \"\".equals(eventDate) ) {\n"
- " out.println(\"<b><i>Please enter event title and date.</i></b>\");\n"
- " } else {\n"
- " createAndStoreEvent(eventTitle, dateFormatter.parse(eventDate));\n"
- " out.println(\"<b><i>Added event.</i></b>\");\n"
- " }\n"
- "}\n"
- "\n"
- "// Print page\n"
- "printEventForm(out);\n"
- "listEvents(out, dateFormatter);\n"
- "\n"
- "// Write HTML footer\n"
- "out.println(\"</body></html>\");\n"
- "out.flush();\n"
- "out.close();]]>"
-msgstr "<literal>listEvents()</literal> ã¡ã½ããã¯ãç¾å¨ã®ã¹ã¬ããã«çµã³ã¤ã Hibernateã® <literal>Session</literal> ã使ç¨ãã¦ãã¯ã¨ãªãå®è¡ãã¾ãã"
+"The <literal>listEvents()</literal> method uses the Hibernate "
+"<literal>Session</literal> bound to the current thread to execute a query:"
+msgstr ""
+"<literal>listEvents()</literal> ã¡ã½ããã¯ãç¾å¨ã®ã¹ã¬ããã«çµã³ã¤ã "
+"Hibernateã® <literal>Session</literal> ã使ç¨ãã¦ãã¯ã¨ãªãå®è¡ãã¾ãã"
-#: index.docbook:913
-msgid "Granted, this coding style with a mix of Java and HTML would not scale in a more complex application—keep in mind that we are only illustrating basic Hibernate concepts in this tutorial. The code prints an HTML header and a footer. Inside this page, an HTML form for event entry and a list of all events in the database are printed. The first method is trivial and only outputs HTML:"
+#. Tag: programlisting
+#: tutorial.xml:930
+#, no-c-format
+msgid ""
+"<![CDATA[private void listEvents(PrintWriter out, SimpleDateFormat "
+"dateFormatter) {\n"
+"\n"
+" List result = HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().createCriteria(Event.class).list"
+"();\n"
+" if (result.size() > 0) {\n"
+" out.println(\"<h2>Events in database:</h2>\");\n"
+" out.println(\"<table border='1'>\");\n"
+" out.println(\"<tr>\");\n"
+" out.println(\"<th>Event title</th>\");\n"
+" out.println(\"<th>Event date</th>\");\n"
+" out.println(\"</tr>\");\n"
+" for (Iterator it = result.iterator(); it.hasNext();) {\n"
+" Event event = (Event) it.next();\n"
+" out.println(\"<tr>\");\n"
+" out.println(\"<td>\" + event.getTitle() + \"</td>\");\n"
+" out.println(\"<td>\" + dateFormatter.format(event.getDate()) + "
+"\"</td>\");\n"
+" out.println(\"</tr>\");\n"
+" }\n"
+" out.println(\"</table>\");\n"
+" }\n"
+"}]]>"
msgstr ""
- "<![CDATA[private void listEvents(PrintWriter out, SimpleDateFormat dateFormatter) {
-\n"
- "
-\n"
- " List result = HibernateUtil.getSessionFactory()
-\n"
- " .getCurrentSession().createCriteria(Event.class).list();
-\n"
- " if (result.size() > 0) {
-\n"
- " out.println(\"<h2>Events in database:</h2>\");
-\n"
- " out.println(\"<table border='1'>\");
-\n"
- " out.println(\"<tr>\");
-\n"
- " out.println(\"<th>Event title</th>\");
-\n"
- " out.println(\"<th>Event date</th>\");
-\n"
- " out.println(\"</tr>\");
-\n"
- " for (Iterator it = result.iterator(); it.hasNext();) {
-\n"
- " Event event = (Event) it.next();
-\n"
- " out.println(\"<tr>\");
-\n"
- " out.println(\"<td>\" + event.getTitle() + \"</td>\");
-\n"
- " out.println(\"<td>\" + dateFormatter.format(event.getDate()) + \"</td>\");
-\n"
- " out.println(\"</tr>\");
-\n"
- " }
-\n"
- " out.println(\"</table>\");
-\n"
- " }
-\n"
- "}]]>"
-#: index.docbook:922
+#. Tag: para
+#: tutorial.xml:932
+#, no-c-format
msgid ""
- "<![CDATA[private void printEventForm(PrintWriter out) {\n"
- " out.println(\"<h2>Add new event:</h2>\");\n"
- " out.println(\"<form>\");\n"
- " out.println(\"Title: <input name='eventTitle' length='50'/><br/>\");\n"
- " out.println(\"Date (e.g. 24.12.2009): <input name='eventDate' length='10'/><br/>\");\n"
- " out.println(\"<input type='submit' name='action' value='store'/>\");\n"
- " out.println(\"</form>\");\n"
- "}]]>"
-msgstr "æå¾ã«ã <literal>store</literal> ã¢ã¯ã·ã§ã³ã <literal>createAndStoreEvent()</literal> ã¡ã½ããã å¼ã³åºãã¾ãããã®ã¡ã½ããã§ãç¾å¨ã®ã¹ã¬ããã® <literal>Session</literal> ãå©ç¨ãã¾ãã"
+"Finally, the <literal>store</literal> action is dispatched to the "
+"<literal>createAndStoreEvent()</literal> method, which also uses the "
+"<literal>Session</literal> of the current thread:"
+msgstr ""
+"æå¾ã«ã <literal>store</literal> ã¢ã¯ã·ã§ã³ã <literal>createAndStoreEvent()"
+"</literal> ã¡ã½ããã å¼ã³åºãã¾ãããã®ã¡ã½ããã§ãç¾å¨ã®ã¹ã¬ããã® "
+"<literal>Session</literal> ãå©ç¨ãã¾ãã"
-#: index.docbook:924
-msgid "The <literal>listEvents()</literal> method uses the Hibernate <literal>Session</literal> bound to the current thread to execute a query:"
+#. Tag: programlisting
+#: tutorial.xml:938
+#, no-c-format
+msgid ""
+"<![CDATA[protected void createAndStoreEvent(String title, Date theDate) {\n"
+" Event theEvent = new Event();\n"
+" theEvent.setTitle(title);\n"
+" theEvent.setDate(theDate);\n"
+"\n"
+" HibernateUtil.getSessionFactory()\n"
+" .getCurrentSession().save(theEvent);\n"
+"}]]>"
msgstr ""
- "<![CDATA[protected void createAndStoreEvent(String title, Date theDate) {
-\n"
- " Event theEvent = new Event();
-\n"
- " theEvent.setTitle(title);
-\n"
- " theEvent.setDate(theDate);
-\n"
- "
-\n"
- " HibernateUtil.getSessionFactory()
-\n"
- " .getCurrentSession().save(theEvent);
-\n"
- "}]]>"
-#: index.docbook:930
+#. Tag: para
+#: tutorial.xml:940
+#, no-c-format
msgid ""
- "<![CDATA[private void listEvents(PrintWriter out, SimpleDateFormat dateFormatter) {\n"
- "\n"
- " List result = HibernateUtil.getSessionFactory()\n"
- " .getCurrentSession().createCriteria(Event.class).list();\n"
- " if (result.size() > 0) {\n"
- " out.println(\"<h2>Events in database:</h2>\");\n"
- " out.println(\"<table border='1'>\");\n"
- " out.println(\"<tr>\");\n"
- " out.println(\"<th>Event title</th>\");\n"
- " out.println(\"<th>Event date</th>\");\n"
- " out.println(\"</tr>\");\n"
- " for (Iterator it = result.iterator(); it.hasNext();) {\n"
- " Event event = (Event) it.next();\n"
- " out.println(\"<tr>\");\n"
- " out.println(\"<td>\" + event.getTitle() + \"</td>\");\n"
- " out.println(\"<td>\" + dateFormatter.format(event.getDate()) + \"</td>\");\n"
- " out.println(\"</tr>\");\n"
- " }\n"
- " out.println(\"</table>\");\n"
- " }\n"
- "}]]>"
-msgstr "ããã§ãµã¼ãã¬ããã®å®æã§ãã ãµã¼ãã¬ããã¸ã®ãªã¯ã¨ã¹ãã¯ãä¸ã¤ã® <literal>Session</literal> 㨠<literal>Transaction</literal> ã§å¦çãããã§ãããã æåã®ã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ã®ããã«ã Hibernateã¯èªåçã«ãããã®ãªãã¸ã§ã¯ããå®è¡ããã¹ã¬ããã«çµã³ä»ãããã¨ãã§ãã¾ãã ããã«ãããéçºè
ãèªç±ã«ã³ã¼ããã¬ã¤ã¤ã¼åãã§ãã 好ããªæ¹æ³ã§ <literal>SessionFactory</literal> ã¸ã®ã¢ã¯ã»ã¹ãã§ããããã«ãªãã¾ãã é常ãéçºè
ã¯ããæ´ç·´ããããã¶ã¤ã³ã使ç¨ãã¦ããã¼ã¿ã¢ã¯ã»ã¹ã®ã³ã¼ãã ãã¼ã¿ã¢ã¯ã»ã¹ãªãã¸ã§ã¯ãã«ç§»åããã§ãããï¼DAOãã¿ã¼ã³ï¼ã ããå¤ãã®ä¾ã¯ãHibernateã®Wikiãåç
§ãã¦ãã ããã"
+"That's it, the servlet is complete. A request to the servlet will be "
+"processed in a single <literal>Session</literal> and <literal>Transaction</"
+"literal>. As earlier in the standalone application, Hibernate can "
+"automatically bind these ojects to the current thread of execution. This "
+"gives you the freedom to layer your code and access the "
+"<literal>SessionFactory</literal> in any way you like. Usually you'd use a "
+"more sophisticated design and move the data access code into data access "
+"objects (the DAO pattern). See the Hibernate Wiki for more examples."
+msgstr ""
+"ããã§ãµã¼ãã¬ããã®å®æã§ãã ãµã¼ãã¬ããã¸ã®ãªã¯ã¨ã¹ãã¯ãä¸ã¤ã® "
+"<literal>Session</literal> 㨠<literal>Transaction</literal> ã§å¦çãããã§"
+"ãããã æåã®ã¹ã¿ã³ãã¢ãã¼ã³ã®ã¢ããªã±ã¼ã·ã§ã³ã®ããã«ã Hibernateã¯èªåç"
+"ã«ãããã®ãªãã¸ã§ã¯ããå®è¡ããã¹ã¬ããã«çµã³ä»ãããã¨ãã§ãã¾ãã ããã«ã"
+"ããéçºè
ãèªç±ã«ã³ã¼ããã¬ã¤ã¤ã¼åãã§ãã 好ããªæ¹æ³ã§ "
+"<literal>SessionFactory</literal> ã¸ã®ã¢ã¯ã»ã¹ãã§ããããã«ãªãã¾ãã é常ã"
+"éçºè
ã¯ããæ´ç·´ããããã¶ã¤ã³ã使ç¨ãã¦ããã¼ã¿ã¢ã¯ã»ã¹ã®ã³ã¼ãã ãã¼ã¿ã¢ã¯"
+"ã»ã¹ãªãã¸ã§ã¯ãã«ç§»åããã§ãããï¼DAOãã¿ã¼ã³ï¼ã ããå¤ãã®ä¾ã¯ãHibernate"
+"ã®Wikiãåç
§ãã¦ãã ããã"
-#: index.docbook:932
-msgid "Finally, the <literal>store</literal> action is dispatched to the <literal>createAndStoreEvent()</literal> method, which also uses the <literal>Session</literal> of the current thread:"
+#. Tag: title
+#: tutorial.xml:954
+#, no-c-format
+msgid "Deploying and testing"
msgstr "ãããã¤ã¨ãã¹ã"
-#: index.docbook:938
+#. Tag: para
+#: tutorial.xml:956
+#, no-c-format
msgid ""
- "<![CDATA[protected void createAndStoreEvent(String title, Date theDate) {\n"
- " Event theEvent = new Event();\n"
- " theEvent.setTitle(title);\n"
- " theEvent.setDate(theDate);\n"
- "\n"
- " HibernateUtil.getSessionFactory()\n"
- " .getCurrentSession().save(theEvent);\n"
- "}]]>"
-msgstr "ãã®ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã®ããã«ãWebã¢ã¼ã«ã¤ãï¼WARï¼ã使ãã¦ãã ããã 以ä¸ã®Antã¿ã¼ã²ããã <literal>build.xml</literal> ã«å ãã¦ãã ããã"
+"To deploy this application you have to create a web archive, a WAR. Add the "
+"following Ant target to your <literal>build.xml</literal>:"
+msgstr ""
+"ãã®ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã®ããã«ãWebã¢ã¼ã«ã¤ãï¼WARï¼ã使ãã¦ãã ã"
+"ãã 以ä¸ã®Antã¿ã¼ã²ããã <literal>build.xml</literal> ã«å ãã¦ãã ããã"
-#: index.docbook:940
-msgid "That's it, the servlet is complete. A request to the servlet will be processed in a single <literal>Session</literal> and <literal>Transaction</literal>. As earlier in the standalone application, Hibernate can automatically bind these ojects to the current thread of execution. This gives you the freedom to layer your code and access the <literal>SessionFactory</literal> in any way you like. Usually you'd use a more sophisticated design and move the data access code into data access objects (the DAO pattern). See the Hibernate Wiki for more examples."
+#. Tag: programlisting
+#: tutorial.xml:961
+#, no-c-format
+msgid ""
+"<![CDATA[<target name=\"war\" depends=\"compile\">\n"
+" <war destfile=\"hibernate-tutorial.war\" webxml=\"web.xml\">\n"
+" <lib dir=\"${librarydir}\">\n"
+" <exclude name=\"jsdk*.jar\"/>\n"
+" </lib>\n"
+"\n"
+" <classes dir=\"${targetdir}\"/>\n"
+" </war>\n"
+"</target>]]>"
msgstr ""
- "<![CDATA[<target name=\"war\" depends=\"compile\">
-\n"
- " <war destfile=\"hibernate-tutorial.war\" webxml=\"web.xml\">
-\n"
- " <lib dir=\"${librarydir}\">
-\n"
- " <exclude name=\"jsdk*.jar\"/>
-\n"
- " </lib>
-\n"
- "
-\n"
- " <classes dir=\"${targetdir}\"/>
-\n"
- " </war>
-\n"
- "</target>]]>"
-#: index.docbook:954
-msgid "Deploying and testing"
-msgstr "ãã®ã¿ã¼ã²ãã㯠<literal>hibernate-tutorial.war</literal> ã¨ãããã¡ã¤ã«ã ããã¸ã§ã¯ããã£ã¬ã¯ããªã«ä½æãã¾ãã ãã®ãã¡ã¤ã«ã¯ãã¹ã¦ã®ã©ã¤ãã©ãªã¨ <literal>web.xml</literal> è¨è¿°åãå«ãã§ããã ããã¸ã§ã¯ãã®ãã¼ã¹ãã£ã¬ã¯ããªã«ç½®ããããã¨ãæå¾
ããã¾ãã"
+#. Tag: para
+#: tutorial.xml:963
+#, no-c-format
+msgid ""
+"This target creates a file called <literal>hibernate-tutorial.war</literal> "
+"in your project directory. It packages all libraries and the <literal>web."
+"xml</literal> descriptor, which is expected in the base directory of your "
+"project:"
+msgstr ""
+"ãã®ã¿ã¼ã²ãã㯠<literal>hibernate-tutorial.war</literal> ã¨ãããã¡ã¤ã«ã "
+"ããã¸ã§ã¯ããã£ã¬ã¯ããªã«ä½æãã¾ãã ãã®ãã¡ã¤ã«ã¯ãã¹ã¦ã®ã©ã¤ãã©ãªã¨ "
+"<literal>web.xml</literal> è¨è¿°åãå«ãã§ããã ããã¸ã§ã¯ãã®ãã¼ã¹ãã£ã¬ã¯"
+"ããªã«ç½®ããããã¨ãæå¾
ããã¾ãã"
-#: index.docbook:956
-msgid "To deploy this application you have to create a web archive, a WAR. Add the following Ant target to your <literal>build.xml</literal>:"
+#. Tag: programlisting
+#: tutorial.xml:969
+#, no-c-format
+msgid ""
+"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<web-app version=\"2.4\"\n"
+" xmlns=\"http://java.sun.com/xml/ns/j2ee\"\n"
+" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/"
+"xml/ns/j2ee/web-app_2_4.xsd\">\n"
+"\n"
+" <servlet>\n"
+" <servlet-name>Event Manager</servlet-name>\n"
+" <servlet-class>events.EventManagerServlet</servlet-class>\n"
+" </servlet>\n"
+"\n"
+" <servlet-mapping>\n"
+" <servlet-name>Event Manager</servlet-name>\n"
+" <url-pattern>/eventmanager</url-pattern>\n"
+" </servlet-mapping>\n"
+"</web-app>]]>"
msgstr ""
- "<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>
-\n"
- "<web-app version=\"2.4\"
-\n"
- " xmlns=\"http://java.sun.com/xml/ns/j2ee\"
-\n"
- " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
-\n"
- " xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd\">
-\n"
- "
-\n"
- " <servlet>
-\n"
- " <servlet-name>Event Manager</servlet-name>
-\n"
- " <servlet-class>events.EventManagerServlet</servlet-class>
-\n"
- " </servlet>
-\n"
- "
-\n"
- " <servlet-mapping>
-\n"
- " <servlet-name>Event Manager</servlet-name>
-\n"
- " <url-pattern>/eventmanager</url-pattern>
-\n"
- " </servlet-mapping>
-\n"
- "</web-app>]]>"
-#: index.docbook:961
+#. Tag: para
+#: tutorial.xml:971
+#, no-c-format
msgid ""
- "<![CDATA[<target name=\"war\" depends=\"compile\">\n"
- " <war destfile=\"hibernate-tutorial.war\" webxml=\"web.xml\">\n"
- " <lib dir=\"${librarydir}\">\n"
- " <exclude name=\"jsdk*.jar\"/>\n"
- " </lib>\n"
- "\n"
- " <classes dir=\"${targetdir}\"/>\n"
- " </war>\n"
- "</target>]]>"
-msgstr "Webã¢ããªã±ã¼ã·ã§ã³ã®ã³ã³ãã¤ã«ã¨ãããã¤ã®åã«ã <literal>jsdk.jar</literal> ã¨ãã 追å ã®ã©ã¤ãã©ãªãå¿
è¦ãªãã¨ã«æ³¨æãã¦ãã ããã ããã¯Javaãµã¼ãã¬ããã®éçºãããã§ãã ããã¾ã ãã®ã©ã¤ãã©ãªãæã£ã¦ããªããªããSunã®ã¦ã§ããµã¤ãã§å
¥æãã¦ã ã©ã¤ãã©ãªãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ããããããã¯ã³ã³ãã¤ã«ã«ã®ã¿ä½¿ç¨ãããWARããã±ã¼ã¸ããã¯é¤å¤ããã¾ãã"
+"Before you compile and deploy the web application, note that an additional "
+"library is required: <literal>jsdk.jar</literal>. This is the Java servlet "
+"development kit, if you don't have this library already, get it from the Sun "
+"website and copy it to your library directory. However, it will be only used "
+"for compliation and excluded from the WAR package."
+msgstr ""
+"Webã¢ããªã±ã¼ã·ã§ã³ã®ã³ã³ãã¤ã«ã¨ãããã¤ã®åã«ã <literal>jsdk.jar</"
+"literal> ã¨ãã 追å ã®ã©ã¤ãã©ãªãå¿
è¦ãªãã¨ã«æ³¨æãã¦ãã ããã ããã¯Java"
+"ãµã¼ãã¬ããã®éçºãããã§ãã ããã¾ã ãã®ã©ã¤ãã©ãªãæã£ã¦ããªããªããSun"
+"ã®ã¦ã§ããµã¤ãã§å
¥æãã¦ã ã©ã¤ãã©ãªãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ãã"
+"ããããã¯ã³ã³ãã¤ã«ã«ã®ã¿ä½¿ç¨ãããWARããã±ã¼ã¸ããã¯é¤å¤ããã¾ãã"
-#: index.docbook:963
-msgid "This target creates a file called <literal>hibernate-tutorial.war</literal> in your project directory. It packages all libraries and the <literal>web.xml</literal> descriptor, which is expected in the base directory of your project:"
-msgstr "ãã«ãã¨ãããã¤ã®ããã«ãããã¸ã§ã¯ããã£ã¬ã¯ããªã§ <literal>ant war</literal> ãå¼ã³åºãã <literal>hibernate-tutorial.war</literal> ãã¡ã¤ã«ãTomcatã® <literal>webapp</literal> ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ã¾ã Tomcatãã¤ã³ã¹ãã¼ã«ãã¦ããªããã°ããã¦ã³ãã¼ããã¦ã以ä¸ã®ã¤ã³ã¹ãã¼ã«ã¬ã¤ãã«å¾ã£ã¦ãã ããã ãããããã®ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ããããã«ãTomcatã®è¨å®ã夿´ããå¿
è¦ã¯ããã¾ããã"
+#. Tag: para
+#: tutorial.xml:979
+#, no-c-format
+msgid ""
+"To build and deploy call <literal>ant war</literal> in your project "
+"directory and copy the <literal>hibernate-tutorial.war</literal> file into "
+"your Tomcat <literal>webapp</literal> directory. If you don't have Tomcat "
+"installed, download it and follow the installation instructions. You don't "
+"have to change any Tomcat configuration to deploy this application though."
+msgstr ""
+"ãã«ãã¨ãããã¤ã®ããã«ãããã¸ã§ã¯ããã£ã¬ã¯ããªã§ <literal>ant war</"
+"literal> ãå¼ã³åºãã <literal>hibernate-tutorial.war</literal> ãã¡ã¤ã«ã"
+"Tomcatã® <literal>webapp</literal> ãã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãã ããã ã¾ã "
+"Tomcatãã¤ã³ã¹ãã¼ã«ãã¦ããªããã°ããã¦ã³ãã¼ããã¦ã以ä¸ã®ã¤ã³ã¹ãã¼ã«ã¬ã¤"
+"ãã«å¾ã£ã¦ãã ããã ãããããã®ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ããããã«ãTomcat"
+"ã®è¨å®ã夿´ããå¿
è¦ã¯ããã¾ããã"
-#: index.docbook:969
+#. Tag: para
+#: tutorial.xml:987
+#, no-c-format
msgid ""
- "<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
- "<web-app version=\"2.4\"\n"
- " xmlns=\"http://java.sun.com/xml/ns/j2ee\"\n"
- " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
- " xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd\">\n"
- "\n"
- " <servlet>\n"
- " <servlet-name>Event Manager</servlet-name>\n"
- " <servlet-class>events.EventManagerServlet</servlet-class>\n"
- " </servlet>\n"
- "\n"
- " <servlet-mapping>\n"
- " <servlet-name>Event Manager</servlet-name>\n"
- " <url-pattern>/eventmanager</url-pattern>\n"
- " </servlet-mapping>\n"
- "</web-app>]]>"
-msgstr "ä¸åº¦ãããã¤ãã¦Tomcatãèµ·åããã°ã <literal>http://localhost:8080/hibernate-tutorial/eventmanager</literal> ã§ ã¢ããªã±ã¼ã·ã§ã³ã¸ã®ã¢ã¯ã»ã¹ãå¯è½ã§ãã æåã®ãªã¯ã¨ã¹ãã使ãããµã¼ãã¬ããã«æ¸¡ã£ãã¨ãã«ãTomcatã®ãã°ã§ Hibernateã®åæåå¦çã確èªãã¦ãã ãã ï¼ <literal>HibernateUtil</literal> å
ã®éçåæåãããã¯ãå¼ã°ãã¦ãã¾ãï¼ã ã¾ããexceptionãçºçãããªã詳細ã確èªãã¦ãã ããã"
+"Once deployed and Tomcat is running, access the application at "
+"<literal>http://localhost:8080/hibernate-tutorial/eventmanager</literal>. "
+"Make sure you watch the Tomcat log to see Hibernate initialize when the "
+"first request hits your servlet (the static initializer in "
+"<literal>HibernateUtil</literal> is called) and to get the detailed output "
+"if any exceptions occurs."
+msgstr ""
+"ä¸åº¦ãããã¤ãã¦Tomcatãèµ·åããã°ã <literal>http://localhost:8080/"
+"hibernate-tutorial/eventmanager</literal> ã§ ã¢ããªã±ã¼ã·ã§ã³ã¸ã®ã¢ã¯ã»ã¹ãå¯"
+"è½ã§ãã æåã®ãªã¯ã¨ã¹ãã使ãããµã¼ãã¬ããã«æ¸¡ã£ãã¨ãã«ãTomcatã®ãã°"
+"ã§ Hibernateã®åæåå¦çã確èªãã¦ãã ãã ï¼ <literal>HibernateUtil</"
+"literal> å
ã®éçåæåãããã¯ãå¼ã°ãã¦ãã¾ãï¼ã ã¾ããexceptionãçºçãã"
+"ãªã詳細ã確èªãã¦ãã ããã"
-#: index.docbook:971
-msgid "Before you compile and deploy the web application, note that an additional library is required: <literal>jsdk.jar</literal>. This is the Java servlet development kit, if you don't have this library already, get it from the Sun website and copy it to your library directory. However, it will be only used for compliation and excluded from the WAR package."
-msgstr "<title>è¦ç´</title>"
-
-#: index.docbook:979
-msgid "To build and deploy call <literal>ant war</literal> in your project directory and copy the <literal>hibernate-tutorial.war</literal> file into your Tomcat <literal>webapp</literal> directory. If you don't have Tomcat installed, download it and follow the installation instructions. You don't have to change any Tomcat configuration to deploy this application though."
-msgstr "ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ãç°¡åãªã¹ã¿ã³ãã¢ãã¼ã³ã®Hibernateã¢ããªã±ã¼ã·ã§ã³ã¨ å°è¦æ¨¡ã®Webã¢ããªã±ã¼ã·ã§ã³ãæ¸ãããã®åºæ¬ãç´¹ä»ãã¾ããã"
-
-#: index.docbook:987
-msgid "Once deployed and Tomcat is running, access the application at <literal>http://localhost:8080/hibernate-tutorial/eventmanager</literal>. Make sure you watch the Tomcat log to see Hibernate initialize when the first request hits your servlet (the static initializer in <literal>HibernateUtil</literal> is called) and to get the detailed output if any exceptions occurs."
-msgstr "ããHibernateã«èªä¿¡ãããã°ããªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã®ç®æ¬¡ã«ç®ãéãã¦ã é¢ç½ããã ã¨æããããã¯ãæ¢ãã¦ãã ããã æãé »ç¹ã«è³ªåãããã®ã¯ããã©ã³ã¶ã¯ã·ã§ã³å¦çï¼<xref linkend=\"transactions\"/>ï¼ã ãã§ããã®ããã©ã¼ãã³ã¹ï¼<xref linkend=\"performance\"/>ï¼ã APIã®ä½¿ãæ¹ï¼<xref linkend=\"objectstate\"/>ï¼ã¨ã¯ã¨ãª ï¼<xref linkend=\"objectstate-querying\"/>ï¼ã§ãã"
-
-#: index.docbook:1000
+#. Tag: title
+#: tutorial.xml:1000
+#, no-c-format
msgid "Summary"
-msgstr "ããã«ï¼ç¹å¥ãªï¼ãã¥ã¼ããªã¢ã«ãå¿
è¦ãªããHibernateã¦ã§ããµã¤ããå¿ããã«ãã§ãã¯ãã¦ãã ããã"
+msgstr "è¦ç´"
-#: index.docbook:1002
-msgid "This tutorial covered the basics of writing a simple standalone Hibernate application and a small web application."
+#. Tag: para
+#: tutorial.xml:1002
+#, no-c-format
+msgid ""
+"This tutorial covered the basics of writing a simple standalone Hibernate "
+"application and a small web application."
msgstr ""
+"ãã®ãã¥ã¼ããªã¢ã«ã§ã¯ãç°¡åãªã¹ã¿ã³ãã¢ãã¼ã³ã®Hibernateã¢ããªã±ã¼ã·ã§ã³ã¨ "
+"å°è¦æ¨¡ã®Webã¢ããªã±ã¼ã·ã§ã³ãæ¸ãããã®åºæ¬ãç´¹ä»ãã¾ããã"
-#: index.docbook:1007
-msgid "If you already feel confident with Hibernate, continue browsing through the reference documentation table of contents for topics you find interesting - most asked are transactional processing (<xref linkend=\"transactions\"/>), fetch performance (<xref linkend=\"performance\"/>), or the usage of the API (<xref linkend=\"objectstate\"/>) and the query features (<xref linkend=\"objectstate-querying\"/>)."
+#. Tag: para
+#: tutorial.xml:1007
+#, no-c-format
+msgid ""
+"If you already feel confident with Hibernate, continue browsing through the "
+"reference documentation table of contents for topics you find interesting - "
+"most asked are transactional processing (<xref linkend=\"transactions\"/>), "
+"fetch performance (<xref linkend=\"performance\"/>), or the usage of the API "
+"(<xref linkend=\"objectstate\"/>) and the query features (<xref linkend="
+"\"objectstate-querying\"/>)."
msgstr ""
+"ããHibernateã«èªä¿¡ãããã°ããªãã¡ã¬ã³ã¹ããã¥ã¡ã³ãã®ç®æ¬¡ã«ç®ãéãã¦ã é¢"
+"ç½ããã ã¨æããããã¯ãæ¢ãã¦ãã ããã æãé »ç¹ã«è³ªåãããã®ã¯ããã©ã³ã¶ã¯"
+"ã·ã§ã³å¦çï¼<xref linkend=\"transactions\"/>ï¼ã ãã§ããã®ããã©ã¼ãã³ã¹"
+"ï¼<xref linkend=\"performance\"/>ï¼ã APIã®ä½¿ãæ¹ï¼<xref linkend="
+"\"objectstate\"/>ï¼ã¨ã¯ã¨ãª ï¼<xref linkend=\"objectstate-querying\"/>ï¼ã§"
+"ãã"
-#: index.docbook:1015
-msgid "Don't forget to check the Hibernate website for more (specialized) tutorials."
+#. Tag: para
+#: tutorial.xml:1015
+#, no-c-format
+msgid ""
+"Don't forget to check the Hibernate website for more (specialized) tutorials."
msgstr ""
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+"ããã«ï¼ç¹å¥ãªï¼ãã¥ã¼ããªã¢ã«ãå¿
è¦ãªããHibernateã¦ã§ããµã¤ããå¿ããã«"
+"ãã§ãã¯ãã¦ãã ããã"
Modified: core/trunk/documentation/manual/translations/ja-JP/content/xml.po
===================================================================
--- core/trunk/documentation/manual/translations/ja-JP/content/xml.po 2007-10-25 07:54:59 UTC (rev 14131)
+++ core/trunk/documentation/manual/translations/ja-JP/content/xml.po 2007-10-25 07:57:28 UTC (rev 14132)
@@ -1,549 +1,442 @@
-#, fuzzy
msgid ""
msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2007-10-25 07:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Content-Type: text/plain; charset=utf-8\n"
-#: index.docbook:5
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Tag: title
+#: xml.xml:5
+#, no-c-format
msgid "XML Mapping"
msgstr "XMLãããã³ã°"
-#: index.docbook:7
-msgid "Note that this is an experimental feature in Hibernate 3.0 and is under extremely active development."
-msgstr "XMLãããã³ã°ã¯Hibernate3.0ã§ã¯è©¦é¨çãªæ©è½ã§ãããéå¸¸ã«æ´»åçã«éçºä¸ã§ãã"
+#. Tag: emphasis
+#: xml.xml:7
+#, no-c-format
+msgid ""
+"Note that this is an experimental feature in Hibernate 3.0 and is under "
+"extremely active development."
+msgstr ""
+"XMLãããã³ã°ã¯Hibernate3.0ã§ã¯è©¦é¨çãªæ©è½ã§ãããéå¸¸ã«æ´»åçã«éçºä¸ã§ãã"
-#: index.docbook:13
+#. Tag: title
+#: xml.xml:13
+#, no-c-format
msgid "Working with XML data"
msgstr "XMLãã¼ã¿ã§ã®ä½æ¥"
-#: index.docbook:15
-msgid "Hibernate lets you work with persistent XML data in much the same way you work with persistent POJOs. A parsed XML tree can be thought of as just another way to represent the relational data at the object level, instead of POJOs."
-msgstr "Hibernateã§ã¯æ°¸ç¶æ§ã®POJOã使ã£ã¦ä½æ¥ããã®ã¨ã»ã¼åããããªããæ¹ã§ã æ°¸ç¶æ§ã®XMLãã¼ã¿ã使ã£ã¦ä½æ¥ã§ãã¾ãã"
+#. Tag: para
+#: xml.xml:15
+#, no-c-format
+msgid ""
+"Hibernate lets you work with persistent XML data in much the same way you "
+"work with persistent POJOs. A parsed XML tree can be thought of as just "
+"another way to represent the relational data at the object level, instead of "
+"POJOs."
+msgstr ""
+"Hibernateã§ã¯æ°¸ç¶æ§ã®POJOã使ã£ã¦ä½æ¥ããã®ã¨ã»ã¼åããããªããæ¹ã§ã æ°¸ç¶æ§"
+"ã®XMLãã¼ã¿ã使ã£ã¦ä½æ¥ã§ãã¾ãã"
-#: index.docbook:22
-msgid "Hibernate supports dom4j as API for manipulating XML trees. You can write queries that retrieve dom4j trees from the database and have any modification you make to the tree automatically synchronized to the database. You can even take an XML document, parse it using dom4j, and write it to the database with any of Hibernate's basic operations: <literal>persist(), saveOrUpdate(), merge(), delete(), replicate()</literal> (merging is not yet supported)."
-msgstr "Hibernateã¯XMLããªã¼ãæä½ããããã®APIã¨ãã¦dom4jããµãã¼ããã¦ãã¾ãã ãã¼ã¿ãã¼ã¹ããdom4jã®ããªã¼ã復å
ããã¯ã¨ãªãæ¸ããã¨ãã§ãã ããªã¼ã«å¯¾ãã¦è¡ã£ãä¿®æ£ã¯èªåçã«ãã¼ã¿ãã¼ã¹ã¨åæããã¾ãã ã¾ãXMLããã¥ã¡ã³ããåå¾ãããã¨ãã§ããdom4jã使ã£ã¦ããã¥ã¡ã³ãããã¼ã¹ãã Hibernateã®ä»»æã®åºæ¬æä½ã使ã£ã¦ãã¼ã¿ãã¼ã¹ã¸æ¸ãè¾¼ããã¨ãã§ãã¾ããï¼ ã¤ã¾ãã<literal>persist(), saveOrUpdate(), merge(), delete(), replicate()</literal> æä½ã§ã(ãã¼ã¸ã¯ã¾ã ãµãã¼ããã¦ãã¾ãã)ã"
+#. Tag: para
+#: xml.xml:22
+#, no-c-format
+msgid ""
+"Hibernate supports dom4j as API for manipulating XML trees. You can write "
+"queries that retrieve dom4j trees from the database and have any "
+"modification you make to the tree automatically synchronized to the "
+"database. You can even take an XML document, parse it using dom4j, and write "
+"it to the database with any of Hibernate's basic operations: <literal>persist"
+"(), saveOrUpdate(), merge(), delete(), replicate()</literal> (merging is not "
+"yet supported)."
+msgstr ""
+"Hibernateã¯XMLããªã¼ãæä½ããããã®APIã¨ãã¦dom4jããµãã¼ããã¦ãã¾ãã ãã¼"
+"ã¿ãã¼ã¹ããdom4jã®ããªã¼ã復å
ããã¯ã¨ãªãæ¸ããã¨ãã§ãã ããªã¼ã«å¯¾ãã¦"
+"è¡ã£ãä¿®æ£ã¯èªåçã«ãã¼ã¿ãã¼ã¹ã¨åæããã¾ãã ã¾ãXMLããã¥ã¡ã³ããåå¾ã"
+"ããã¨ãã§ããdom4jã使ã£ã¦ããã¥ã¡ã³ãããã¼ã¹ãã Hibernateã®ä»»æã®åºæ¬æä½"
+"ã使ã£ã¦ãã¼ã¿ãã¼ã¹ã¸æ¸ãè¾¼ããã¨ãã§ãã¾ããï¼ ã¤ã¾ãã<literal>persist(), "
+"saveOrUpdate(), merge(), delete(), replicate()</literal> æä½ã§ã(ãã¼ã¸ã¯ã¾"
+"ã ãµãã¼ããã¦ãã¾ãã)ã"
-#: index.docbook:32
-msgid "This feature has many applications including data import/export, externalization of entity data via JMS or SOAP and XSLT-based reporting."
-msgstr "ãã¼ã¿ã®ã¤ã³ãã¼ã/ã¨ã¯ã¹ãã¼ãã JMSã«ããã¨ã³ãã£ãã£ãã¼ã¿ã®å¤é¨åãSOAPãXSLTãã¼ã¹ã®ã¬ãã¼ããªã©ã ãã®æ©è½ã«ã¯å¤ãã®ç¨éãããã¾ãã"
+#. Tag: para
+#: xml.xml:32
+#, no-c-format
+msgid ""
+"This feature has many applications including data import/export, "
+"externalization of entity data via JMS or SOAP and XSLT-based reporting."
+msgstr ""
+"ãã¼ã¿ã®ã¤ã³ãã¼ã/ã¨ã¯ã¹ãã¼ãã JMSã«ããã¨ã³ãã£ãã£ãã¼ã¿ã®å¤é¨åãSOAPã"
+"XSLTãã¼ã¹ã®ã¬ãã¼ããªã©ã ãã®æ©è½ã«ã¯å¤ãã®ç¨éãããã¾ãã"
-#: index.docbook:37
-msgid "A single mapping may be used to simultaneously map properties of a class and nodes of an XML document to the database, or, if there is no class to map, it may be used to map just the XML."
-msgstr "åä¸ã®ãããã³ã°ã¯ãã¯ã©ã¹ã®ããããã£ã¨XMLããã¥ã¡ã³ãã®ãã¼ãã åæã«ãã¼ã¿ãã¼ã¹ã¸ãããã³ã°ããããã«ä½¿ããã¨ãã§ãã¾ãã ã¾ããããã³ã°ããã¯ã©ã¹ããªããã°ã XMLã ãããããã³ã°ããããã«ä½¿ããã¨ãã§ãã¾ãã"
+#. Tag: para
+#: xml.xml:37
+#, no-c-format
+msgid ""
+"A single mapping may be used to simultaneously map properties of a class and "
+"nodes of an XML document to the database, or, if there is no class to map, "
+"it may be used to map just the XML."
+msgstr ""
+"åä¸ã®ãããã³ã°ã¯ãã¯ã©ã¹ã®ããããã£ã¨XMLããã¥ã¡ã³ãã®ãã¼ãã åæã«ãã¼"
+"ã¿ãã¼ã¹ã¸ãããã³ã°ããããã«ä½¿ããã¨ãã§ãã¾ãã ã¾ããããã³ã°ããã¯ã©ã¹ã"
+"ãªããã°ã XMLã ãããããã³ã°ããããã«ä½¿ããã¨ãã§ãã¾ãã"
-#: index.docbook:44
+#. Tag: title
+#: xml.xml:44
+#, no-c-format
msgid "Specifying XML and class mapping together"
msgstr "XMLã¨ã¯ã©ã¹ã®ãããã³ã°ãåæã«æå®ãã"
-#: index.docbook:46
+#. Tag: para
+#: xml.xml:46
+#, no-c-format
msgid "Here is an example of mapping a POJO and XML simultaneously:"
msgstr "ããã¯POJOã¨XMLãåæã«ãããã³ã°ããä¾ã§ããï¼"
-#: index.docbook:50
+#. Tag: programlisting
+#: xml.xml:50
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Account\" \n"
- " table=\"ACCOUNTS\" \n"
- " node=\"account\">\n"
- " \n"
- " <id name=\"accountId\" \n"
- " column=\"ACCOUNT_ID\" \n"
- " node=\"@id\"/>\n"
- " \n"
- " <many-to-one name=\"customer\" \n"
- " column=\"CUSTOMER_ID\" \n"
- " node=\"customer/@id\" \n"
- " embed-xml=\"false\"/>\n"
- " \n"
- " <property name=\"balance\" \n"
- " column=\"BALANCE\" \n"
- " node=\"balance\"/>\n"
- " \n"
- " ...\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"Account\" \n"
+" table=\"ACCOUNTS\" \n"
+" node=\"account\">\n"
+" \n"
+" <id name=\"accountId\" \n"
+" column=\"ACCOUNT_ID\" \n"
+" node=\"@id\"/>\n"
+" \n"
+" <many-to-one name=\"customer\" \n"
+" column=\"CUSTOMER_ID\" \n"
+" node=\"customer/@id\" \n"
+" embed-xml=\"false\"/>\n"
+" \n"
+" <property name=\"balance\" \n"
+" column=\"BALANCE\" \n"
+" node=\"balance\"/>\n"
+" \n"
+" ...\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Account\"
-\n"
- " table=\"ACCOUNTS\"
-\n"
- " node=\"account\">
-\n"
- "
-\n"
- " <id name=\"accountId\"
-\n"
- " column=\"ACCOUNT_ID\"
-\n"
- " node=\"@id\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"customer\"
-\n"
- " column=\"CUSTOMER_ID\"
-\n"
- " node=\"customer/@id\"
-\n"
- " embed-xml=\"false\"/>
-\n"
- "
-\n"
- " <property name=\"balance\"
-\n"
- " column=\"BALANCE\"
-\n"
- " node=\"balance\"/>
-\n"
- "
-\n"
- " ...
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:54
+#. Tag: title
+#: xml.xml:54
+#, no-c-format
msgid "Specifying only an XML mapping"
msgstr "XMLãããã³ã°ã ããæå®ãã"
-#: index.docbook:56
+#. Tag: para
+#: xml.xml:56
+#, no-c-format
msgid "Here is an example where there is no POJO class:"
msgstr "ããã¯POJOã¯ã©ã¹ããªããããã³ã°ã®ä¾ã§ããï¼"
-#: index.docbook:60
+#. Tag: programlisting
+#: xml.xml:60
+#, no-c-format
msgid ""
- "<![CDATA[<class entity-name=\"Account\" \n"
- " table=\"ACCOUNTS\" \n"
- " node=\"account\">\n"
- " \n"
- " <id name=\"id\" \n"
- " column=\"ACCOUNT_ID\" \n"
- " node=\"@id\" \n"
- " type=\"string\"/>\n"
- " \n"
- " <many-to-one name=\"customerId\" \n"
- " column=\"CUSTOMER_ID\" \n"
- " node=\"customer/@id\" \n"
- " embed-xml=\"false\" \n"
- " entity-name=\"Customer\"/>\n"
- " \n"
- " <property name=\"balance\" \n"
- " column=\"BALANCE\" \n"
- " node=\"balance\" \n"
- " type=\"big_decimal\"/>\n"
- " \n"
- " ...\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class entity-name=\"Account\" \n"
+" table=\"ACCOUNTS\" \n"
+" node=\"account\">\n"
+" \n"
+" <id name=\"id\" \n"
+" column=\"ACCOUNT_ID\" \n"
+" node=\"@id\" \n"
+" type=\"string\"/>\n"
+" \n"
+" <many-to-one name=\"customerId\" \n"
+" column=\"CUSTOMER_ID\" \n"
+" node=\"customer/@id\" \n"
+" embed-xml=\"false\" \n"
+" entity-name=\"Customer\"/>\n"
+" \n"
+" <property name=\"balance\" \n"
+" column=\"BALANCE\" \n"
+" node=\"balance\" \n"
+" type=\"big_decimal\"/>\n"
+" \n"
+" ...\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class entity-name=\"Account\"
-\n"
- " table=\"ACCOUNTS\"
-\n"
- " node=\"account\">
-\n"
- "
-\n"
- " <id name=\"id\"
-\n"
- " column=\"ACCOUNT_ID\"
-\n"
- " node=\"@id\"
-\n"
- " type=\"string\"/>
-\n"
- "
-\n"
- " <many-to-one name=\"customerId\"
-\n"
- " column=\"CUSTOMER_ID\"
-\n"
- " node=\"customer/@id\"
-\n"
- " embed-xml=\"false\"
-\n"
- " entity-name=\"Customer\"/>
-\n"
- "
-\n"
- " <property name=\"balance\"
-\n"
- " column=\"BALANCE\"
-\n"
- " node=\"balance\"
-\n"
- " type=\"big_decimal\"/>
-\n"
- "
-\n"
- " ...
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:62
-msgid "This mapping allows you to access the data as a dom4j tree, or as a graph of property name/value pairs (java <literal>Map</literal>s). The property names are purely logical constructs that may be referred to in HQL queries."
-msgstr "ãã®ãããã³ã°ã«ãããdom4jããªã¼ãã ããããã£å/å¤ã®çµã®ã°ã©ãï¼javaã® <literal>Map</literal>ï¼ã¨ã㦠ãã¼ã¿ã«ã¢ã¯ã»ã¹ã§ãã¾ãã ããããã£ã®ååã¯ãHQLã¯ã¨ãªã¼å
ã§åç
§ã§ããç´ç²ãªè«çæ§é ã§ãã"
+#. Tag: para
+#: xml.xml:62
+#, no-c-format
+msgid ""
+"This mapping allows you to access the data as a dom4j tree, or as a graph of "
+"property name/value pairs (java <literal>Map</literal>s). The property names "
+"are purely logical constructs that may be referred to in HQL queries."
+msgstr ""
+"ãã®ãããã³ã°ã«ãããdom4jããªã¼ãã ããããã£å/å¤ã®çµã®ã°ã©ãï¼javaã® "
+"<literal>Map</literal>ï¼ã¨ã㦠ãã¼ã¿ã«ã¢ã¯ã»ã¹ã§ãã¾ãã ããããã£ã®åå"
+"ã¯ãHQLã¯ã¨ãªã¼å
ã§åç
§ã§ããç´ç²ãªè«çæ§é ã§ãã"
-#: index.docbook:73
+#. Tag: title
+#: xml.xml:73
+#, no-c-format
msgid "XML mapping metadata"
msgstr "XMLãããã³ã°ã®ã¡ã¿ãã¼ã¿"
-#: index.docbook:75
-msgid "Many Hibernate mapping elements accept the <literal>node</literal> attribute. This let's you specify the name of an XML attribute or element that holds the property or entity data. The format of the <literal>node</literal> attribute must be one of the following:"
-msgstr "å¤ãã®Hibernateã®ãããã³ã°è¦ç´ ã¯ã<literal>node</literal>ã屿§ã使ç¨ã§ãã¾ãã ããã«ããXML屿§ã®ååãããããã£ãã¨ã³ãã£ãã£ãã¼ã¿ãä¿æããè¦ç´ ãæå®ã§ãã¾ãã <literal>node</literal>ã屿§ã®ãã©ã¼ãããã¯ä»¥ä¸ã®ä¸ã®1ã¤ã§ãªããã°ãªãã¾ãããï¼"
+#. Tag: para
+#: xml.xml:75
+#, no-c-format
+msgid ""
+"Many Hibernate mapping elements accept the <literal>node</literal> "
+"attribute. This let's you specify the name of an XML attribute or element "
+"that holds the property or entity data. The format of the <literal>node</"
+"literal> attribute must be one of the following:"
+msgstr ""
+"å¤ãã®Hibernateã®ãããã³ã°è¦ç´ ã¯ã<literal>node</literal>ã屿§ã使ç¨ã§ãã¾"
+"ãã ããã«ããXML屿§ã®ååãããããã£ãã¨ã³ãã£ãã£ãã¼ã¿ãä¿æããè¦ç´ ã"
+"æå®ã§ãã¾ãã <literal>node</literal>ã屿§ã®ãã©ã¼ãããã¯ä»¥ä¸ã®ä¸ã®1ã¤ã§ãª"
+"ããã°ãªãã¾ãããï¼"
-#: index.docbook:84
+#. Tag: para
+#: xml.xml:84
+#, no-c-format
msgid "<literal>\"element-name\"</literal> - map to the named XML element"
-msgstr "<literal>\"element-name\"</literal> - æå®ããXMLè¦ç´ ã¸ãããã³ã°ãã¾ã"
+msgstr ""
+"<literal>\"element-name\"</literal> - æå®ããXMLè¦ç´ ã¸ãããã³ã°ãã¾ã"
-#: index.docbook:87
+#. Tag: para
+#: xml.xml:87
+#, no-c-format
msgid "<literal>\"@attribute-name\"</literal> - map to the named XML attribute"
-msgstr "<literal>\"@attribute-name\"</literal> - æå®ããXML屿§ã¸ãããã³ã°ãã¾ã"
+msgstr ""
+"<literal>\"@attribute-name\"</literal> - æå®ããXML屿§ã¸ãããã³ã°ãã¾ã"
-#: index.docbook:90
+#. Tag: para
+#: xml.xml:90
+#, no-c-format
msgid "<literal>\".\"</literal> - map to the parent element"
msgstr "<literal>\".\"</literal> -ã親è¦ç´ ã¸ãããã³ã°ãã¾ã"
-#: index.docbook:93
-msgid "<literal>\"element-name/@attribute-name\"</literal> - map to the named attribute of the named element"
-msgstr "<literal>\"element-name/@attribute-name\"</literal> - æå®ããã¨ã¬ã¡ã³ãã®æå®ãã屿§ã¸ãããã³ã°ãã¾ã"
+#. Tag: para
+#: xml.xml:93
+#, no-c-format
+msgid ""
+"<literal>\"element-name/@attribute-name\"</literal> - map to the named "
+"attribute of the named element"
+msgstr ""
+"<literal>\"element-name/@attribute-name\"</literal> - æå®ããã¨ã¬ã¡ã³ãã®æ"
+"å®ãã屿§ã¸ãããã³ã°ãã¾ã"
-#: index.docbook:100
-msgid "For collections and single valued associations, there is an additional <literal>embed-xml</literal> attribute. If <literal>embed-xml=\"true\"</literal>, the default, the XML tree for the associated entity (or collection of value type) will be embedded directly in the XML tree for the entity that owns the association. Otherwise, if <literal>embed-xml=\"false\"</literal>, then only the referenced identifier value will appear in the XML for single point associations and collections will simply not appear at all."
-msgstr "ã³ã¬ã¯ã·ã§ã³ã¨åä¸ã®å¤ã®é¢é£ã«å¯¾ãã¦ã ãã¾ãã® <literal>embed-xml</literal> 屿§ãããã¾ãã ããã©ã«ãã® <literal>embed-xml=\"true\"</literal> ã¨è¨å®ããå ´åã é¢é£ããã¨ã³ãã£ãã£(å¤åã®ã³ã¬ã¯ã·ã§ã³)ã®XMLããªã¼ã¯ã ç´æ¥é¢é£ãææããã¨ã³ãã£ãã£ã®XMLããªã¼å
ã«åãè¾¼ã¾ãã¾ãã å対ã«ã<literal>embed-xml=\"false\"</literal> ã¨è¨å®ããå ´åã åç
§ãããèå¥åã®å¤ã ããå¤é度ï¼å´ã®é¢é£ã«å¯¾ããXMLã«ç¾ãã åç´ã«ã³ã¬ã¯ã·ã§ã³ã¯ã¾ã£ããç¾ããªããªãã¾ãã"
+#. Tag: para
+#: xml.xml:100
+#, no-c-format
+msgid ""
+"For collections and single valued associations, there is an additional "
+"<literal>embed-xml</literal> attribute. If <literal>embed-xml=\"true\"</"
+"literal>, the default, the XML tree for the associated entity (or collection "
+"of value type) will be embedded directly in the XML tree for the entity that "
+"owns the association. Otherwise, if <literal>embed-xml=\"false\"</literal>, "
+"then only the referenced identifier value will appear in the XML for single "
+"point associations and collections will simply not appear at all."
+msgstr ""
+"ã³ã¬ã¯ã·ã§ã³ã¨åä¸ã®å¤ã®é¢é£ã«å¯¾ãã¦ã ãã¾ãã® <literal>embed-xml</literal> "
+"屿§ãããã¾ãã ããã©ã«ãã® <literal>embed-xml=\"true\"</literal> ã¨è¨å®ã"
+"ãå ´åã é¢é£ããã¨ã³ãã£ãã£(å¤åã®ã³ã¬ã¯ã·ã§ã³)ã®XMLããªã¼ã¯ã ç´æ¥é¢é£ãæ"
+"æããã¨ã³ãã£ãã£ã®XMLããªã¼å
ã«åãè¾¼ã¾ãã¾ãã å対ã«ã<literal>embed-xml="
+"\"false\"</literal> ã¨è¨å®ããå ´åã åç
§ãããèå¥åã®å¤ã ããå¤é度ï¼å´ã®é¢"
+"é£ã«å¯¾ããXMLã«ç¾ãã åç´ã«ã³ã¬ã¯ã·ã§ã³ã¯ã¾ã£ããç¾ããªããªãã¾ãã"
-#: index.docbook:110
-msgid "You should be careful not to leave <literal>embed-xml=\"true\"</literal> for too many associations, since XML does not deal well with circularity!"
-msgstr "ãã¾ãã«å¤ãã®é¢é£ã«å¯¾ã㦠<literal>embed-xml=\"true\"</literal> ã¨ããã¾ã¾ã«ããã®ã¯æ³¨æãã¹ãã§ãã XMLã¯å¾ªç°ããã¾ãæ±ãã¾ããã"
+#. Tag: para
+#: xml.xml:110
+#, no-c-format
+msgid ""
+"You should be careful not to leave <literal>embed-xml=\"true\"</literal> for "
+"too many associations, since XML does not deal well with circularity!"
+msgstr ""
+"ãã¾ãã«å¤ãã®é¢é£ã«å¯¾ã㦠<literal>embed-xml=\"true\"</literal> ã¨ããã¾ã¾ã«"
+"ããã®ã¯æ³¨æãã¹ãã§ãã XMLã¯å¾ªç°ããã¾ãæ±ãã¾ããã"
-#: index.docbook:115
+#. Tag: programlisting
+#: xml.xml:115
+#, no-c-format
msgid ""
- "<![CDATA[<class name=\"Customer\" \n"
- " table=\"CUSTOMER\" \n"
- " node=\"customer\">\n"
- " \n"
- " <id name=\"id\" \n"
- " column=\"CUST_ID\" \n"
- " node=\"@id\"/>\n"
- " \n"
- " <map name=\"accounts\" \n"
- " node=\".\" \n"
- " embed-xml=\"true\">\n"
- " <key column=\"CUSTOMER_ID\" \n"
- " not-null=\"true\"/>\n"
- " <map-key column=\"SHORT_DESC\" \n"
- " node=\"@short-desc\" \n"
- " type=\"string\"/>\n"
- " <one-to-many entity-name=\"Account\"\n"
- " embed-xml=\"false\" \n"
- " node=\"account\"/>\n"
- " </map>\n"
- " \n"
- " <component name=\"name\" \n"
- " node=\"name\">\n"
- " <property name=\"firstName\" \n"
- " node=\"first-name\"/>\n"
- " <property name=\"initial\" \n"
- " node=\"initial\"/>\n"
- " <property name=\"lastName\" \n"
- " node=\"last-name\"/>\n"
- " </component>\n"
- " \n"
- " ...\n"
- " \n"
- "</class>]]>"
+"<![CDATA[<class name=\"Customer\" \n"
+" table=\"CUSTOMER\" \n"
+" node=\"customer\">\n"
+" \n"
+" <id name=\"id\" \n"
+" column=\"CUST_ID\" \n"
+" node=\"@id\"/>\n"
+" \n"
+" <map name=\"accounts\" \n"
+" node=\".\" \n"
+" embed-xml=\"true\">\n"
+" <key column=\"CUSTOMER_ID\" \n"
+" not-null=\"true\"/>\n"
+" <map-key column=\"SHORT_DESC\" \n"
+" node=\"@short-desc\" \n"
+" type=\"string\"/>\n"
+" <one-to-many entity-name=\"Account\"\n"
+" embed-xml=\"false\" \n"
+" node=\"account\"/>\n"
+" </map>\n"
+" \n"
+" <component name=\"name\" \n"
+" node=\"name\">\n"
+" <property name=\"firstName\" \n"
+" node=\"first-name\"/>\n"
+" <property name=\"initial\" \n"
+" node=\"initial\"/>\n"
+" <property name=\"lastName\" \n"
+" node=\"last-name\"/>\n"
+" </component>\n"
+" \n"
+" ...\n"
+" \n"
+"</class>]]>"
msgstr ""
- "<![CDATA[<class name=\"Customer\"
-\n"
- " table=\"CUSTOMER\"
-\n"
- " node=\"customer\">
-\n"
- "
-\n"
- " <id name=\"id\"
-\n"
- " column=\"CUST_ID\"
-\n"
- " node=\"@id\"/>
-\n"
- "
-\n"
- " <map name=\"accounts\"
-\n"
- " node=\".\"
-\n"
- " embed-xml=\"true\">
-\n"
- " <key column=\"CUSTOMER_ID\"
-\n"
- " not-null=\"true\"/>
-\n"
- " <map-key column=\"SHORT_DESC\"
-\n"
- " node=\"@short-desc\"
-\n"
- " type=\"string\"/>
-\n"
- " <one-to-many entity-name=\"Account\"
-\n"
- " embed-xml=\"false\"
-\n"
- " node=\"account\"/>
-\n"
- " </map>
-\n"
- "
-\n"
- " <component name=\"name\"
-\n"
- " node=\"name\">
-\n"
- " <property name=\"firstName\"
-\n"
- " node=\"first-name\"/>
-\n"
- " <property name=\"initial\"
-\n"
- " node=\"initial\"/>
-\n"
- " <property name=\"lastName\"
-\n"
- " node=\"last-name\"/>
-\n"
- " </component>
-\n"
- "
-\n"
- " ...
-\n"
- "
-\n"
- "</class>]]>"
-#: index.docbook:117
-msgid "in this case, we have decided to embed the collection of account ids, but not the actual account data. The following HQL query:"
-msgstr "ãã®ä¾ã§ã¯ãå®éã®accountã®ãã¼ã¿ã§ã¯ãªãã accountã®idã®ã³ã¬ã¯ã·ã§ã³ãåãè¾¼ããã¨ã«ãã¾ããã ç¶ãã®HQLã¯ã¨ãªã§ãï¼"
+#. Tag: para
+#: xml.xml:117
+#, no-c-format
+msgid ""
+"in this case, we have decided to embed the collection of account ids, but "
+"not the actual account data. The following HQL query:"
+msgstr ""
+"ãã®ä¾ã§ã¯ãå®éã®accountã®ãã¼ã¿ã§ã¯ãªãã accountã®idã®ã³ã¬ã¯ã·ã§ã³ãåãè¾¼"
+"ããã¨ã«ãã¾ããã ç¶ãã®HQLã¯ã¨ãªã§ãï¼"
-#: index.docbook:122
-msgid "<![CDATA[from Customer c left join fetch c.accounts where c.lastName like :lastName]]>"
-msgstr "<![CDATA[from Customer c left join fetch c.accounts where c.lastName like :lastName]]>"
+#. Tag: programlisting
+#: xml.xml:122
+#, no-c-format
+msgid ""
+"<![CDATA[from Customer c left join fetch c.accounts where c.lastName like :"
+"lastName]]>"
+msgstr ""
-#: index.docbook:124
+#. Tag: para
+#: xml.xml:124
+#, no-c-format
msgid "Would return datasets such as this:"
msgstr "ãã®ãããªãã¼ã¿ã»ãããè¿ãã§ããã"
-#: index.docbook:128
+#. Tag: programlisting
+#: xml.xml:128
+#, no-c-format
msgid ""
- "<![CDATA[<customer id=\"123456789\">\n"
- " <account short-desc=\"Savings\">987632567</account>\n"
- " <account short-desc=\"Credit Card\">985612323</account>\n"
- " <name>\n"
- " <first-name>Gavin</first-name>\n"
- " <initial>A</initial>\n"
- " <last-name>King</last-name>\n"
- " </name>\n"
- " ...\n"
- "</customer>]]>"
+"<![CDATA[<customer id=\"123456789\">\n"
+" <account short-desc=\"Savings\">987632567</account>\n"
+" <account short-desc=\"Credit Card\">985612323</account>\n"
+" <name>\n"
+" <first-name>Gavin</first-name>\n"
+" <initial>A</initial>\n"
+" <last-name>King</last-name>\n"
+" </name>\n"
+" ...\n"
+"</customer>]]>"
msgstr ""
- "<![CDATA[<customer id=\"123456789\">
-\n"
- " <account short-desc=\"Savings\">987632567</account>
-\n"
- " <account short-desc=\"Credit Card\">985612323</account>
-\n"
- " <name>
-\n"
- " <first-name>Gavin</first-name>
-\n"
- " <initial>A</initial>
-\n"
- " <last-name>King</last-name>
-\n"
- " </name>
-\n"
- " ...
-\n"
- "</customer>]]>"
-#: index.docbook:130
-msgid "If you set <literal>embed-xml=\"true\"</literal> on the <literal><one-to-many></literal> mapping, the data might look more like this:"
-msgstr "<literal><one-to-many></literal> ãããã³ã°ã§ <literal>embed-xml=\"true\"</literal> ã¨è¨å®ããå ´åã ãã¼ã¿ã¯ãã®ããã«ãªãã§ãããã"
+#. Tag: para
+#: xml.xml:130
+#, no-c-format
+msgid ""
+"If you set <literal>embed-xml=\"true\"</literal> on the <literal><one-to-"
+"many></literal> mapping, the data might look more like this:"
+msgstr ""
+"<literal><one-to-many></literal> ãããã³ã°ã§ <literal>embed-xml=\"true"
+"\"</literal> ã¨è¨å®ããå ´åã ãã¼ã¿ã¯ãã®ããã«ãªãã§ãããã"
-#: index.docbook:135
+#. Tag: programlisting
+#: xml.xml:135
+#, no-c-format
msgid ""
- "<![CDATA[<customer id=\"123456789\">\n"
- " <account id=\"987632567\" short-desc=\"Savings\">\n"
- " <customer id=\"123456789\"/>\n"
- " <balance>100.29</balance>\n"
- " </account>\n"
- " <account id=\"985612323\" short-desc=\"Credit Card\">\n"
- " <customer id=\"123456789\"/>\n"
- " <balance>-2370.34</balance>\n"
- " </account>\n"
- " <name>\n"
- " <first-name>Gavin</first-name>\n"
- " <initial>A</initial>\n"
- " <last-name>King</last-name>\n"
- " </name>\n"
- " ...\n"
- "</customer>]]>"
+"<![CDATA[<customer id=\"123456789\">\n"
+" <account id=\"987632567\" short-desc=\"Savings\">\n"
+" <customer id=\"123456789\"/>\n"
+" <balance>100.29</balance>\n"
+" </account>\n"
+" <account id=\"985612323\" short-desc=\"Credit Card\">\n"
+" <customer id=\"123456789\"/>\n"
+" <balance>-2370.34</balance>\n"
+" </account>\n"
+" <name>\n"
+" <first-name>Gavin</first-name>\n"
+" <initial>A</initial>\n"
+" <last-name>King</last-name>\n"
+" </name>\n"
+" ...\n"
+"</customer>]]>"
msgstr ""
- "<![CDATA[<customer id=\"123456789\">
-\n"
- " <account id=\"987632567\" short-desc=\"Savings\">
-\n"
- " <customer id=\"123456789\"/>
-\n"
- " <balance>100.29</balance>
-\n"
- " </account>
-\n"
- " <account id=\"985612323\" short-desc=\"Credit Card\">
-\n"
- " <customer id=\"123456789\"/>
-\n"
- " <balance>-2370.34</balance>
-\n"
- " </account>
-\n"
- " <name>
-\n"
- " <first-name>Gavin</first-name>
-\n"
- " <initial>A</initial>
-\n"
- " <last-name>King</last-name>
-\n"
- " </name>
-\n"
- " ...
-\n"
- "</customer>]]>"
-#: index.docbook:141
+#. Tag: title
+#: xml.xml:141
+#, no-c-format
msgid "Manipulating XML data"
msgstr "XMLãã¼ã¿ãæ±ã"
-#: index.docbook:143
-msgid "Let's rearead and update XML documents in the application. We do this by obtaining a dom4j session:"
-msgstr "XMLããã¥ã¡ã³ãããã¢ããªã±ã¼ã·ã§ã³å
ã§åèªã¿è¾¼ã¿ãæ´æ°ããã¦ã¿ã¾ãããã 以ä¸ã§ã¯dom4jã®ã»ãã·ã§ã³ãåå¾ãããã¨ã§è¡ãã¾ããï¼"
+#. Tag: para
+#: xml.xml:143
+#, no-c-format
+msgid ""
+"Let's rearead and update XML documents in the application. We do this by "
+"obtaining a dom4j session:"
+msgstr ""
+"XMLããã¥ã¡ã³ãããã¢ããªã±ã¼ã·ã§ã³å
ã§åèªã¿è¾¼ã¿ãæ´æ°ããã¦ã¿ã¾ãããã 以"
+"ä¸ã§ã¯dom4jã®ã»ãã·ã§ã³ãåå¾ãããã¨ã§è¡ãã¾ããï¼"
-#: index.docbook:148
+#. Tag: programlisting
+#: xml.xml:148
+#, no-c-format
msgid ""
- "<![CDATA[Document doc = ....;\n"
- " \n"
- "Session session = factory.openSession();\n"
- "Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
- "Transaction tx = session.beginTransaction();\n"
- "\n"
- "List results = dom4jSession\n"
- " .createQuery(\"from Customer c left join fetch c.accounts where c.lastName like :lastName\")\n"
- " .list();\n"
- "for ( int i=0; i<results.size(); i++ ) {\n"
- " //add the customer data to the XML document\n"
- " Element customer = (Element) results.get(i);\n"
- " doc.add(customer);\n"
- "}\n"
- "\n"
- "tx.commit();\n"
- "session.close();]]>"
+"<![CDATA[Document doc = ....;\n"
+" \n"
+"Session session = factory.openSession();\n"
+"Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
+"Transaction tx = session.beginTransaction();\n"
+"\n"
+"List results = dom4jSession\n"
+" .createQuery(\"from Customer c left join fetch c.accounts where c."
+"lastName like :lastName\")\n"
+" .list();\n"
+"for ( int i=0; i<results.size(); i++ ) {\n"
+" //add the customer data to the XML document\n"
+" Element customer = (Element) results.get(i);\n"
+" doc.add(customer);\n"
+"}\n"
+"\n"
+"tx.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[Document doc = ....;
-\n"
- "
-\n"
- "Session session = factory.openSession();
-\n"
- "Session dom4jSession = session.getSession(EntityMode.DOM4J);
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "List results = dom4jSession
-\n"
- " .createQuery(\"from Customer c left join fetch c.accounts where c.lastName like :lastName\")
-\n"
- " .list();
-\n"
- "for ( int i=0; i<results.size(); i++ ) {
-\n"
- " //add the customer data to the XML document
-\n"
- " Element customer = (Element) results.get(i);
-\n"
- " doc.getRootElement().add(customer);
-\n"
- "}
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
-#: index.docbook:150
+#. Tag: programlisting
+#: xml.xml:150
+#, no-c-format
msgid ""
- "<![CDATA[Session session = factory.openSession();\n"
- "Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
- "Transaction tx = session.beginTransaction();\n"
- "\n"
- "Element cust = (Element) dom4jSession.get(\"Customer\", customerId);\n"
- "for ( int i=0; i<results.size(); i++ ) {\n"
- " Element customer = (Element) results.get(i);\n"
- " //change the customer name in the XML and database\n"
- " Element name = customer.element(\"name\");\n"
- " name.element(\"first-name\").setText(firstName);\n"
- " name.element(\"initial\").setText(initial);\n"
- " name.element(\"last-name\").setText(lastName);\n"
- "}\n"
- "\n"
- "tx.commit();\n"
- "session.close();]]>"
+"<![CDATA[Session session = factory.openSession();\n"
+"Session dom4jSession = session.getSession(EntityMode.DOM4J);\n"
+"Transaction tx = session.beginTransaction();\n"
+"\n"
+"Element cust = (Element) dom4jSession.get(\"Customer\", customerId);\n"
+"for ( int i=0; i<results.size(); i++ ) {\n"
+" Element customer = (Element) results.get(i);\n"
+" //change the customer name in the XML and database\n"
+" Element name = customer.element(\"name\");\n"
+" name.element(\"first-name\").setText(firstName);\n"
+" name.element(\"initial\").setText(initial);\n"
+" name.element(\"last-name\").setText(lastName);\n"
+"}\n"
+"\n"
+"tx.commit();\n"
+"session.close();]]>"
msgstr ""
- "<![CDATA[Session session = factory.openSession();
-\n"
- "Session dom4jSession = session.getSession(EntityMode.DOM4J);
-\n"
- "Transaction tx = session.beginTransaction();
-\n"
- "
-\n"
- "Element cust = (Element) dom4jSession.get(\"Customer\", customerId);
-\n"
- "for ( int i=0; i<results.size(); i++ ) {
-\n"
- " Element customer = (Element) results.get(i);
-\n"
- " //change the customer name in the XML and database
-\n"
- " Element name = customer.element(\"name\");
-\n"
- " name.element(\"first-name\").setText(firstName);
-\n"
- " name.element(\"initial\").setText(initial);
-\n"
- " name.element(\"last-name\").setText(lastName);
-\n"
- "}
-\n"
- "
-\n"
- "tx.commit();
-\n"
- "session.close();]]>"
-#: index.docbook:152
-msgid "It is extremely useful to combine this feature with Hibernate's <literal>replicate()</literal> operation to implement XML-based data import/export."
-msgstr "XMLãã¼ã¹ã®ãã¼ã¿ã®ã¤ã³ãã¼ã/ã¨ã¯ã¹ãã¼ããå®è£
ããããã«ã Hibernateã® <literal>replicate()</literal> æä½ããã®æ©è½ãçµã³ã¤ããã®ã¯ 極ãã¦æå¹ã§ãã"
-
-msgid "ROLES_OF_TRANSLATORS"
-msgstr "<!--TRANS:ROLES_OF_TRANSLATORS-->"
-
-msgid "CREDIT_FOR_TRANSLATORS"
-msgstr "<!--TRANS:CREDIT_FOR_TRANSLATORS-->"
-
+#. Tag: para
+#: xml.xml:152
+#, no-c-format
+msgid ""
+"It is extremely useful to combine this feature with Hibernate's "
+"<literal>replicate()</literal> operation to implement XML-based data import/"
+"export."
+msgstr ""
+"XMLãã¼ã¹ã®ãã¼ã¿ã®ã¤ã³ãã¼ã/ã¨ã¯ã¹ãã¼ããå®è£
ããããã«ã Hibernateã® "
+"<literal>replicate()</literal> æä½ããã®æ©è½ãçµã³ã¤ããã®ã¯ 極ãã¦æå¹ã§"
+"ãã"
More information about the hibernate-commits
mailing list