fixes bug#9033
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@68930 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a988f8d28c
commit
243b661bca
|
@ -28,6 +28,7 @@ public class OrgaoConcedente implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public final static Integer CODIGO_ARTESP = 21;
|
||||
public final static Integer CODIGO_ANTT = 3;
|
||||
@Id
|
||||
@Basic(optional = false)
|
||||
@GeneratedValue(strategy = GenerationType.AUTO, generator = "ORGAO_CONCEDENTE_SEQ")
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
package com.rjconsultores.ventaboletos.entidad;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -90,7 +91,7 @@ public class Parada implements Serializable {
|
|||
|
||||
@OneToMany(mappedBy = "parada", fetch=FetchType.EAGER, cascade = javax.persistence.CascadeType.ALL)
|
||||
@Fetch(value = FetchMode.SUBSELECT)
|
||||
private List<ParadaCodOrgaoConcedente> codigosOrgaosConcedentes;
|
||||
private List<ParadaCodOrgaoConcedente> codigosOrgaosConcedentes = new ArrayList<ParadaCodOrgaoConcedente>();
|
||||
|
||||
public Parada() {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue