OPENJPA-2567 @Lob on String results in TEXT not BLOB

This commit is contained in:
Mark Struberg 2018-11-02 10:38:53 +01:00
parent 0530b5b72b
commit 4bb1caa36d
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class TestClobColumnType extends SingleEMFTestCase {
private boolean _runTest = false; // only test with MySQL
@Override
public void setUp() throws Exception {
public void setUp() throws Exception {
// create EMF solely to obtain a DBDictionary.
// need to do this without ClobColumnEntity.class since it contains a column definition which might
@ -89,7 +89,7 @@ public class TestClobColumnType extends SingleEMFTestCase {
public void testDefaultLob() {
if (_runTest) {
assertEquals(getDBDictionary().blobTypeName, getCol("defaultLob").getTypeIdentifier().getName());
assertEquals(getDBDictionary().clobTypeName, getCol("defaultLob").getTypeIdentifier().getName());
}
}
}