Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 713136c

Browse files
committed
Update po files
1 parent a39b5d3 commit 713136c

File tree

3 files changed

+212
-88
lines changed

3 files changed

+212
-88
lines changed

docs/locale/ja/LC_MESSAGES/query/batch-insert.po

Lines changed: 70 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: doma-docs\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2024-07-19 20:27+0900\n"
5+
"POT-Creation-Date: 2024-08-07 22:49+0900\n"
66
"Last-Translator: \n"
77
"Language-Team: Japanese\n"
88
"MIME-Version: 1.0\n"
@@ -52,7 +52,7 @@ msgid "Batch insert by auto generated SQL"
5252
msgstr "自動生成されたSQLによるバッチ追加"
5353

5454
#: ../../query/batch-insert.rst:37
55-
#: ../../query/batch-insert.rst:109
55+
#: ../../query/batch-insert.rst:143
5656
msgid "Parameter type must be ``java.lang.Iterable`` subtype that has :doc:`../entity` as an element. Specifiable parameter is only one. Parameter must not be ``null``. Return value array element count become equal ``Iterable`` element count. Insert count is returned to array each element."
5757
msgstr "パラメータの型は要素として :doc:`../entity` を持つ ``java.lang.Iterable`` のサブタイプでなければなりません。指定できるパラメータは 1 つだけです。パラメータは ``null`` であってはなりません。戻り値の配列要素数は、 ``Iterable`` の要素数と等しくなります。配列のそれぞれの要素が追加された件数を表します。"
5858

@@ -70,7 +70,7 @@ msgstr "注意点については :ref:`identity-auto-generation` を参照して
7070

7171
#: ../../query/batch-insert.rst:50
7272
msgid "If you don't use auto-generated keys in your application, you can enable the `ignoreGeneratedKeys` flag. This flag may improve performance."
73-
msgstr ""
73+
msgstr "アプリケーションで自動生成された ID を使用しない場合は、``ingoreGeneratedKeys`` フラグを有効にすることができます。このフラグによりパフォーマンスが向上する可能性があります。"
7474

7575
#: ../../query/batch-insert.rst:59
7676
msgid "Version number"
@@ -81,8 +81,8 @@ msgid "If value that explicitly set is over ``0`` then use the value if :doc:`..
8181
msgstr " :doc:`../entity` に ``@Version`` が注釈されたプロパティがある場合、 そのプロパティに明示的に 0 以上の値が設定されていればその値を使用します。 もし設定されていないか、 0 未満の値が設定されていれば 1 を自動で設定します。"
8282

8383
#: ../../query/batch-insert.rst:65
84-
msgid "Insert target property"
85-
msgstr "追加対象プロパティ"
84+
msgid "Properties of @BatchInsert"
85+
msgstr "@BatchInsert のプロパティ"
8686

8787
#: ../../query/batch-insert.rst:68
8888
msgid "insertable"
@@ -93,6 +93,7 @@ msgid "The ``insertable`` property within ``@Column`` annotation that is specifi
9393
msgstr ":doc:`../entity` に `@Column` アノテーションが付けられたプロパティがある場合、 ``@Column`` アノテーション内の ``false`` が指定された ``insertable`` プロパティは追加対象から除外されます。 "
9494

9595
#: ../../query/batch-insert.rst:73
96+
#: ../../query/batch-insert.rst:164
9697
msgid "exclude"
9798
msgstr ""
9899

@@ -101,6 +102,7 @@ msgid "Property that is specified with ``exclude`` property within the ``@BatchI
101102
msgstr "``@BatchInsert`` アノテーション内の ``exclude`` プロパティで指定されたプロパティは追加対象から除外されます。 ``@Column`` アノテーション内の ``insertable`` プロパティに ``true`` が指定されていても、この要素でプロパティが指定されている場合、そのプロパティは追加対象から除外されます。"
102103

103104
#: ../../query/batch-insert.rst:84
105+
#: ../../query/batch-insert.rst:165
104106
msgid "include"
105107
msgstr ""
106108

@@ -109,78 +111,116 @@ msgid "Only property that is specified with ``include`` property within ``@Batch
109111
msgstr "``@BatchInsert`` アノテーション内の ``include`` プロパティで指定されたプロパティのみが追加対象となります。 ``@BatchInsert`` 内の ``include`` プロパティと ``exclude`` プロパティの両方で同じプロパティを指定した場合、そのプロパティは追加対象から除外されます。この要素でプロパティを指定しても、 ``@Column`` アノテーション内の ``inserttable`` プロパティが ``false`` の場合、そのプロパティは挿入対象から除外されます。"
110112

111113
#: ../../query/batch-insert.rst:96
114+
#: ../../query/batch-insert.rst:166
115+
msgid "duplicateKeyType"
116+
msgstr "duplicateKeyType"
117+
118+
#: ../../query/batch-insert.rst:98
119+
msgid "This property defines the strategy for handling duplicate keys during an insert operation."
120+
msgstr "このプロパティは、追加操作時に重複したキーを処理するための戦略を定義します。"
121+
122+
#: ../../query/batch-insert.rst:100
123+
msgid "It can take one of three values:"
124+
msgstr "次の3つの値のいずれかを取ることができます:"
125+
126+
#: ../../query/batch-insert.rst:102
127+
msgid "``DuplicateKeyType.UPDATE``: If a duplicate key is encountered, the existing row in the table will be updated."
128+
msgstr "``DuplicateKeyType.UPDATE``: 重複したキーが見つかった場合、テーブル内の既存の行が更新されます。"
129+
130+
#: ../../query/batch-insert.rst:103
131+
msgid "``DuplicateKeyType.IGNORE``: If a duplicate key is encountered, the insert operation will be ignored, and no changes will be made to the table."
132+
msgstr "``DuplicateKeyType.IGNORE``: 重複したキーが見つかった場合、挿入操作は無視され、テーブルに変更は加えられません。"
133+
134+
#: ../../query/batch-insert.rst:104
135+
msgid "``DuplicateKeyType.EXCEPTION``: If a duplicate key is encountered, an exception will be thrown."
136+
msgstr "``DuplicateKeyType.EXCEPTION``: 重複したキーが発生した場合、例外が投げられます。"
137+
138+
#: ../../query/batch-insert.rst:112
139+
#: ../../query/batch-insert.rst:167
140+
msgid "duplicateKeys"
141+
msgstr ""
142+
143+
#: ../../query/batch-insert.rst:114
144+
msgid "This property represents the keys that should be used to determine if a duplicate key exists. If the duplicate key exists, the operation will use the ``duplicateKeyType`` strategy to handle the duplicate key."
145+
msgstr "このプロパティは、重複キーが存在するかどうかを判断するために使用するキーを表します。 重複キーが存在する場合、重複キーを処理するために ``duplicateKeyType`` ストラテジーを使用します。"
146+
147+
#: ../../query/batch-insert.rst:123
148+
msgid "This property is only utilized when the ``duplicateKeyType`` strategy is either ``DuplicateKeyType.UPDATE`` or ``DuplicateKeyType.IGNORE``."
149+
msgstr "このプロパティは、``duplicateKeyType`` ストラテジーが ``DuplicateKeyType.UPDATE`` または ``DuplicateKeyType.IGNORE`` のいずれかである場合にのみ使用されます。"
150+
151+
#: ../../query/batch-insert.rst:127
152+
msgid "The MySQL dialect does not utilize this property."
153+
msgstr "MySQLの方言はこのプロパティを利用しません。"
154+
155+
#: ../../query/batch-insert.rst:130
112156
msgid "Batch insert by SQL file"
113157
msgstr "SQLファイルによるバッチ追加"
114158

115-
#: ../../query/batch-insert.rst:98
159+
#: ../../query/batch-insert.rst:132
116160
msgid "To execute batch inserting by SQL file, you set ``true`` to ``sqlFile`` property within ``@BatchInsert`` annotation and prepare SQL file that correspond method."
117161
msgstr "SQLファイルによるバッチ追加を実行するには、 ``@BatchInsert`` アノテーション内の ``sqlFile`` プロパティに ``true`` を設定し、メソッドに対応したSQLファイルを用意します。"
118162

119-
#: ../../query/batch-insert.rst:115
163+
#: ../../query/batch-insert.rst:149
120164
msgid "If entity listener is specified at :doc:`../entity` then entity listener method is not called."
121165
msgstr "エンティティリスナーが :doc:`../entity` で指定されている場合、エンティティリスナーのメソッドは呼び出されません。"
122166

123-
#: ../../query/batch-insert.rst:117
167+
#: ../../query/batch-insert.rst:151
124168
msgid "For example, you describe SQL like below to correspond above method."
125169
msgstr "例えば、上記のメソッドに対応するには以下のようなSQLを記述します。"
126170

127-
#: ../../query/batch-insert.rst:124
171+
#: ../../query/batch-insert.rst:158
128172
msgid "Parameter name indicate ``java.lang.Iterable`` subtype element in SQL file."
129173
msgstr "SQL ファイル内では、メソッドのパラメータ名は ``java.lang.Iterable`` の要素を示します。"
130174

131-
#: ../../query/batch-insert.rst:126
132-
msgid "Identifier auto setting and version number auto setting are not executed in batch insert by SQL file. Also, ``exclude`` property and ``include`` property within ``@BatchInsert`` are not referenced."
133-
msgstr "SQLファイルによるバッチ追加では、ID の自動設定、バージョン番号の自動設定は実行されません。また、 ``@BatchInsert`` 内の ``exclude`` プロパティおよび ``include`` プロパティは参照されません。"
134-
135-
#: ../../query/batch-insert.rst:130
136-
msgid "Batch upsert"
137-
msgstr ""
175+
#: ../../query/batch-insert.rst:160
176+
msgid "Identifier auto setting and version number auto setting are not executed in batch insert by SQL file."
177+
msgstr "識別子の自動設定およびバージョン番号の自動設定は、SQLファイルによるバッチ挿入では実行されません。"
138178

139-
#: ../../query/batch-insert.rst:132
140-
msgid "you can specify whether to update or ignore using a ``duplicateKeyType`` property In case of duplication. By default, it is ``DuplicateKeyType.EXCEPTION`` , and an error will occur in case of duplicated. There are 3 types to choose from: ``DuplicateKeyType.UPDATE`` , ``DuplicateKeyType.IGNORE`` , ``DuplicateKeyType.EXCEPTION`` ."
141-
msgstr "``duplicateKeyType`` プロパティを使用することで、レコードが重複した場合に更新するか無視するかを指定できます。デフォルトでは ``DuplicateKeyType.EXCEPTION`` が使用され、重複時にエラーが発生することを表します。 ``duplicateKeyType`` プロパティには ``DuplicateKeyType.UPDATE`` , ``DuplicateKeyType.IGNORE`` , ``DuplicateKeyType.EXCEPTION`` の3つの中からいずれかを選択して指定できます。"
179+
#: ../../query/batch-insert.rst:162
180+
msgid "Additionally, the following properties of ``@BatchInsert`` are not used:"
181+
msgstr "また、以下の ``@BatchInsert`` のプロパティは使用されません。"
142182

143-
#: ../../query/batch-insert.rst:145
183+
#: ../../query/batch-insert.rst:170
144184
msgid "Unique constraint violation"
145185
msgstr "一意制約違反"
146186

147-
#: ../../query/batch-insert.rst:147
187+
#: ../../query/batch-insert.rst:172
148188
msgid "``UniqueConstraintException`` is thrown regardless of with or without using sql file if unique constraint violation is occurred."
149189
msgstr "SQLファイルの使用の有無に関わらず、一意性制約違反が発生した場合は ``UniqueConstraintException`` がスローされます。"
150190

151-
#: ../../query/batch-insert.rst:150
191+
#: ../../query/batch-insert.rst:175
152192
msgid "Query timeout"
153193
msgstr "クエリタイムアウト"
154194

155-
#: ../../query/batch-insert.rst:152
195+
#: ../../query/batch-insert.rst:177
156196
msgid "You can specify seconds of query timeout to ``queryTimeout`` property within ``@BatchInsert`` annotation."
157197
msgstr "``@BatchInsert`` アノテーション内の ``queryTimeout`` プロパティにクエリタイムアウトの秒数を指定できます。"
158198

159-
#: ../../query/batch-insert.rst:159
199+
#: ../../query/batch-insert.rst:184
160200
msgid "This specifying is applied regardless of with or without using sql file. Query timeout that is specified in config class is used if ``queryTimeout`` property is not set value."
161201
msgstr "この指定はSQLファイルの使用の有無に関わらず適用されます。 ``queryTimeout`` プロパティに値が設定されていない場合は、:doc:`../config` クラスで指定されたクエリタイムアウトが使用されます。"
162202

163-
#: ../../query/batch-insert.rst:163
203+
#: ../../query/batch-insert.rst:188
164204
msgid "Batch size"
165205
msgstr "バッチサイズ"
166206

167-
#: ../../query/batch-insert.rst:165
207+
#: ../../query/batch-insert.rst:190
168208
msgid "You can specify batch size to ``batchSize`` property within ``@BatchInsert`` annotation."
169209
msgstr "バッチサイズは ``@BatchInsert`` アノテーション内の ``batchSize`` プロパティに指定できます。"
170210

171-
#: ../../query/batch-insert.rst:172
211+
#: ../../query/batch-insert.rst:197
172212
msgid "This specify is applied Regardless of using or not using SQL file. It you do not specify the value to ``batchSize`` property, batch size that is specified at :doc:`../config` class is applied."
173213
msgstr "この指定はSQLファイルの使用有無に関わらず適用されます。 ``batchSize`` プロパティに値を指定しない場合は、:doc:`../config` クラスで指定されたバッチサイズが適用されます。"
174214

175-
#: ../../query/batch-insert.rst:176
215+
#: ../../query/batch-insert.rst:201
176216
msgid "SQL log output format"
177217
msgstr "SQLログの出力形式"
178218

179-
#: ../../query/batch-insert.rst:178
219+
#: ../../query/batch-insert.rst:203
180220
msgid "You can specify SQL log output format to ``sqlLog`` property within ``@BatchInsert`` annotation."
181221
msgstr "``@BatchInsert`` アノテーション内の ``sqlLog`` プロパティに SQL ログの出力形式を指定できます。"
182222

183-
#: ../../query/batch-insert.rst:185
223+
#: ../../query/batch-insert.rst:210
184224
msgid "``SqlLogType.RAW`` represent outputting log that is sql with a binding parameter."
185225
msgstr "``SqlLogType.RAW`` はバインドパラメータ付きの SQL をログ出力することを表します。"
186226

0 commit comments

Comments
 (0)