mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 21:24:49 +00:00
HHH-10695 - Fix MySQL should not use the NCLOB type
(cherry picked from commit 455d86307b624cc07e40d7308af7295e4cc44112)
This commit is contained in:
parent
f8393c9c20
commit
cdb11f9be2
@ -33,9 +33,9 @@ ext {
|
|||||||
mysql : [
|
mysql : [
|
||||||
'db.dialect' : 'org.hibernate.dialect.MySQL57InnoDBDialect',
|
'db.dialect' : 'org.hibernate.dialect.MySQL57InnoDBDialect',
|
||||||
'jdbc.driver': 'com.mysql.jdbc.Driver',
|
'jdbc.driver': 'com.mysql.jdbc.Driver',
|
||||||
'jdbc.user' : 'dballo15',
|
'jdbc.user' : 'hibernateormtest',
|
||||||
'jdbc.pass' : 'dballo15',
|
'jdbc.pass' : 'hibernateormtest',
|
||||||
'jdbc.url' : 'jdbc\\:mysql\\://db19.mw.lab.eng.bos.redhat.com\\:3306/dballo15'
|
'jdbc.url' : 'jdbc:mysql://localhost/hibernate_orm_test'
|
||||||
],
|
],
|
||||||
mariadb : [
|
mariadb : [
|
||||||
'db.dialect' : 'org.hibernate.dialect.MySQL57InnoDBDialect',
|
'db.dialect' : 'org.hibernate.dialect.MySQL57InnoDBDialect',
|
||||||
|
@ -85,6 +85,7 @@ public MySQLDialect() {
|
|||||||
// registerColumnType( Types.BLOB, 16777215, "mediumblob" );
|
// registerColumnType( Types.BLOB, 16777215, "mediumblob" );
|
||||||
// registerColumnType( Types.BLOB, 65535, "blob" );
|
// registerColumnType( Types.BLOB, 65535, "blob" );
|
||||||
registerColumnType( Types.CLOB, "longtext" );
|
registerColumnType( Types.CLOB, "longtext" );
|
||||||
|
registerColumnType( Types.NCLOB, "longtext" );
|
||||||
// registerColumnType( Types.CLOB, 16777215, "mediumtext" );
|
// registerColumnType( Types.CLOB, 16777215, "mediumtext" );
|
||||||
// registerColumnType( Types.CLOB, 65535, "text" );
|
// registerColumnType( Types.CLOB, 65535, "text" );
|
||||||
registerVarcharTypes();
|
registerVarcharTypes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user