net.sf.hibernate.MappingException

Repeated column in mapping for collection: test.User.points column: HO_ID

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web39

  • via Hibernate JIRA by Yoshitaka Takamura, 1 year ago
    Repeated column in mapping for collection: test.User.points column: HO_ID
  • via Hibernate JIRA by Yoshitaka Takamura, 1 year ago
    Repeated column in mapping for collection: test.User.points column: HO_ID
  • Repeated column in mapping for collection: bean.Region.employeeIds column: employee_id
  • Stack trace

    • net.sf.hibernate.MappingException: Repeated column in mapping for collection: test.User.points column: HO_ID at net.sf.hibernate.collection.AbstractCollectionPersister.checkColumnDuplication(AbstractCollectionPersister.java:652) at net.sf.hibernate.collection.AbstractCollectionPersister.<init>(AbstractCollectionPersister.java:206) at net.sf.hibernate.collection.BasicCollectionPersister.<init>(BasicCollectionPersister.java:36) at net.sf.hibernate.persister.PersisterFactory.createCollectionPersister(PersisterFactory.java:55) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:147) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791)

    Write tip

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

    Users with the same issue

    You’re the first here who have seen this exception.