Home » Search

About fetch

41-50 of 200Refresh
Forum
18

2.4.7 Fetch

am noticing in 2.4.7 that 'fetch' cannot be added to objectdb.conf so, wondering how to enable 'eager' fetching of collections ?   Dave   The question is unclear. Is it something new or different in version 2.4.7? Eager fetching has always been set by annotations or in queries, not in the configuration. dmoshal
Forum
18

Failed to write the value of field using reflection (error 363) on LAZY fetch

-fetch", "LAZY");) on the query execution it works. I assume it has to do with the @Transactional ... hints? The Mapping of class Modell and its member: @Entity class Modell { ... @OneToMany(fetch ... .result-fetch", "LAZY");     List entities = query.getResultList(); } Stack Trace Exception in
Forum
18

Fetch a whole entity graph eager

but will be supported in future versions. Currently supported: Field level eager fetch. JOIN FETCH queries. JDO fetch groups. btc_es
Forum
18

Global way to set Lazy-loading fetch functionality for all the fields

" />) - Either at JPA global level (orm.xml).   For defining fetch policy, I know the local way to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA global ... / Eager can only be set locally per relationship, and for some extent also per query (using JOIN FETCH). ouba64
JPA Doc
18

javax.persistence.criteria.CollectionJoin

of the expression Returns: new expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join ... for the target of the join Returns: the resulting fetch join Throws: IllegalArgumentException - if attribute
JPA Doc
18

javax.persistence.criteria.From

Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using an inner join. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting fetch join Throws
JPA Doc
18

javax.persistence.criteria.Join

expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not
JPA Doc
18

javax.persistence.criteria.ListJoin

expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does
JPA Doc
18

javax.persistence.criteria.MapJoin

: expression corresponding to the map entry Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified ... of the join Returns: the resulting fetch join Throws: IllegalArgumentException - if attribute of the given
JPA Doc
18

javax.persistence.criteria.PluralJoin

of the expression Returns: new expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join ... for the target of the join Returns: the resulting fetch join Throws: IllegalArgumentException