Skip to content

Commit bba8271

Browse files
admin: TaxZone2Zone
1 parent 7e47694 commit bba8271

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/woehlke/greenshop/admin/entities/TaxZone2Zone.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.woehlke.greenshop.admin.entities;
22

3+
import org.hibernate.annotations.NotFound;
4+
import org.hibernate.annotations.NotFoundAction;
35
import org.woehlke.greenshop.customer.entities.Country;
46
import org.woehlke.greenshop.customer.entities.Zone;
57

@@ -35,6 +37,7 @@ public class TaxZone2Zone {
3537

3638
@ManyToOne(cascade = CascadeType.REFRESH)
3739
@JoinColumn(name = "zone_id", columnDefinition = "INT(11)")
40+
@NotFound(action = NotFoundAction.IGNORE)
3841
private Zone zone;
3942

4043
@ManyToOne(cascade = CascadeType.REFRESH)

0 commit comments

Comments
 (0)