1. CascadeType.Persist does not work as expected stackoverflow.comI have the following code (simplified of course):
|
2. Using CascadeType in Hibernate stackoverflow.comI m working with Hibernate + Spring and JSF I have a problem when I use a relationship like @OneTomany in Hibernate. For example:
|
3. CascadeType.ALL does not remove forum.springsource.orgHi all, I have two entities related to each other. a Tree entity Code: @Entity public class Tree { @Id private Long id; private String name; @OneToMany(cascade=CascadeType.ALL) private List |
4. How does CascadeType.All work under the covers forum.springsource.orgHow does CascadeType.All work under the covers I have a parent child relationship Parent Entity Child Entity, when I persist the child enity I wish to persist the parent. childEntity.persist() As ... |