From 0ff641e11fb272222aa4f5dc30c40c13096361dc Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 11 Jan 2024 15:42:37 +0100 Subject: [PATCH] [#10] Add a Policy example --- .../test/java/org/jooq/demo/java/Demo04DML.java | 16 ++++++++-------- .../test/java/org/jooq/demo/java/Demo04DML.java | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/jOOQ-demo-oss/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java b/jOOQ-demo-oss/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java index 39f455d..36dd797 100644 --- a/jOOQ-demo-oss/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java +++ b/jOOQ-demo-oss/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java @@ -59,14 +59,14 @@ public void dml() { ctx.update(ACTOR) .set(ACTOR.LAST_NAME, "X") .where(ACTOR.ACTOR_ID.gt(200L)) - .execute(); - - // More information here: - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/insert-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/update-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/delete-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/merge-statement/ + .execute(); + + // More information here: + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/insert-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/update-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/delete-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/merge-statement/ } @After diff --git a/jOOQ-demo-pro/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java b/jOOQ-demo-pro/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java index 39f455d..36dd797 100644 --- a/jOOQ-demo-pro/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java +++ b/jOOQ-demo-pro/jOOQ-demo-java/src/test/java/org/jooq/demo/java/Demo04DML.java @@ -59,14 +59,14 @@ public void dml() { ctx.update(ACTOR) .set(ACTOR.LAST_NAME, "X") .where(ACTOR.ACTOR_ID.gt(200L)) - .execute(); - - // More information here: - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/insert-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/update-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/delete-statement/ - // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/merge-statement/ + .execute(); + + // More information here: + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/insert-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/update-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/delete-statement/ + // - https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/merge-statement/ } @After