在编辑一份报告时,我遇到了这个问题(所有其他报告都工作正常)不知道出了什么问题
org.apache.ojb.broker.PersistenceBrokerSQLException: * sql-statement 执行期间的 SQLException:
--一些sql语句(正确的一个)
- 异常消息是 [Io 异常:软件导致连接中止:套接字写入错误]
- 供应商错误代码 [17002]
---同时添加堆栈跟踪
- 目标类是“com.dto.CurrentDTO”
- 目标对象的PK是[currentId] at org.apache.ojb.broker.util.ExceptionHelper.generateException(ExceptionHelper.java:90) at org.apache.ojb.broker.util.ExceptionHelper.generateException(ExceptionHelper.java:256) ) 在 org.apache.ojb.broker.accesslayer.JdbcAccessImpl.materializeObject(JdbcAccessImpl.java:594) 在 org.apache.ojb 的 org.apache.ojb.broker.util.ExceptionHelper.generateException(ExceptionHelper.java:71)。 broker.core.PersistenceBrokerImpl.getPlainDBObject(PersistenceBrokerImpl.java:1504) at org.apache.ojb.broker.core.PersistenceBrokerImpl.getDBObject(PersistenceBrokerImpl.java:1548) at org.apache.ojb.broker.core.PersistenceBrokerImpl.doGetObjectByIdentity( PersistenceBrokerImpl.java:1671) 在 org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByIdentity(PersistenceBrokerImpl.java:1643) 在 org.apache.ojb.broker.core。DelegatingPersistenceBroker.getObjectByIdentity(DelegatingPersistenceBroker.java:357) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByIdentity(DelegatingPersistenceBroker.java:357) at com.common.OJBUtil.findByPK(OJBUtil.java:104) at com.dao .AbsDAO.find(AbsDAO.java:55)