We're updating the issue view to help you get more done. 

MySQL56SpatialDialect ignores overridden column types

Description

When I create my own MySQL dialect that overrides MySQL56SpatialDialect it ignores my overridden column types. If I change the parent class back to MySQL5InnoDBDialect it works fine.

1 2 3 4 5 6 7 8 9 public class MySQL56InnoDBDialect extends MySQL56SpatialDialect // MySQL5InnoDBDialect { public MySQL56InnoDBDialect() { super(); // http://dev.mysql.com/doc/refman/5.6/en/fractional-seconds.html registerColumnType( Types.TIMESTAMP, "datetime(6)" ); } }

With MySQL5InnoDBDialect as the parent I get table columns with datetime(6).
With MySQL56SpatialDialect as the parent I get table columns with datetime.

This maybe related to

Environment

None

Status

Assignee

Karel Maesen

Reporter

Piers Geyman

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.10

Priority

Major