ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

ObjectDB Object Database Features

ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's ... is very simple, except for mapping, which is irrelevant to ObjectDB. Persistence is set using JPA ... types: Collection, List, Set, ArrayList, Vector, Stack, LinkedList, ArrayDeque, PriorityQueue

JPA Primary Key

64 bit number (long) that is set automatically by ObjectDB for every new entity object ... key field: @Entity public class Project { @Id @GeneratedValue long id; // still set ... value generation is discussed in detail in the Generated Values section. Application Set Primary

WHERE clause (JPQL / Criteria API)

that exceeds a specified limit and also have an official language from a specified set of languages ... provides two where methods for setting the WHERE clause. Single Restriction The first where method takes one Expression<Boolean> argument and uses it as the WHERE clause content (overriding previously set

SELECT clause (JPQL / Criteria API)

The criteria query API provides several ways for setting the SELECT clause. Single Selection Setting ... .get("currency")).distinct(true); The select method takes one argument of type Selection and sets it as the SELECT clause content (overriding previously set SELECT content if any). Every valid criteria

GROUP BY and HAVING clauses

methods for setting the GROUP BY and HAVING clauses. For example, the following JPQL query: SELECT c ... of expressions in another form of groupBy). Setting a HAVING clause is very similar to setting a WHERE clause ... (and uses an AND conjunction). When a groupBy or a having method is invoked, previously set values (if any) are discarded.

Deleting JPA Entity Objects

class. Due to the CascadeType.REMOVE setting, when an Employee instance is removed the operation ... . The difference between the two settings is in the response to disconnecting a relationship. For example, such as when setting the address field to null or to another Address object. If orphanRemoval=true

Java EE 6 JPA Tutorial - IntelliJ Project

: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat ... at the toolbar and click the green run icon (or Shift+F10). If the browser fails to open check the settings at File > Settings > Web Browsers.


string resultSetMapping - the name of the result set mapping Returns: the new query instance Since: JPA ... . Transactional instances are subject to eviction based on the RetainValues setting. Since: JDO 1.0 ... call is made Since: JPA 2.0 boolean getCopyOnAttach() Gets the copyOnAttach setting. Gets the copyOnAttach setting


and optimize an execution plan. Since: JDO 1.0 void declareImports(String imports) Set the import statements to be used to identify the fully qualified name of variables or parameters. Set the import ... is executed with the parameters set by the Map values. Each Map entry consists of a key which is the name


are subject to eviction based on the RetainValues setting. Since: JDO 1.0 See Also: evict(Object pc ... . If exceptions occur during flush, the implementation will set the current transaction's RollbackOnly ... the copyOnAttach setting. Gets the copyOnAttach setting. Returns: the copyOnAttach setting. Since: JDO 2.1

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