Why is BeanUtils.copyProperties dependency of spring not working?

358 views Asked by At
@Table(name = "obj")
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Audited(name = "Obj")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class Obj {
//PROPERTIES
}

BeanUtils.copyProperties is not working to copy the associations for this entity. It is unable to find getters and setters even when they get automatically defined using @Data of Lombok.

0

There are 0 answers