Skip to content

Commit 930696b

Browse files
author
Augusto Passalacqua
authored
Merge update to 8.12.4, 9 compatible.
Update Database Connector to 8.12.4
2 parents 0509eb4 + c47f4b3 commit 930696b

File tree

45 files changed

+17
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+17
-16
lines changed

DatabaseConnector.mpr

112 KB
Binary file not shown.

DatabaseConnector.pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@
77
<parent>
88
<groupId>com.mendix.databaseconnector</groupId>
99
<artifactId>databaseconnector-main</artifactId>
10-
<version>3.1.0</version>
10+
<version>4.0.0</version>
1111
<relativePath>.</relativePath>
1212
</parent>
1313

1414
<artifactId>databaseconnector</artifactId>
15-
<version>3.1.0</version>
15+
<version>4.0.0</version>
1616

1717
<dependencies>
1818
<dependency>
1919
<groupId>com.zaxxer</groupId>
2020
<artifactId>HikariCP</artifactId>
21-
<version>2.6.1</version>
21+
<version>3.4.5</version>
2222
</dependency>
2323
<dependency>
2424
<groupId>org.slf4j</groupId>
2525
<artifactId>slf4j-api</artifactId>
26-
<version>1.7.21</version>
26+
<version>1.7.28</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>com.ibm.db2.jcc</groupId>
@@ -34,37 +34,37 @@
3434
<dependency>
3535
<groupId>org.hsqldb</groupId>
3636
<artifactId>hsqldb</artifactId>
37-
<version>2.4.1</version>
37+
<version>2.5.0</version>
3838
<scope>runtime</scope>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.mariadb.jdbc</groupId>
4242
<artifactId>mariadb-java-client</artifactId>
43-
<version>2.5.4</version>
43+
<version>2.6.0</version>
4444
<scope>runtime</scope>
4545
</dependency>
4646
<dependency>
4747
<groupId>com.microsoft.sqlserver</groupId>
4848
<artifactId>mssql-jdbc</artifactId>
49-
<version>8.2.0.jre11</version>
49+
<version>8.2.2.jre11</version>
5050
<scope>runtime</scope>
5151
</dependency>
5252
<dependency>
53-
<groupId>com.oracle.ojdbc</groupId>
53+
<groupId>com.oracle.database.jdbc</groupId>
5454
<artifactId>ojdbc8</artifactId>
55-
<version>19.3.0.0</version>
55+
<version>19.6.0.0</version>
5656
<scope>runtime</scope>
5757
</dependency>
5858
<dependency>
5959
<groupId>org.postgresql</groupId>
6060
<artifactId>postgresql</artifactId>
61-
<version>42.2.9</version>
61+
<version>42.2.14</version>
6262
<scope>runtime</scope>
6363
</dependency>
6464
<dependency>
6565
<groupId>com.sap.cloud.db.jdbc</groupId>
6666
<artifactId>ngdbc</artifactId>
67-
<version>2.3.58</version>
67+
<version>2.4.76</version>
6868
<scope>runtime</scope>
6969
</dependency>
7070
</dependencies>

DatabaseConnectorTest.pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>com.mendix.databaseconnector</groupId>
99
<artifactId>databaseconnector-main</artifactId>
10-
<version>3.1.0</version>
10+
<version>4.0.0</version>
1111
<relativePath>.</relativePath>
1212
</parent>
1313

1414
<artifactId>databaseconnectortest</artifactId>
15-
<version>3.1.0</version>
15+
<version>4.0.0</version>
1616

1717
<dependencies>
1818
<dependency>
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>commons-io</groupId>
2525
<artifactId>commons-io</artifactId>
26-
<version>2.3</version>
26+
<version>2.6</version>
2727
</dependency>
2828
</dependencies>
2929
</project>

javasource/databaseconnectortest/actions/SetBinaryTextValue.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import com.mendix.systemwideinterfaces.core.IContext;
1414
import com.mendix.systemwideinterfaces.core.IMendixObject;
1515
import com.mendix.webui.CustomJavaAction;
16+
import java.io.ByteArrayInputStream;
1617

1718
public class SetBinaryTextValue extends CustomJavaAction<java.lang.Boolean>
1819
{
@@ -33,7 +34,7 @@ public java.lang.Boolean executeAction() throws Exception
3334
{
3435
// BEGIN USER CODE
3536
MendixBinary binaryMember = (MendixBinary) instance.getMember(getContext(), member);
36-
binaryMember.setValue(getContext(), value.getBytes());
37+
binaryMember.setValue(getContext(), new ByteArrayInputStream(value.getBytes()));
3738

3839
return true;
3940
// END USER CODE

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.mendix.databaseconnector</groupId>
88
<artifactId>databaseconnector-main</artifactId>
9-
<version>3.1.0</version>
9+
<version>4.0.0</version>
1010
<licenses>
1111
<license>
1212
<name>Apache License, Version 2.0</name>
153 KB
Binary file not shown.

0 commit comments

Comments
 (0)