Closed as not planned
Description
@Getter
@Setter
@Table("table")
public class SpotMarginUserSettingEntity {
@Id
private Long id;
@Column("uid")
private Long uid;
@Column("`key`")
private String key;
@Column("value")
private String value;
@Column("created_at")
private Instant createdAt;
}
The field key return null when query , if set the @column("key") it works fine ; but it'll error when insert or update because key is a keyword in mysql;
Metadata
Metadata
Assignees
Labels
No labels