Home » Search

About JPA

191-200 of 200Refresh
JPA Doc
13

javax.persistence.spi.PersistenceProvider

class in Java SE environments to create an javax.persistence.EntityManagerFactory. Since: JPA 1.0 ... ". Returns: EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.0 ... for the persistence unit, or null if the provider is not the right provider Since: JPA 1.0 ProviderUtil
JPA Doc
13

javax.persistence.spi.ProviderUtil

the load status of an entity or entity attribute. Since: JPA 2.0 LoadState isLoaded(Object entity ... of the entity Since: JPA 2.0 LoadState isLoadedWithReference(Object entity, String attributeName ... of the attribute Since: JPA 2.0 LoadState isLoadedWithoutReference(Object entity, String attributeName
JPA Doc
13

javax.persistence.SqlResultSetMapping

")})}, columns={ @ColumnResult(name="item_name")} ) Since: JPA 1.0 ColumnResult[] columns ... . Default value: {} Since: JPA 1.0 EntityResult[] entities Specifies the result set mapping to entities. Specifies the result set mapping to entities. Default value: {} Since: JPA 1.0 String name
JPA Doc
13

getFirstResult()

Method javax.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result Since: JPA 2.0 Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual.
JPA Doc
13

javax.persistence.AccessType

, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 See Also: Access AccessType FIELD Field-based access is used. Field-based access is used. Since: JPA 2.0 AccessType PROPERTY Property-based access is used. Property-based access is used. Since: JPA 2.0
JPA Doc
13

javax.persistence.AttributeOverride

; } Since: JPA 1.0 See Also: Embedded Embeddable MappedSuperclass AssociationOverride Column column ... the embeddable class or mapped superclass. Since: JPA 1.0 String name (Required) The name ... is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: JPA 1.0
JPA Doc
13

javax.persistence.Basic

; } Since: JPA 1.0 FetchType fetch (Optional) Defines whether the value of the field or property ... .persistence.FetchType.EAGER Since: JPA 1.0 boolean optional (Optional) Defines whether the value ... . If not specified, defaults to true. Default value: true Since: JPA 1.0
JPA Doc
13

javax.persistence.Cacheable

must not be cached by the provider. Since: JPA 2.0 Learn how to use the @Cacheable annotation in Chapter 3 of the ObjectDB/JPA manual. boolean value (Optional) Whether or not the entity should be cached. (Optional) Whether or not the entity should be cached. Default value: true Since: JPA 2.0
JPA Doc
13

javax.persistence.criteria.Predicate.BooleanOperator

.BooleanOperator Implemented Interfaces: Serializable, Comparable Since: JPA 2.0 BooleanOperator AND Since: JPA 2.0 BooleanOperator OR Since: JPA 2.0 BooleanOperator valueOf(String name
JPA Doc
13

javax.persistence.ElementCollection

; ... @ElementCollection protected Set nickNames = new HashSet(); ... } Since: JPA ... : javax.persistence.FetchType.LAZY Since: JPA 2.0 Class targetClass (Optional) The basic or embeddable ... type of the collection when defined using generics. Default value: void.class Since: JPA 2.0