forked from hibernate/hibernate-orm
-
Notifications
You must be signed in to change notification settings - Fork 18
/
architecture.po
654 lines (597 loc) · 32.9 KB
/
architecture.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
# translation of Collection_Mapping.po to
# Xi HUANG <xhuang@redhat.com>, 2007, 2010.
msgid ""
msgstr ""
"Project-Id-Version: Collection_Mapping\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2010-07-21 05:38+0000\n"
"PO-Revision-Date: 2010-01-13 10:25+1000\n"
"Last-Translator: Xi HUANG <xhuang@redhat.com>\n"
"Language-Team: <en@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: architecture.xml:34
#, no-c-format
msgid "Architecture"
msgstr "アーキテクチャ"
#. Tag: title
#: architecture.xml:37
#, no-c-format
msgid "Overview"
msgstr "概観"
#. Tag: para
#: architecture.xml:39
#, no-c-format
msgid ""
"The diagram below provides a high-level view of the Hibernate architecture:"
msgstr "Hibernate アーキテクチャの(非常に)高いレベルからのビュー:"
#. Tag: para
#: architecture.xml:52
#, no-c-format
msgid ""
"Unfortunately we cannot provide a detailed view of all possible runtime "
"architectures. Hibernate is sufficiently flexible to be used in a number of "
"ways in many, many architectures. We will, however, illustrate 2 "
"specifically since they are extremes."
msgstr ""
#. Tag: title
#: architecture.xml:59
#, fuzzy, no-c-format
msgid "Minimal architecture"
msgstr "アーキテクチャ"
#. Tag: para
#: architecture.xml:61
#, fuzzy, no-c-format
msgid ""
"The \"minimal\" architecture has the application manage its own JDBC "
"connections and provide those connections to Hibernate; additionally the "
"application manages transactions for itself. This approach uses a minimal "
"subset of Hibernate APIs."
msgstr ""
"ここで実行時アーキテクチャのより詳細なビューをお見せしましょう。あいにく、 "
"Hibernate は柔軟であり、いろいろなアプローチをサポートしています。ここでは、2"
"つの極端な例をお見せします。「軽い」アーキテクチャでは、アプリケーションが自"
"前の JDBC コネクションを用意し、アプリケーション自身がトランザクションを管理"
"します。この方法は、 Hibernate API の最小限のサブセットを使います:"
#. Tag: title
#: architecture.xml:77
#, no-c-format
msgid "Comprehensive architecture"
msgstr ""
#. Tag: para
#: architecture.xml:79
#, fuzzy, no-c-format
msgid ""
"The \"comprehensive\" architecture abstracts the application away from the "
"underlying JDBC/JTA APIs and allows Hibernate to manage the details."
msgstr ""
"「軽い」アーキテクチャは、アプリケーションから、その下に位置する JDBC や JTA "
"の API を取り払って抽象化し、その詳細の面倒を Hibernate に見させます。"
#. Tag: title
#: architecture.xml:94
#, no-c-format
msgid "Basic APIs"
msgstr ""
#. Tag: para
#: architecture.xml:95
#, no-c-format
msgid ""
"Here are quick discussions about some of the API objects depicted in the "
"preceding diagrams (you will see them again in more detail in later "
"chapters)."
msgstr ""
#. Tag: term
#: architecture.xml:100
#, fuzzy, no-c-format
msgid ""
"SessionFactory (<interfacename>org.hibernate.SessionFactory</interfacename>)"
msgstr "SessionFactory (<literal>org.hibernate.SessionFactory</literal>)"
#. Tag: para
#: architecture.xml:102
#, fuzzy, no-c-format
msgid ""
"A thread-safe, immutable cache of compiled mappings for a single database. A "
"factory for <interfacename>org.hibernate.Session</interfacename> instances. "
"A client of <interfacename>org.hibernate.connection.ConnectionProvider</"
"interfacename>. Optionally maintains a <literal>second level cache</literal> "
"of data that is reusable between transactions at a process or cluster level."
msgstr ""
"1つのデータベースに対するコンパイルされたマッピングのスレッドセーフな(更新不"
"能の)キャッシュ。 <literal>Session</literal> のファクトリであり、 "
"<literal>ConnectionProvider</literal> のクライアント。オプションとして、プロ"
"セスまたはクラスタレベルにおいて、トランザクション間で再利用可能なデータの"
"(二次)キャッシュを持ちます。"
#. Tag: term
#: architecture.xml:112
#, fuzzy, no-c-format
msgid "Session (<interfacename>org.hibernate.Session</interfacename>)"
msgstr "Session (<literal>org.hibernate.Session</literal>)"
#. Tag: para
#: architecture.xml:114
#, fuzzy, no-c-format
msgid ""
"A single-threaded, short-lived object representing a conversation between "
"the application and the persistent store. Wraps a JDBC <interfacename>java."
"sql.Connection</interfacename>. Factory for <interfacename>org.hibernate."
"Transaction</interfacename>. Maintains a <literal>first level cache</"
"literal> of persistent the application's persistent objects and collections; "
"this cache is used when navigating the object graph or looking up objects by "
"identifier."
msgstr ""
"アプリケーションと永続ストアとの対話を表す、シングルスレッドで短命のオブジェ"
"クト。 JDBC コネクションをラップします。 <literal>Transaction</literal> の"
"ファクトリです。永続オブジェクトの必須の(一次)キャッシュを保持します。この"
"キャッシュはオブジェクトグラフをナビゲーションする時や、識別子でオブジェクト"
"を検索する時に使われます。"
#. Tag: term
#: architecture.xml:126
#, no-c-format
msgid "Persistent objects and collections"
msgstr "Persistent objects と Collections"
#. Tag: para
#: architecture.xml:128
#, fuzzy, no-c-format
msgid ""
"Short-lived, single threaded objects containing persistent state and "
"business function. These can be ordinary JavaBeans/POJOs. They are "
"associated with exactly one <interfacename>org.hibernate.Session</"
"interfacename>. Once the <interfacename>org.hibernate.Session</"
"interfacename> is closed, they will be detached and free to use in any "
"application layer (for example, directly as data transfer objects to and "
"from presentation). <xref linkend=\"objectstate\"/> discusses transient, "
"persistent and detached object states."
msgstr ""
"永続化状態とビジネス機能を持つ、短命でシングルスレッドのオブジェクト。これは"
"通常の JavaBeans/POJO のこともありますが、特徴的なことは、その時点での(ただ1"
"つの) <literal>Session</literal> と関連していることです。 <literal>Session</"
"literal> がクローズされるとすぐに、それらは切り離されて他のアプリケーション層"
"から自由に使うことができます(例えばデータトランスファオブジェクトとして、プ"
"レゼンテーション層から、またはプレゼンテーション層へ直接使用できます)。"
#. Tag: term
#: architecture.xml:140
#, no-c-format
msgid "Transient and detached objects and collections"
msgstr "Transient と detached な objects と Collections"
#. Tag: para
#: architecture.xml:142
#, fuzzy, no-c-format
msgid ""
"Instances of persistent classes that are not currently associated with a "
"<interfacename>org.hibernate.Session</interfacename>. They may have been "
"instantiated by the application and not yet persisted, or they may have been "
"instantiated by a closed <interfacename>org.hibernate.Session</"
"interfacename>. <xref linkend=\"objectstate\"/> discusses transient, "
"persistent and detached object states."
msgstr ""
"現時点では <literal>Session</literal> と関連していない、永続クラスのインスタ"
"ンス。すでにアプリケーション側でインスタンス化されていて、まだ永続化されてい"
"ないか、クローズされた <literal>Session</literal> でインスタンス化されたかの"
"どちらかです。"
#. Tag: term
#: architecture.xml:152
#, fuzzy, no-c-format
msgid "Transaction (<interfacename>org.hibernate.Transaction</interfacename>)"
msgstr "Transaction (<literal>org.hibernate.Transaction</literal>)"
#. Tag: para
#: architecture.xml:154
#, fuzzy, no-c-format
msgid ""
"(Optional) A single-threaded, short-lived object used by the application to "
"specify atomic units of work. It abstracts the application from the "
"underlying JDBC, JTA or CORBA transaction. A <interfacename>org.hibernate."
"Session</interfacename> might span several <interfacename>org.hibernate."
"Transaction</interfacename>s in some cases. However, transaction "
"demarcation, either using the underlying API or <interfacename>org.hibernate."
"Transaction</interfacename>, is never optional."
msgstr ""
"(オプション) 原子性を持つ作業単位 (Unit of Work) を指定するために、アプリケー"
"ションが使用する、シングルスレッドで短命なオブジェクト。下に位置する JDBC 、 "
"JTA 、 CORBA トランザクションからアプリケーションを抽象化します。 "
"<literal>Session</literal> は、時にはいくつかの <literal>Transaction</"
"literal> をまたがるかもしれません。しかし、下の層の API を使うにせよ、 "
"<literal>Transaction</literal> を使うにせよ、トランザクション境界を設定するこ"
"とは、決してオプションではありません。"
#. Tag: term
#: architecture.xml:165
#, fuzzy, no-c-format
msgid ""
"ConnectionProvider (<interfacename>org.hibernate.connection."
"ConnectionProvider</interfacename>)"
msgstr ""
"ConnectionProvider (<literal>org.hibernate.connection.ConnectionProvider</"
"literal>)"
#. Tag: para
#: architecture.xml:167
#, fuzzy, no-c-format
msgid ""
"(Optional) A factory for, and pool of, JDBC connections. It abstracts the "
"application from underlying <interfacename>javax.sql.DataSource</"
"interfacename> or <interfacename>java.sql.DriverManager</interfacename>. It "
"is not exposed to application, but it can be extended and/or implemented by "
"the developer."
msgstr ""
"(オプション) JDBC コネクション(とそのプール)のファクトリ。下の層に位置する "
"<literal>Datasource</literal> や <literal>DriverManager</literal> からアプリ"
"ケーションを抽象化します。アプリケーションには公開されませんが、開発者が継承"
"または実装することは可能です。"
#. Tag: term
#: architecture.xml:176
#, fuzzy, no-c-format
msgid ""
"TransactionFactory (<interfacename>org.hibernate.TransactionFactory</"
"interfacename>)"
msgstr ""
"TransactionFactory (<literal>org.hibernate.TransactionFactory</literal>)"
#. Tag: para
#: architecture.xml:178
#, fuzzy, no-c-format
msgid ""
"(Optional) A factory for <interfacename>org.hibernate.Transaction</"
"interfacename> instances. It is not exposed to the application, but it can "
"be extended and/or implemented by the developer."
msgstr ""
"(オプション) <literal>Transaction</literal> インスタンスのファクトリ。アプリ"
"ケーションには公開されませんが、開発者が継承または実装することは可能です。"
#. Tag: emphasis
#: architecture.xml:186
#, fuzzy, no-c-format
msgid "Extension Interfaces"
msgstr "<emphasis>Extension Interfaces</emphasis>"
#. Tag: para
#: architecture.xml:188
#, no-c-format
msgid ""
"Hibernate offers a range of optional extension interfaces you can implement "
"to customize the behavior of your persistence layer. See the API "
"documentation for details."
msgstr ""
"Hibernate は、永続層の振る舞いをカスタマイズするために、多くのオプション拡張"
"インタフェースを用意しています。詳細は API ドキュメントを参照してください。"
#. Tag: title
#: architecture.xml:200
#, no-c-format
msgid "JMX Integration"
msgstr "JMX との統合"
#. Tag: para
#: architecture.xml:202
#, no-c-format
msgid ""
"JMX is the J2EE standard for the management of Java components. Hibernate "
"can be managed via a JMX standard service. AN MBean implementation is "
"provided in the distribution: <literal>org.hibernate.jmx.HibernateService</"
"literal>."
msgstr ""
"JMX は Java コンポーネント管理の J2EE 標準です。 JMX 標準サービスを通して、 "
"Hibernate は管理されます。ディストリビューションの中に <literal>org."
"hibernate.jmx.HibernateService</literal> という MBean 実装を用意しています。"
#. Tag: para
#: architecture.xml:208
#, fuzzy, no-c-format
msgid ""
"Another feature available as a JMX service is runtime Hibernate statistics. "
"See <xref linkend=\"configuration-optional-statistics\"/> for more "
"information."
msgstr ""
"JMX サービスとして利用可能な他の機能に、 Hibernate 実行時統計情報があります。"
"<xref linkend=\"configuration-optional-statistics\"/> を見てください。"
#. Tag: title
#: architecture.xml:215
#, no-c-format
msgid "Contextual sessions"
msgstr "コンテキスト上のセッション"
#. Tag: para
#: architecture.xml:216
#, no-c-format
msgid ""
"Most applications using Hibernate need some form of \"contextual\" session, "
"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; 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 のような)サードパーティのフレーム"
"ワークを利用するかのいずれかでした。"
#. Tag: para
#: architecture.xml:225
#, fuzzy, 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. Given "
"the maturity of the numerous stand-alone <literal>JTA TransactionManager</"
"literal> implementations, 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 are all you 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> ベースの"
"「コンテキスト上のセッション」を使うしかないでしょう。"
#. Tag: para
#: architecture.xml:235
#, 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> ) が追加されました。"
#. Tag: para
#: architecture.xml:242
#, fuzzy, 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つ提供していま"
"す。"
#. Tag: para
#: architecture.xml:252
#, 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 を参照してください。"
#. Tag: para
#: architecture.xml:260
#, no-c-format
msgid ""
"<literal>org.hibernate.context.ThreadLocalSessionContext</literal>:current "
"sessions are tracked by thread of execution. See the Javadocs for details."
msgstr ""
"<literal>org.hibernate.context.ThreadLocalSessionContext</literal> - スレッド"
"の実行によって、現在のセッションが追跡されます。詳細は Javadoc を参照してくだ"
"さい。"
#. Tag: para
#: architecture.xml:266
#, 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 not open, flush, or close a <literal>Session</literal>."
msgstr ""
"<literal>org.hibernate.context.ManagedSessionContext</literal> - スレッドの実"
"行によって、現在のセッションが追跡されます。しかし、このクラスの static メ"
"ソッドで <literal>Session</literal> インスタンスをバインド/アンバインドする責"
"任はあなたにあります。これは決して <literal>Session</literal> をオープン、フ"
"ラッシュ、クローズしません。"
#. Tag: para
#: architecture.xml:275
#, fuzzy, no-c-format
msgid ""
"The first two implementations provide a \"one session - one database "
"transaction\" programming model. This is 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 programmatic transaction demarcation in plain JSE without JTA, you "
"are advised to use the Hibernate <literal>Transaction</literal> API to hide "
"the underlying transaction system from your code. If you use JTA, you can "
"utilize the JTA interfaces to demarcate transactions. If you execute in an "
"EJB container that supports CMT, transaction boundaries are defined "
"declaratively and you do not 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\"/> を参照してください。"
#. Tag: para
#: architecture.xml:287
#, 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. For backwards "
"compatibility, if this configuration parameter 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 ""
"<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\"というそれぞれの省略名も用意されています。"
#~ msgid "Instance states"
#~ msgstr "インスタンスの状態"
#~ msgid ""
#~ "An instance of a persistent class can be in one of three different "
#~ "states. These states are defined in relation to a <emphasis>persistence "
#~ "context</emphasis>. The Hibernate <literal>Session</literal> object is "
#~ "the persistence context. The three different states are as follows:"
#~ msgstr ""
#~ "永続クラスのインスタンスは、次の3つの異なる状態のどれかになります。それ"
#~ "は、 <emphasis>永続コンテキスト</emphasis> によって決まります。 Hibernate "
#~ "の <literal>Session</literal> オブジェクトが、永続コンテキストになります:"
#~ msgid "transient"
#~ msgstr "transient"
#, fuzzy
#~ msgid ""
#~ "The instance is not associated with any persistence context. It has no "
#~ "persistent identity or primary key value."
#~ msgstr ""
#~ "この状態のインスタンスは、現在もそして過去においても、永続コンテキストに関"
#~ "連づいていません。また、永続 ID (主キーの値)を 持っていません。"
#~ msgid "persistent"
#~ msgstr "persistent"
#~ msgid ""
#~ "The instance is currently associated with a persistence context. It has a "
#~ "persistent identity (primary key value) and can have a corresponding row "
#~ "in the database. For a particular persistence context, Hibernate "
#~ "<emphasis>guarantees</emphasis> that persistent identity is equivalent to "
#~ "Java identity in relation to the in-memory location of the object."
#~ msgstr ""
#~ "この状態のインスタンスは、その時点で永続コンテキストに関連づいています。ま"
#~ "た、永続 ID (主キーの値)を持ち、たいていはデータベースに対応する行を持っ"
#~ "ているでしょう。特定の永続コンテキストのなかでは、永続 ID が Java の ID "
#~ "(オブジェクトのメモリ上の位置)と同じであることを Hibernate が <emphasis>"
#~ "保証</emphasis> します。"
#~ msgid "detached"
#~ msgstr "detached"
#~ 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 can have a corresponding row in the "
#~ "database. For detached instances, Hibernate does not guarantee the "
#~ "relationship between persistent identity and Java identity."
#~ msgstr ""
#~ "この状態のインスタンスは、かつて永続コンテキストに関連づけられたが、そのコ"
#~ "ンテキストがクローズされたか、あるいは、他のプロセスにそのインスタンスがシ"
#~ "リアライズされたかです。このインスタンスは、永続 ID を持ち、たいていはデー"
#~ "タベースに対応する行を持っているでしょう。分離インスタンスに対しては、永"
#~ "続 ID と Java の ID との関連は、 Hibernate が保証しません。"
#, fuzzy
#~ msgid ""
#~ "We do not have the scope in this document to provide a more detailed view "
#~ "of all the runtime architectures available; Hibernate is flexible and "
#~ "supports several different approaches. We will, however, show the two "
#~ "extremes: \"minimal\" architecture and \"comprehensive\" architecture."
#~ msgstr ""
#~ "ここで実行時アーキテクチャのより詳細なビューをお見せしましょう。あいに"
#~ "く、 Hibernate は柔軟であり、いろいろなアプローチをサポートしています。こ"
#~ "こでは、2つの極端な例をお見せします。「軽い」アーキテクチャでは、アプリ"
#~ "ケーションが自前の JDBC コネクションを用意し、アプリケーション自身がトラン"
#~ "ザクションを管理します。この方法は、 Hibernate API の最小限のサブセットを"
#~ "使います:"
#~ msgid ""
#~ "This next diagram illustrates how Hibernate utilizes database and "
#~ "configuration data to provide persistence services, and persistent "
#~ "objects, to the application."
#~ msgstr ""
#~ "この図は Hibernate が、アプリケーションに対して永続化サービス (と永続オブ"
#~ "ジェクト)を提供するために、データベースと設定データを使うことを示していま"
#~ "す。"
#~ msgid "Here are some definitions of the objects depicted in the diagrams:"
#~ msgstr "以下は、図に含まれるオブジェクトの定義です:"
#~ msgid ""
#~ "Given a \"minimal\" architecture, the application bypasses the "
#~ "<literal>Transaction</literal>/<literal>TransactionFactory</literal> and/"
#~ "or <literal>ConnectionProvider</literal> APIs to communicate with JTA or "
#~ "JDBC directly."
#~ msgstr ""
#~ "「軽い」アーキテクチャでは、アプリケーションは直接 JTA や JDBC と対話する"
#~ "ために、 <literal>Transaction</literal> や <literal>TransactionFactory</"
#~ "literal> や <literal>ConnectionProvider</literal> の API をバイパスしま"
#~ "す。"
#~ msgid ""
#~ "For an example of how to deploy Hibernate as a JMX service on the JBoss "
#~ "Application Server, please see the JBoss User Guide. JBoss AS also "
#~ "provides these benefits if you deploy using JMX:"
#~ msgstr ""
#~ "JBoss アプリケーションサーバー上に Hibernate を JMX サービスとしてデプロイ"
#~ "する方法の例としては、 JBoss ユーザーガイドを参照してください。 JBoss アプ"
#~ "リケーションサーバーにおいて、 JMX を使ってデプロイすると、次のメリットが"
#~ "得られます:"
#~ 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 that you no longer have to manually open and "
#~ "close the <literal>Session</literal>; this becomes the job of a JBoss EJB "
#~ "interceptor. You also do not have to worry about transaction demarcation "
#~ "in your code (if you would like to write a portable persistence layer 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> をコールしてください。"
#~ msgid ""
#~ "<emphasis>HAR deployment</emphasis>: the Hibernate JMX service is "
#~ "deployed using a JBoss service deployment descriptor in an EAR and/or SAR "
#~ "file, as it supports all the usual configuration options of a Hibernate "
#~ "<literal>SessionFactory</literal>. However, you still need to name all "
#~ "your mapping files in the deployment descriptor. If you 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 ファイルのなかの全てのマッピングファイルを検出"
#~ "します。"
#~ msgid ""
#~ "Consult the JBoss AS user guide for more information about these options."
#~ msgstr ""
#~ "これらのオプションについての詳細な情報は、 JBoss アプリケーションサーバー"
#~ "ユーザーガイドを参考にしてください。"
#~ msgid "JCA Support"
#~ msgstr "JCA サポート"
#~ msgid ""
#~ "Hibernate can also be configured as a JCA connector. Please see the "
#~ "website for more information. Please note, however, that at this stage "
#~ "Hibernate JCA support is under development."
#~ msgstr ""
#~ "Hibernate は JCA コネクタとしても設定できます。詳細については、 Web サイト"
#~ "を見てください。 Hibernate JCA サポートは、今のところ実験段階として考えら"
#~ "れていることに注意してください。"