Hi
I am using JBossIDE 1.5. In the Hibernate documentation it says I can use cascade="all,delete-orphan" to make lifecycle objects in a parent-child relationship.
When I run XDoclet using this option I get the folowing error on the console:
... [hibernatedoclet] (XDocletMain.start 54 ) <<The value 'all,delete-orphan' specified for parameter 'cascade' of hibernate.bag tag in getAlocacoesTarefas method of br.com.sensys.odyssea.servidor.model.entity.organograma.PosicaoEntity class is not valid. Valid values for this tag are: {none,all,save-update,delete,all-delete-orphan,delete-orphan}.>> [hibernatedoclet] /home/oswaldo/workspace/odyssea/xdoclet-build.xml:52: XDoclet failed. ...
ps: I posted this topic as Problem with XDoclet and cascade="all,delete-orphan" but when i submitted, it removed the "" part of the subject. maybe a forum bug?