You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Virtual Schema for MySQL 4.0.1, released 2022-10-24
1
+
# Virtual Schema for MySQL 4.0.1, released 2022-11-24
2
2
3
-
Code name: Dependency Updates
3
+
Code name: Improved documentation
4
4
5
5
## Summary
6
6
7
-
Updated dependencies to fix vulnerabilities.
7
+
In release 4.0.1 we improved the installation instructions in the user guide, removed an old file that was left over from when the VS used Lombok and updated dependencies to fix vulnerabilities.
8
8
9
-
## Features
9
+
## Bugfixes
10
10
11
11
*#23: Fixed CVE-2022-3171 reported for `com.google.protobuf:protobuf-java` by updating `com.mysql:mysql-connector-j`.
12
12
13
13
## Dependency Updates
14
14
15
-
### Compile Dependency Updates
16
-
17
-
* Updated `com.exasol:virtual-schema-common-jdbc:9.0.5` to `10.0.1`
18
-
19
15
### Test Dependency Updates
20
16
21
-
* Updated `com.exasol:exasol-testcontainers:6.1.1` to `6.2.0`
22
-
* Updated `com.exasol:hamcrest-resultset-matcher:1.5.1` to `1.5.2`
23
-
* Updated `com.exasol:test-db-builder-java:3.3.2` to `3.4.0`
24
-
* Updated `com.exasol:udf-debugging-java:0.6.2` to `0.6.4`
25
-
* Updated `com.exasol:virtual-schema-common-jdbc:9.0.5` to `10.0.1`
26
-
* Updated `com.exasol:virtual-schema-shared-integration-tests:2.2.0` to `2.2.2`
IMPORTANT: Currently you have to **Disable Security Manager** for the driver if you want to connect to MySQL using Virtual Schemas.
30
31
It is necessary because JDBC driver requires a JAVA permission which we do not grant by default.
@@ -46,13 +47,13 @@ Then create a schema to hold the adapter script.
46
47
CREATESCHEMASCHEMA_FOR_VS_SCRIPT;
47
48
```
48
49
49
-
The SQL statement below creates the adapter script, defines the Java class that serves as entry point and tells the UDF framework where to find the libraries (JAR files) for Virtual Schema and database driver.
50
+
The SQL statement below creates the adapter script, defines the Java class that serves as entry point and tells the UDF framework where to find the libraries (JAR files) for Virtual Schema and JDBC database driver.
50
51
51
52
```sql
52
53
CREATE OR REPLACE JAVA ADAPTER SCRIPT SCHEMA_FOR_VS_SCRIPT.ADAPTER_SCRIPT_MYSQLAS
|TEXT | ✓ | VARCHAR(65535) | The size of the column is always 65535.*|
109
+
|TINYBLOB | × |||
110
+
|TINYINT | ✓ | DECIMAL ||
111
+
|TINYTEXT | ✓ | VARCHAR ||
112
+
|TIME | ✓ | TIMESTAMP | Casted to `TIMESTAMP` with a format `1970-01-01 hh:mm:ss`. |
113
+
|TIMESTAMP | ✓ | TIMESTAMP ||
114
+
|VARBINARY | × |||
115
+
|VARCHAR | ✓ | VARCHAR ||
116
+
|YEAR | ✓ | DATE ||
116
117
117
118
* The tested versions of MySQL Connector JDBC Driver return the column's size depending on the charset and its collation.
118
119
As the real data in a MySQL table can sometimes exceed the size that we get from the JDBC driver, we set the size for all TEXT columns to 65535 characters.
0 commit comments