728x90

Although Source code used to take Builder annotation, two annotation between Builder and AllArgusConstructor was not chained in IntelliJ.

 

Let show e.g


@Builder(toBuilder = true)
public class BlahBlahEntity {


    no usages
    public BulkMailDetailEntity(Long id, ...) {
        this.id = id;

    }

}

 

Since AllArgsConstructor and NoArgsConstructor will obscure dependency relationship when you launch to compile your sourcue code, make constructor manually as possible. 

 

Though use Builder annotation, the same constructor as AllArgsConstructor, to be defined for goals was not chained.

Since, In fact, the constructor was not used to take part in.

 

 

'Java > Spring Boot JPA' 카테고리의 다른 글

JobParametersIncrementer  (0) 2024.04.03
Running Jobs from within a Web Container  (31) 2024.04.03
Item Processing in Spring Batch  (0) 2024.04.01
ItemReaders and ItemWriters  (31) 2024.03.27
SpringBatch에서 JobLauncher 동기/비동기 실행  (0) 2024.03.27

+ Recent posts