@MappedSuperclass
@Getter
@Setter
@EntityListeners(AuditEntityListener.class)
class TrackedEntity {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@CreatedOn
@Temporal(TemporalType.TIMESTAMP)
private Date creationDate;
@ModifiedOn
@Temporal(TemporalType.TIMESTAMP)
private Date modificationDate;
}
and all my entities are extending from TrackedEntity. The problem is that in generated changelogfile column id doesn't have auto-increment set to true. It looks like this:
Hi,
I have a class like this:
and all my entities are extending from TrackedEntity. The problem is that in generated changelogfile column id doesn't have auto-increment set to true. It looks like this:
I am using MariaDB.
Am I missing something or it is a bug?
┆Issue is synchronized with this Jira Bug by Unito