ObjectDB Database Search

51-100 of 200 results

javax.persistence.Persistence

createEntityManagerFactory (String persistenceUnitName, Map  properties ) Create and return an EntityManagerFactory for the named persistence unit using the given properties . Parameters: persistenceUnitName the - name of the persistence unit properties Additional - properties to use when creating

javax.persistence.OrderBy

, as follows: orderby_list::= orderby_item [,orderby_item] orderby_item::= [ property _or_field_name ... is assumed. The property or field name must correspond to that of a persistent property or field of the associated class or embedded class within it. The properties or fields used in the ordering

javax.persistence.Query

manager. Return: flush mode Since: JPA 2.0 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 ... Since: JPA 1.0 Query setHint (String hintName, Object value) Set a query property or hint

javax.persistence.StoredProcedureQuery

Inherited from: Query Since: JPA 2.0 Map getHints () Get the properties and hints and associated values that are in effect for the query instance. Return: query properties and hints Inherited from: Query ...  hintName, Object value) Set a query property or hint. The hints elements may be used

javax.persistence.TypedQuery

manager. Return: flush mode Inherited from: Query Since: JPA 2.0 Map getHints () Get the properties and hints and associated values that are in effect for the query instance. Return: query properties ... setHint (String hintName, Object value) Set a query property or hint. The hints

javax.persistence.AttributeOverride

Used to override the mapping of a Basic (whether explicit or default) property or field or Id property ... property to override a basic mapping or id mapping defined by the mapped superclass or embeddable ... identifier used with the dot notation is the name of the respective embedded field or property

javax.persistence.EntityManagerFactory

EntityManager with the specified Map of properties . This method returns a new EntityManager instance each ... - properties for entity manager Return: entity manager instance Throws: IllegalStateException ... EntityManager with the specified synchronization type and map of properties . This method returns

javax.persistence.PersistenceProperty

or persistence provider property . Used in PersistenceContext . Vendor specific properties may be included in the set of properties , and are passed to the persistence provider by the container when the entity manager is created. Properties that are not recognized by a vendor will be ignored

javax.persistence.Version

the version field or property of an entity class that serves as its optimistic lock value. The version ... . Only a single Version property or field should be used per class; applications that use more than one Version property or field will not be portable. The Version property should be mapped

javax.persistence.AssociationOverride

), AssociationOverride is applied to the field or property containing the embeddable ... the referencing relationship field or property within the embeddable class. To override mappings ... notation is the name of the respective embedded field or property . When AssociationOverride is applied

javax.persistence.Basic

of mapping to a database column. The Basic annotation can be applied to a persistent property or ... for persistent fields and properties of these types. If the Basic annotation is not specified for such a field or property , the default values of the Basic annotation will apply. Example 1: @Basic

javax.persistence.ManyToOne

side must used the mappedBy element to specify the relationship field or property of the entity ... annotation to specify the relationship field or property of the embeddable field or property on the owning ... with the dot notation is the name of the respective embedded field or property . Example 1: @ManyToOne

javax.persistence.PersistenceContext

injection is used. Since: JPA 1.0 PersistenceProperty [] properties default {} (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties . Properties that are not recognized by a vendor are ignored. Since: JPA 1.0

Query.setHint(hintName,value) - JPA Method

;   Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by ... - name of the property or hint value - value for the property or hint Return: the same query instance

StoredProcedureQuery.setHint(hintName,value) - JPA Method

;String hintName,    Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification ... of the property or hint value - value for the property or hint Return: the same query instance Throws

TypedQuery.setHint(hintName,value) - JPA Method

,    Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by ... : hintName - name of property or hint value - value for the property or hint Return: the same query

javax.persistence.CollectionTable

to the collection-valued field or property . By default, the columns of the collection table that correspond ... type, the column name is derived from the name of the collection-valued field or property . In the case of an embeddable class, the column names are derived from the field or property names

EntityManager.setProperty(propertyName,value) - JPA Method

;propertyName,    Object value ) Set an entity manager property or hint. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: propertyName - name of property or hint value - value for property or hint Throws: IllegalArgumentException - if the second

javax.persistence.ManyToMany

annotation to specify the relationship field or property of the owning side. The join table ... annotation to specify the relationship field or property of the embeddable class. The dot ... of the respective embedded field or property . Example 1: // In Customer class: @ManyToMany @JoinTable(name="CUST

javax.persistence.OneToOne

the mappedBy element of the OneToOne annotation to specify the relationship field or property ... side must use the mappedBy element of the OneToOne annotation to specify the relationship field or property ... with the dot notation is the name of the respective embedded field or property . Example 1

Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method

create DDL scripts as determined by the supplied properties . Called when schema generation is to occur ... - the name of the persistence unit map - properties for schema generation; these may also contain provider-specific properties . The value of these properties override any values

javax.persistence.EnumType

property or field of an enumerated type should be persisted. Since: JPA 1.0 The JPA Persistable Types article explains how to use EnumType . Enum Constants ORDINAL Persist enumerated type property or field as an integer. Since: JPA 1.0 STRING Persist enumerated type property or field as a string

javax.persistence.IdClass

JPA Annotation IdClass Target: TYPE Implemented Interfaces: Annotation Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity

javax.persistence.JoinColumn

: the name of the referencing relationship property or field of the referencing entity or embeddable ... property or field in the entity, or if the join is for an element collection, the join column name ... false (Optional) Whether the property is a unique key. This is a shortcut for the UniqueConstraint

javax.persistence.MapKey

field or property of the entity that is the value of the map. If a persistent field or property ... of the persistent field or property of the associated entity that is used as the map key. Default

javax.persistence.NamedStoredProcedureQuery

. The hints element may be used to specify query properties and hints. Properties defined by ... Public Annotation Attributes QueryHint [] hints default {} Query properties and hints. (May include

javax.persistence.OneToMany

must be used to specify the relationship field or property of the entity that is the owner ... , the mappedBy element must be used to specify the relationship field or property of the entity ... property is defined using Java generics. Must be specified otherwise. Defaults to the parameterized

javax.persistence.PessimisticLockScope

.PessimisticLockScope Defines the values of the javax.persistence.lock.scope property for pessimistic locking. This property may be passed as an argument to the methods of the EntityManager , Query ... will be locked if the javax.persistence.lock.scope property is specified with a value

javax.persistence.AccessType

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

javax.persistence.AssociationOverride.name

JPA Annotation Attribute in javax.persistence.AssociationOverride String name default null (Required) The name of the relationship property whose mapping is being overridden if property -based access is being used, or the name of the relationship field if field-based access is used. Since: JPA 1.0

javax.persistence.AssociationOverrides

JPA Annotation AssociationOverrides Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to override mappings of multiple relationship properties or fields. Example: @MappedSuperclass ... 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.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.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.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.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

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

EntityManagerFactory.createEntityManager(map) - JPA Method

of properties . This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance. Parameters: map - properties for entity manager Return: entity

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

application-managed EntityManager with the specified synchronization type and map of properties ... should be synchronized with the current JTA transaction map - properties for entity manager Return

EntityManagerFactory.getProperties() - JPA Method

JPA Method in javax.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. Return: properties Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.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

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

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.jdo.FetchGroup

(fields or properties ) to be fetched when the fetch group is active, and the recursion depth for each ... ) Add the members (fields or properties ) of the named category to the set of members in ... addMember (String memberName) Add the member (field or property ) to the set of members in

javax.jdo.Transaction

of the nontransactionalRead property Since: JDO 1.0 boolean getNontransactionalWrite () If true , allows ... of the nontransactionalWrite property Since: JDO 1.0 boolean getOptimistic () Optimistic transactions do not hold data store locks until commit time. Return: the value of the Optimistic property . Since: JDO 1.0

JDOHelper.getPersistenceManagerFactory(overrides,name,resourceLoader,pmfLoader) - JDO Static Method

a PersistenceManagerFactory configured based on the properties stored in the resource at name , or, if not found, returns ... ". and properties of the form javax.jdo.option.InstanceLifecycleListener.{listenerClass}[=[{pcClasses ... of persistence-capable classes to be observed; the absence of a value for a property of this form means

javax.jdo.annotations.Persistent

"field" and " property ". Since: JDO 2.1 Public Annotation Attributes String cacheable default "true" Whether this field/ property is cacheable in a Level2 cache. Since: JDO 2.2 String column default ... default "" Custom value strategy to use to generate the value for this field or property (if any

PersistenceManagerFactory.getProperties() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Properties getProperties () Return non-configurable properties of this PersistenceManagerFactory . Properties with keys VendorName and VersionNumber are required. Other keys are optional. Return: the non-configurable properties of this PersistenceManagerFactory . Since: JDO 1.0

JDOHelper.getPersistenceManagerFactory(props) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory (   Map props ) Get a PersistenceManagerFactory based on a Properties instance, using ... : props - a Properties instance with properties of the PersistenceManagerFactory . Return

javax.jdo.annotations.Order

property in the target class that acts as the ordering field or property for this member. Return the name of the field or property in the target class Since: JDO 2.1

javax.jdo.annotations.Order.mappedBy

JDO Annotation Attribute in javax.jdo.annotations.Order String mappedBy default "" Name of a field or property in the target class that acts as the ordering field or property for this member. Return the name of the field or property in the target class Since: JDO 2.1