diff --git a/build.yaml b/build.yaml index c4f80399b..e03f63ea9 100644 --- a/build.yaml +++ b/build.yaml @@ -10,21 +10,23 @@ additionalTestConfigs: mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dmssql -DminVersion=4.3.0 -DskipTita" derby_jdk8: mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dderby -DminVersion=4.3.0 -DskipTita" + # In all jdk11 configurations, the runtime is set to 4.8.x until W-17842670 is fixed + # Because of this, the discovery configuration is bypassed and we need to specify runtimeProduct as MULE_EE oracle_jdk11: testJdkTool: OPEN-JDK11 - mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.3.0 -Doracle -DskipTita" + mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Doracle -DskipTita -DruntimeVersion=4.8.5 -DruntimeProduct=MULE_EE" postgresql_jdk11: testJdkTool: OPEN-JDK11 - mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.3.0 -Dpostgresql -DskipTita" + mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dpostgresql -DskipTita -DruntimeVersion=4.8.5" mysql_jdk11: testJdkTool: OPEN-JDK11 - mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.3.0 -Dmysql -DskipTita" + mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dmysql -DskipTita -DruntimeVersion=4.8.5" mssql_jdk11: testJdkTool: OPEN-JDK11 - mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.3.0 -Dmssql -DskipTita" + mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dmssql -DskipTita -DruntimeVersion=4.8.5" derby_jdk11: testJdkTool: OPEN-JDK11 - mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.3.0 -Dderby -DskipTita" + mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -Dderby -DskipTita -DruntimeVersion=4.8.5" oracle_jdk17: testJdkTool: OPEN-JDK17 mavenAdditionalArgs: "-Dtest=none -DfailIfNoTests=false -DminVersion=4.6.0 -Doracle -DskipTita" diff --git a/pom.xml b/pom.xml index 32e662a5a..4a9c75924 100644 --- a/pom.xml +++ b/pom.xml @@ -72,9 +72,9 @@ 3.1.6 0.8.0 - 3.3.2 + 3.4.0 1.2.0 - 1.4.0 + 1.5.0 0.8.10 3.8.1 diff --git a/src/main/java/org/mule/extension/db/api/param/TypeClassifier.java b/src/main/java/org/mule/extension/db/api/param/TypeClassifier.java index 5f1046bc5..5ac0567cd 100644 --- a/src/main/java/org/mule/extension/db/api/param/TypeClassifier.java +++ b/src/main/java/org/mule/extension/db/api/param/TypeClassifier.java @@ -80,6 +80,15 @@ public JdbcType getJdbcType() { @ExcludeFromGeneratedCoverage public void setJdbcType(JdbcType type) { + setType(type); + } + + public JdbcType getType() { + return type; + } + + @ExcludeFromGeneratedCoverage + public void setType(JdbcType type) { this.type = type; } } diff --git a/src/test/munit/mssql/db-stored-procedure-output-param-test.xml b/src/test/munit/mssql/db-stored-procedure-output-param-test.xml new file mode 100644 index 000000000..ac8f55260 --- /dev/null +++ b/src/test/munit/mssql/db-stored-procedure-output-param-test.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/munit/mysql/db-stored-procedure-output-param-test.xml b/src/test/munit/mysql/db-stored-procedure-output-param-test.xml new file mode 100644 index 000000000..877b441d5 --- /dev/null +++ b/src/test/munit/mysql/db-stored-procedure-output-param-test.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/munit/oracle/db-stored-procedure-output-param-test.xml b/src/test/munit/oracle/db-stored-procedure-output-param-test.xml new file mode 100644 index 000000000..d2f3293c2 --- /dev/null +++ b/src/test/munit/oracle/db-stored-procedure-output-param-test.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/munit/postgresql/db-stored-procedure-output-param-test.xml b/src/test/munit/postgresql/db-stored-procedure-output-param-test.xml new file mode 100644 index 000000000..aa3e5effa --- /dev/null +++ b/src/test/munit/postgresql/db-stored-procedure-output-param-test.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file