ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
8

javax.persistence.criteria.From

not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... : attributeName - name of the attribute for the target of the join Returns: the resulting fetch join Throws ... : the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not exist
8

javax.persistence.criteria.Join

: 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 ... - join type Returns: the resulting fetch join Throws: IllegalArgumentException - if attribute
8

javax.persistence.criteria.Root

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 ... - name of the attribute for the target of the join jt - join type Returns: the resulting fetch join
8

javax.persistence.criteria.PluralJoin

: 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 ... of the attribute for the target of the join jt - join type Returns: the resulting fetch join Throws
7

javax.persistence.criteria.AbstractQuery

. Since: JPA 2.0 AbstractQuery<T> distinct(boolean distinct) Specify whether duplicate query results will be eliminated. Specify whether duplicate query results will be eliminated. A true value will cause ... been specified, duplicate results must be retained. Parameters: distinct - boolean value specifying
7

GROUP BY and HAVING clauses

The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY ... which returns the first letters as result. ObjectDB is very flexible in allowing JPQL expressions anywhere in
7

Locking in JPA

JPA 2 supports both optimistic locking and pessimistic locking. Locking is essential to avoid update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking ... _WRITE); A lock mode can also be set for a query in order to lock all the query result objects
7

WHERE clause (JPQL / Criteria API)

objects to the SELECT clause for collecting as query results, the WHERE clause gets an opportunity ... evaluates to TRUE are passed to the SELECT clause and then collected as query results. WHERE Predicate
1

Step 3: Add a Main Class

=  em.createQuery("SELECT p FROM Point p", Point.class); List<Point> results = query.getResultList(); for (Point p : results) { System.out.println(p
0

setResultClass(cls)

which to return each element of the result of invoking execute or one of its siblings. If the result is not set or set to null, the result class defaults to the candidate class of the query. If the result consists of one expression, the result class defaults to the type of that expression. If the result consists

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