diff --git a/jOOQ-website/tutorial.php b/jOOQ-website/tutorial.php index 1be01ce4e9..62b83c022c 100644 --- a/jOOQ-website/tutorial.php +++ b/jOOQ-website/tutorial.php @@ -270,7 +270,7 @@ Let's add a simple query:
GuestbookFactory create = new GuestbookFactory(conn); -Result<?> result = create.select().from(POSTS).fetch(); +Result<Record> result = create.select().from(POSTS).fetch();
First get an instance of GuestbookFactory so we can write a simple
@@ -337,7 +337,7 @@ public class Main {
conn = DriverManager.getConnection(url, userName, password);
GuestbookFactory create = new GuestbookFactory(conn);
- Result<?> result = create.select().from(POSTS).fetch();
+ Result<Record> result = create.select().from(POSTS).fetch();
for (Record r : result) {
Long id = r.getValue(POSTS.ID);