style « Cascade « JPA Q&A





1. org.hibernate.MappingException: Unsupported cascade style:    forum.hibernate.org

I am getting an exception saying that "create" is not a supported cascade style... yet the Hibernate 3.0 documentation suggests that it is, and that in fact it is how I would acheive what I am trying to do.... specifically create two persistent objects, one which contains the other in a collection, save() the parent object, and have the child object ...

2. Usupported cascade style: create    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.03 Mapping documents: Document.hbm.xml Code: true com.llic.business.base.DocumentBase true ...

3. Unsupported cascade style: create    forum.hibernate.org

org.hibernate.MappingException: Unsupported cascade style: create at org.hibernate.engine.Cascades.getCascadeStyle(Cascades.java:961) at org.hibernate.mapping.Property.getCascadeStyle(Property.java:92) at org.hibernate.tuple.PropertyFactory.buildStandardProperty(PropertyFactory.java:127) at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:149) at org.hibernate.persister.entity.BasicEntityPersister.(BasicEntityPersister.java:401) at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:104) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:206) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1055) at be.rmi.intranet.db.HibernateConnectionFactory.(HibernateConnectionFactory.java:68) at be.rmi.intranet.db.HibernateConnectionFactory.getInstance(HibernateConnectionFactory.java:116) ...

4. Where is the documentation for cascade styles?    forum.hibernate.org