Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3cd3a6a
Update Snapshot for upcoming RTW release v7.0.0
cheenamalhotra Jul 3, 2018
465018b
Merge pull request #735 from cheenamalhotra/update-snapshot
cheenamalhotra Jul 3, 2018
7fa7fa6
Change order of logic for checking the condition for using Bulk Copy …
peterbae Jul 4, 2018
38cddc6
Update CHANGELOG.md
cheenamalhotra Jul 5, 2018
7243eb5
Merge pull request #732 from cheenamalhotra/module (Export driver in …
cheenamalhotra Jul 6, 2018
9dec753
Update CHANGELOG.md
cheenamalhotra Jul 9, 2018
e2cf217
Change Sha1HashKey to CityHash128Key for generating PreparedStatement…
cheenamalhotra Jul 9, 2018
78c6a19
Add | Adding useBulkCopyForBatchInsert property to Request Boundary m…
ulvii Jul 9, 2018
c4b6e64
Apply the collation name change to UTF8SupportTest
ulvii Jul 9, 2018
ba62623
Package changes for CityHash with license information (#740)
cheenamalhotra Jul 10, 2018
eea5de2
Reformatted Code + Updated formatter (#742)
cheenamalhotra Jul 11, 2018
594e413
Fix policheck issue with 'Country' keyword (#745)
cheenamalhotra Jul 11, 2018
521e6b3
Adding a new test for beginRequest()/endRequest() (#746)
ulvii Jul 12, 2018
9e697a5
Fix | Fixes for issues reported by static analysis tools (SonarQube +…
rene-ye Jul 12, 2018
11e2bf4
handle buffer reading
rene-ye Jul 19, 2018
0fef350
Revert "handle buffer reading"
rene-ye Jul 19, 2018
2d0f906
updated javadocs (#754)
lilgreenbird Jul 25, 2018
07641b0
fixed some typos in javadocs (#760)
lilgreenbird Jul 25, 2018
aa0f653
API and JavaDoc changes for Spatial Datatypes (#752)
peterbae Jul 27, 2018
ca4558e
Disallow non-parameterized queries for Bulk Copy API for batch insert…
peterbae Jul 28, 2018
970f21a
Formatting | Change scope of unwanted Public APIs + Code Format (#757)
cheenamalhotra Jul 28, 2018
3bef06c
Release | Release 7.0 changelog and version update (#748)
cheenamalhotra Jul 28, 2018
07553db
Update Samples and add new samples for new features (#761)
cheenamalhotra Jul 31, 2018
c678352
Update License copyright (#767)
cheenamalhotra Jul 31, 2018
e301555
Update snapshot for next release (#768)
cheenamalhotra Aug 1, 2018
49ede82
Version Updates | Update Junit test Maven dependencies (#777)
cheenamalhotra Aug 14, 2018
fad697f
Fix | Random Junit failures in framework tests (#762)
cheenamalhotra Aug 17, 2018
ddc1d94
Degradation fix for column encryption enabled (AE) (#773)
rene-ye Aug 17, 2018
2c86309
Improvement | Improve performance of readLong function unrolling loop…
robertonr Aug 17, 2018
f415394
New API | Add support for LocalDate, LocalTime and LocalDateTime to b…
gordthompson Aug 18, 2018
5c20b4e
Fix | Fix JavaDoc warnings and remove obselete HTML tags (#786)
cheenamalhotra Aug 24, 2018
6580dee
Fix | Changes to read SQL Warnings after ResultSet is read completely…
cheenamalhotra Aug 25, 2018
cdd4b80
Updating the issue template (#779)
ulvii Aug 28, 2018
b7e0e31
Update changelog for v7.1.0 preview release (#789)
cheenamalhotra Aug 29, 2018
f010285
Update dev with master history (#791)
cheenamalhotra Aug 29, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,39 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)

## [7.1.0] Preview Release
### Added
- Added support for LocalDate, LocalTime and LocalDateTime to be passed as 'type' in ResultSet.getObject() [#749](https://github.com/Microsoft/mssql-jdbc/pull/749)
- Added support to read SQL Warnings after ResultSet is read completely [#785](https://github.com/Microsoft/mssql-jdbc/pull/785)

### Fixed Issues
- Fixed Javadoc warnings and removed obselete HTML tags from Javadocs [#786](https://github.com/Microsoft/mssql-jdbc/pull/786)
- Fixed random JUnit failures in framework tests [#762](https://github.com/Microsoft/mssql-jdbc/pull/762)

### Changed
- Improved performance of readLong() function by unrolling loop and using bitwise operators instead of additions [#763](https://github.com/Microsoft/mssql-jdbc/pull/763)
- Removed logging logic which caused performance degradation in AE [#773](https://github.com/Microsoft/mssql-jdbc/pull/773)

## [7.0.0] Stable Release
### Added
- Added 'Automatic-Module-Name' manifest entry to jre10 Jar, allowing JDK 10 users to access driver module 'com.microsoft.sqlserver.jdbc' [#732](https://github.com/Microsoft/mssql-jdbc/pull/732)
- Added setUseBulkCopyForBatchInsert() to request boundary declaration APIs [#739](https://github.com/Microsoft/mssql-jdbc/pull/739)
- Added new test for validation of supported public APIs in request boundary declaration APIs [#746](https://github.com/Microsoft/mssql-jdbc/pull/746)

### Fixed Issues
- Fixed policheck issue with 'Country' keyword [#745](https://github.com/Microsoft/mssql-jdbc/pull/745)
- Fixed issues reported by static analysis tools (SonarQube, Fortify) [#747](https://github.com/Microsoft/mssql-jdbc/pull/747)

### Changed
- Reformatted code and updated mssql-jdbc-formatter [#742](https://github.com/Microsoft/mssql-jdbc/pull/742)
- Changed Sha1HashKey to CityHash128Key for generating PreparedStatement handle and metadata cache keys [#717](https://github.com/Microsoft/mssql-jdbc/pull/717)
- Changed order of logic for checking the condition for using Bulk Copy API [#736](https://github.com/Microsoft/mssql-jdbc/pull/736)
- Changed collation name in UTF8SupportTest [#741](https://github.com/Microsoft/mssql-jdbc/pull/741)
- Changed scope of unwanted Public APIs [#757](https://github.com/Microsoft/mssql-jdbc/pull/757)
- Changed behavior of Bulk Copy API for batch inserts to disallow non-parameterized queries [#756](https://github.com/Microsoft/mssql-jdbc/pull/756)
- Changed APIs and JavaDocs for Spatial Datatypes [#752](https://github.com/Microsoft/mssql-jdbc/pull/752)
- Improved Javadoc comments in driver [#754](https://github.com/Microsoft/mssql-jdbc/pull/754), [#760](https://github.com/Microsoft/mssql-jdbc/pull/760)

## [6.5.4] Preview Release
### Added
- Added new connection property "useBulkCopyForBatchInsert" to enable Bulk Copy API support for batch insert operation [#686](https://github.com/Microsoft/mssql-jdbc/pull/686)
Expand Down
6 changes: 3 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright(c) 2017 Microsoft Corporation
Copyright(c) 2018 Microsoft Corporation
All rights reserved.

MIT License
Expand All @@ -9,6 +9,6 @@ and / or sell copies of the Software, and to permit persons to whom the Software
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
IN THE SOFTWARE.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>6.4.0.jre9</version>
<version>7.0.0.jre10</version>
</dependency>
```
The driver can be downloaded from the [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=868287).
Expand All @@ -88,10 +88,11 @@ To get the latest preview version of the driver, add the following to your POM f
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>6.5.4.jre10-preview</version>
<version>7.1.0.jre10-preview</version>
</dependency>
```

### Using driver as Java Module
Starting from version 7.0.0, the driver Jars (jre10 and above) will expose 'Automatic-Module' as **'com.microsoft.sqlserver.jdbc'**. The supporting Jar can now be added to ModulePath to access this module.


## Dependencies
Expand All @@ -118,7 +119,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>6.5.4.jre10-preview</version>
<version>7.1.0.jre10-preview</version>
<scope>compile</scope>
</dependency>

Expand All @@ -134,7 +135,7 @@ Projects that require either of the two features need to explicitly declare the
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>6.5.4.jre10-preview</version>
<version>7.1.0.jre10-preview</version>
<scope>compile</scope>
</dependency>

Expand Down Expand Up @@ -182,7 +183,7 @@ Preview releases happen approximately monthly between stable releases. This give
You can see what is going into a future release by monitoring [Milestones](https://github.com/Microsoft/mssql-jdbc/milestones) in the repository.

### Versioning convention
Starting with 6.0, stable versions have an even minor version. For example, 6.0, 6.2, 6.4. Preview versions have an odd minor version. For example, 6.1, 6.3, 6.5.
Starting with 6.0, stable versions have an even minor version. For example, 6.0, 6.2, 6.4, 7.0. Preview versions have an odd minor version. For example, 6.1, 6.3, 6.5, 7.1.

## Contributors
Special thanks to everyone who has contributed to the project.
Expand Down
25 changes: 14 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

apply plugin: 'java'

version = '6.5.4'
version = '7.1.0'
def jreVersion = ""
def testOutputDir = file("build/classes/java/test")
def archivesBaseName = 'mssql-jdbc'
Expand All @@ -27,23 +27,27 @@ allprojects {

if (!hasProperty('buildProfile') || (hasProperty('buildProfile') && buildProfile == "build43")){

jreVersion = "jre10"
jreVersion = "jre10-preview"
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java'

jar {
manifest {
attributes 'Automatic-Module-Name': 'com.microsoft.sqlserver.jdbc'
}
}
sourceCompatibility = 10
targetCompatibility = 10
}

if((hasProperty('buildProfile') && buildProfile == "build42")) {

jreVersion = "jre8"
jreVersion = "jre8-preview"
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc43.java'

sourceCompatibility = 1.8
targetCompatibility = 1.8
}

jar.archiveName = "${archivesBaseName}-${version}.${jreVersion}-preview.jar"
jar.archiveName = "${archivesBaseName}-${version}.${jreVersion}.jar"
jar {
manifest {
attributes 'Title': "Microsoft JDBC Driver ${version} for SQL Server",
Expand Down Expand Up @@ -78,17 +82,16 @@ repositories {
}

dependencies {
compile 'com.microsoft.azure:azure-keyvault:1.0.0',
compileOnly 'com.microsoft.azure:azure-keyvault:1.0.0',
'com.microsoft.azure:adal4j:1.6.0'
testCompile 'junit:junit:4.12',
'org.junit.platform:junit-platform-console:1.2.0',
testCompile 'org.junit.platform:junit-platform-console:1.2.0',
'org.junit.platform:junit-platform-commons:1.2.0',
'org.junit.platform:junit-platform-engine:1.2.0',
'org.junit.platform:junit-platform-launcher:1.2.0',
'org.junit.platform:junit-platform-runner:1.2.0',
'org.junit.platform:junit-platform-surefire-provider:1.2.0',
'org.junit.jupiter:junit-jupiter-api:5.2.0',
'org.junit.jupiter:junit-jupiter-engine:5.2.0',
'com.zaxxer:HikariCP:3.1.0',
'org.apache.commons:commons-dbcp2:2.0'
}
'com.zaxxer:HikariCP:3.2.0',
'org.apache.commons:commons-dbcp2:5.0'
}
50 changes: 27 additions & 23 deletions issue_template.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
## Driver version or jar name
Please tell us what the JDBC driver version or jar name is.

## SQL Server version
Please tell us what the SQL Server version is.

## Client operating system
Please tell us what oprating system the client program is running on.

## Java/JVM version
Example: java version "1.8.0", IBM J9 VM

## Table schema
Please tell us the table schema

## Problem description
Please share more details with us.

## Expected behavior and actual behavior
Please tell us what should happen and what happened instead

## Repro code
Please share repro code with us, or tell us how to reproduce the issue.
## Driver version
<!--- Provide the JDBC driver version (e.g. 7.0.0). -->

## SQL Server version
<!--- Provide the output of executing `SELECT @@VERSION` on your target SQL Server. -->

## Client Operating System
<!--- Provide the Operating System the client application is running on. -->

## JAVA/JVM version
<!--- Provide the JAVA/JVM version (e.g. java version "1.8.0", IBM J9 VM). -->

## Table schema
<!--- Provide the table schema. -->

## Problem description
<!--- Provide full details of the problem. -->
1. Expected behaviour:
2. Actual behaviour:
3. Error message/stack trace:
4. Any other details that can be helpful:

## JDBC trace logs
<!--- Provide the JDBC trace logs. Instructions can be found here: https://docs.microsoft.com/en-us/sql/connect/jdbc/tracing-driver-operation?view=sql-server-2017 -->

## Reproduction code
<!--- Provide standalone JAVA code that reproduces the issue, preferably raw JDBC code. -->
Loading