Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public MySQL57InnoDBDialect() {
// default).
registerColumnType( Types.TIMESTAMP, "datetime(6)" );

// MySQL 5.7 brings JSON native support with a dedicated datatype.
// For more details about MySql new JSON datatype support, see:
// https://dev.mysql.com/doc/refman/5.7/en/json.html
registerColumnType( Types.JAVA_OBJECT, "json" );

// MySQL also supports fractional seconds precision for time values
// (time(fsp)). According to SQL 1992, the default for <time precision>
// is 0. The MySQL default is time(0), there's no need to override
Expand Down