javax.persistence.PersistenceException

tip

Check your annotations to use the proper table and column names.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • @ConstructorResult with Enum in JPA 2.1
    via Stack Overflow by Vik
    ,
  • From Hibernate 4.2.6 to 4.3.1 issue
    via Stack Overflow by remo.egli
    ,
    • javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not execute statement at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602) at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608) at org.hibernate.jpa.internal.EntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(EntityManagerImpl.java:235) at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:2967) at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2339) at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485) at org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorImpl.beforeCompletion(JtaTransactionCoordinatorImpl.java:316)

    Users with the same issue

    nasimk
    13 times, last one,
    Unknown visitor1 times, last one,
    Tahir
    12 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    1 times, last one,
    13 more bugmates