File tree 6 files changed +61
-2
lines changed
6 files changed +61
-2
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ elif [ "$RDBMS" == "cockroachdb" ]; then
76
76
goal=" -Pdb=cockroachdb"
77
77
elif [ " $RDBMS " == " altibase" ]; then
78
78
goal=" -Pdb=altibase"
79
+ elif [ " $RDBMS " == " informix" ]; then
80
+ goal=" -Pdb=informix"
79
81
fi
80
82
81
83
# Only run checkstyle in the H2 build,
Original file line number Diff line number Diff line change @@ -32,4 +32,6 @@ elif [ "$RDBMS" == 'cockroachdb' ]; then
32
32
bash $DIR /../docker_db.sh cockroachdb
33
33
elif [ " $RDBMS " == ' hana' ]; then
34
34
bash $DIR /../docker_db.sh hana
35
+ elif [ " $RDBMS " == ' informix' ]; then
36
+ bash $DIR /../docker_db.sh informix
35
37
fi
Original file line number Diff line number Diff line change @@ -946,6 +946,58 @@ tidb_5_4() {
946
946
fi
947
947
}
948
948
949
+ informix () {
950
+ informix_14_10
951
+ }
952
+
953
+ informix_14_10 () {
954
+ $PRIVILEGED_CLI $CONTAINER_CLI rm -f informix || true
955
+ $PRIVILEGED_CLI $CONTAINER_CLI run --name informix --privileged -p 9088:9088 -e LICENSE=accept -d icr.io/informix/informix-developer-database:14.10.FC9W1DE
956
+ echo " Starting Informix. This can take a few minutes"
957
+ # Give the container some time to start
958
+ OUTPUT=
959
+ n=0
960
+ until [ " $n " -ge 10 ]
961
+ do
962
+ OUTPUT=$( $CONTAINER_CLI logs informix 2>&1 )
963
+ if [[ $OUTPUT == * " Server Started" * ]]; then
964
+ break ;
965
+ fi
966
+ n=$(( n+ 1 ))
967
+ echo " Waiting for Informix to start..."
968
+ sleep 30
969
+ done
970
+ if [ " $n " -ge 5 ]; then
971
+ echo " Informix failed to start and configure after 5 minutes"
972
+ else
973
+ echo " Informix successfully started"
974
+ fi
975
+ }
976
+
977
+ informix_12_10 () {
978
+ $PRIVILEGED_CLI $CONTAINER_CLI rm -f informix || true
979
+ $PRIVILEGED_CLI $CONTAINER_CLI run --name informix --privileged -p 9088:9088 -e LICENSE=accept -d ibmcom/informix-developer-database:12.10.FC12W1DE
980
+ echo " Starting Informix. This can take a few minutes"
981
+ # Give the container some time to start
982
+ OUTPUT=
983
+ n=0
984
+ until [ " $n " -ge 10 ]
985
+ do
986
+ OUTPUT=$( $CONTAINER_CLI logs informix 2>&1 )
987
+ if [[ $OUTPUT == * " login Information" * ]]; then
988
+ break ;
989
+ fi
990
+ n=$(( n+ 1 ))
991
+ echo " Waiting for Informix to start..."
992
+ sleep 30
993
+ done
994
+ if [ " $n " -ge 5 ]; then
995
+ echo " Informix failed to start and configure after 5 minutes"
996
+ else
997
+ echo " Informix successfully started"
998
+ fi
999
+ }
1000
+
949
1001
if [ -z ${1} ]; then
950
1002
echo " No db name provided"
951
1003
echo " Provide one of:"
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ ext {
291
291
' connection.init_sql' : ' '
292
292
],
293
293
informix : [
294
- ' db.dialect' : ' org.hibernate.dialect.InformixDialect' ,
294
+ ' db.dialect' : ' org.hibernate.community. dialect.InformixDialect' ,
295
295
' jdbc.driver' : ' com.informix.jdbc.IfxDriver' ,
296
296
' jdbc.user' : ' informix' ,
297
297
' jdbc.pass' : ' in4mix' ,
Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ dependencies {
131
131
else if ( db. startsWith( ' altibase' ) ) {
132
132
testRuntimeOnly dbLibs. altibase
133
133
}
134
+ else if ( db. startsWith( ' informix' ) ) {
135
+ testRuntimeOnly dbLibs. informix
136
+ }
134
137
135
138
annotationProcessor libs. loggingProcessor
136
139
annotationProcessor libs. logging
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ dependencyResolutionManagement {
231
231
def hanaVersion = version " hana" , " 2.19.11"
232
232
def h2gisVersion = version " h2gis" , overrideableVersion( " gradle.libs.versions.h2gis" , " 2.2.0" )
233
233
def hsqldbVersion = version " hsqldb" , overrideableVersion( " gradle.libs.versions.hsqldb" , " 2.7.2" )
234
- def informixVersion = version " informix" , " 4.10.12 "
234
+ def informixVersion = version " informix" , " 4.50. 10.1 "
235
235
def mariadbVersion = version " mariadb" , " 3.3.1"
236
236
def mssqlVersion = version " mssql" , " 12.4.2.jre11"
237
237
def mysqlVersion = version " mysql" , " 8.2.0"
You can’t perform that action at this time.
0 commit comments