SQL Server Driver is now on Maven Central
This commit is contained in:
parent
cc1730fb01
commit
4e5648dc8a
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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;"
|
||||
);
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue