Skip to content

Releases: bytefish/JSqlServerBulkInsert

6.0.0

Choose a tag to compare

@bytefish bytefish released this 19 Mar 10:22

What's Changed

  • Bump com.microsoft.sqlserver:mssql-jdbc from 12.6.1.jre11 to 12.6.5.jre11 in /JSqlServerBulkInsert by @dependabot[bot] in #24
  • Modernize API to recent SQL Server JDBC Driver Updates and Streamline API by @bytefish in #25

Full Changelog: 5.1.0...6.0.0

5.1.0

Choose a tag to compare

@bytefish bytefish released this 13 Mar 03:48
  • Fixes support for Computed Columns, see Issue #22.

4.0.1

Choose a tag to compare

@bytefish bytefish released this 14 Feb 17:36
63aff34

Changes:

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

4.0.0

Choose a tag to compare

@bytefish bytefish released this 13 Feb 07:55

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

Choose a tag to compare

@release-drafter release-drafter released this 14 Feb 17:38

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

Choose a tag to compare

@release-drafter release-drafter released this 14 Jul 16:46
cba9e68

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 bytefish/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

1.5

Choose a tag to compare

@vslee vslee released this 10 Jul 17:36

Changes:

1.4

1.4

Choose a tag to compare

@vslee vslee released this 21 Jun 19:21
8be1faa

Was released on May 4, 2019