Skip to content

The problem of inconsistent time format precision #3956

@Wqshly

Description

@Wqshly

I developed a program using SQL Server database, and later due to changes in requirements, I wanted to make it universal for all databases.
During the modification process, I found that the database field generated by columnDefinition = "DATETIMEOFFSET" was 7 digits, but when I removed the column definition, the database field generated by the jpa dialect was 6 digits.

This inconsistent behavior caused me great trouble. Should the number of digits generated by columnDefinition = "DATETIMEOFFSET" be consistent with the number of digits generated by the JPA dialect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions