ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.EntityNotFoundException

) EntityManager.refresh(Object, java.util. Map ) EntityManager.refresh(Object, LockModeType, java.util. Map ) EntityManager.lock(Object, LockModeType) EntityManager.lock(Object, LockModeType, java.util. Map

jakarta.persistence.EntityResult

: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation to map ... should select all the columns that are mapped to the entity object. This should include foreign key ... [] fields Maps the columns specified in the SELECT list of the query to the properties or fields

jakarta.persistence.Enumerated

is an enum type. An enum can be mapped as either a string or an integer , where EnumType enumerates the available options. The mapping may be explicitly specified by this annotation. If a persistent field or ... used in mapping an enum type. Default: ORDINAL Since: Jakarta Persistence (JPA) 1.0 Additional JDK

jakarta.persistence.Basic

: Annotation Target: Method, Field The simplest type of mapping of a persistent field or property ... . The database column mapped by the persistent field or property may be specified using the Column ... and is disregarded for primitive types; it may be used in schema generation to infer that the mapped column

jakarta.persistence.criteria.Path.get(MapAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Expression get (    MapAttribute map ) Create a path corresponding to the referenced map -valued attribute. Parameters: map - map -valued attribute Returns: expression corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.values(M)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression values (    M map ) Create an expression that returns the values of a map . Parameters: map - map Returns: collection expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaBuilder.keys(M)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression keys (    M map ) Create an expression that returns the keys of a map . Parameters: map - map Returns: set expression. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.JoinColumns

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.JoinColumns Implemented Interfaces: Annotation Target: Method, Field Specifies the mapping for composite foreign keys. This annotation ... Persistence (JPA) 1.0 Annotation Elements JoinColumn[] value The join columns that map the relationship

jakarta.persistence.NamedAttributeNode

) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map attribute

jakarta.persistence.ConstructorResult

to map the SELECT clause of a SQL query to a constructor. Applies a constructor for the target class ... ColumnResult[] columns (Required) The mapping of columns in the SELECT list to the arguments

jakarta.persistence.Converter

mapping descriptor. The target type for a converter is determined by the actual type argument of the first ... must automatically apply the converter to every mapped attribute of the specified target type belonging to any

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED inheritance mapping strategies . The mapping strategy and discriminator column are only specified

jakarta.persistence.ElementCollection

embeddable class . Must be specified if the collection is to be mapped by means of a collection table. The CollectionTable annotation specifies a mapping to a database table. Example: @Entity public class

jakarta.persistence.EntityListeners

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.EntityListeners Implemented Interfaces: Annotation Target: Type Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass. The specified

jakarta.persistence.criteria.Subquery

Persistence (JPA) 1.0 MapJoin correlate ( MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing

jakarta.persistence.metamodel.PluralAttribute.CollectionType

Since: Jakarta Persistence (JPA) 1.0 LIST List-valued attribute Since: Jakarta Persistence (JPA) 1.0 MAP Map -valued attribute Since: Jakarta Persistence (JPA) 1.0 SET Set-valued attribute Since: Jakarta

jakarta.persistence.TypedQueryReference

) Since: Jakarta Persistence (JPA) 3.2 Public Instance Methods Map getHints () A map keyed by hint name

jakarta.persistence.Version

should be declared by the root entity class in an entity class hierarchy, or by one of its mapped superclasses. The Version field or property should be mapped to the primary table of the entity

jakarta.persistence.metamodel.Type.PersistenceType

MAPPED _SUPERCLASS Mapped superclass Since: Jakarta Persistence (JPA) 1.0 Synthetic Public Static

jakarta.persistence.AttributeOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AttributeOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple properties or ... property mapping overrides. Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from

jakarta.persistence.AttributeConverter

mapping to the database representation. A converted field or property is considered Basic ... class must be annotated Converter or declared as a converter in the object/relational mapping

jakarta.persistence.AssociationOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AssociationOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple relationship ... ) The association override mappings that are to be applied to the relationship field or property

jakarta.persistence.Column

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Column Implemented Interfaces: Annotation Target: Method, Field Specifies the column mapped by the annotated persistent property or ... entailed by the primary key mapping and to constraints specified at the table level. Default: false

jakarta.persistence.AttributeOverride.column

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride Column column (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.getNamedQueries(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedQueries ... types A map keyed by query name , containing references to every named query whose result type ... meaning all queries Returns: a map keyed by query name. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManagerFactory.getNamedEntityGraphs(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map ... graph types A map keyed by graph name , containing every named entity graph whose entity type ... all entity graphs Returns: a map keyed by graph name. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...)

invocation. Parameters: resultSetMappings - the names of the result set mappings to be used in mapping ... procedure or result set mapping of the given name does not exist (or the query execution will fail). Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Map getProperties() The properties and hints and their associated values which are in effect for this entity manager. Modifying the contents of the returned map does not change the configuration in effect. Returns: a map

jakarta.persistence.NamedNativeQuery.resultClass

The class of each query result. If a result set mapping is specified, the specified result class must agree with the type inferred from the result set mapping . If a resultClass is not explicitly specified, then it is inferred from the result set mapping , if any, or defaults to Object or Object

jakarta.persistence.MapKey.name

of the persistent field or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass , an instance of the primary

jakarta.persistence.metamodel.ManagedType.getPluralAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map -valued attributes ... : Collection-, Set-, List-, and Map -valued attributes. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map -valued ... attributes. Returns: declared Collection-, Set-, List-, and Map -valued attributes. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getSupertype()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType IdentifiableType getSupertype() Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Returns: supertype of identifiable type or

jakarta.persistence.TypedQueryReference.getHints()

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQueryReference Map getHints() A map keyed by hint name of all hints specified via NamedQuery.hints or NamedNativeQuery.hints . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(MapJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery MapJoin correlate (    MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Returns: subquery join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin MapAttribute getModel() Return the metamodel representation for the map attribute. Returns: metamodel type representing the Map that is the target of the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.key()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin Path key() Create a path expression that corresponds to the map key. Returns: path corresponding to map key. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.value()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin Path value() Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Returns: path corresponding to the map value. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.entry()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.MapJoin Expression entry() Create an expression that corresponds to the map entry. Returns: expression corresponding to the map entry. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PessimisticLockScope.NORMAL

. If a joined inheritance strategy is used, or if the entity is otherwise mapped to a secondary table ... and relationships for which the entity does not contain the foreign key (such as relationships that are mapped

jakarta.persistence.EntityManagerFactory.getProperties()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getProperties() Get the properties and associated values that are in effect for the entity manager factory. Changing the contents of the map does not change the configuration in effect. Returns: properties. Throws

jakarta.persistence.InheritanceType.JOINED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType JOINED A table for each abstract or concrete entity class, with only the columns mapped to persistent fields ... does not contain columns mapped to inherited fields or properties, and so the state of an entity

jakarta.persistence.OneToMany.cascade

Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany CascadeType[] cascade (Optional) The operations that must be cascaded to the target of the association. Defaults to no operations being cascaded. When the target collection is a Map , the cascade element applies to the map value. Default: {} Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.NamedAttributeNode.keySubgraph

Jakarta Persistence (JPA) Method in jakarta.persistence.NamedAttributeNode String keySubgraph (Optional) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map

jakarta.persistence.NamedNativeQuery.resultSetMapping

Jakarta Persistence (JPA) Method in jakarta.persistence.NamedNativeQuery String resultSetMapping The name of a SqlResultSetMapping , as defined in metadata. The named result set mapping is used ... mapping . These elements may not be used in conjunction with resultSetMapping . Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.MapKeyEnumerated.value

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyEnumerated EnumType value (Optional) The type used in mapping a map key enum type. Default: EnumType.ORDINAL Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PostPersist

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostPersist Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.PostLoad

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostLoad Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.Id

primitive wrapper type; String ; UUID ; Date ; Date ; BigDecimal ; BigInteger . The mapped column

jakarta.persistence.GeneratedValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.GeneratedValue Implemented Interfaces: Annotation Target: Method, Field Specifies a generation strategy for generated primary keys. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped