我有一个包含这些列的表:
n_id,d_id,val_1,val_2,val_3,...,val_50
如何映射此表?
如果可能,我想避免这种情况:
@Id
@Column(name = "D_ID")
private String id;
@Column(name = "N_ID")
private String nId;
@Column(name = "VAL_1")
private double val1;
@Column(name = "VAL_2")
private double val2;
@Column(name = "VAL_3")
private double val3;
...