首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

hibernate联接oracle报nullpoint

2012-10-14 
hibernate连接oracle报nullpointHibernate版本是3 oracle是10g oracle驱动已是最新的了另外,查询时时正确

hibernate连接oracle报nullpoint
Hibernate版本是3 oracle是10g oracle驱动已是最新的了
另外,查询时时正确的,只有添加和修改有错误。spring的权限也是开放的。
接近崩溃了。。。。。
大家指点一下吧。

Caused by: java.lang.NullPointerException
[2010/03/11 10:58:27.656] at oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431)
[2010/03/11 10:58:27.656] at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
[2010/03/11 10:58:27.656] at oracle.jdbc.driver.OraclePreparedStatement.clearParameters(OraclePreparedStatement.java:3401)
[2010/03/11 10:58:27.656] at com.caucho.sql.UserPreparedStatement.clearParameters(UserPreparedStatement.java:144)
[2010/03/11 10:58:27.656] at com.caucho.sql.UserPreparedStatement.clearParameters(UserPreparedStatement.java:144)
[2010/03/11 10:58:27.656] at com.caucho.sql.UserPreparedStatement.close(UserPreparedStatement.java:447)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.BatcherImpl.closePreparedStatement(BatcherImpl.java:270)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.BatcherImpl.closeStatement(BatcherImpl.java:140)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:129)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2421)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2371)
[2010/03/11 10:58:27.656] at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2240)
[2010/03/11 10:58:27.656] at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
[2010/03/11 10:58:27.656] at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:464)
[2010/03/11 10:58:27.656] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:376)
[2010/03/11 10:58:27.656] at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:242)
[2010/03/11 10:58:27.656] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:66)
[2010/03/11 10:58:27.656] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:143)
[2010/03/11 10:58:27.656] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
[2010/03/11 10:58:27.656] at $Proxy0.addSystemAccount(Unknown Source)
[2010/03/11 10:58:27.656] at com.channelsoft.record.service.action.SystemAccountAction.add(SystemAccountAction.java:60)
[2010/03/11 10:58:27.656] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010/03/11 10:58:27.656] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2010/03/11 10:58:27.656] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2010/03/11 10:58:27.656] at java.lang.reflect.Method.invoke(Method.java:585)
[2010/03/11 10:58:27.656] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
[2010/03/11 10:58:27.656] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
[2010/03/11 10:58:27.656] at com.channelsoft.qframe.action.BaseAction.execute(BaseAction.java:158)
[2010/03/11 10:58:27.656] ... 18 more 1 楼 liangexiang 2010-03-11   事物开了没?
看看你更新部分的代码

热点排行