ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

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

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

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.

Shared (L2) Entity Cache

has to be specified. Persistence Unit Settings The shared cache can also be enabled or disabled using a persistence ... except classes that are specified as Cacheable explicitly. For example: @Cacheable // or ... is used. This might be useful when the database might be updated by other applications (or using

Server User List

to, as well as from The admin attribute (whose value is "true" or "false ... > Every <user> element may contain one or more <dir> subelements indicating which paths ... (using the Explorer) but cannot open database files or modify anything. The <quota> element

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).


, an alias cannot be changed or reassigned. Returns the same selection item. Parameters: name - alias ... must be eliminated from the subquery result or whether they must be retained Returns: the modified subquery ... specifying whether duplicate results must be eliminated from the query result or

NetBeans/JPA Spring MVC Web Tutorial

, Tomcat (or GlassFish) and Maven. The demo web application manages a basic guestbook page ... database. Required Software For this tutorial you will need the following software: Java JDK 6.0 (or above). NetBeans (Java or All bundle). The tutorial was written for NetBeans 6.9.1 but it should work

[ODB1] Chapter 2 - A Quick Tour

[] args) { 10 11 // Create or open a database and begin a transaction: 12 ... must be declared in a metadata file named either package.jdo (generic name) or Person.jdo (name of the class ... , when the end of Extent iteration is reached it is recommended to use closeAll() (line 44) or close


whether the instance is persistent, transactional, dirty, new, deleted, or detached ... is not managed by the application or the data store, then the ObjectId returned is only valid ... PersistenceManagerFactory or persistence unit. Returns a named PersistenceManagerFactory or persistence unit. Parameters

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