From bf3b38badd0278397f1ee29bbf2ae05ef565bab8 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Mon, 13 Aug 2012 22:24:03 +0200 Subject: [PATCH] [#1657] Reorganise the manual (100 / 168) --- .../src/main/resources/manual-2.5.xml | 71 ++++++++++++++++++- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/jOOQ-website/src/main/resources/manual-2.5.xml b/jOOQ-website/src/main/resources/manual-2.5.xml index b3f757f7a8..ee7e28f2c6 100644 --- a/jOOQ-website/src/main/resources/manual-2.5.xml +++ b/jOOQ-website/src/main/resources/manual-2.5.xml @@ -4056,8 +4056,75 @@ create.select(LAST_NAME, COUNT1, COUNT2)
- Batch execution - + Using JDBC batch operations + +

JDBC batch operations

+

+ With JDBC, you can easily execute several statements at once using the addBatch() method. Essentially, there are two modes in JDBC +

+ +
    +
  • Execute several queries without bind values
  • +
  • Execute one query several times with bind values
  • +
+ +

+ In code, this looks like the following snippet: +

+ + + +

This will also be supported by jOOQ

+

+ jOOQ supports executing queries in batch mode as follows: +

+ + +