Home » Search

About Group Id

31-40 of 200Refresh
Forum
15

On ensuring ID available after persist

or TABLE strategies, which support allocating a group of IDs in advance in one round trip ... , which relies on an "external" entity object having a non-null id after it has been passed ... up to another element) I am using the following for the ID: @Id //@GeneratedValue(strategy
Tutorial
13

Step 1: Create a Java EE 6 Web Project

Explains how to create a NetBeans Java EE 6 (J2EE) project with ObjectDB/JPA support.
Tutorial
13

Step 1: Create a Java EE 6 Web Project

Explains how to create an Eclipse Java EE 6 (J2EE) project with ObjectDB/JPA support.
JDO Doc
13

javax.jdo.PersistenceManagerFactory

addFetchGroups( FetchGroup... groups) Add the FetchGroups to the set of active fetch groups. Add the FetchGroups to the set of active fetch groups. FetchGroups are made unmodifiable before being added ... , removeFetchGroups, getFetchGroups, and removeAllFetchGroups are internally serialized. Parameters: groups
JDO Doc
13

javax.jdo.PersistenceManager

for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope ... ) and the active fetch groups determine the scope of fetching for the graph of instances reachable from the pcs ... must either be in the default-fetch-group, or in the current custom FetchPlan. Parameters: pcs
JDO Doc
12

javax.jdo.spi.PersistenceCapable

to LOAD_REQUIRED, then the fields in the default fetch group cannot be accessed for read or write ... fetch group cannot be accessed for read or write without notifying the StateManager. Since: JDO 1.0 ... . Since: JDO 1.0 byte READ_OK If jdoFlags is set to READ_OK, then the fields in the default fetch group
Manual
11

ORDER BY clause (JPQL / Criteria API)

expression: SELECT c.name FROM Country c ORDER BY c.name DESC Grouping (GROUP BY) Order The ORDER BY ... and a GROUP BY clause the SELECT clause receives groups rather than individual objects and ORDER BY can order these groups. For example: SELECT c.currency, SUM(c.population) FROM Country c
JPA Doc
9

javax.persistence.criteria.Subquery

< Expression> getGroupList() Return a list of the grouping expressions. Return a list of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Returns: the list of grouping expressions Since: JPA 2.0 Predicate
JPA Doc
9

javax.persistence.criteria.CriteriaQuery

to the given entity Since: JPA 2.0 List> getGroupList() Return a list of the grouping expressions. Return a list of the grouping expressions. Returns empty list if no grouping expressions have been specified. Modifications to the list do not affect the query. Returns: the list of grouping
Manual
8

Paths and Types in JPQL and Criteria API

counts all these objects (this is an aggregate query with no GROUP BY - all the objects are considered as one group, and COUNT calculates its size). Criteria Query Paths and Types Paths and navigations ... expressions in the above code can be divided into two main groups: FROM variable expressions, represented