From d12e22208722f8d36657c44269572307aad293ea Mon Sep 17 00:00:00 2001 From: "daniel.zauli" Date: Mon, 23 Nov 2015 18:41:20 +0000 Subject: [PATCH] FIXES BUG #6875 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@50442 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/com/rjconsultores/ventaboletos/entidad/Cliente.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/entidad/Cliente.java b/src/com/rjconsultores/ventaboletos/entidad/Cliente.java index 57ddfb941..07b8a1eb5 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Cliente.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Cliente.java @@ -27,6 +27,8 @@ import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; +import org.hibernate.annotations.Where; + /** * * @author RJ @@ -104,6 +106,7 @@ public class Cliente implements Serializable { private List lsClienteDireccion; @OneToMany(cascade = CascadeType.ALL) @JoinColumn(name = "CLIENTE_ID", referencedColumnName = "CLIENTE_ID") + @Where(clause = "activo=1") private List listClienteFidelidad; @Column(name = "NUMIDENTIFICAUNO") private String numIdentificaUno;