这是报错信息
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(PDTYPETEXT) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(ISEMERGENCYTEXT) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(PROJECTNAME) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(CREATERNAME) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(HANDLERNAME) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(PDSTATETEXT) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(CURRENTOPERATORNAME) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(ISTESTTEXT) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(TESTERNAME) in table/view ()
2017-07-15 23:20:47,688 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(ISFINISHTEXT) in table/view ()
SQL语句是:
select a.*,(select b.PROJECTNAME from PROJECT b where b.PROJECTID = a.projectid) projectName from PROBLEMDEMAND a order by a.pdId desc。
实体类:
@Table("PROBLEMDEMAND")
public class ProblemDemand {
@Name
@Column("PDID")
//问题需求编号,由程序生成
private String pdId;
.............
@Readonly
@Column("PDTYPETEXT")
private String pdTypeText;
@Readonly
@Column("ISEMERGENCYTEXT")
private String isEmergencyText;
@Readonly
@Column("PROJECTNAME")
private String projectName;
@Readonly
@Column("CREATERNAME")
private String createrName;
@Readonly
@Column("HANDLERNAME")
private String handlerName;
@Readonly
@Column("PDSTATETEXT")
private String pdStateText;
@Readonly
@Column("CURRENTOPERATORNAME")
private String currentOperatorName;
@Readonly
@Column("ISTESTTEXT")
private String isTestText;
@Readonly
@Column("TESTERNAME")
private String testerName;
@Readonly
@Column("ISFINISHTEXT")
private String isFinishText;