실패하던 테스트 Index인데 왜 ....왜지? 했었다. Stack OverFlow 에서도 미리 데이터 들어가 있으면 안됨, @Indexed 가 mongo side 것이 맞나요? 라고 해서 갈피를 못잡던 차.. @Document(collection = "products") @NoArgsConstructor @RequiredArgsConstructor @Getter @Setter public class ProductEntity { @Id private String id; @Version private Integer version; @NonNull @Indexed(unique = true) private int productId; @NonNull private String name; @NonNull priv..