Skip to content

Commit

Permalink
Revert cascade on ticket to all
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Oct 11, 2023
1 parent 3d0c08b commit 7f3f9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/wisv/events/core/model/ticket/Ticket.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Ticket {
/**
* Customer which owns the Ticket.
*/
@ManyToOne(cascade = {javax.persistence.CascadeType.MERGE})
@ManyToOne(cascade = {javax.persistence.CascadeType.ALL})
public Order order;

/**
Expand Down

0 comments on commit 7f3f9a5

Please sign in to comment.