ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
95

Class fields selection to store

Class fields selection to store
95

Selective merge/cascade of detatched entity

Selective merge/cascade of detatched entity
18

Index Definition

query execution. Indexes are especially efficient in lookup and range queries: SELECT p FROM Point p WHERE p.x = 100 SELECT p FROM Point p WHERE p.x BETWEEN 50 AND 80 SELECT p FROM Point p ... on fields x and y enables quick execution of the following queries: SELECT p FROM Point p WHERE p.x
17

JPA Criteria API Queries

Criteria Query The following query string represents a minimal JPQL query: SELECT c FROM Country c ... > c = q.from(Country.class); q.select(c); The CriteriaBuilder interface serves as the main ... , the range variable, c, is also used in the SELECT clause as the query result expression
15

CRUD Database Operations with JPA

objects in the database by using a simple query: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p"); System.out.println("Total Points: " + q1.getSingleResult()); The query string ("SELECT ... see another example of a query that returns a single result: Query q2 = em.createQuery("SELECT AVG(p.x) FROM
15

Running JPA Queries

The Query interface defines two methods for running SELECT queries: Query.getSingleResult - for use ... : TypedQuery<Country> query = em.createQuery("SELECT c FROM Country c", Country.class); List ... (generic) type: Query query = em.createQuery("SELECT c FROM Country c"); List results = query
15

Shared (L2) Entity Cache

: NONE - cache is disabled. ENABLE_SELECTIVE - cache is disabled except for selected entity classes (see below). DISABLE_SELECTIVE - cache is enabled except for selected entity classes ... Settings The ENABLE_SELECTIVE mode indicates that the cache is disabled for all the entity classes
3

Spring MVC JPA Tutorial - IntelliJ Project

: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings ... ). Define Run Configuration: Select Run > Edit Configurations, click the + icon and select Tomcat
3

JPA Web App Tutorial - IntelliJ Project

the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File ... separately). Define Run Configuration: Select Run > Edit Configurations, click the + icon
3

Java EE 6 JPA Tutorial - IntelliJ Project

: Select File > Open Project.... Select the guestbook-jee6 directory and click OK. Define the Server: Select File > Settings > Application Servers. Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run Configuration: Select Run > Edit Configurations, click

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