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

你可能感兴趣的:(Hibernate)