java.sql.BatchUpdateException: Duplicate entry 'Σημαντικά πράγματα που πρέπει να γ�' for key 2

JIRA | Jun-Dir Liew | 8 years ago
  1. 0

    Prepared statement needs to be re-prepared | JBoss Developer

    jboss.org | 11 months ago
    org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
  2. 0

    db:: 4.22::Could not execute JDBC batch update Error 7d

    hivmr.com | 4 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    EJB3, CMT, Can't commit because the transaction is in aborted state

    Oracle Community | 8 years ago | 801933
    org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
  5. 0

    Prepared statement needs to be re-prepared | JBoss Developer

    jboss.org | 6 months ago
    org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.BatchUpdateException

      Duplicate entry 'Σημαντικά πράγματα που πρέπει να γ�' for key 2

      at com.mysql.jdbc.ServerPreparedStatement.executeBatch()
    2. MySQL jdbc
      ServerPreparedStatement.executeBatch
      1. com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:647)
      1 frame
    3. JBoss Application Server Connector
      WrappedStatement.executeBatch
      1. org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:701)
      1 frame
    4. Hibernate
      ActionQueue.executeActions
      1. org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:57)
      2. org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
      3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
      4. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:137)
      4 frames
    5. Hibernate
      SessionImpl.flush
      1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:716)
      3 frames
    6. Hibernate
      HibernateTemplate.flush
      1. org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:815)
      2. org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
      3. org.springframework.orm.hibernate3.HibernateTemplate.flush(HibernateTemplate.java:813)
      3 frames
    7. org.lamsfoundation.lams
      WikiService.createToolSession
      1. org.lamsfoundation.lams.tool.wiki.dao.hibernate.WikiSessionDAO.saveOrUpdate(WikiSessionDAO.java:43)
      2. org.lamsfoundation.lams.tool.wiki.service.WikiService.createToolSession(WikiService.java:206)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor482.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    9. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    10. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    11. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    12. Unknown
      $Proxy64.createToolSession
      1. $Proxy64.createToolSession(Unknown Source)
      1 frame
    13. org.lamsfoundation.lams
      LamsCoreToolService.notifyToolsToCreateSession
      1. org.lamsfoundation.lams.tool.service.LamsCoreToolService.notifyToolsToCreateSession(LamsCoreToolService.java:214)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    16. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    17. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    18. Unknown
      $Proxy42.notifyToolsToCreateSession
      1. $Proxy42.notifyToolsToCreateSession(Unknown Source)
      1 frame
    19. org.lamsfoundation.lams
      MonitoringService.startLesson
      1. org.lamsfoundation.lams.monitoring.service.MonitoringService.initToolSessionIfSuitable(MonitoringService.java:2038)
      2. org.lamsfoundation.lams.monitoring.service.MonitoringService.startLesson(MonitoringService.java:809)
      2 frames
    20. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    21. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    22. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    23. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    24. Unknown
      $Proxy66.startLesson
      1. $Proxy66.startLesson(Unknown Source)
      1 frame
    25. org.lamsfoundation.lams
      MonitoringAction.startPreviewLesson
      1. org.lamsfoundation.lams.monitoring.web.MonitoringAction.startPreviewLesson(MonitoringAction.java:984)
      1 frame
    26. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    27. struts
      ActionServlet.doGet
      1. org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
      2. org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
      3. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      4. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      5. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      6. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      6 frames
    28. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2 frames
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    30. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
      1 frame
    31. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
      1 frame
    32. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    33. org.lamsfoundation.lams
      LocaleFilter.doFilterInternal
      1. org.lamsfoundation.lams.web.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:140)
      1 frame
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
      1 frame
    35. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    36. org.lamsfoundation.lams
      SystemSessionFilter.doFilter
      1. org.lamsfoundation.lams.web.session.SystemSessionFilter.doFilter(SystemSessionFilter.java:71)
      1 frame
    37. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    38. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      1 frame
    39. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      4 frames
    40. JBoss Application Server Tomcat
      SecurityAssociationValve.invoke
      1. org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      2. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      2 frames
    41. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      2. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      2 frames
    42. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      1 frame
    43. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2 frames
    44. org.lamsfoundation.lams
      LoginRequestValve.invoke
      1. org.lamsfoundation.lams.integration.security.SingleSignOn.invoke(SingleSignOn.java:121)
      2. org.lamsfoundation.lams.integration.security.LoginRequestValve.invoke(LoginRequestValve.java:67)
      2 frames
    45. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      3 frames
    46. Grizzly HTTP
      MasterSlaveWorkerThread.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      4 frames
    47. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame