写了一个POJO
@Table("t_nodeInfo")
public class NodeInfo {
@Id
int nodeInfo_id;
@Column
int entity_id;
@Column
Date record_time;
@Many(target = CPUInfo.class, field = "nodeInfo_id")
LinkedList<CPUInfo> cpus;
我先insert一个空的nodeinfo,然后给他的cpus传值,再update,并没有卵用