javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute statement

GitHub | gunterze | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Instance level export may fail with ERROR: value too long for type character varying(255)

    GitHub | 11 months ago | gunterze
    javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute statement

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      org.hibernate.exception.DataException: could not execute statement

      at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert()
    2. org.hibernate.jpa
      EntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure
      1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
      2. org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
      3. org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608)
      4. org.hibernate.jpa.internal.EntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(EntityManagerImpl.java:235)
      4 frames
    3. Hibernate
      JdbcCoordinatorImpl.beforeTransactionCompletion
      1. org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2967)
      2. org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2339)
      3. org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)
      3 frames
    4. org.hibernate.resource
      JtaTransactionCoordinatorImpl.beforeCompletion
      1. org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:316)
      1 frame