ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh
11

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
11

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
10

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
10

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
10

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
10

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
10

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
10

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
9

Performance problem

due to a massive EAGER fetch that follows the query execution. That eager fetch doesn't happen for example ... the database. You may find out that by a recursive EAGER fetch you enforce loading of the entire ... Emil Perić The answer to your question is that the Explorer doesn't apply EAGER fetch. You wrote
1

New entity objects are duplicated on merge cascading

.ALL, fetch= FetchType.EAGER)         private List<Chapter> chapters;     }     @Entity     public ... A {         @Id @GeneratedValue long id;         @OneToOne(fetch = FetchType.LAZY, cascade ... @GeneratedValue long id;         @ManyToOne(fetch= FetchType.LAZY)         A owner

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