Home » Search

About lazy

11-20 of 111Refresh
Forum
21

Lazy loading does not work - crud takes long

Relationships. It should be load lazy but i dont know why the query fetch all the Data ... = CascadeType.ALL, orphanRemoval = true, mappedBy="project",fetch = FetchType.LAZY)     private List ... ="project",fetch = FetchType.LAZY)     private List advalm; Entity.class
Issue
21

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists ... .  Without the breakpoint, my lazy collection does not get loaded.  Here are code snippets
Forum
21

Apparent Lazy Loading issues.

with this is, when "find" is called, the object is being lazy loaded. So if the "equals" or "hashcode" method ... to have been lazy loaded. For the purposes of continuing, I have set my "equals" method in attribute name to look ... a separate thread with a focused descriptive title (the current subject, "Apparent Lazy Loading issues
Issue
21

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason ... that have not been loaded yet will be set to null. Lazy loading of mapped by (inverse) singular references
Issue
21

Navigation through lazy loading from Detached Objects

: on accessing lazy loaded relationships outside a transaction, after a query, from Glassfish forum thread ... a semi detached state (in which they are still associated with the EntityManagerFactory and enable  lazy ... to navigate lazy relationships of detached entities is a big showstopper, as we rely on that capability
Issue
20

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

, CascadeType.PERSIST}, mappedBy="account", fetch = FetchType.LAZY) @JoinColumn(name = "project_id", unique ... ={CascadeType.MERGE, CascadeType.PERSIST},             mappedBy="account", fetch = FetchType.LAZY
Forum
20

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

to do it (@ManyToOne(fetch=FetchType.LAZY)). Is there any way to do it at objectdb level or JPA global level?   (This functionality is very useful, it is a shame if neither objectdb nor JPA offers it). Lazy
Forum
20

Lazy Init / Eager / Join Fetch collection strategy ? What to choose ?

Hello, I'm doing some tests to choose the best collection fetch strategy. I have entities with many lazy collections and i don't want to load them all. (depends on context) In JPA / Hibernate world ... up the Lazy collection (by getting size() of Collection) is a very weak solution. In case of millions
Forum
20

problem with lazy loading - unittest project attached

STS 2.6.0. i have checked the zip content again and the test resource file spring-data-jpa-lazy ... becomes detached. Since the relationship between Foo And Bar is lazy - it is unavailable in
Manual
20

Setting and Tuning of JPA Queries

"LAZY". When LAZY is used result entity objects are returned as references (with no content