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 Hibernate JIRA by Gerald Klopp, 1 year ago
via Hibernate JIRA by Gerald Klopp, 2 years ago
org.hibernate.MappingException: only inverse one-to-many associations may use on-delete="cascade": fr.gklopp.test.hibernate3.simple.Document.references	at org.hibernate.mapping.Collection.validate(Collection.java:267)	at org.hibernate.mapping.Set.validate(Set.java:19)	at org.hibernate.cfg.Configuration.validate(Configuration.java:1106)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1287)	at fr.gklopp.test.hibernate3.util.HibernateUtil.(HibernateUtil.java:13)	at fr.gklopp.test.hibernate3.simple.DocumentManager.createAndStoreDocument(DocumentManager.java:23)	at fr.gklopp.test.hibernate3.simple.DocumentManager.main(DocumentManager.java:68)