From f41dcbe4d810f0906f43d1b345cf506d72c792ac Mon Sep 17 00:00:00 2001 From: Peter Mount Date: Thu, 12 Oct 2000 08:55:28 +0000 Subject: Major update part I involving delayed patches, reworked Makefile, and how the versioning works. There's also a new utils directory used by Makefile --- src/interfaces/jdbc/example/threadsafe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/jdbc/example/threadsafe.java') diff --git a/src/interfaces/jdbc/example/threadsafe.java b/src/interfaces/jdbc/example/threadsafe.java index 7cb48c19612..ea69143d8d0 100644 --- a/src/interfaces/jdbc/example/threadsafe.java +++ b/src/interfaces/jdbc/example/threadsafe.java @@ -145,7 +145,7 @@ public class threadsafe // manner. (DateStyles are PostgreSQL's way of handling different methods // of representing dates in the Date data type.) PreparedStatement ps = db.prepareStatement("insert into basic1 values (?,?)"); - for(int i=2;i<200;i++) { + for(int i=2;i<2000;i++) { ps.setInt(1,4); // "column a" = 5 ps.setInt(2,i); // "column b" = i ps.executeUpdate(); // executeUpdate because insert returns no data @@ -212,7 +212,7 @@ public class threadsafe // manner. (DateStyles are PostgreSQL's way of handling different methods // of representing dates in the Date data type.) PreparedStatement ps = db.prepareStatement("insert into basic2 values (?,?)"); - for(int i=2;i<200;i++) { + for(int i=2;i<2000;i++) { ps.setInt(1,4); // "column a" = 5 ps.setInt(2,i); // "column b" = i ps.executeUpdate(); // executeUpdate because insert returns no data -- cgit v1.2.3