About named

141-150 of 200Refresh
JDO Doc
52

Constants.PROPERTY_SPI_RESOURCE_NAME

Static Field javax.jdo.Constants String PROPERTY_SPI_RESOURCE_NAME "javax.jdo.option.spi.ResourceName" Since: JDO 2.1
JDO Doc
52

DiscriminatorStrategy.CLASS_NAME

Enum Constant javax.jdo.annotations.DiscriminatorStrategy CLASS_NAME Since: JDO 2.1
Manual
38

Schema Update

abilities: name="com.example.old1" new-name="com.example.new1" /> name="com.example.old2" new-name="com.example.new2"> name="A" new-name="NewA" /> name="B"> name="f1" new-name="newF1" /> name="f2" new-name="newF2
Manual
29

SELECT clause (JPQL / Criteria API)

, the following query returns country names as String instances, rather than Country objects: SELECT c.name FROM Country AS c Using path expressions, such as c.name, in query results is referred to as ... > query = em.createQuery( "SELECT c.name FROM Country AS c", String.class); List
Manual
28

Query Parameters in JPA [2011-04-01]

execution, because it eliminates the need for repeated query compilations. Named Parameters (:name) The following method retrieves a Country object from the database by its name: public Country getCountryByName(EntityManager em, String name) { TypedQuery query = em.createQuery
Manual
28

Query Parameters in JPA

execution, because it eliminates the need for repeated query compilations. Named Parameters (:name) The following method retrieves a Country object from the database by its name: public Country getCountryByName(EntityManager em, String name) { TypedQuery query = em.createQuery
Manual
22

FROM clause (JPQL / Criteria API)

, and the same query can also be written as follows: SELECT c FROM Country c By default, the name of an entity class in a JPQL query is the unqualified name of the class (e.g. just Country with no package name). The default name can be overridden by specifying another name explicitly in the @Entity's
Manual
20

Comparison in JPQL and Criteria API

and parameter expressions: Expression name = country.get("name"); Expression nameParam ... ); // Equal (=) Predicate eq1 = cb.equal(name, nameParam); Predicate eq2 = cb.equal(name ... ); // Not Equal (<>) Predicate ne1 = cb.notEqual(name, nameParam); Predicate ne2 = cb.notEqual
Tutorial
19

Step 2: Entity Class and Persistence Unit

as Folder Name and click Finish. Open the [New Java Class] dialog box, e.g. by right clicking ... the package name - use exactly that case sensitive package name. Enter Guest as the class name - use exactly that case sensitive class name. Click Finish to create the new entity class. A new class
Manual
19

ORDER BY clause (JPQL / Criteria API)

Expressions The following query returns names of countries whose population size is at least one million people, ordered by the country name: SELECT c.name FROM Country c WHERE c.population > 1000000 ORDER BY c.name When an ORDER BY clause exists it is the last to be executed. First the FROM