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

Support fractional seconds on MySQL 5.7

Description

New in MySQL 5.6 is support for fractional seconds. Hibernate should have a new dialect to support this:

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

This will most likely also fix HHH-3822.

Environment

None

Status

Assignee

Gail Badner

Reporter

Christian Bauer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

4.3.0.Beta3

Priority

Minor