@Id(auto=false)
@Prev(els=@EL("ig(view.tableName)"))
private int id;
直接@Id也不生效,不知道怎么回事。没有添加@Name注解有影响吗?
12 回复
10:32:16.308 DEBUG (AbstractJdbcExpert.java:108) setupEntityField - Table 't_user_gameinfo' doesn't exist!
10:32:16.339 DEBUG (NutDaoExecutor.java:388) printSQL - CREATE TABLE t_user_gameinfo(userId INT(32),gameInfoId INT(32))
10:32:16.694 DEBUG (DaoTimeInterceptor.java:28) filter - time=354ms, sql=CREATE TABLE t_user_gameinfo(userId INT(32),gameInfoId INT(32))
10:32:16.722 DEBUG (Scans.java:262) scan - Found 57 resource by src( net/wendal/nutzbook/bean/ ) , regex( ^.+[.]class$ )
10:32:16.751 DEBUG (Scans.java:262) scan - Found 57 resource by src( net/wendal/nutzbook/bean/ ) , regex( ^.+[.]class$ )
10:32:16.826 INFO (Daos.java:128) getColumnIndex - Can not find @Column(id) in table/view (t_user_gameinfo)
10:32:16.826 INFO (Daos.java:128) getColumnIndex - Can not find @Column(ct) in table/view (t_user_gameinfo)
10:32:16.826 INFO (Daos.java:128) getColumnIndex - Can not find @Column(ut) in table/view (t_user_gameinfo)
10:32:16.827 INFO (Daos.java:792) invoke - add column[id] to table[t_user_gameinfo]
10:32:16.827 INFO (Daos.java:792) invoke - add column[ct] to table[t_user_gameinfo]
10:32:16.828 INFO (Daos.java:792) invoke - add column[ut] to table[t_user_gameinfo]
10:32:16.831 DEBUG (NutDaoExecutor.java:388) printSQL - ALTER TABLE t_user_gameinfo ADD COLUMN id INT(32)
10:32:17.206 DEBUG (DaoTimeInterceptor.java:28) filter - time=375ms, sql=ALTER TABLE t_user_gameinfo ADD COLUMN id INT(32)
10:32:17.207 DEBUG (NutDaoExecutor.java:388) printSQL - ALTER TABLE t_user_gameinfo ADD COLUMN ct DATETIME
10:32:17.540 DEBUG (DaoTimeInterceptor.java:28) filter - time=333ms, sql=ALTER TABLE t_user_gameinfo ADD COLUMN ct DATETIME
10:32:17.540 DEBUG (NutDaoExecutor.java:388) printSQL - ALTER TABLE t_user_gameinfo ADD COLUMN ut DATETIME
10:32:17.857 DEBUG (DaoTimeInterceptor.java:28) filter - time=317ms, sql=ALTER TABLE t_user_gameinfo ADD COLUMN ut DATETIME
添加回复
请先登陆