SQL Server Driver is now on Maven Central

This commit is contained in:
Vlad Mihalcea 2016-11-18 17:39:14 +02:00
parent cc1730fb01
commit 4e5648dc8a
3 changed files with 7 additions and 10 deletions

View File

@ -163,18 +163,14 @@ subprojects { subProject ->
testRuntime( libraries.postgresql )
testRuntime( libraries.mysql )
testRuntime( libraries.mariadb )
testRuntime( libraries.mssql )
testRuntime( libraries.informix )
if (db.equalsIgnoreCase("oracle")) {
dependencies {
testRuntime( libraries.oracle )
}
}
if (db.equalsIgnoreCase("mssql")) {
dependencies {
testRuntime( libraries.mssql )
}
}
// 6.6 gave me some NPE problems from within checkstyle...
checkstyle 'com.puppycrawl.tools:checkstyle:6.5'
}

View File

@ -135,7 +135,7 @@ public class SQLServerStoredProcedureTest extends BaseEntityManagerFunctionalTes
"AS " +
"BEGIN " +
" SELECT @phoneCount = COUNT(*) " +
" FROM phone " +
" FROM Phone " +
" WHERE person_id = @personId " +
"END"
);
@ -147,7 +147,7 @@ public class SQLServerStoredProcedureTest extends BaseEntityManagerFunctionalTes
"BEGIN " +
" DECLARE @phoneCount int; " +
" SELECT @phoneCount = COUNT(*) " +
" FROM phone " +
" FROM Phone " +
" WHERE person_id = @personId; " +
" RETURN(@phoneCount); " +
"END"
@ -162,7 +162,7 @@ public class SQLServerStoredProcedureTest extends BaseEntityManagerFunctionalTes
" SET @phones = CURSOR " +
" FORWARD_ONLY STATIC FOR " +
" SELECT * " +
" FROM phone " +
" FROM Phone " +
" WHERE person_id = @personId; " +
" OPEN @phones;"
);

View File

@ -98,7 +98,8 @@ ext {
mysql: 'mysql:mysql-connector-java:5.1.38',
mariadb: 'org.mariadb.jdbc:mariadb-java-client:1.1.7',
oracle: 'com.oracle.ojdbc:ojdbc7:12.1.0.2.0',
mssql: 'com.microsoft.sqlserver:sqljdbc4:4.0',
mssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',
informix: 'com.ibm.informix:jdbc:4.10.7.20160517',
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
xapool: "com.experlog:xapool:1.5.0",