Test NationalizedLobFieldTest.testNationalization fails on some databases that don't support nclob type

Description

test NationalizedLobFieldTest#testNationalization fails on DB2, MariaDB, MySQL, PostgreSql and Sybase

DB2:
jdbc driver doesn't support getNClob method

MariaDB:

Also MariaDB Connector doesn't support getNClob: https://github.com/MariaDB/mariadb-connector-j/blob/master/src/main/java/org/mariadb/jdbc/MariaDbResultSet.java#L3245

MySQL:
the same as MariaDB

PostgreSQL:
PostgreSQL hasn't NCLOB/CLOB types, but is has TEXT

Sybase:

also JDBC driver doesn't support getNClob

Activity

Former userFebruary 9, 2016 at 7:03 AM

Fixed in master and 5.0 branches.

Martin SimkaJanuary 25, 2016 at 12:48 PM
Edited

PR master: https://github.com/hibernate/hibernate-orm/pull/1240
PR 5.0: https://github.com/hibernate/hibernate-orm/pull/1243

it skips NationalizedLobFieldTest on databases that don't support nclob

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created January 25, 2016 at 12:38 PM
Updated February 17, 2016 at 8:14 PM
Resolved February 9, 2016 at 7:03 AM