Skip to content

Commit

Permalink
HSEARCH-4265 Raise to 7 mssql timestamp column precision
Browse files Browse the repository at this point in the history
According to the mssql documentation 7 is the default but let's try it anyway
  • Loading branch information
fax4ever committed Jul 27, 2021
1 parent 392cb70 commit 343ef85
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -47,7 +47,7 @@ public class OutboxAdditionalJaxbMappingProducer implements org.hibernate.boot.s

private static final String DEFAULT_TYPE_TIMESTAMP = "TIMESTAMP";
private static final String MYSQL_TYPE_TIMESTAMP = "TIMESTAMP(6)";
private static final String MSSQL_TYPE_TIMESTAMP = "datetime2";
private static final String MSSQL_TYPE_TIMESTAMP = "datetime2(7)";

private static final String TYPE_TIMESTAMP_PLACEHOLDER = "{{type_timestamp}}";
private static final String CURRENT_TIMESTAMP_PLACEHOLDER = "{{current_timestamp}}";
Expand Down

0 comments on commit 343ef85

Please sign in to comment.