Example usage for javax.persistence FetchType EAGER

List of usage examples for javax.persistence FetchType EAGER

Introduction

In this page you can find the example usage for javax.persistence FetchType EAGER.

Prototype

FetchType EAGER

To view the source code for javax.persistence FetchType EAGER.

Click Source Link

Document

Defines that data must be eagerly fetched.

Usage

From source file:org.projectforge.business.fibu.kost.BuchungssatzDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "kost1_id", nullable = false)
public Kost1DO getKost1() {
    return kost1;
}

From source file:org.projectforge.business.fibu.kost.BuchungssatzDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "kost2_id", nullable = false)
public Kost2DO getKost2() {
    return kost2;
}

From source file:org.projectforge.business.fibu.kost.Kost2DO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "kost2_art_id", nullable = false)
public Kost2ArtDO getKost2Art() {
    return kost2Art;
}

From source file:org.projectforge.business.fibu.kost.Kost2DO.java

/**
 * Projekt kann gegeben sein. Wenn Kostentrger zu einem Projekt hinzugehrt, dann sind auf jeden Fall die ersten 6
 * Ziffern identisch mit der Projektnummer.
 * /*from  www  . j av  a2  s. c  om*/
 * @return
 */
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "projekt_id")
public ProjektDO getProjekt() {
    return projekt;
}

From source file:org.projectforge.business.fibu.kost.KostZuweisungDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "kost1_fk", nullable = false)
public Kost1DO getKost1() {
    return kost1;
}

From source file:org.projectforge.business.fibu.kost.KostZuweisungDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "kost2_fk", nullable = false)
public Kost2DO getKost2() {
    return kost2;
}

From source file:org.projectforge.business.fibu.kost.KostZuweisungDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "rechnungs_pos_fk", nullable = true)
public RechnungsPositionDO getRechnungsPosition() {
    return rechnungsPosition;
}

From source file:org.projectforge.business.fibu.kost.KostZuweisungDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "eingangsrechnungs_pos_fk", nullable = true)
public EingangsrechnungsPositionDO getEingangsrechnungsPosition() {
    return eingangsrechnungsPosition;
}

From source file:org.projectforge.business.fibu.kost.KostZuweisungDO.java

@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "employee_salary_fk", nullable = true)
public EmployeeSalaryDO getEmployeeSalary() {
    return employeeSalary;
}

From source file:org.projectforge.business.fibu.PaymentScheduleDO.java

/**
 * Not used as object due to performance reasons.
 * /*  w  w  w  . ja v a  2s .c  om*/
 * @return AuftragDO
 */
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "auftrag_id", nullable = false)
public AuftragDO getAuftrag() {
    return auftrag;
}