About fetch

api-jpa

javax.persistence.Basic

The simplest type of mapping to a database column.(Annotation of JPA)

 
release

2.4.0

... Fixed a regression bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #120 ... server queries ( issue #112 ). Fixed eager fetch issues. Fixed a bug in using type literals in queries. ...

 
release

2.4.7

... an initialization of inverse (mapped by) fields by JOIN FETCH ( issue #161 ). Fixed type checking of query parameters. ... Fixed a regression bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #120 ...

 
release

2.4.1

... Fixed a regression bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #120 ... server queries ( issue #112 ). Fixed eager fetch issues. Fixed a bug in using type literals in queries. ...

 
forum_thread

Transaction isolation support?

I am looking at using ObjectDB for our new project, and its looking good so far. But I have been unable to find any documentation about how transaction isolation is handled. For example: What happens If I am reading data in transaction A, and then transaction B commits while A is reading. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks when the fetch start? Martin   ... B commits while A is reading. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks when the fetch start? Martin   ...

 
release

2.4.6

... an initialization of inverse (mapped by) fields by JOIN FETCH ( issue #161 ). Fixed type checking of query parameters. ... Fixed a regression bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #120 ...

 
issue

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

I have marked this as CRITICAL because although there probably is no database integrity problem, the inability to robustly query relationship fields in a web application renders the ObjectDB system seemingly useless. objectdb-2.2.5_10 NetbeansIDE6.9.1 Glassfish3.01 client-server mode. odb file written to db-files/greendesk/greendesk.odb (see persistence.xml), copy of odb output attached. ... owner ;   @ ManyToOne ( fetch = FetchType . LAZY ) @ JoinTable ... might be the problem here. Try setting the fetch type of  ownedElements to EAGER and check if it affects. ...

 
release

2.3.3

... OR queries with many elements. Fixed eager fetch of maps and nested embedded objects. Fixed a bug in ... fields ( issue #80 ). Fixed eager fetch of collections and maps of simple values ( issue #81 ). ...

 
api-jpa

javax.persistence.ElementCollection

Defines a collection of instances of a basic type or embeddable class.(Annotation of JPA)

 
manual

JPA Query Structure (JPQL / Criteria)

Explains the structure of a JPQL query, which consists of 6 clauses: SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY.... join type. See JavaDoc Reference Page... , fetch fetch(attributeName) FetchParent's method Create a fetch join to ...