ObjectDB Database Search

51-100 of 200 results

jakarta.persistence.LockModeType

LockModeType.OPTIMISTIC and OPTIMISTIC_FORCE_INCREMENT . The lock mode types READ and WRITE ... applications. The semantics of requesting locks of type LockModeType.OPTIMISTIC and LockModeType.OPTIMISTIC_FORCE_INCREMENT are the following. If transaction T1 calls for a lock of type LockModeType

jakarta.persistence.ColumnResult

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ColumnResult Implemented Interfaces ... the name of a column in the SELECT list — i.e., column alias, if applicable. Scalar result types ... (JPA) 1.0 Class type (Optional) The Java type to which the column type is to be mapped. If the type

jakarta.persistence.Entity

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Entity Implemented Interfaces: Annotation Target: Type Declares that the annotated class is an entity. The annotated entity class ... type maps to a single column in one of the tables mapped by the entity, a field of property

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 ... , the name of the discriminator column defaults to "DTYPE" and the discriminator type

jakarta.persistence.GenerationType

for the particular database. For a primary key of type UUID or String , this is equivalent to UUID . For a primary key of type Long , Integer , long , or int , the provider selects between TABLE , SEQUENCE ... for the entity using a database identity column. May be used to generate primary keys of type Long

jakarta.persistence.NamedAttributeNode

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedAttributeNode Implemented ... ) 1.0 String subgraph (Optional) If the attribute references a managed type that has its own AttributeNodes, this element is used to refer to that NamedSubgraph definition. If the target type

jakarta.persistence.MapKeyTemporal

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyTemporal Implemented ... of type Date and Calendar . It may only be specified for map keys of these types . The MapKeyTemporal annotation can be applied to an element collection or relationship of type Map in conjunction

jakarta.persistence.EmbeddedId

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.EmbeddedId Implemented Interfaces ... of an entity class or mapped superclass is the composite primary key of the entity. The type of the annotated field or property must be an embeddable type , and must be explicitly annotated Embeddable

jakarta.persistence.DiscriminatorValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorValue Implemented Interfaces: Annotation Target: Type Specifies the value of the discriminator column for the annotated entity type . The DiscriminatorValue annotation can only be specified on a concrete entity class

jakarta.persistence.EnumType

available options for mapping enumerated types . The values of this enumeration specify how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated EnumeratedValue Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable Types article explains

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

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 - the name of the represented attribute type - the type of the represented attribute Returns: single

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

getDeclaredSingularAttribute (    String name ,    Class type ) Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type . Parameters: name - the name of the represented attribute type - the type of the represented

jakarta.persistence.Id

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Id Implemented Interfaces ... to which the Id annotation is applied should have one of the following types : any Java primitive type ; any primitive wrapper type ; String ; UUID ; Date ; Date ; BigDecimal ; BigInteger . The mapped column

jakarta.persistence.DiscriminatorType

, Serializable Defines supported types of the discriminator column. See Also: DiscriminatorColumn ... the discriminator type . Since: Jakarta Persistence (JPA) 1.0 INTEGER Integer as the discriminator type . Since: Jakarta Persistence (JPA) 1.0 STRING String as the discriminator type . Since: Jakarta Persistence (JPA

jakarta.persistence.ElementCollection

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... Elements Class targetClass (Optional) The basic or embeddable class that is the element type

jakarta.persistence.EnumeratedValue

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.EnumeratedValue Implemented Interfaces: Annotation Target: Field Specifies that an annotated field of a Java enum type is the source ... , and must be of type : byte , short , or int for EnumType.ORDINAL , or String for EnumType.STRING

jakarta.persistence.metamodel.Bindable.getBindableJavaType()

getBindableJavaType() Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_ TYPE , the Java type of the represented entity or attribute is returned. Returns: Java type . Since: Jakarta Persistence (JPA) 1.0

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

the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types . Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns: MapAttribute

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

) Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types . Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns

jakarta.persistence.criteria.AbstractQuery.getResultType()

() Return the result type of the query or subquery. If a result type was specified as an argument to the createQuery or subquery method, that type is returned. If the query was created using the createTupleQuery method, the result type is Tuple . Otherwise, the result type is Object . Returns: result type . Since: Jakarta Persistence (JPA) 1.0

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

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: id attribute. Throws: IllegalArgumentException - if id attribute of the given type is not present in

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

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 ... of the given type is not declared in the identifiable type or if the identifiable type has an id class. Since: Jakarta Persistence (JPA) 1.0

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

of the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: ListAttribute of the given name and element type . Throws: IllegalArgumentException

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

attribute declared by the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared ListAttribute of the given name and element type . Throws

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

-valued attribute of the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: CollectionAttribute of the given name and element type . Throws

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

the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared CollectionAttribute of the given name and element

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

of the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: SetAttribute of the given name and element type . Throws: IllegalArgumentException - if attribute

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

attribute declared by the managed type that corresponds to the specified name and Java element type . Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared SetAttribute of the given name and element type . Throws

jakarta.persistence.Inheritance

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Inheritance Implemented Interfaces: Annotation Target: Type Specifies the inheritance mapping strategy for the entity class hierarchy ... if no inheritance type is specified for an entity class hierarchy, the SINGLE_TABLE mapping strategy

jakarta.persistence.ManyToOne

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ManyToOne Implemented Interfaces ... since it can usually be inferred from the type of the object being referenced. If the relationship ... targetEntity (Optional) The entity class that is the target of the association. Defaults to the type

jakarta.persistence.MapsId

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapsId Implemented Interfaces ... Java type as the primary key of the entity referenced by the relationship, the value attribute is not ... to primary key type of Employee } @Entity public class Dependent { @EmbeddedId DependentId id

jakarta.persistence.MappedSuperclass

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MappedSuperclass Implemented Interfaces: Annotation Target: Type Declares a class which is not itself an entity, but whose mappings are inherited by the entities which extend it. A mapped superclass is not a persistent type , and is not

jakarta.persistence.criteria.CriteriaBuilder.treat(SetJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder SetJoin treat (    SetJoin join ,    Class type ) Downcast SetJoin object to the specified type . Parameters: join - SetJoin object type - type to be downcast to Returns: SetJoin object of the specified type . Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(ListJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder ListJoin treat (    ListJoin join ,    Class type ) Downcast ListJoin object to the specified type . Parameters: join - ListJoin object type - type to be downcast to Returns: ListJoin object of the specified type . Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(MapJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder MapJoin treat (    MapJoin join ,    Class type ) Downcast MapJoin object to the specified type . Parameters: join - MapJoin object type - type to be downcast to Returns: MapJoin object of the specified type . Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(Path,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Path treat (    Path path ,    Class type ) Downcast Path object to the specified type . Parameters: path - path type - type to be downcast to Returns: Path object of the specified type . Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(Root,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Root treat (    Root root ,    Class type ) Downcast Root object to the specified type . Parameters: type - type to be downcast to root - root Returns: Root object of the specified type . Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.metamodel.MapAttribute.getKeyType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.MapAttribute Type getKeyType() Return the type representing the key type of the map. Returns: type representing key type . Since: Jakarta Persistence (JPA) 1.0

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

SingularAttribute getDeclaredVersion (    Class type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type ... : IllegalArgumentException - if version attribute of the type is not declared in the identifiable type . Since: Jakarta Persistence (JPA) 1.0

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

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 ... of the given type is not present in the identifiable type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.SingularAttribute.getType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute Type getType() Return the type that represents the type of the attribute. Returns: type of attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.PluralAttribute.getElementType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.PluralAttribute Type getElementType() Return the type representing the element type of the collection. Returns: element type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.getIdType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType Type getIdType() Return the type that represents the type of the id. Returns: type of id. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Tuple.get(int,Class)

;  Class type ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple type - type of the tuple element ... tuple or element cannot be assigned to the specified type . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnits

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceUnits Implemented Interfaces: Annotation Target: Type Declares one or more PersistenceUnit annotations. Since: Jakarta Persistence (JPA) 1.0 Annotation Elements PersistenceUnit[] value (Required) One or more PersistenceUnit

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 ... supplies a default id generator, of a type compatible with the value of the strategy member

jakarta.persistence.ManyToMany

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ManyToMany Implemented Interfaces: Annotation Target: Method, Field Specifies a many-valued association with many-to-many multiplicity ... generics. Must be specified otherwise. Defaults to the parameterized type of the collection when defined

jakarta.persistence.MapKey

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKey Implemented Interfaces: Annotation Target: Method, Field Specifies the map key for associations of type Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map

jakarta.persistence.NamedEntityGraph

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedEntityGraph Implemented Interfaces: Annotation Target: Type Defines a named entity graph . This annotation must be applied to the root entity of the graph, and specifies the limits of the graph of associated attributes and entities

jakarta.persistence.NamedNativeQueries

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedNativeQueries Implemented Interfaces: Annotation Target: Type Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped