Skip to content

Releases: JSqlServerBulkInsert/JSqlServerBulkInsert

5.1.0

13 Mar 03:48
Compare
Choose a tag to compare
  • Fixes support for Computed Columns, see Issue #22.

4.0.1

14 Feb 17:36
63aff34
Compare
Choose a tag to compare

Changes:

  • The Metadata is now queried only once on first call to the saveAll method.

4.0.0

13 Feb 07:55
Compare
Choose a tag to compare

This commit added:

  • Database metadata validation to prevent confusion like in Issue #15, because the SqlServerBulkCopy requires all columns to explicitly mapped. An exception will be thrown, if the destination schema and source mapping do not match. A section has been added to the README, so with the validation and README the behavior should be a little more predictable.
  • The columns now get reordered based on the metadata of the destination table. The SqlServerBulkCopy requires all columns to be exactely in the same order as in the database, so we reorder them before starting the bulk insert from the stream.

The methods for primitive type mapping have been renamed to mapBooleanPrimitive, so the IDE and JVM do not confuse the lambda methods and thus making it easier to do the mapping for empty / auto-generated columns. This is a breaking change, so the Major Release version has been increased to 4.0.0.

3.0.0

14 Feb 17:38
Compare
Choose a tag to compare

Changes

@bytefish removed the deprecated ISqlServerBulkRecord and now implement the ISqlServerBulkData directly.

  • The call to writeToServer() in SQL Server JDBC driver version 8.2.2.jre8 now works correctly.

2.0.0

14 Jul 16:46
cba9e68
Compare
Choose a tag to compare

This release features a revamped API surface authored by @bytefish. In short, the mapping API has been cleaned up to clarify the specific column types that are being mapped to in Sql Server. In addition, new methods have been added to reduce/eliminate common boxing scenarios involving primitives, similar to PgBulkInsert/PgBulkInsert#27. Finally, the internals have been overhauled, which is described in more detail in #10.

🚀 Features

  • new 2.0 API surface @bytefish (#11)
  • ability to map UTC nano long to separate date/time columns in db @vslee (#9)

🎯 Dependency changes

  • mssql-jdbc dependency to 7.2.2.jre8

1.5

10 Jul 17:36
Compare
Choose a tag to compare
1.5

Changes:

1.4

21 Jun 19:21
8be1faa
Compare
Choose a tag to compare
1.4

Was released on May 4, 2019