About lazy

release

2.4.4

... Initial attempt to enable navigation through lazy loading from detached objects ( feature request #48 ). ... Version 2.0.1 Fixed a bug in lazy loading of instances of non enhanced classes. Fixed a bug in ...

 
forum_thread

An InternalException occurs when gets an result list

[ObjectDB 2.6.4_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.VAR.S(VAR.java:297) at com.objectdb.o.VAR.R(VAR.java:259) at com.objectdb.o.SYR.y(SYR.java:515) at com.objectdb.o.QRC.x(QRC.java:192) at com.objectdb.o.QRM.Vm(QRM.java:272)... with query option: query.setHint("objectdb.result-fetch", "LAZY"); edit ...

 
forum_thread

Missing Data on Retrieval (0, null values)

I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others  contains all  Object-Rows', but most Values of the Columns are missing. With a  em.clear() inside the Loop, all tables are exported correctly but the Enity-Keys do not match. I can't get the point - what am i doing wrong?   emf = Persistence.createEntityManagerFactory(dbFile); em = emf.createEntityManager(); ... The null and 0 values may be the result of lazy loading. If you see them in the debugger before accessing the ...

 
forum_thread

Merge on detached entities

Hello, it is possible to merge detached entities? There are some attached entities which load from the database. The transaction is finished and the entities become detached. In a new transaction the fields of the detached entities will be changed and a merge by em.merge(entity) will be saved the entities. Can this works correctly? How are the rules of the merge process? Do the changed fields of the detached entity overwrite the fields in the database? Also changed fields which are set to null? ... to attach detached entities when the entity manager uses lazy loading. What settings on annotations are needed regarding fetch types and ...

 
release

2.7.2

... Version 2.4.5 Added support of lazy loading of mapped by (inverse) singular relationships ( issue #148 ). ... Initial attempt to enable navigation through lazy loading from detached objects ( feature request #48 ). ...

 
release

2.4.3

... Initial attempt to enable navigation through lazy loading from detached objects ( feature request #48 ). ... Version 2.0.1 Fixed a bug in lazy loading of instances of non enhanced classes. Fixed a bug in ...

 
release

2.7.1

... Version 2.4.5 Added support of lazy loading of mapped by (inverse) singular relationships ( issue #148 ). ... Initial attempt to enable navigation through lazy loading from detached objects ( feature request #48 ). ...

 
release

2.4.2

... Initial attempt to enable navigation through lazy loading from detached objects ( feature request #48 ). ... Version 2.0.1 Fixed a bug in lazy loading of instances of non enhanced classes. Fixed a bug in ...

 
api-jpa

javax.persistence.ManyToMany

Defines a many-valued association with many-to-many multiplicity.(Annotation of JPA)

 
api-jpa

javax.persistence.ManyToOne

Defines a single-valued association to another entity class that has many-to-one multiplicity.(Annotation of JPA)