在serviceImpl中就执行了一个
member 是new 出来的 set两个值
dao().insert(member);
使用的是sqlserver
打印出来的sql 语句在数据库执行是没问题的
2016-07-21 13:05:11,266 DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SQLException
com.microsoft.sqlserver.jdbc.SQLServerException: 必须执行该语句才能获得结果。
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getGeneratedKeys(SQLServerStatement.java:2040)
at com.alibaba.druid.pool.DruidPooledStatement.getGeneratedKeys(DruidPooledStatement.java:599)
at org.nutz.dao.impl.sql.NutPojoMaker$GeneratedKeys.invoke(NutPojoMaker.java:105)
at org.nutz.dao.impl.jdbc.NutPojo.onAfter(NutPojo.java:109)
at org.nutz.dao.impl.sql.run.NutDaoExecutor._runPreparedStatement(NutDaoExecutor.java:270)
at org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:82)
at org.nutz.dao.impl.DaoSupport$DaoExec.invoke(DaoSupport.java:316)
at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:59)
at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:239)
at org.nutz.dao.impl.DaoSupport._exec(DaoSupport.java:271)
at org.nutz.dao.impl.EntityOperator.exec(EntityOperator.java:50)
at org.nutz.dao.impl.NutDao.fastInsert(NutDao.java:202)
at com.cx.web.service.impl.MemberServiceImpl.register(MemberServiceImpl.java:58)