mirror of https://github.com/apache/openjpa.git
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:
parent
d48f439bc8
commit
80a16896f1
|
@ -51,8 +51,7 @@ public abstract class AbstractLobTest extends SingleEMFTestCase {
|
||||||
|
|
||||||
protected List<Class<?>> supportedDatabases =
|
protected List<Class<?>> supportedDatabases =
|
||||||
new ArrayList<>
|
new ArrayList<>
|
||||||
(Arrays.asList(MySQLDictionary.class, OracleDictionary.class, SQLServerDictionary.class,
|
(Arrays.asList(MySQLDictionary.class, OracleDictionary.class, DB2Dictionary.class));
|
||||||
DB2Dictionary.class));
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -79,7 +79,7 @@
|
||||||
<mysql.connector.version>5.1.47</mysql.connector.version>
|
<mysql.connector.version>5.1.47</mysql.connector.version>
|
||||||
<mariadb.connector.version>2.2.0</mariadb.connector.version>
|
<mariadb.connector.version>2.2.0</mariadb.connector.version>
|
||||||
<postgresql.connector.version>42.2.5</postgresql.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 -->
|
<!-- other common versions -->
|
||||||
<kubernetes-client.version>4.7.0</kubernetes-client.version>
|
<kubernetes-client.version>4.7.0</kubernetes-client.version>
|
||||||
|
|
Loading…
Reference in New Issue