Should JDBC executeBatch() return an array with a length of the original batch even if there were no updates?
I have a simple Java 8 project to update a SQL Server DB table starting by a list of DTO I created. The DTO obviously reflect the column of the table I want to update, suppose it’s similar to the follows: public class TableToUpdate { private int id; private String name; // getter and setter… Read More Should JDBC executeBatch() return an array with a length of the original batch even if there were no updates?