About modify

manual

DELETE Queries in JPA/JPQL

Explains how to apply server side bulk delete using a JPA/JPQL query. As explained in chapter 2 , entity objects can be deleted from the database by: Retrieving the entity objects into an EntityManager . Removing these objects from the EntityManager  within an active ...

 
forum_thread

@ElementCollection of type enum

Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) private Set<UserPermission> permissions; package x.x.x.x public enum UserPermission { BASIC, COACH, ADMIN } Use case: there are users which contain the first 2 permissions (BASIC and COACH, so the first 2 entries). #1 2014-02-04 15:03 Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) ...

 
api-jpa

groupBy(grouping)

Specify the expressions that are used to form groups over the query results.(Method of javax.persistence.criteria.CriteriaQuery<T>)

 
api-jpa

distinct(distinct)

Specify whether duplicate query results will be eliminated.(Method of javax.persistence.criteria.AbstractQuery)

 
api-jpa

having(restrictions)

Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jdo

jdoMakeDirty(fieldName)

Explicitly mark this instance and this field dirty.(Method of javax.jdo.spi.PersistenceCapable)

 
api-jdo

getTransactionalObjectId(pc)

Return a copy of the JDO identity associated with the parameter instance.(Static Method of javax.jdo.JDOHelper)

 
api-jdo

getFetchGroup(cls, name)

Create an unscoped, modifiable FetchGroup for the Class and name.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

setObjectField(pc, field, currentValue, newValue)

Mark the field as modified by the user.(Method of javax.jdo.spi.StateManager)

 
api-jdo

setBooleanField(pc, field, currentValue, newValue)

Mark the field as modified by the user.(Method of javax.jdo.spi.StateManager)