代码:Sql sql = Sqls.fetchEntity("select * from t_ieo_project where id = "+projectID+" and status = 2 for update");
Entity entity = getEntity(T_ieo_project.class);
sql.setEntity(entity);
execute(sql);
报错:[ERROR] 12:00:32.391 com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:85) - [DUBBO] Got unchecked and undeclared exception which called by 192.168.0.19. service: cn.wizzer.app.ieo.modules.services.TIeoProjectService, method: setOrder, exception: java.lang.StackOverflowError: null, dubbo version: 2.6.2, current host: 192.168.0.19
java.lang.StackOverflowError
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
at cn.wizzer.framework.base.service.BaseServiceImpl.getEntity(BaseServiceImpl.java:37)
(ps:还有很多一样的报错)
问答
自定义sql执行select for update报错
标签:
nutzwk
添加回复
请先登陆