About named

141-150 of 200Refresh
JDO Doc
61

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
61

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
Issue
22

Weird issue with variable naming

hi, We've hit again against troubles with the variable naming when trying to get the query string ... and order by. Removing the addition of order stuff solves the issue of double naming though doesn't help us without ordering. The issue is that the name of the root variable is $1 as well as the name
Forum
22

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... .... @Entity @NamedQueries({ @NamedQuery(name = "objdbTest.Singleton.getItem", query = "SELECT o
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
Forum
21

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using ... . Unfortunately some of the names are the same for entities: - homplex.model.dbobject.Inspiration ... specify full name with package in persistence.xml and set "exclude-unlisted-classes" for true, ODB