ObjectDB ObjectDB

Internal Website Search

141-150 of 168 resultsRefresh

How do I achieve a Deep Fetch using JOIN FETCH?

where I need to be able to work with the whole C object, with all its parts, as a detached object. I know


by invoking clear. JDO provides some additional settings in which objects are automatically detached

Fetching Collections Puzzle

) it is filled automatically. Unless the Node object is detached, for example if the EntityManager

Query only works correctly when debug printing results

behaviour. You should make data available before entity objects are detached. See also this forum threads

Fetch Set from DB only works on debug mode

about detached entities in the manual and also see the discussion on this issue including the solution in

Problem with @Basic(fetch = FetchType.LAZY)

from Sample s", Sample.class).getResultList().get(0); em.detach(sample); //just to be sure

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package com.experiments; import javax.persistence.*; import java.util.HashMap; public class

Read only hint for query

Second thing after @FetchGroup I've found is read-only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted. My understanding of this is that each entity returned from query is in detached state as default state. query

Fetch a whole entity graph eager

Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside

ObjectDB 2.4.1

Fixed a bug of duplicating new objects during merge. Fixed a username/password issue in using EntityManagerFactory's getMetamodel. Fixed a bug in detachment of hollow objects on close (issue #799). Fixed a Doctor exception (issue #796). Fixed a Doctor bug in checking byte[] arrays (issue #811

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