• Post Reply Bookmark Topic Watch Topic
  • New Topic

orphanRemoval not working  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!