Posts

Showing posts from February 24, 2019

JPA using @SQLInsert throws Parameter index out of range

Image
0 @Data @MappedSuperclass public class BaseModel implements Serializable { private static final Long serialVersionUID = -1442801573244745790L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Convert(converter = LocalDateTimeConverter.class) private LocalDateTime createAt = LocalDateTime.now(); @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Convert(converter = LocalDateTimeConverter.class) private LocalDateTime updateAt = LocalDateTime.now(); } @Data @Entity @Table(name = "tb_vip_code") @SQLInsert(sql = "insert ignore into tb_vip_code (code, duration) values (?, ?)") public class VipCode extends BaseModel { private static final Long serialVersionUID = -4697221755301869573L;

Dynamics 365 change tracking many to many relationship

Image
1 Has anyone tried using change tracking for many to many relationships? Since change tracking is enabled at the entity level, I'm not sure how to set it up (if it's possible). I'm using some m:m relationships in the portal and would like the data to be properly reflected. dynamics-crm dynamics-365 dynamics-crm-portals share | improve this question edited Nov 16 '18 at 14:22 Arun Vinoth 9,806 13 26 53 asked Nov 15 '18 at 2:40 lessthancommon lessthancommon