Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
eb3df3a
ported tests from VSO and added tests to increase code coverage
lilgreenbird Nov 13, 2018
c31b1f3
moved resultset tests to resultset
lilgreenbird Nov 14, 2018
145ee72
removed unused import
lilgreenbird Nov 14, 2018
fd123b2
added tests to increase code coverage
lilgreenbird Nov 16, 2018
3275750
fixed issue with timezone
lilgreenbird Nov 17, 2018
45eeef5
fixed issue with timezone
lilgreenbird Nov 17, 2018
c5f4a9d
modified testWithThaiLocale to use current time
lilgreenbird Nov 19, 2018
d93e0fe
fixed issue with timezone
lilgreenbird Nov 19, 2018
27702d3
fixed issue with timezone
lilgreenbird Nov 19, 2018
a48c810
fixed issue with timezone
lilgreenbird Nov 20, 2018
9c697cf
added SparseTest and BigIntegerTest and cleaned up with try-with-reso…
lilgreenbird Nov 20, 2018
83b6ddc
review changes
lilgreenbird Nov 23, 2018
b3c5ac5
review comments
lilgreenbird Nov 23, 2018
8f71ce6
more review updates
lilgreenbird Nov 23, 2018
c46db9f
review updates
lilgreenbird Nov 26, 2018
e9556dd
Merge remote-tracking branch 'upstream/dev' into cov
lilgreenbird Nov 26, 2018
3a0703d
removed dummy file
lilgreenbird Nov 26, 2018
d507114
review udpates
lilgreenbird Nov 27, 2018
2994200
more cleanup
lilgreenbird Nov 27, 2018
e3512f9
updated isSqlAzure
lilgreenbird Nov 28, 2018
7452606
Pull master history to dev branch (#897)
ulvii Dec 1, 2018
02467eb
Release | Change the development version to 7.1.4-SNAPSHOT
ulvii Dec 3, 2018
e4cb7f2
Merge branch 'cov' of https://github.com/lilgreenbird/mssql-jdbc into…
lilgreenbird Dec 13, 2018
5217270
review updates
lilgreenbird Dec 13, 2018
79ac177
more review updates
lilgreenbird Dec 13, 2018
ada91ae
fixed imports
lilgreenbird Dec 13, 2018
36838a8
updated failed error strings with more detail
lilgreenbird Dec 13, 2018
a196be9
added locale to time format
lilgreenbird Dec 13, 2018
c7df1ed
format date for comparision
lilgreenbird Dec 13, 2018
9a1c8ce
Improvement | Fix synchronization on a non-final field (#860)
simon04 Dec 14, 2018
dbcc0a3
1 more timezone fix
lilgreenbird Dec 14, 2018
f36c132
Merge remote-tracking branch 'upstream/dev' into cov
lilgreenbird Dec 14, 2018
9276e40
Remove hardcoded error messages from test file (#904)
peterbae Dec 17, 2018
5afcae3
GitHub | Update Issue and Pull Request templates. (#906)
cheenamalhotra Dec 17, 2018
bcc8732
cleanup leaded stream resources
lilgreenbird Dec 17, 2018
a5ee49f
Merge remote-tracking branch 'upstream/dev' into cov
lilgreenbird Dec 17, 2018
b6bae75
Improvement | Added new APIs to retrieve SQL Server error information…
cheenamalhotra Dec 17, 2018
62f615b
Merge remote-tracking branch 'upstream/dev' into cov
lilgreenbird Dec 18, 2018
fe01b41
manually merged with #903 changes for now
lilgreenbird Dec 18, 2018
7c804bc
Add ability to perform JUnit testing against Azure DW (#903)
peterbae Dec 18, 2018
d72eccc
merged
lilgreenbird Dec 18, 2018
238b66f
more cleanup on assertEqual checks
lilgreenbird Dec 18, 2018
dc1a721
more cleanup on assertEqual checks
lilgreenbird Dec 18, 2018
6eac22c
cosmetic changes from review
lilgreenbird Dec 19, 2018
72956ed
updated all assertEquals params to proper expected, actual order
lilgreenbird Dec 19, 2018
db38827
fixed comments and leaked resultsets
lilgreenbird Dec 20, 2018
33bbc84
Add support for OffsetDateTime to be passed as 'type' in ResultSet.ge…
harawata Dec 22, 2018
3f9635a
Feature | Active Directory MSI Authentication support (#838)
cheenamalhotra Dec 25, 2018
ec052ca
Tests | Added more datatype tests to increase code coverage (#878)
lilgreenbird Dec 25, 2018
850675e
Imrpovement | MSI support minor alignments and adjustments (#915)
cheenamalhotra Dec 27, 2018
10fd845
Fix | Send java.time.OffsetDateTime value to the server unaffected by…
harawata Dec 28, 2018
4a14861
Add | DataSourceFactory and OSGI Framework APIs (#700)
laeubi Jan 2, 2019
a1e56f2
Make SSL certificate validation respect wildcards (#836)
peterbae Jan 2, 2019
b18c44e
Enable all tests in newly added datatype test (#916)
lilgreenbird Jan 3, 2019
0a5e216
Tests | Rename test file name (#917)
lilgreenbird Jan 3, 2019
fc24284
Updates | Test Improvements + Readme changes + Dependency version upd…
cheenamalhotra Jan 4, 2019
d639870
Workaround Bulk Copy for batch insert operation against specific data…
peterbae Jan 4, 2019
9e9fe83
Release | 7.1.4 preview release changes (#922)
peterbae Jan 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug report
about: Report a bug to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

## 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/sql/connect/jdbc/tracing-driver-operation?view=sql-server-2017 -->

## Reproduction code
<!--- Provide standalone JAVA code that reproduces the issue, preferably raw JDBC code. -->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature Request
about: Suggest an idea for this project
title: "[FEATURE REQUEST]"
labels: enhancement
assignees: ''

---

## Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
<!--- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --->

## Describe the preferred solution
<!--- A clear and concise description of what you want to happen. --->

## Describe alternatives you've considered
<!--- A clear and concise description of any alternative solutions or features you've considered. --->

## Additional context
<!--- Add any other context or screenshots about the feature request here. --->

## Reference Documentations/Specifications
<!--- Provide links to JDBC Specifications or any other related documentation. --->

<!--- Optional --->
## Reference Implementation
<!--- Provide link to any available implementation references --->
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Question
about: Discuss an idea to see if it would be an appropriate Issue.
title: "[QUESTION]"
labels: question
assignees: ''

---

## Question
<!--- What is the question that you have? Please be detailed and give examples. --->

## Relevant Issues and Pull Requests
<!--- If there are relevant issues and pull requests please list and link them here. --->
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/bug_fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Bug Fix
about: Fix for a driver issue
title: "Fix | "

---

## Problem description
<!--- Provide full details of the problem if no corresponding GitHub issue exists. --->

### Fixes existing GitHub issue
<!--- Provide link to GitHub issue above. --->

## Fix Description
<!--- Briefly describe the fix implementation. --->

## New Public APIs
<!--- List any new public APIs added with this Fix. --->

16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature
about: Propose a new feature to the driver
title: "Feature | "

---

## Brief Description
<!--- Briefly describe the feature introduced with the PR. --->

<!--- Optional --->
### Fixes existing GitHub issue
<!--- Provide link to GitHub issue above. --->

## New Public APIs
<!--- List any new public APIs added with this Feature. --->
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: Improvements
about: Improve driver's performance/code quality
title: "Improvement | "

---

## Brief Description
<!--- Briefly describe the changes introduced with the PR. --->
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/other.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Other
about: Propose a custom change to the project source code.
title: "Other | "

---

## Brief Description
<!--- Briefly describe the feature introduced with the PR. --->

<!--- Optional --->
### Fixes existing GitHub issue
<!--- Provide link to GitHub issue above. --->

## New Public APIs
<!--- List any new public APIs added with this Feature. --->
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: Release
about: Push changes for release preparations
title: "Release | "

---

## Brief Description
<!--- Briefly describe the changes introduced with the PR. --->
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ 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.4] Preview Release
### Added
- Added APIs for DataSourceFactory and OSGI Framework [#700](https://github.com/Microsoft/mssql-jdbc/pull/700)
- Added support for OffsetDateTime to be passed as 'type' in ResultSet.getObject() [#830](https://github.com/Microsoft/mssql-jdbc/pull/830)
- Added support for Active Directory MSI Authentication [#838](https://github.com/Microsoft/mssql-jdbc/pull/838)
- Added more datatype tests to JUnit test suite [#878](https://github.com/Microsoft/mssql-jdbc/pull/878) [#916](https://github.com/Microsoft/mssql-jdbc/pull/916)
- Added an option to perform JUnit testing against Azure Data Warehouse [#903](https://github.com/Microsoft/mssql-jdbc/pull/903)
- Added new APIs to retrieve SQL Server error information received with SQLServerException [#905](https://github.com/Microsoft/mssql-jdbc/pull/905)

### Fixed Issues
- Fixed issue with java.time.OffsetDateTime value sent to the server being affected by the default timezone [#831](https://github.com/Microsoft/mssql-jdbc/pull/831)
- Fixed SSL certificate validation to respect wildcards [#836](https://github.com/Microsoft/mssql-jdbc/pull/836)
- Fixed Bulk Copy for batch insert operation to not error out against specific datatypes [#912](https://github.com/Microsoft/mssql-jdbc/pull/912)

### Changed
- Fixed synchronization on a non-final field [#860](https://github.com/Microsoft/mssql-jdbc/pull/860)
- Removed hardcoded error messages from test file [#904](https://github.com/Microsoft/mssql-jdbc/pull/904)
- Updated Issue and Pull Request templates [#906](https://github.com/Microsoft/mssql-jdbc/pull/906)
- Updated JUnit tests by closing all resources consistently and updated Maven dependency versions to latest [#919](https://github.com/Microsoft/mssql-jdbc/pull/919)

## [7.1.3] Preview Release
### Added
- Added a new SQLServerMetaData constructor for string values of length greater than 4000 [#876](https://github.com/Microsoft/mssql-jdbc/pull/876)
Expand Down
42 changes: 31 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ 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>7.1.3.jre11-preview</version>
<version>7.1.4.jre11-preview</version>
</dependency>
```

Expand All @@ -102,8 +102,10 @@ Starting from version 7.0.0, the driver Jars (jre10 and above) will expose 'Auto
This project has following dependencies:

Compile Time:
- `azure-keyvault` : Azure Key Vault Provider for Always Encrypted Azure Key Vault feature (optional)
- `adal4j` : Azure ActiveDirectory Library for Java for Azure Active Directory Authentication feature and Azure Key Vault feature (optional)
- `com.microsoft.azure:azure-keyvault` : Azure Key Vault Provider for Always Encrypted Azure Key Vault feature (optional)
- `com.microsoft.azure:azure-keyvault-webkey` : Azure Key Vault Provider for Always Encrypted Azure Key Vault feature (optional)
- `com.microsoft.azure:adal4j` : Azure Active Directory Library for Java for Azure Active Directory Authentication feature and Azure Key Vault feature (optional)
- `com.microsoft.rest:client-runtime` : Azure Active Directory Library for Java for Azure Active Directory Authentication feature and Azure Key Vault feature (optional)

Test Time:
- `junit:jar` : For Unit Test cases.
Expand All @@ -117,43 +119,61 @@ mvn dependency:tree
### Azure Key Vault and Azure Active Directory Authentication Dependencies
Projects that require either of the two features need to explicitly declare the dependency in their pom file.

***For Example:*** If you are using *Azure Active Directory Authentication feature* then you need to redeclare *adal4j* dependency in your project's pom file. Please see the following snippet:
***For Example:*** If you are using *Azure Active Directory Authentication feature* then you need to redeclare *adal4j* and *client-runtime* dependency in your project's pom file. Please see the following snippet:

```xml
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>7.1.3.jre11-preview</version>
<version>7.1.4.jre11-preview</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.6.0</version>
<version>1.6.3</version>
</dependency>

<dependency>
<groupId>com.microsoft.rest</groupId>
<artifactId>client-runtime</artifactId>
<version>1.6.5</version>
</dependency>
```

***For Example:*** If you are using *Azure Key Vault feature* then you need to redeclare *azure-keyvault* dependency and *adal4j* dependency in your project's pom file. Please see the following snippet:
***For Example:*** If you are using *Azure Key Vault feature* then you need to redeclare *azure-keyvault*, *azure-keyvault-webkey* dependency and *adal4j*, *client-runtime* dependency in your project's pom file. Please see the following snippet:

```xml
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>7.1.3.jre11-preview</version>
<version>7.1.4.jre11-preview</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.6.0</version>
<version>1.6.3</version>
</dependency>

<dependency>
<groupId>com.microsoft.rest</groupId>
<artifactId>client-runtime</artifactId>
<version>1.6.5</version>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<version>1.0.0</version>
<version>1.2.0</version>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>zure-keyvault-webkey</artifactId>
<version>1.2.0</version>
</dependency>
```

Expand Down Expand Up @@ -189,7 +209,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, 7.0. Preview versions have an odd minor version. For example, 6.1, 6.3, 6.5, 7.1.
Starting with 6.0, stable versions have an even minor version. For example, 6.0, 6.2, 6.4, 7.0, 7.2. 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
26 changes: 13 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

apply plugin: 'java'

version = '7.1.3'
version = '7.1.4'
def jreVersion = ""
def testOutputDir = file("build/classes/java/test")
def archivesBaseName = 'mssql-jdbc'
Expand Down Expand Up @@ -82,18 +82,18 @@ repositories {
}

dependencies {
compileOnly 'com.microsoft.azure:azure-keyvault:1.1.1',
'com.microsoft.azure:azure-keyvault-webkey:1.1.1',
'com.microsoft.rest:client-runtime:1.6.2',
'com.microsoft.azure:adal4j:1.6.2'
testCompile 'org.junit.platform:junit-platform-console:1.3.1',
'org.junit.platform:junit-platform-commons:1.3.1',
'org.junit.platform:junit-platform-engine:1.3.1',
'org.junit.platform:junit-platform-launcher:1.3.1',
'org.junit.platform:junit-platform-runner:1.3.1',
'org.junit.platform:junit-platform-surefire-provider:1.3.1',
'org.junit.jupiter:junit-jupiter-api:5.3.1',
'org.junit.jupiter:junit-jupiter-engine:5.3.1',
compileOnly 'com.microsoft.azure:azure-keyvault:1.2.0',
'com.microsoft.azure:azure-keyvault-webkey:1.2.0',
'com.microsoft.rest:client-runtime:1.6.5',
'com.microsoft.azure:adal4j:1.6.3'
testCompile 'org.junit.platform:junit-platform-console:1.3.2',
'org.junit.platform:junit-platform-commons:1.3.2',
'org.junit.platform:junit-platform-engine:1.3.2',
'org.junit.platform:junit-platform-launcher:1.3.2',
'org.junit.platform:junit-platform-runner:1.3.2',
'org.junit.platform:junit-platform-surefire-provider:1.3.2',
'org.junit.jupiter:junit-jupiter-api:5.3.2',
'org.junit.jupiter:junit-jupiter-engine:5.3.2',
'com.zaxxer:HikariCP:3.2.0',
'org.apache.commons:commons-dbcp2:2.5.0',
'org.slf4j:slf4j-nop:1.7.25'
Expand Down
Loading