List of usage examples for javax.persistence FetchType LAZY
FetchType LAZY
To view the source code for javax.persistence FetchType LAZY.
Click Source Link
From source file:org.dspace.orm.entity.ResourcePolicy.java
@ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "epersongroup_id", nullable = true) public EpersonGroup getEpersonGroup() { return epersongroup; }
From source file:com.marand.thinkmed.medications.model.impl.TherapyTemplateElementImpl.java
@Override @ManyToOne(targetEntity = TherapyTemplateImpl.class, fetch = FetchType.LAZY, optional = false) public TherapyTemplate getTherapyTemplate() { return therapyTemplate; }
From source file:com.marand.thinkmed.medications.model.impl.MedicationRouteRelationImpl.java
@Override @ManyToOne(targetEntity = MedicationRouteImpl.class, fetch = FetchType.LAZY, optional = false) public MedicationRoute getParentRoute() { return parentRoute; }
From source file:de.iew.framework.domain.principals.Account.java
@ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = "account_authority", joinColumns = { @JoinColumn(name = "account_id") }, inverseJoinColumns = { @JoinColumn(name = "authority_id") }) public List<Authority> getAuthorities() { return this.authorities; }
From source file:com.marand.thinkmed.medications.model.impl.MedicationIndicationLinkImpl.java
@Override @ManyToOne(targetEntity = MedicationIndicationImpl.class, fetch = FetchType.LAZY, optional = false) public MedicationIndication getIndication() { return indication; }
From source file:com.marand.thinkmed.medications.model.impl.MedicationCustomGroupMemberImpl.java
@Override @ManyToOne(targetEntity = MedicationImpl.class, fetch = FetchType.LAZY, optional = false) public Medication getMedication() { return medication; }
From source file:com.oakhole.sms.entity.SmsReceive.java
@ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "user_id") @JsonIgnore public User getToUser() { return toUser; }
From source file:org.dspace.orm.entity.HarvestedCollection.java
@ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "collection_id", nullable = true) public Collection getCollection() { return collection; }
From source file:com.marand.thinkmed.medications.model.impl.AtcClassificationImpl.java
@Override @ManyToOne(targetEntity = AtcClassificationImpl.class, fetch = FetchType.LAZY) public AtcClassification getParent() { return parent; }
From source file:example.FunWithPermissions.java
@ReadPermission(any = { NegativeIntegerUserCheck.class }) @UpdatePermission(any = { NegativeIntegerUserCheck.class }) @OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY) @JoinColumn(name = "child_id") public Child getRelation3() { return relation3; }