diff --git a/src/com/rjconsultores/ventaboletos/entidad/TipoCortesiaDescuento.java b/src/com/rjconsultores/ventaboletos/entidad/TipoCortesiaDescuento.java index 246bcfd7c..62cc61f84 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/TipoCortesiaDescuento.java +++ b/src/com/rjconsultores/ventaboletos/entidad/TipoCortesiaDescuento.java @@ -20,6 +20,9 @@ import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; +import org.hibernate.annotations.NotFound; +import org.hibernate.annotations.NotFoundAction; + /** * * @author Rafius @@ -46,6 +49,7 @@ public class TipoCortesiaDescuento implements Serializable { private Integer usuarioId; @JoinColumn(name = "TIPOCORTESIA_ID", referencedColumnName = "TIPOCORTESIA_ID") @ManyToOne + @NotFound(action=NotFoundAction.IGNORE) private TipoCortesia tipoCortesia; public TipoCortesiaDescuento() {