From d899d3495a162aa225342f1fe968b7037f6cd3d8 Mon Sep 17 00:00:00 2001 From: gleimar Date: Mon, 18 Feb 2013 21:51:36 +0000 Subject: [PATCH] git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@24425 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/entidad/TipoCortesiaDescuento.java | 4 ++++ 1 file changed, 4 insertions(+) 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() {