Joined: Sat Oct 24, 2009 6:59 am Posts: 3
|
Hi All
I got the following exception while saving the record. Please advice me, how to solve this issue.
org.springframework.dao.InvalidDataAccessResourceUsageException: Could not execute JDBC batch update; nested exception is org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:630) org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424) org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:694) com.vendor.audit.management.system.dao.impl.UserLoginDAOImpl.createAppUser(UserLoginDAOImpl.java:70) com.vendor.audit.management.system.service.impl.UserLoginServiceImpl.createAppUser(UserLoginServiceImpl.java:43) com.vendor.audit.management.system.action.admin.UserLoginAction.createUser(UserLoginAction.java:104) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source)
java.sql.BatchUpdateException: ORA-04098: trigger 'SCOTT.USER_LOGIN_TRIGGER' is invalid and failed re-validation
oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367) oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9119) org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) org.springframework.orm.hibernate3.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:390) org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:420) org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374) org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:694) com.vendor.audit.management.system.dao.impl.UserLoginDAOImpl.createAppUser(UserLoginDAOImpl.java:70)
Thanks for Advance Sasikumar
|
|