About lazy

51-60 of 118Refresh
Issue
3

Enhanced classes problem

Marta The cause is unclear yet, but I can confirm that it happens in lazy loading, which is supported only when classes are enhanced. As a workaround, please try to disable this lazy loading by setting ... ("objectdb.temp.no-lazy-o2o-inverse", "true"); or as a JVM parameter: > java -Dobjectdb.temp.no-lazy
Forum
2

Listing large number of complicated objects with paging.

runs blazing fast (22ms) but I think it's because Explorer lazy loads all that objects and load ... with a lazy fetch hint (as done by the Explorer). Another solution may be to use report queries, i.e. instead ... will try lazy fetch hint, but as I understand it will run 50 queries find(Product) while iterating
Issue
2

New entity objects are duplicated on merge cascading

long id;         @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)         B b ... ;         @ManyToOne(fetch= FetchType.LAZY)         A owner;                 @OneToOne(fetch = FetchType.LAZY ... {         @Id @GeneratedValue long id;         @ManyToOne(fetch= FetchType.LAZY)         B owner;     } } This issue is fixed now in build 2.3.7_18. natmaclin
Issue
2

spuriously objectdb objects have null references

=FetchType.LAZY) @Index public List actions = new ArrayList(); ... @OneToMany(fetch=FetchType.LAZY) @Index public List childNodes = new ArrayListlazy loaded collections that have not been loaded with null values. Detached objects
Forum
2

Merge Issue: Attempt to reuse an existing primary key value

();     }     @Entity     static class A {         //@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent")         @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType ... {         @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.ALL })         private A parent
Forum
2

Should derived fields of an EmbeddedId be manually maintained by app code?

; } } @EmbeddedId public ECompoundKeyMapItemId id; @ManyToOne(fetch=FetchType.LAZY) @MapsId("cont ... ECompoundKeyMapSubItemId id; @ManyToOne(fetch=FetchType.LAZY) @MapsId("prnt") private ... ; // Attributes which mark another non containment relationship @ManyToOne(fetch=FetchType.LAZY) private
Forum
2

Transaction isolation support?

. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks ... , and each User have a list of books which the user own defined as @OneToMany(fetch=FetchType.LAZY) ListLAZY changes to FetchType.EAGER? In a SQL database, A and B would run in
Forum
1

@Column( name = "columnName") doesn't work

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS" ) private List dataItems; @OneToOne(fetch = FetchType.LAZY, cascade
Forum
1

Adding multi part path index on non-embedable object member

{ @MapsId @ManyToOne(fetch = FetchType.LAZY) private Merchant merchant; @MapsId @ManyToOne(fetch = FetchType.LAZY) private List stores; // Setter/Getter
Forum
1

Detaching objects after JOIN FETCH