hibernate-cascade Questions
9
I've got those two classes
MyItem Object:
@Entity
public class MyItem implements Serializable {
@Id
private Integer id;
@ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE})
private...
Hedrick asked 11/5, 2012 at 11:29
1
I'm having 2 Entities. Thread entity and Post entity using OnetoOne mapping from Post->Thread.
A Thread entity contains Numerous Posts. I know i should have used OnetoMany instead of OnetoOne, but...
Oralee asked 2/9, 2014 at 15:8
1
Solved
I was trying some hands on with Hibernate annotations. When I tried to use Cascading then I get two options in the Eclipse intellisense :
javax.persistence.CascadeType and org.hibernate.annotatio...
Former asked 22/9, 2012 at 17:33
1
Solved
I am getting a strange problem with Hibernate and merge.
The structure of the classes in question is like this:
Project --> CaseWorkerA --|> CaseWorker --|> User
So basically I have a ...
Flack asked 31/8, 2012 at 13:16
2
I know that deleting orphaned child objects is a common question on SO and a common problem for people new to Hibernate, and that the fairly standard answer is to ensure that you have some variatio...
Letha asked 21/10, 2010 at 13:57
1
© 2022 - 2024 — McMap. All rights reserved.