fixes bug 6666
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@48399 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
90ba76b38f
commit
82ceec4329
|
@ -49,7 +49,7 @@ public class Colonia implements Serializable {
|
|||
private Date fecmodif;
|
||||
@Column(name = "USUARIO_ID")
|
||||
private Integer usuarioId;
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@ManyToOne(fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "CIUDAD_ID")
|
||||
private Ciudad ciudad;
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class PuntoVenta implements Serializable {
|
|||
@OneToOne
|
||||
@JoinColumn(name = "EMPRESA_ID")
|
||||
private Empresa empresa;
|
||||
@OneToOne
|
||||
@OneToOne (fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "COLONIA_ID")
|
||||
private Colonia colonia;
|
||||
@OneToOne
|
||||
|
@ -256,6 +256,10 @@ public class PuntoVenta implements Serializable {
|
|||
this.titularId = new PtovtaTitular();
|
||||
this.comissaoId = new PtovtaComissao();
|
||||
this.diversosId = new PtovtaDiversos();
|
||||
this.ptovtaCheckinList = new ArrayList<PtoVtaCheckin>();
|
||||
this.ptovtaSeguroList = new ArrayList<PtoVtaSeguro>();
|
||||
this.ptovtaCatIndList = new ArrayList<PtovtaCatInd>();
|
||||
this.ptovtaEmpresaBloqueadaList = new ArrayList<PtovtaEmpresaBloqueada>();
|
||||
}
|
||||
|
||||
public PuntoVenta(Integer puntoventaId) {
|
||||
|
|
Loading…
Reference in New Issue