From 569ce789a27d9146558287a3ca082a86f461b7a5 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Wed, 25 Apr 2012 20:45:02 +0200 Subject: [PATCH] [#1357] a few suggested edits to the tutorial --- jOOQ-website/tutorial.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);