From 975cedb6907185b7f9183b06e06ccfcc0304a55b Mon Sep 17 00:00:00 2001 From: JunkJumper Date: Wed, 6 May 2020 13:24:50 +0200 Subject: [PATCH] querry readAllBytes OK #4 --- src/database/QueryGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/QueryGenerator.java b/src/database/QueryGenerator.java index fb773be..2aade4e 100644 --- a/src/database/QueryGenerator.java +++ b/src/database/QueryGenerator.java @@ -80,7 +80,7 @@ public class QueryGenerator { Connection conn = connect(); PreparedStatement pst = conn.prepareStatement(query); - pst.setBinaryStream(1, objectIS); + pst.setBinaryStream(4, objectIS); pst.executeUpdate(); return query;