From 569ce789a27d9146558287a3ca082a86f461b7a5 Mon Sep 17 00:00:00 2001
From: Lukas Eder
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);