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;