ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
9

Comparison in JPQL and Criteria API

ObjectDB supports two sets of comparison operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO Less Than < < Greater Than > > Less Than or Equal To <= <= Greater Than or Equal To >= >= Equal = == Not Equal <> != The two sets differ in the Equal and the Not Equal operators
9

JPA Criteria API Queries

are represented by a TypedQuery instance - query execution and query setting is similar, regardless of the way ... parameter. The where method sets the WHERE clause. As shown above, The CriteriaQuery interface ... on how to set criteria query clauses and build criteria expressions. Running this query requires setting
9

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

javax.persistence.TypedQuery

- if the statement execution exceeds the query timeout value set and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set ... object was set to retrieve. The position of the first result the query object was set to retrieve
8

Storing JPA Entity Objects

of every reachable object or alternatively by setting automatic cascading persist. Cascading Persist Marking ... of Address, which is another entity class. Due to the CascadeType.PERSIST setting, when an Employee ... setting the ObjectDB configuration or in a JPA portable way, by specifying the cascade-persist XML
8

JPA Persistable Types

can be set explicitly by using the name attribute of the Entity annotation: @Entity(name="MyName") public ... share the same class name, explicit entity name setting is required to avoid clashes. Mapped ... .util.List, java.util.Set, java.util.Map), and that is also a good practice when working with ObjectDB
1

JPA Web App Tutorial - IntelliJ Project

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

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

[ODB1] Chapter 3 - Persistent Classes

, LinkedList, Vector, HashMap, TreeMap and Hashtable, and the interfaces - Collection, Set, List and Map ... collection interfaces (Collection, Set, List and Map) cannot refer to an unsupported collection, or ... the enhancer from the command line. First, the classpath has to be set to include ObjectDB and JDO jar
0

[ODB1] Chapter 7 - JDOQL Queries

filter) In the first form, the candidate class is automatically set to the class of the specified candidate Extent, and in the second form, the candidate collection is automatically set ... = Calendar.getInstance(); calendar.clear(); calendar.set(2000, 0, 1); Date date = calendar

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