We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e47694 commit bba8271Copy full SHA for bba8271
src/main/java/org/woehlke/greenshop/admin/entities/TaxZone2Zone.java
@@ -1,5 +1,7 @@
1
package org.woehlke.greenshop.admin.entities;
2
3
+import org.hibernate.annotations.NotFound;
4
+import org.hibernate.annotations.NotFoundAction;
5
import org.woehlke.greenshop.customer.entities.Country;
6
import org.woehlke.greenshop.customer.entities.Zone;
7
@@ -35,6 +37,7 @@ public class TaxZone2Zone {
35
37
36
38
@ManyToOne(cascade = CascadeType.REFRESH)
39
@JoinColumn(name = "zone_id", columnDefinition = "INT(11)")
40
+ @NotFound(action = NotFoundAction.IGNORE)
41
private Zone zone;
42
43
0 commit comments