ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh

Missing (null) elements in eager loaded references

has a OneToMany relationship to DataElement. Every relationship is eagerly fetched Problem ... .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

JDO sequences from ORM file

>   <!-- Persistable Types with Fetch Groups -->   <class name="JdoTypes$ClassWithFetchGroup">    <fetch-group name="fg1" post-load="false">     <fetch-group name="sg1" />     <field name="p" recursion-depth="7" />    </fetch-group>   </class>   <class name="JdoTypes$ClassWithFetchGroups

Listing large number of complicated objects with paging.

] <newQueryProgram>     <orderPlan plan="sort(fetch(index(-279[all])))" eval="9.3782" var="1" prm="0" reg="0" order="prod.id">         <fatchPlan plan="fetch(index(-279[all]))" eval="7.4751" var="1 ... setting in Product, and particularly with eager fetch of inverse (mapped by) collections. Massive

Transaction isolation support?

. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks when the fetch start? Martin mt Martin Every EntityManager manages its own memory objects (which represent ... and a Book class, and each User have a list of books which the user own defined as @OneToMany(fetch

find() cost unreasonable time!

="parent") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected ... ") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected List ... mappedBy="parent" from the definition of Sons:     @OneToMany(fetch=FetchType.EAGER) Initialize

Exception on creation when running multithreaded

.compiler] <finalPlans> <fatchPlan plan="fetch(index(-101[all]))" eval="5.1439" var="1" prm="0 ... " /> </extractPlan> </filterPlan> <fatchPlan plan="fetch(index(-107[pos<1>:1->:1:notNull ... > </filterPlan> <fatchPlan plan="fetch(index(-106[pos<1>:1->:1:notNull]))" eval="4.3054" var="1" prm

EntityManager JPA or JDO impl and different behavior

and with which fetch type. If the problem can only be demonstrated in Spring you may try generating ... ;         }                 @OneToMany(cascade=CascadeType.PERSIST, fetch=FetchType.EAGER)         public List ... .ALL,                    fetch=FetchType.EAGER, orphanRemoval=true)         //@ElementCollection(fetch=FetchType.EAGER

Iterating over large result set

with fetched data     }     em.clear(); } I'll be using this with data streaming with REST and Jersey ... can use cursors. With some JDBC drivers there is a hint, that driver should fetch data in packages ... of result set from database without building whole object graph representing fetched data in application

Object as parameter results in exception

; } and the query:  @Override public T fetch(Company company, Long primaryKey) {   mLogger.info("Fetching type: {} with id {} with company: {}", new Object[]{managedClass, primaryKey, company ... expressions to point to basic java types (path expression pointing to id):  @Override public T fetch

newObjectIdInstance(pcClass, obj)

constructor ObjectIdFieldSupplier: the field value is fetched from the ObjectIdFieldSupplier and passed

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