1. @OneToAny or else forum.hibernate.orgCaused by: org.hibernate.AnnotationException: Referenced property not a (One|Many)ToOne: com.xyz.domain.workflow.def.EntityInfo.businessEntity in mappedBy of com.xyz.domain.provider.Provider.entity at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:220) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1221) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:383) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1206) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1459) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:193) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1086) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:685) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) ... |