lucas.calixto 2017-05-02 19:48:26 +00:00
parent e22c766d31
commit 970f740fe5
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@ -33,7 +34,7 @@ public class OCD implements java.io.Serializable {
private Long ocdId;
@JoinColumn(name = "BOLETO_ID")
@ManyToOne
@ManyToOne(fetch = FetchType.LAZY)
private Boleto boleto;
@JoinColumn(name = "PUNTOVENTA_ID")