diff --git a/jOOQ-website/src/main/resources/manual-2.5.xml b/jOOQ-website/src/main/resources/manual-2.5.xml index 04a1a27f7e..c351627b37 100644 --- a/jOOQ-website/src/main/resources/manual-2.5.xml +++ b/jOOQ-website/src/main/resources/manual-2.5.xml @@ -159,7 +159,7 @@ exists(); max(); min(); val(); inline(); // correspond to Factory.exists(); Fact BOOK.TITLE, AUTHOR.LAST_NAME // correspond to com.example.generated.Tables.BOOK.TITLE, com.example.generated.Tables.BOOK.TITLE // Whenever you see "create" being used in Java code, assume that this is an instance of org.jooq.impl.Factory: -Factory create = new Factory(SQLDialect.ORACLE, connection);]]> +Factory create = new Factory(connection, SQLDialect.ORACLE);]]>
@@ -5264,7 +5264,7 @@ create.executeUpdate(book);]]>
+ jOOQ allows you to perform
+ The above changes to jOOQ's behaviour are transparent to the API, the only thing you need to do for it to be activated is to set the Settings flag. Here is an example illustrating optimistic locking: +
+ +
+ If you're using jOOQ's
+ The MODIFIED column will contain a timestamp indicating the last modification timestamp for any book in the BOOK table. If you're using jOOQ and it's
+ As before, without the added TIMESTAMP column, optimistic locking is transparent to the API. +
+ ++ Instead of using TIMESTAMPs, you may also use numeric VERSION fields, containing version numbers that are incremented by jOOQ upon store() calls. +
+ +
+ Note, for explicit pessimistic locking, please consider the manual's section about the
+ When inserting, updating, deleting a lot of records, you may wish to profit from JDBC batch operations, which can be performed by jOOQ. These are available through jOOQ's
+ Internally, jOOQ will render all the required SQL statements and execute them as a regular