Internal Website Search

101-150 of 200 results

Query.getHints() - JPA Method

JPA Method in javax.persistence.Query Map getHints () Get the properties and hints and associated values that are in effect for the query instance. Return: query properties and hints Since: JPA 2.0

javax.persistence.MapKeyColumn

field or property ; "_"; "KEY". Example: @Entity public class Item { @Id int id; ... @ElementCollection ... of the referencing relationship field or property ; "_"; " KEY ". Since: JPA 2.0 boolean nullable default false

javax.persistence.AccessType

Since: JPA 2.0 Enum Constants FIELD Field-based access is used. Since: JPA 2.0 PROPERTY Property -based

javax.persistence.Transient

JPA Annotation Transient Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: @Entity public class Employee { @Id int id

javax.persistence.Temporal

JPA Annotation Temporal Target: METHOD, FIELD Implemented Interfaces: Annotation This annotation must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar . It may only be specified for fields or properties of these types. The Temporal annotation

javax.persistence.Column

JPA Annotation Column Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the mapped column for a persistent property or field. If no Column annotation is specified, the default ... .) Since: JPA 1.0 String name default "" (Optional) The name of the column. Defaults to the property or

javax.persistence.AttributeOverrides

JPA Annotation AttributeOverrides Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides ... (Required) One or more field or property mapping overrides. Since: JPA 1.0

javax.persistence.AttributeOverride.name

JPA Annotation Attribute in javax.persistence.AttributeOverride String name default null (Required) The name of the property whose mapping 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

javax.persistence.FieldResult

JPA Annotation FieldResult Implemented Interfaces: Annotation Used in conjunction with the EntityResult annotation to map columns specified in the SELECT list of a SQL query to the properties or ... , if applicable. Since: JPA 1.0 String name default null Name of the persistent field or property of the class. Since: JPA 1.0

EntityManager.getProperties() - JPA Method

JPA Method in javax.persistence.EntityManager Map getProperties () Get the properties and hints and associated values that are in effect for the entity manager. Changing the contents of the map does not change the configuration in effect. Return: map of properties and hints in effect for entity manager Since: JPA 2.0

javax.persistence.Convert

JPA Annotation Convert Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Specifies the conversion of a Basic field or property . It is not necessary to use the Basic annotation or ... used with the dot notation is the name of the respective embedded field or property . When the Convert

javax.persistence.JoinColumn.name

): The concatenation of the following: the name of the referencing relationship property or field ... . If there is no such referencing relationship property or field in the entity, or if the join is for an element

javax.persistence.Id

JPA Annotation Id Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the primary key of an entity. The field or property to which the Id annotation is applied ... , the primary key column name is assumed to be the name of the primary key property or field. Example

combined index not used

. properties .doubleValue FROM Action a WHERE a.type = 0 and a.subType = 3 and a.state = 3 and a.endDate = ?1 ... . properties .name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge. properties .doubleValue In the class Action we have a combined index (see attachment) but in the query plan

javax.persistence.NamedStoredProcedureQuery.hints

JPA Annotation Attribute in javax.persistence.NamedStoredProcedureQuery QueryHint [] hints default {} Query properties and hints. (May include vendor-specific query hints.) Since: JPA 2.1

javax.persistence.ElementCollection.targetClass

JPA Annotation Attribute in javax.persistence.ElementCollection Class targetClass default void.class (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java generics

javax.persistence.ElementCollection

. This element is optional only if the collection field or property is defined using Java generics

javax.persistence.EntityResult.fields

JPA Annotation Attribute in javax.persistence.EntityResult FieldResult [] fields default {} Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class. Since: JPA 1.0

javax.persistence.metamodel.SingularAttribute

JPA Interface SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single-valued properties or fields. Since: JPA 2.0 Public

javax.persistence.PessimisticLockScope.EXTENDED

JPA Enum Constant in javax.persistence.PessimisticLockScope EXTENDED In addition to the behavior for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity that are contained in join tables will be locked if the javax.persistence.lock.scope property is specified

javax.persistence.NamedQuery.hints

JPA Annotation Attribute in javax.persistence.NamedQuery QueryHint [] hints default {} (Optional) Query properties and hints. May include vendor-specific query hints. Since: JPA 1.0

javax.persistence.AssociationOverrides.value

JPA Annotation Attribute in javax.persistence.AssociationOverrides AssociationOverride [] value default null (Required) The association override mappings that are to be applied to the relationship field or property . Since: JPA 1.0

javax.persistence.EntityResult

of the query to the properties or fields of the entity class. Since: JPA 1.0

javax.persistence.PersistenceProperty.value

JPA Annotation Attribute in javax.persistence.PersistenceProperty String value default null The value of the property Since: JPA 1.0

javax.persistence.NamedQuery

Attributes QueryHint [] hints default {} (Optional) Query properties and hints. May include vendor

javax.persistence.PersistenceProperty.name

JPA Annotation Attribute in javax.persistence.PersistenceProperty String name default null The name of the property Since: JPA 1.0

javax.persistence.TableGenerator

on the primary key field or property . The scope of the generator name is global to the persistence unit

javax.persistence.NamedNativeQuery.hints

JPA Annotation Attribute in javax.persistence.NamedNativeQuery QueryHint [] hints default {} Query properties and hints. (May include vendor-specific query hints.) Since: JPA 1.0

javax.persistence.NamedNativeQuery

QueryHint [] hints default {} Query properties and hints. (May include vendor-specific query hints

javax.persistence.MapKeyJoinColumn.unique

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn boolean unique default false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. Since: JPA 2.0

javax.persistence.MapKeyJoinColumn.name

of the referencing relationship property or field of the referencing entity or embeddable class; "_"; "KEY". Since: JPA 2.0

JDOHelper.getPersistenceManagerFactory(props,pmfClassLoader) - JDO Static Method

to the getPersistenceManagerFactory method that takes a Map of overrides and a Map of properties , passing null as the overrides parameter. Parameters: props - a Map with properties of the PersistenceManagerFactory . pmfClassLoader

javax.jdo.annotations.Cacheable

JDO Annotation Cacheable Target: ElementType.TYPE, ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to specify that this class/field/ property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and " property

Transaction.getRestoreValues() - JDO Method

JDO Method in javax.jdo.Transaction boolean getRestoreValues () Return the current value of the restoreValues property . Return: the value of the restoreValues property Since: JDO 1.0

FetchGroup.setRecursionDepth(memberName,recursionDepth) - JDO Method

of the field or property recursionDepth - the value for the recursion-depth property Return: the FetchGroup

FetchGroup.getPostLoad() - JDO Method

JDO Method in javax.jdo.FetchGroup boolean getPostLoad () Get the post-load property of this FetchGroup. Return: the post-load property Since: JDO 2.2

JDOHelper.getPersistenceManagerFactory(stream) - JDO Static Method

on the Properties stored in the input stream at stream . This method is equivalent to invoking ... . Parameters: stream - the stream containing the Properties Return: the PersistenceManagerFactory Since: JDO 2.0

JDOHelper.getPersistenceManagerFactory(propsFile,loader) - JDO Static Method

a PersistenceManagerFactory configured based on the properties stored in the file at propsFile . Creates ... the Properties loader - the class loader to use to load the PersistenceManagerFactory class Return: the PersistenceManagerFactory Since: JDO 2.0

JDOHelper.getPersistenceManagerFactory(stream,loader) - JDO Static Method

a PersistenceManagerFactory configured based on the Properties stored in the input stream at stream . Creates ... will be wrapped in a JDOFatalUserException . Parameters: stream - the stream containing the Properties loader

JDOHelper.getPersistenceManagerFactory(propsFile) - JDO Static Method

on the properties stored in the file at propsFile . This method is equivalent to invoking ... : propsFile - the file containing the Properties Return: the PersistenceManagerFactory Since: JDO 2.0

PersistenceManagerFactory.setTransactionType(name) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setTransactionType (   String name ) Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same-named property in JSR-220

PersistenceManagerFactory.setPersistenceUnitName(name) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setPersistenceUnitName (   String name ) Sets the PersistenceUnitName for this PersistenceManagerFactory. This has the same semantics as the same-named property in JSR-220 PersistenceUnitInfo. Parameters: name

javax.jdo.annotations.Unique.members

JDO Annotation Attribute in javax.jdo.annotations.Unique String[] members default {} Member (field and property ) names that compose this unique constraint. Since: JDO 2.1

javax.jdo.annotations.Unique

. Since: JDO 2.1 String[] members default {} Member (field and property ) names that compose this unique

javax.jdo.annotations.Persistent.customValueStrategy

JDO Annotation Attribute in javax.jdo.annotations.Persistent String customValueStrategy default "" Custom value strategy to use to generate the value for this field or property (if any). If customValueStrategy is non-empty, then valueStrategy must be UNSPECIFIED. Since: JDO 2.1

javax.jdo.annotations.Persistent.valueStrategy

JDO Annotation Attribute in javax.jdo.annotations.Persistent IdGeneratorStrategy valueStrategy default IdGeneratorStrategy.UNSPECIFIED Value strategy to use to generate the value for this field or property (if any). Since: JDO 2.1

javax.jdo.annotations.Persistent.cacheable

JDO Annotation Attribute in javax.jdo.annotations.Persistent String cacheable default "true" Whether this field/ property is cacheable in a Level2 cache. Since: JDO 2.2

javax.jdo.annotations.Persistent.nullIndicatorColumn

JDO Annotation Attribute in javax.jdo.annotations.Persistent String nullIndicatorColumn default "" Null indicator column for this member. Used for nested embedded fields or properties to indicate whether the embedded instance should have a null value. Since: JDO 2.1

javax.jdo.annotations.NotPersistent

="none" of the "field" and " property " elements. Since: JDO 2.1 This annotation is a marker annotation (with no attributes).

javax.jdo.annotations.NullValue

JDO Enum NullValue java.lang.Object ∟  java.lang.Enum ∟  javax.jdo.annotations.NullValue Enumeration of the "null-value" behavior values. This corresponds to the "null-value" attribute of the "field" and " property " elements. Since: JDO 2.1 Enum Constants DEFAULT Since: JDO 2.1 EXCEPTION