Skip to content

Commit

Permalink
Ensures that the modified field in the base entity has millisecond pr…
Browse files Browse the repository at this point in the history
…ecision.
  • Loading branch information
dbernstein committed Jun 8, 2016
1 parent 5b1837e commit da774f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public abstract class BaseEntity {


@Version
@Column(nullable=false)
@Column(nullable=false, columnDefinition="datetime(3) NOT NULL")
private Date modified;

public Long getId() {
Expand Down

0 comments on commit da774f8

Please sign in to comment.