org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined: br.com.mauda.example.model.Artista.musicas
at org.hibernate.cfg.annotations.CollectionBinder.getCollectionType(CollectionBinder.java:644)
at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:537)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2084)
at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:895)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:728)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3568)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3522)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1379)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1784)