Feature | Enable useBulkCopyForBatchInsert against non DW servers
@@ -1951,7 +1951,7 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
localUserSQL = userSQL;
try {
- if (this.useBulkCopyForBatchInsert && connection.isAzureDW() && isInsert(localUserSQL)) {
+ if (this.useBulkCopyForBatchInsert && isInsert(localUserSQL)) {
if (null == batchParamValues) {
updateCounts = new int[0];
loggerExternal.exiting(getClassNameLogging(), "executeBatch", updateCounts);
@@ -2108,7 +2108,7 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
localUserSQL = userSQL;
try {
- if (this.useBulkCopyForBatchInsert && connection.isAzureDW() && isInsert(localUserSQL)) {
+ if (this.useBulkCopyForBatchInsert && isInsert(localUserSQL)) {
if (null == batchParamValues) {
updateCounts = new long[0];
loggerExternal.exiting(getClassNameLogging(), "executeLargeBatch", updateCounts);
