ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
90

Fetch Set from DB only works on debug mode

I have a class A, that contains a LinkedHashSet of another class named B. When I try to fetch that hash set, it returns a null pointer. BUT, when I run the program in debug mode, it works fine!! So I'm almost sure it is a bug? Or maybe something I'm doing wrong? Here is a test class that shows
90

Entity has be persistended,but query not fetched?

I create a new entity T newT and persistend it,then I create a query "select t from T t" to fetch all T entities.But then the newT is not contain in the query result. Why? code order: query.setFlushMode(FlushModeType.AUTO); query.getResultList(); maozf maozf The following example demonstrates
90

fetch by enum

I have Entity named Fruits with a column Type which is a enum. I want to fetch the based on Type Eg. Query qry= em.createQuery("Select f from Fruits f where f.Type =: t "); qry.setParameter("t",Type.Sweet); But it return a null result list. Manoj Manoj Kumar Maharana It should work. Please provide
86

Getting this error when fetching records from mem db.

Getting this error when fetching records from mem db.
17

Entity Management Settings

" /> <fetch hollow="true" /> <persist serialization="false" /> <cascade-persist always="auto ... all its EntityManager instances. The level 2 cache is disabled by specifying 0 or 0mb. The <fetch> element <fetch hollow="true" /> The hollow attribute of the <fetch> element (whose value is "true" or
17

ObjectDB Object Database Features

fetch and JPA query FETCH JOIN. Configurable JDO fetch groups. Ease of Use and Learning ObjectDB ... ). FROM (including INNER JOIN, LEFT OUTER JOIN and JOIN FETCH). WHERE (with both JPQL and JDOQL
15

javax.persistence.criteria.FetchParent

javax.persistence.criteria Interface FetchParent<Z,X> Subinterfaces: CollectionJoin, Fetch, From ... which may function as the parent of Fetches. Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified
15

javax.persistence.criteria.SetJoin

expression of the given type Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not
15

javax.persistence.criteria.Join

expression of the given type Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified attribute using ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not
1

[ODB1] Chapter 3 - Persistent Classes

when a persistent object is being loaded from the database, just after the default fetch group ... the default fetch group, should not be accessed by this method. void jdoPreStore() Called ... this loaded object that are not in the default fetch group should not be accessed by this method. void

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