org.hibernate.exception.DataException: could not insert: [org.openxava.session.GalleryImage]

openxava | nelsonflorez | 4 years ago
  1. 0

    Error al utilizar galeria de imagenes

    openxava | 4 years ago | nelsonflorez
    org.hibernate.exception.DataException: could not insert: [org.openxava.session.GalleryImage]
  2. 0

    Data Truncation Exception doesn't print column name

    Stack Overflow | 3 years ago | RAS
    org.hibernate.exception.DataException: could not insert: [com.test.Teacher]
  3. 0

    Data truncation error - How to troubleshoot.

    pentaho.com | 1 year ago
    org.pentaho.di.core.exception.KettleException: Error inserting row into table [tblStgFundMarketablePosition] with values: [MBS], [wer32], [3123ed], [Long], [ 12.0], [ 12.0], [2011/08/31], [ 2.0], [12345], [5], [5], [P], [2011/10/11 00:00:00.000], [123] Error inserting/updating row Data truncation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Adding all the rows from jTable to MS SQL server DB using Hibernate

    Stack Overflow | 2 years ago | JavDev
    org.hibernate.exception.DataException: could not insert: [POJO.TstSpecimenPojo]

    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.DataTruncation

      Data truncation

      at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic()
    2. jTDS
      JtdsPreparedStatement.executeUpdate
      1. net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:382)
      2. net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
      3. net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
      4. net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632)
      5. net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
      6. net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)
      7. net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:504)
      7 frames
    3. org.apache.tomcat
      DelegatingPreparedStatement.executeUpdate
      1. org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
      1 frame
    4. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:46)
      2. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2434)
      3. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2874)
      3 frames
    5. Hibernate
      EntityInsertAction.execute
      1. org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
      1 frame
    6. Hibernate
      ActionQueue.executeActions
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
      2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
      3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
      3 frames
    7. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
      4 frames
    8. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
      1 frame
    9. org.openxava.hibernate
      XHibernate.commit
      1. org.openxava.hibernate.XHibernate.commit(XHibernate.java:133)
      1 frame
    10. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.doCommit(ModuleManager.java:675)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:523)
      3. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:320)
      4. org.openxava.controller.ModuleManager.execute(ModuleManager.java:280)
      4 frames
    11. org.apache.jsp
      execute_jsp._jspService
      1. org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:177)
      1 frame
    12. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    14. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    16. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
      5 frames
    17. org.openxava.web
      Module.requestMultipart
      1. org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)
      2. org.openxava.web.dwr.Module.getURIAsStream(Module.java:198)
      3. org.openxava.web.dwr.Module.request(Module.java:62)
      4. org.openxava.web.dwr.Module.requestMultipart(Module.java:191)
      4 frames
    18. org.apache.jsp
      module_jsp._jspService
      1. org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:169)
      1 frame
    19. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    21. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      3 frames
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    23. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      6 frames
    24. org.openxava.web
      ModuleServlet.doPost
      1. org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
      2. org.openxava.web.servlets.ModuleServlet.doPost(ModuleServlet.java:29)
      2 frames
    25. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    26. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    27. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    28. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame