-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from Microsoft/dev
Preparing release
- Loading branch information
Showing
114 changed files
with
6,813 additions
and
3,540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
sudo: required | ||
|
||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
- mssql_jdbc_test_connection_properties='jdbc:sqlserver://localhost:1433;databaseName=master;username=sa;password=<YourStrong!Passw0rd>;' | ||
|
||
install: | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pbuild41 | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pbuild42 | ||
|
||
before_script: | ||
- docker pull microsoft/mssql-server-linux | ||
- docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=<YourStrong!Passw0rd>' -p 1433:1433 -d microsoft/mssql-server-linux | ||
|
||
script: | ||
- docker ps -a | ||
- mvn test -B -Pbuild41 | ||
- mvn test -B -Pbuild42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
|
||
## [6.1.1] | ||
### Added | ||
- Java Docs [#46](https://github.com/Microsoft/mssql-jdbc/pull/46) | ||
- Driver version number in LOGIN7 packet [#43](https://github.com/Microsoft/mssql-jdbc/pull/43) | ||
- Travis- CI Integration [#23](https://github.com/Microsoft/mssql-jdbc/pull/23) | ||
- Appveyor Integration [#23](https://github.com/Microsoft/mssql-jdbc/pull/23) | ||
- Make Ms Jdbc driver more Spring friendly [#9](https://github.com/Microsoft/mssql-jdbc/pull/9) | ||
- Implement Driver#getParentLogger [#8](https://github.com/Microsoft/mssql-jdbc/pull/8) | ||
- Implement missing MetaData #unwrap methods [#12](https://github.com/Microsoft/mssql-jdbc/pull/12) | ||
- Added Gradle build script [#54](https://github.com/Microsoft/mssql-jdbc/pull/54) | ||
- Added a queryTimeout connection parameter [#45](https://github.com/Microsoft/mssql-jdbc/pull/45) | ||
- Added Stored Procedure support for TVP [#47](https://github.com/Microsoft/mssql-jdbc/pull/47) | ||
|
||
### Changed | ||
- Use StandardCharsets [#15](https://github.com/Microsoft/mssql-jdbc/pull/15) | ||
- Use Charset throughout [#26](https://github.com/Microsoft/mssql-jdbc/pull/26) | ||
- Upgrade azure-keyvault to 0.9.7 [#50](https://github.com/Microsoft/mssql-jdbc/pull/50) | ||
- Avoid unnecessary calls to String copy constructor [#14](https://github.com/Microsoft/mssql-jdbc/pull/14) | ||
- make setObject() throw a clear exception for TVP when using with result set [#48](https://github.com/Microsoft/mssql-jdbc/pull/48) | ||
- Few clean-ups like remove wild card imports, unused imports etc. [#52](https://github.com/Microsoft/mssql-jdbc/pull/52) | ||
- Update Maven Plugin [#55](https://github.com/Microsoft/mssql-jdbc/pull/55) | ||
|
||
|
||
## [6.1.0] | ||
### Changed | ||
- Open Sourced. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '{build}' | ||
|
||
environment: | ||
mssql_jdbc_test_connection_properties: jdbc:sqlserver://localhost:1433;instanceName=SQL2016;databaseName=master;username=sa;password=Password12!; | ||
matrix: | ||
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0 | ||
|
||
services: | ||
- mssql2016 | ||
|
||
build_script: | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pbuild41 | ||
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pbuild42 | ||
test_script: | ||
- mvn test -B -Pbuild41 | ||
- mvn test -B -Pbuild42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
apply plugin: 'java' | ||
|
||
archivesBaseName = 'mssql-jdbc' | ||
version = '6.1.1' | ||
|
||
allprojects { | ||
tasks.withType(JavaCompile) { | ||
options.encoding = 'UTF-8' | ||
} | ||
|
||
tasks.withType(Test) { | ||
systemProperty "file.encoding", "UTF-8" | ||
} | ||
} | ||
|
||
def excludedFile = '' | ||
|
||
if(build == "build41") { | ||
jar.archiveName = "${archivesBaseName}-${version}.jre7.jar" | ||
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java' | ||
|
||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.7 | ||
} | ||
|
||
if(build == "build42") { | ||
jar.archiveName = "${archivesBaseName}-${version}.jre8.jar" | ||
excludedFile = 'com/microsoft/sqlserver/jdbc/SQLServerJdbc41.java' | ||
|
||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes 'Title': "Microsoft JDBC Driver ${version} for SQL Server", | ||
'Version': version, | ||
'Vendor': 'Microsoft Corporation' | ||
} | ||
} | ||
|
||
sourceSets { | ||
main { | ||
java { | ||
srcDirs 'src/main/java' | ||
exclude excludedFile | ||
} | ||
|
||
resources { | ||
srcDirs "$projectDir" | ||
include 'META-INF/services/java.sql.Driver' | ||
} | ||
} | ||
} | ||
|
||
//Get dependencies from Maven central repository | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compile 'com.microsoft.azure:azure-keyvault:0.9.7', | ||
'junit:junit:4.12' | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.