• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

orphanRemoval not working

 
Chinmoy Debnath
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have ManyToOne relation between Flight<-->Tickets and Ticket<-->Passenger
Im using orphanRemoval to remove Ticket link from Flight and Passenger after deleting Ticket

         Flight.jpa


        Ticket.jpa


        Passenger.jpa


But even after deleting Ticket it still exist in Flight and Passenger.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic