List of usage examples for javax.persistence FetchType EAGER
FetchType EAGER
To view the source code for javax.persistence FetchType EAGER.
Click Source Link
From source file:org.jzkit.ServiceDirectory.SearchServiceDescriptionDBO.java
@CollectionOfElements(fetch = FetchType.EAGER) @JoinTable(name = "JZ_SSD_PROPS", joinColumns = @JoinColumn(name = "SEARCH_SERVICE_ID")) @org.hibernate.annotations.MapKey(columns = { @Column(name = "PROP_NAME", length = 128) }) @Column(name = "PROP_VALUE", length = 128) public Map<String, String> getPreferences() { return preferences; }
From source file:org.jzkit.ServiceDirectory.SearchServiceDescriptionDBO.java
@CollectionOfElements(fetch = FetchType.EAGER) @JoinTable(name = "JZ_SSD_RECORD_ARCHETYPES", joinColumns = @JoinColumn(name = "SEARCH_SERVICE_ID")) @org.hibernate.annotations.MapKey(columns = { @Column(name = "ARCHETYPE", length = 64) }) @Column(name = "SPEC", length = 64) public Map<String, String> getRecordArchetypes() { return record_syntax_archetypes; }
From source file:org.jzkit.ServiceDirectory.SearchServiceDescriptionDBO.java
/** * Return the list of allowable access points. * @return The set of AttrValue objects that are allowed to be used as access points. May return null, which means anything goes! *///from ww w . j av a2s. c o m @CollectionOfElements(fetch = FetchType.EAGER) @org.hibernate.annotations.Cascade({ org.hibernate.annotations.CascadeType.SAVE_UPDATE, org.hibernate.annotations.CascadeType.DELETE_ORPHAN }) @JoinTable(name = "JZ_SSD_VALID_ATTR_SET", joinColumns = @JoinColumn(name = "DESCRIPTOR_ID")) public Map<String, AttributeSetDBO> getValidAttrs() { return valid_attributes; }
From source file:org.jzkit.ServiceDirectory.SearchServiceDescriptionDBO.java
@CollectionOfElements(fetch = FetchType.EAGER) @JoinTable(name = "JZ_SSD_TRANS", joinColumns = @JoinColumn(name = "DESCRIPTOR_ID")) @org.hibernate.annotations.MapKey(columns = { @Column(name = "FROM_ATTR_STR", length = 128) }) public Map<String, AttrValue> getServiceSpecificTranslations() { return service_specific_translations; }
From source file:org.opencustomer.db.vo.crm.LegalFormGroupVO.java
@OneToMany(mappedBy = "legalFormGroup", fetch = FetchType.EAGER) public Set<LegalFormVO> getLegalForms() { return legalForms; }
From source file:org.opencustomer.db.vo.system.LdapGroupVO.java
@OneToOne(fetch = FetchType.EAGER) @JoinColumn(name = "profile_id") @Cascade({ org.hibernate.annotations.CascadeType.ALL, org.hibernate.annotations.CascadeType.DELETE_ORPHAN }) public ProfileVO getProfile() { return profile; }
From source file:org.opencustomer.db.vo.system.ProfileVO.java
@OneToOne(mappedBy = "profile", fetch = FetchType.EAGER) public LdapGroupVO getLdapGroup() { return ldapGroup; }
From source file:org.opencustomer.db.vo.system.ProfileVO.java
@ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "role_id") public RoleVO getRole() { return role; }
From source file:org.opencustomer.db.vo.system.ProfileVO.java
@ManyToMany(fetch = FetchType.EAGER) @JoinTable(name = "profile_usergroup", joinColumns = { @JoinColumn(name = "profile_id") }, inverseJoinColumns = { @JoinColumn(name = "usergroup_id") }) public Set<UsergroupVO> getUsergroups() { return usergroups; }
From source file:org.opencustomer.db.vo.system.RoleVO.java
@ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "default_usergroup_id") public UsergroupVO getDefaultUsergroup() { return defaultUsergroup; }