disable MSSQL from LOB stream tests

From the MS SQL Server documentation, it looks like JDBC4 drivers changed the behaviour.
"The next call to a getter method implicitly closes the stream".
Thus storing the InputStream in an entity will always result in a closed stream.
Since JDBC4 all drivers should behave that way actually.
And this is a sane way to prevent file handle leaks.
This commit is contained in:
Mark Struberg 2021-03-30 21:44:43 +02:00
parent d48f439bc8
commit 80a16896f1
2 changed files with 2 additions and 3 deletions

View File

@ -51,8 +51,7 @@ public abstract class AbstractLobTest extends SingleEMFTestCase {
protected List<Class<?>> supportedDatabases =
new ArrayList<>
(Arrays.asList(MySQLDictionary.class, OracleDictionary.class, SQLServerDictionary.class,
DB2Dictionary.class));
(Arrays.asList(MySQLDictionary.class, OracleDictionary.class, DB2Dictionary.class));
@Override
public void setUp() throws Exception {

View File

@ -79,7 +79,7 @@
<mysql.connector.version>5.1.47</mysql.connector.version>
<mariadb.connector.version>2.2.0</mariadb.connector.version>
<postgresql.connector.version>42.2.5</postgresql.connector.version>
<mssql.connector.version>7.4.1.jre8</mssql.connector.version>
<mssql.connector.version>9.2.1.jre8</mssql.connector.version>
<!-- other common versions -->
<kubernetes-client.version>4.7.0</kubernetes-client.version>