ObjectDB Database Search

51-100 of 129 results

jakarta.persistence.metamodel.ManagedType.getCollection(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getCollection (    String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType CollectionAttribute getDeclaredCollection (    String name ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name. Parameters : name - the name

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object)

. Not doing so might lead to unintended loading of state. Parameters : entity - entity instance

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

and attribute. Parameters : attributeName - the name of the attribute to be loaded entity - entity

jakarta.persistence.metamodel.ManagedType.getAttribute(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Attribute getAttribute (    String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute Returns: attribute with given

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

and attribute. Parameters : attribute - the attribute to be loaded entity - entity instance to be loaded

jakarta.persistence.metamodel.ManagedType.getDeclaredAttribute(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Attribute getDeclaredAttribute (    String name ) Return the attribute declared by the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute Returns

jakarta.persistence.PersistenceUnitUtil.load(Object)

with the given entity instance. Parameters : entity - entity instance to be loaded Throws

jakarta.persistence.metamodel.ManagedType.getMap(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType MapAttribute getMap (    String name ) Return the Map-valued attribute of the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute Returns: MapAttribute

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType MapAttribute getDeclaredMap (    String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isLoaded (    Object entity ,    String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters : attributeName - name

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isLoaded (    E entity ,    Attribute attribute ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters : attribute - attribute

jakarta.persistence.metamodel.ManagedType.getSet(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getSet (    String name ) Return the Set-valued attribute of the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute Returns: SetAttribute

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getDeclaredSet (    String name ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute

jakarta.persistence.metamodel.ManagedType.getList(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType ListAttribute getList (    String name ) Return the List-valued attribute of the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute Returns

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType ListAttribute getDeclaredList (    String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name. Parameters : name - the name of the represented attribute

jakarta.persistence.criteria.CollectionJoin.on(Expression)

. Parameters : restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.AbstractQuery.distinct(boolean)

. If distinct has not been specified, duplicate results must be retained. Parameters : distinct

jakarta.persistence.metamodel.Metamodel.entity(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel EntityType entity (    String entityName ) Return the metamodel entity type representing the entity. Parameters : entityName - the name of the represented entity Returns: the metamodel entity type. Throws

jakarta.persistence.metamodel.Metamodel.entity(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel EntityType entity (    Class cls ) Return the metamodel entity type representing the entity. Parameters : cls - the type of the represented entity Returns: the metamodel entity type. Throws

jakarta.persistence.metamodel.Metamodel.managedType(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel ManagedType managedType (    Class cls ) Return the metamodel managed type representing the entity, mapped superclass, or embeddable class. Parameters : cls - the type of the represented managed class Returns

jakarta.persistence.metamodel.Metamodel.embeddable(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel EmbeddableType embeddable (    Class cls ) Return the metamodel embeddable type representing the embeddable class. Parameters : cls - the type of the represented embeddable class Returns: the metamodel embeddable

jakarta.persistence.criteria.CriteriaBuilder.createQuery(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaQuery createQuery (    Class resultClass ) Create a CriteriaQuery object with the given result type. Parameters : resultClass - type of the query result Returns: criteria query object. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CollectionJoin.on(Predicate...)

. Parameters : restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CommonAbstractCriteria.subquery(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria Subquery subquery (    Class type ) Create a subquery of the query. Parameters : type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CommonAbstractCriteria.subquery(EntityType)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria Subquery subquery (    EntityType type ) Create a subquery of the query. Parameters : type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.tuple(Selection...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CompoundSelection tuple (    Selection ... selections ) Create a tuple-valued selection item. Parameters : selections - selection items Returns: tuple-valued compound selection. Throws

jakarta.persistence.criteria.CriteriaBuilder.tuple(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CompoundSelection tuple (    List selections ) Create a tuple-valued selection item. Parameters : selections - list of selection items Returns: tuple-valued compound selection. Throws

jakarta.persistence.criteria.CriteriaBuilder.array(Selection...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CompoundSelection array (    Selection ... selections ) Create an array-valued selection item. Parameters : selections - selection items Returns: array-valued compound selection. Throws

jakarta.persistence.criteria.CriteriaBuilder.array(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CompoundSelection array (    List selections ) Create an array-valued selection item. Parameters : selections - list of selection items Returns: array-valued compound selection. Throws

jakarta.persistence.criteria.CriteriaBuilder.createCriteriaUpdate(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaUpdate createCriteriaUpdate (    Class targetEntity ) Create a CriteriaUpdate query object to perform a bulk update operation. Parameters : targetEntity - target type for update operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.createCriteriaDelete(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaDelete createCriteriaDelete (    Class targetEntity ) Create a CriteriaDelete query object to perform a bulk delete operation. Parameters : targetEntity - target type for delete operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...)

entities will be in the new state after the query is executed. Parameters : selections - arguments

jakarta.persistence.criteria.CriteriaBuilder.avg(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression avg (    Expression x ) Create an aggregate expression applying the avg operation. Parameters : x - expression representing input value to avg operation Returns: avg expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.sum(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression sum (    Expression x ) Create an aggregate expression applying the sum operation. Parameters : x - expression representing input value to sum operation Returns: sum expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.sumAsLong(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression sumAsLong (    Expression x ) Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result. Parameters : x - expression representing input

jakarta.persistence.criteria.CriteriaBuilder.sumAsDouble(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression sumAsDouble (    Expression x ) Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result. Parameters : x - expression representing input

jakarta.persistence.metamodel.IdentifiableType.getDeclaredVersion(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredVersion (    Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters : type - the type

jakarta.persistence.criteria.CriteriaBuilder.asc(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order asc (    Expression expression ) Create an ordering by the ascending value of the expression. Parameters : expression - expression used to define the ordering Returns: ascending ordering corresponding to the expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc (    Expression expression ) Create an ordering by the descending value of the expression. Parameters : expression - expression used to define the ordering Returns: descending ordering

jakarta.persistence.criteria.CriteriaBuilder.asc(Expression,Nulls)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order asc (    Expression expression ,    Nulls nullPrecedence ) Create an ordering by the ascending value of the expression. Parameters : expression - expression used to define the ordering

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc (    Expression expression ,    Nulls nullPrecedence ) Create an ordering by the descending value of the expression. Parameters : expression - expression used to define the ordering

jakarta.persistence.metamodel.IdentifiableType.getId(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getId (    Class type ) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters : type - the type of the represented id attribute Returns

jakarta.persistence.metamodel.IdentifiableType.getDeclaredId(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredId (    Class type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters : type - the type of the represented

jakarta.persistence.metamodel.IdentifiableType.getVersion(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType SingularAttribute getVersion (    Class type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters : type - the type of the represented version

jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SingularAttribute getSingularAttribute (    String name ,    Class type ) Return the single-valued attribute of the managed type that corresponds to the specified name and Java type. Parameters : name

jakarta.persistence.TypedQuery.setFirstResult(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setFirstResult (    int startPosition ) Set the position of the first result to retrieve. Parameters : startPosition - position of the first result, numbered from 0 Returns: the same query instance. Throws

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String,Class)

. Parameters : name - the name of the represented attribute type - the type of the represented

jakarta.persistence.TypedQuery.setHint(String,Object)

. Parameters : value - value for the property or hint hintName - name of property or hint Returns

jakarta.persistence.TypedQuery.setLockMode(LockModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setLockMode (    LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters : lockMode - lock mode Returns: the same query instance. Throws: IllegalStateException