My codes
xxx.properties:
xxx.1.id=1
xxx.1.name=name1
xxx.2.id=2
xxx.2.name=name2
xxxEntity:
@Data
public class xxxEntity {
private Integer id;
private String name;
}
I want to insert .properties values to xxxEntity.java.
How can I do this?
New contributor
Mozz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.