ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
5

JPA Criteria API Queries

the EntityManagerFactory's getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method (both methods ... ); List<Country> results = query.getResultList(); The setParameter method takes a Parameter (or a ParameterExpression) instance as the first argument instead of a name or a position (which are used
5

Database Replication and Clustering

ObjectDB supports master-slave replication (cluster). When replication (or clustering) is used ... , but no other preparations or settings are required. Setting Slave Databases Setting slave databases is very easy ... can manage different types of databases, including master databases, slave database (by using one or
5

javax.persistence.criteria.CriteriaQuery

must be eliminated from the query result or whether they must be retained Returns: the modified ... whether duplicate results must be eliminated from the query result or whether they must be retained Returns ... to the restriction(s) over the grouping items, or null if no restrictions have been specified. Return
5

javax.persistence.TypedQuery

/JPQL queries in Chapter 4 of the ObjectDB/JPA manual. int executeUpdate() Execute an update or delete statement. Execute an update or delete statement. Returns: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or
4

javax.persistence.criteria.CriteriaBuilder

restriction predicates. A conjunction of zero predicates is true. Parameters: restrictions - zero or ... compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued ... selection item Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection
4

ORDER BY clause (JPQL / Criteria API)

of Order instances as arguments (or a list of Order) rather than Expression instances. The Order ... ) or descending (DESC). The CriteriaBuilder's asc and desc methods (which are demonstrated above) take an expression and return an ascending or descending Order instance (respectively).
4

What is ObjectDB?

objects (and graphs of objects) in an ObjectDB database directly. There's no need to define tables or convert objects to records/records to objects using SQL or ORM, as opposed to when using relational database systems (RDBMS), such as Oracle, DB2, SQL Server or MySQL.
4

JPA Queries

these interfaces to build and run JPQL queries. The TypedQuery interface (or alternatively the older Query ... , representing query elements. Running criteria queries, however, still requires a TypedQuery or a Query ... getCriteriaBuilder method or by the EntityManager's getCriteriaBuilder method (both methods
4

WHERE clause (JPQL / Criteria API)

"), a)     ) ); The variable argument form of the where method always uses AND. Therefore, using OR requires building an OR expression explicitly: q.where(      cb.or(          cb.gt(c.get("population"), p
0

javax.jdo.PersistenceManager

the PersistenceManagerFactory (recommended) or by construction. Since: JDO 1.0 void ... a PersistenceManager might release it to the pool of available PersistenceManagers, or might be garbage collected ... JDOUserException if the instance is transient or is managed by another PersistenceManager. Parameters: pc

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