About ENABLE_SELECTIVE

71-80 of 200Refresh
Manual
5

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 ... of a query that returns a single result: Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p
Manual
5

Running JPA Queries [2011-09-21]

The Query interface defines two methods for running SELECT queries: Query.getSingleResult - for use ... query = em.createQuery("SELECT c FROM Country c", Country.class); ListSELECT c FROM Country c"); List results = query
Manual
5

Running JPA Queries

The Query interface defines two methods for running SELECT queries: Query.getSingleResult - for use ... query = em.createQuery("SELECT c FROM Country c", Country.class); ListSELECT c FROM Country c"); List results = query
Manual
5

Retrieving JPA Entity Objects

with data that is retrieved from the database (or from the L2 cache - if enabled). The new entity object ... @OneToMany or @ManyToMany annotations (currently ObjectDB does not distinguish between the two) enables ... queries. The official query language of JPA is JPQL (Java Persistence Query Language). It enables
Manual
5

JPA Persistable Types

to enable switching to the supported collection type when the entity is retrieved. Actually, JPA requires ... the original classes and enable transparent activation and transparent persistence. For example ... annotation enables choosing the internal representation: @Entity public class Style { Color
Manual
5

Paths and Types in JPQL and Criteria API

identification variables and SELECT result variables. Parameters - when instances of these classes are assigned ... through a NULL value The following query retrieves country names with their capital city names: SELECT ... of all the entity objects in the database, excluding Country entity objects: SELECT COUNT(e) FROM
Tutorial
5

Step 1: Install BIRT and ObjectDB Driver

 Eclipse IDE for Java EE Developers environment: Open the [Install] dialog box by selecting Help ... Neon, Oxygen) and press ENTER. Click the Select All button to select all the BIRT features. Complete ... To install the ObjectDB data source driver for BIRT: Open the [Install] dialog box by selecting Help
Tutorial
5

Getting Started with JPA - Eclipse Project [2015-06-02]

: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the points-console directory as Root Directory and press ENTER. Select the project and click Finish. Run the project in Eclipse: Right click the project node and select Run As > Java Application. Select Main - point and click OK.
Tutorial
5

Getting Started with JPA - Eclipse Project

: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the points-console directory as Root Directory and press ENTER. Select the project and click Finish. Run the project in Eclipse: Right click the project node and select Run As > Java Application. Select Main - point and click OK.
Tutorial
4

Step 1: Create a Web Project

. by using File > New Project... Select Java Web > Web Application and click Next. Choose a Project Name (e.g. Guestbook) and click Next. Select Apache Tomcat 6 as the Server. Note ... and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory of the ObjectDB