About FROM

131-140 of 200Refresh
Tutorial
9

Step 3: Add a Main Class [2011-02-11]

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... : Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p"); System.out.println("Total ... .createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X: " + q2
Tutorial
9

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... : Query q1 = em.createQuery("SELECT COUNT(p) FROM Point p"); System.out.println("Total Points ... .createQuery("SELECT AVG(p.x) FROM Point p"); System.out.println("Average X: " + q2.getSingleResult
Result
8

Apache License, Version 2.0, January 2004

resulting from mechanical transformation or translation of a Source form, including but not limited ... , that is based on (or derived from) the Work and for which the editorial revisions, annotations ... . For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely
Manual
8

JPA / JDO Class Enhancer

.jar file. You can run it from the command line as follows: > java -cp objectdb.jar com.objectdb ... on Unix/Linux) from the ObjectDB bin directory. To use that script you have to edit the paths ... \*"/> Enhancement API The ObjectDB Enhancer can also be invoked from Java code: com.objectdb
Tutorial
8

Step 3: Add a Main Class

In this step we will add a main class to the project from the database:   Open the [New Java Class ... COUNT(p) FROM Point p"); System.out.println("Total Points: " + q1.getSingleResult()); // Find the average X value: Query q2 = em.createQuery("SELECT AVG(p.x) FROM Point p
JDO Doc
8

javax.jdo.PersistenceManagerFactory

instances obtained from the same PersistenceManagerFactory will have the same default properties ... . Once the first PersistenceManager is obtained from the PersistenceManagerFactory, the factory can no longer ... to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active
Manual
7

JPA Lifecycle Events

flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... the EntityManager. @PostRemove - after deleting an entity from the database (during commit or flush). An entity ... an entity class and all its descendant classes from using the default listeners: @Entity
Manual
7

Database Explorer [2011-09-21]

it from the command line as follows: > java -jar explorer.jar If explorer.jar is not in the current ... . Bookmarked entity objects can be accessed from the [Database] tabbed window. Editing Database Content ... of an Extent node in a viewer window deletes the object itself from the database. Editing
Manual
7

Database Explorer

it from the command line as follows: > java -jar explorer.jar If explorer.jar is not in the current ... . Bookmarked entity objects can be accessed from the [Database] tabbed window. Editing Database Content ... of an Extent node in a viewer window deletes the object itself from the database. Editing
Manual
6

SSL Configuration

. This file is generated from the Keystore file by omitting the private key (it still contains ... connections from any machine as long as a valid username and password are provided. If an authentication of the client machine by the server is also required a Keystore file (which might be different from