ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
47

IN expression in a Criteria Query

.objectdb.o.UserException: Invalid result expression 'a' for an aggregate query at com.objectdb.o.MSG ... );         TypedQuery<MyEntity> query = em.createQuery(q);         List<MyEntity> results = query.getResultList ... (:bindVar)");         query.setParameter("bindVar", "a");         List<MyEntity> results = query
45

Queries are slow on a large database

for this specific query, because results can be ordered by the index rather than by accessing the data ... [] results = (Object[])query.execute(); Integer minId = (Integer)results[0]; Integer maxId = (Integer ... and there are performances issues. I am doing small queries and they take much longer than I expect, i.e.: Get the total
9

Storing JPA Entity Objects

to the database is sometimes also useful before executing queries in order to get up to date results ... New entity objects can be stored in the database either explicitly by invoking the persist method or implicitly as a result of a cascade operation. Explicit Persist The following code stores
9

General Settings and Logging

data, such as query results that contain millions of objects. The <temp> element specifies temporary ... sockets become obsolete as a result of inactivity. The value is the timeout in seconds, where 0
9

javax.persistence.criteria.PluralJoin

to all collection types. It is not intended to be used directly in query construction. Since: JPA 2.0 ... : the runtime type is not changed. Warning: may result in a runtime failure. Parameters: type - intended type ... for the target of the join Returns: the resulting fetch join Throws: IllegalArgumentException
9

javax.persistence.criteria.Root

<X,X>, Path<X>, Selection<X>, TupleElement<X> A root type in the from clause. Query roots ... conversion: the runtime type is not changed. Warning: may result in a runtime failure. Parameters: type ... of the attribute for the target of the join Returns: the resulting fetch join Throws
9

javax.persistence.criteria.SetJoin

interface is the type of the result of joining to a collection over an association or element ... : may result in a runtime failure. Parameters: type - intended type of the expression Returns: new ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not
9

javax.persistence.criteria.ListJoin

interface is the type of the result of joining to a collection over an association or element ... : may result in a runtime failure. Parameters: type - intended type of the expression Returns: new ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does
9

javax.persistence.criteria.CollectionJoin

> The CollectionJoin interface is the type of the result of joining to a collection ... is not changed. Warning: may result in a runtime failure. Parameters: type - intended type ... for the target of the join Returns: the resulting fetch join Throws: IllegalArgumentException - if attribute
9

javax.persistence.criteria.MapJoin

> The MapJoin interface is the type of the result of joining to a collection over an association or element ... : may result in a runtime failure. Parameters: type - intended type of the expression Returns: new ... of the join Returns: the resulting fetch join Throws: IllegalArgumentException - if attribute of the given

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