org.hibernate.exception.ConstraintViolationException: could not execute

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by oronzo lezzi, 10 months ago
via hhutzler.de by Unknown author, 1 year ago
could not execute statement 15:11:03.961 javax.persistence.PersistenceException:
via hhutzler.de by Unknown author, 1 year ago
via hhutzler.de by Unknown author, 1 year ago
could not execute statement 15:11:03.961 javax.persistence.PersistenceException:
via hhutzler.de by Unknown author, 1 year ago
via Google Groups by Ertan Deniz, 5 months ago
org.hibernate.exception.ConstraintViolationException: could not execute
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:458)
at org.olat.portfolio.manager.EPStructureManager.getStructureElementsForUser(EPStructureManager.java:200)
at org.olat.portfolio.manager.EPFrontendManager.getStructureElementsForUser(EPFrontendManager.java:687)
at org.olat.portfolio.manager.EPFrontendManager.deleteUserData(EPFrontendManager.java:159)
at org.olat.admin.user.delete.service.UserDeletionManager.deleteIdentity(UserDeletionManager.java:306)
at org.olat.admin.user.delete.DirectDeleteController.deleteIdentities(DirectDeleteController.java:176)
at org.olat.admin.user.delete.DirectDeleteController.event(DirectDeleteController.java:124)
at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.