diff --git a/jOOQ-website/src/main/resources/manual-3.0.xml b/jOOQ-website/src/main/resources/manual-3.0.xml index 5e0367690b..62b6ea8e04 100644 --- a/jOOQ-website/src/main/resources/manual-3.0.xml +++ b/jOOQ-website/src/main/resources/manual-3.0.xml @@ -773,7 +773,7 @@ public class Main {
First get an instance of Executor so we can write a simple SELECT query. We pass an instance of the MySQL connection to Executor. Note that the executor doesn't close the connection. We'll have to do that ourselves.
diff --git a/jOOQ-website/tutorial.php b/jOOQ-website/tutorial.php
index 53dcff8b46..aee1e11ed3 100644
--- a/jOOQ-website/tutorial.php
+++ b/jOOQ-website/tutorial.php
@@ -263,7 +263,7 @@ Let's add a simple query:
Executor create = new Executor(conn, SQLDialect.MYSQL); -Result<Record> result = Executor.select().from(POSTS).fetch(); +Result<Record> result = create.select().from(POSTS).fetch();
First get an instance of Factory so we can write a simple