ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

SELECT clause (JPQL / Criteria API)

projection. The field values are extracted from (or projected out of) entity objects to form the query ... efficiently. They are less productive with operations that update or delete entity objects, in ... to using select with one of the factory methods (array, tuple or construct) as demonstrated

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

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


, 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


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 for a criteria

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the Source or XML tab in the editor window). Use copy and paste to replace the default content

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


javax.jdo Interface FetchGroup FetchGroup represents a named fetch group for a specific class or interface. A fetch group instance identifies the name of the class or interface, the list of members (fields or properties) to be fetched when the fetch group is active, and the recursion depth for each

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