Add support for testing on DB2
This commit is contained in:
parent
374a2cae09
commit
44eedfc34f
|
@ -176,6 +176,11 @@ subprojects { subProject ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (db.equalsIgnoreCase("db2")) {
|
||||||
|
dependencies {
|
||||||
|
testRuntime( libraries.db2 )
|
||||||
|
}
|
||||||
|
}
|
||||||
// 6.6 gave me some NPE problems from within checkstyle...
|
// 6.6 gave me some NPE problems from within checkstyle...
|
||||||
checkstyle 'com.puppycrawl.tools:checkstyle:6.5'
|
checkstyle 'com.puppycrawl.tools:checkstyle:6.5'
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,6 +78,13 @@ ext {
|
||||||
'jdbc.user' : 'informix',
|
'jdbc.user' : 'informix',
|
||||||
'jdbc.pass' : 'in4mix',
|
'jdbc.pass' : 'in4mix',
|
||||||
'jdbc.url' : 'jdbc:informix-sqli://192.168.99.100:9088/sysuser:INFORMIXSERVER=dev;user=informix;password=in4mix'
|
'jdbc.url' : 'jdbc:informix-sqli://192.168.99.100:9088/sysuser:INFORMIXSERVER=dev;user=informix;password=in4mix'
|
||||||
|
],
|
||||||
|
db2 : [
|
||||||
|
'db.dialect' : 'org.hibernate.dialect.DB2Dialect',
|
||||||
|
'jdbc.driver': 'com.ibm.db2.jcc.DB2Driver',
|
||||||
|
'jdbc.user' : 'db2inst1',
|
||||||
|
'jdbc.pass' : 'db2inst1-pwd',
|
||||||
|
'jdbc.url' : 'jdbc:db2://127.0.0.1:50000/hibern8'
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,6 +99,7 @@ ext {
|
||||||
|
|
||||||
oracle: 'com.oracle.jdbc:ojdbc7:12.1.0.2',
|
oracle: 'com.oracle.jdbc:ojdbc7:12.1.0.2',
|
||||||
mssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',
|
mssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',
|
||||||
|
db2: 'com.ibm.db2:db2jcc:10.5',
|
||||||
|
|
||||||
informix: 'com.ibm.informix:jdbc:4.10.7.20160517',
|
informix: 'com.ibm.informix:jdbc:4.10.7.20160517',
|
||||||
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
|
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
|
||||||
|
|
Loading…
Reference in New Issue