org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined

Hibernate JIRA | Christian Bauer | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    HibernateUtil com Annotations - Javafree: O fórum de Java que mais cresce

    com.br | 1 year ago
    java.lang.ExceptionInInitializerError
  3. 0

    HibernateUtil com ManyToMany

    com.br | 1 year ago
    java.lang.ExceptionInInitializerError

    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. org.hibernate.AnnotationException

      Collection has neither generic type or OneToMany.targetEntity() defined

      at org.hibernate.cfg.annotations.AbstractCollectionBinder.getCollectionType()
    2. Hibernate
      AbstractCollectionBinder.getCollectionType
      1. org.hibernate.cfg.annotations.AbstractCollectionBinder.getCollectionType(AbstractCollectionBinder.java:272)
      1 frame