Fast Object Database for Java - with JPA/JDO support

About eager

1-10 of 142 resultsRefresh


Enum Constant javax.persistence.FetchType EAGER Defines that data must be eagerly fetched. Since: JPA 1.0

Retrieving JPA Entity Objects

its content, such as when a reference to it has to be set from another entity object. Retrieval by Eager ... .EAGER, indicating that the retrieval operation is cascaded through the field. Explicitly specifying ... an explicit FetchType.EAGER setting: @Entity class Employee { : @ManyToMany(fetch=FetchType

Missing (null) elements in eager loaded references

.getCosts().get(0).getAmount() > X Could it be that despite being fetched eager the elements are yet not ... abstract class BaseCostElement extends BaseElement { @ElementCollection(fetch = FetchType.EAGER ... extends BaseCostElement { @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER) private List

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

different. Is an "All eager strategy" more efficient that many join fetch ( cartesian product + distinct ). ? In my first impressions ( not tested with metrics ), "all eager fetch" strategy ... entities, you will get a request for each collection to fetch of each object ! So ... "Eager fetch

Fetch a whole entity graph eager

next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph ... eager fetch. JOIN FETCH queries. JDO fetch groups. support Support Hello, we have still always the problem to get a complex completed eager entity graph. The best solution would be to provide

LAZY @ManyToOne field functions as EAGER

and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2 ... ;                 @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType.ALL)         C cEager ... JPA, LAZY (unlike EAGER) is merely a hint. For example, ObjectDB always loads simple value fields

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok ... Richard Szurgot There was a bug in eager fetch of collections and maps of simple values. Build 2.3.2

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set ... and fetch is: @Entity public class Game {     .......     @ElementCollection(fetch=FetchType.EAGER

Bulk load of eager mapped by (inverse) relationships

a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse) fields in bulk as well. support Support Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. support Support

Eager Fetch of Map with Entities as Keys

{         @Id private long id = 1;         @OneToMany(fetch=FetchType.EAGER)         Map map = new

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support