Skip to content

Commit dfe208f

Browse files
committed
Improved example [skip ci]
1 parent d446495 commit dfe208f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

examples/loading/src/main/java/com/example/Example.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public static void main(String[] args) throws SQLException {
3737

3838
// load data
3939
System.out.println("Loading 1000000 rows");
40-
4140
CopyManager copyManager = new CopyManager((BaseConnection) conn);
4241
CopyIn copyIn = copyManager.copyIn("COPY items (embedding) FROM STDIN WITH (FORMAT BINARY)");
4342

@@ -69,7 +68,6 @@ public static void main(String[] args) throws SQLException {
6968
ByteConverter.int2(buffer, 0, -1);
7069
copyIn.writeToCopy(buffer, 0, 2);
7170
copyIn.endCopy();
72-
7371
System.out.println("\nSuccess!");
7472

7573
// create any indexes *after* loading initial data (skipping for this example)

0 commit comments

Comments
 (0)