We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d446495 commit dfe208fCopy full SHA for dfe208f
1 file changed
examples/loading/src/main/java/com/example/Example.java
@@ -37,7 +37,6 @@ public static void main(String[] args) throws SQLException {
37
38
// load data
39
System.out.println("Loading 1000000 rows");
40
-
41
CopyManager copyManager = new CopyManager((BaseConnection) conn);
42
CopyIn copyIn = copyManager.copyIn("COPY items (embedding) FROM STDIN WITH (FORMAT BINARY)");
43
@@ -69,7 +68,6 @@ public static void main(String[] args) throws SQLException {
69
68
ByteConverter.int2(buffer, 0, -1);
70
copyIn.writeToCopy(buffer, 0, 2);
71
copyIn.endCopy();
72
73
System.out.println("\nSuccess!");
74
75
// create any indexes *after* loading initial data (skipping for this example)
0 commit comments