• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About removingWithRelationshipsCascade in JPA Pro 2

 
Himai Minh
Ranch Hand
Posts: 1361
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In removingWithRelationshipsCascade example in Chapter 6 of this book,

I found out that if the employee is removed , the parking space is removed as well.

I modified this code into this :

If the employee is removed, the parking space is still there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic