You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><code>defaultNetworkTimeout</code> – The default network timeout value in milliseconds to wait for the database operation to complete. See the API documentation of <code>java.sql.Connection#setNetworkTimeout()</code> for details.
1691
+
<li><code>defaultNetworkTimeout</code> – 等待数据库操作完成的默认网络超时时间(单位:毫秒)。查看 <code>java.sql.Connection#setNetworkTimeout()</code> 的 API 文档以获取更多信息。
Copy file name to clipboardExpand all lines: src/site/zh/xdoc/statement-builders.xml
+17-19Lines changed: 17 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -313,9 +313,9 @@ public String updatePersonSql() {
313
313
</ul>
314
314
</td>
315
315
<td>
316
-
Appends a <code>LIMIT</code> clause.
317
-
This method valid when use together with SELECT(), UPDATE() and DELETE().
318
-
And this method is designed to use together with OFFSET() when use SELECT(). (Available since 3.5.2)
316
+
追加新的 <code>LIMIT</code> 子句。
317
+
仅在 SELECT()、UPDATE()、DELETE() 时有效。
318
+
当在 SELECT() 中使用时,应该配合 OFFSET() 使用。(于 3.5.2 引入)
319
319
</td>
320
320
</tr>
321
321
<tr>
@@ -330,9 +330,9 @@ public String updatePersonSql() {
330
330
</ul>
331
331
</td>
332
332
<td>
333
-
Appends a <code>OFFSET</code> clause.
334
-
This method valid when use together with SELECT().
335
-
And this method is designed to use together with LIMIT(). (Available since 3.5.2)
333
+
追加新的 <code>OFFSET</code> 子句。
334
+
仅在 SELECT() 时有效。
335
+
当在 SELECT() 时使用时,应该配合 LIMIT() 使用。(于 3.5.2 引入)
336
336
</td>
337
337
</tr>
338
338
<tr>
@@ -347,9 +347,9 @@ public String updatePersonSql() {
347
347
</ul>
348
348
</td>
349
349
<td>
350
-
Appends a <code>OFFSET n ROWS</code> clause.
351
-
This method valid when use together with SELECT().
352
-
And this method is designed to use together with FETCH_FIRST_ROWS_ONLY(). (Available since 3.5.2)
350
+
追加新的 <code>OFFSET n ROWS</code> 子句。
351
+
仅在 SELECT() 时有效。
352
+
该方法应该配合 FETCH_FIRST_ROWS_ONLY() 使用。(于 3.5.2 加入)
353
353
</td>
354
354
</tr>
355
355
<tr>
@@ -364,9 +364,9 @@ public String updatePersonSql() {
364
364
</ul>
365
365
</td>
366
366
<td>
367
-
Appends a <code>FETCH FIRST n ROWS ONLY</code> clause.
368
-
This method valid when use together with SELECT().
369
-
And this method is designed to use together with OFFSET_ROWS(). (Available since 3.5.2)
367
+
追加新的 <code>FETCH FIRST n ROWS ONLY</code> 子句。
368
+
仅在 SELECT() 时有效。
369
+
该方法应该配合 OFFSET_ROWS() 使用。(于 3.5.2 加入)
370
370
</td>
371
371
</tr>
372
372
<tr>
@@ -431,18 +431,16 @@ public String updatePersonSql() {
431
431
<code>ADD_ROW()</code>
432
432
</td>
433
433
<td>
434
-
Add new row for bulk insert. (Available since 3.5.2)
434
+
添加新的一行数据,以便执行批量插入。(于 3.5.2 引入)
435
435
</td>
436
436
</tr>
437
437
</tbody>
438
438
</table>
439
439
440
440
<p>
441
-
<spanclass="label important">NOTE</span>
442
-
It is important to note that SQL class writes <code>LIMIT</code>, <code>OFFSET</code>, <code>OFFSET n ROWS</code> and <code>FETCH FIRST n ROWS ONLY</code> clauses into the generated statement as is.
443
-
In other words, the library does not attempt to normalize those values for databases that don’t support these clauses directly.
444
-
Therefore, it is very important for users to understand whether or not the target database supports these clauses.
445
-
If the target database does not support these clauses, then it is likely that using this support will create SQL that has runtime errors.
441
+
<spanclass="label important">提示</span>
442
+
注意,SQL 类将原样插入 <code>LIMIT</code>、<code>OFFSET</code>、<code>OFFSET n ROWS</code> 以及 <code>FETCH FIRST n ROWS ONLY</code> 子句。换句话说,类库不会为不支持这些子句的数据库执行任何转换。
0 commit comments