Internal Website Search
51-100 of 200 resultsjavax.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.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.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.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.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.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.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 | |
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 | |
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.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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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.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.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.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.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.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.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.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.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.Lob JPA Annotation Lob Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that a persistent property or field should be persisted as a large object to a database-supported large object ... . The Lob type is inferred from the type of the persistent field or property , and except for string | |
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 | |
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 | |
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.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 | |
javax.persistence.MapKeyJoinColumn.) The concatenation of the following: the name of the referencing relationship property or field ... ) Whether the property is a unique key. This is a shortcut for the UniqueConstraint annotation | |
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 | |
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 | |
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 | |
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.Transactional JDO Annotation Transactional Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation to indicate that a member (field or property ) is transactional but not ... " and " property " elements. Since: JDO 2.1 This annotation is a marker annotation (with no attributes). | |
javax.jdo.annotations.Serialized JDO Annotation Serialized Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation on a member (field or property ) to indicate that the member is stored serialized ... " and " property " elements. This is the same as specifying @Persistent(serialized="true"). Since: JDO 2 | |
PersistenceManagerFactory.getRestoreValues() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory boolean getRestoreValues () Get the default value for the RestoreValues property . Return: the value of the restoreValues property Since: JDO 1.0 | |
PersistenceManagerFactory.setRestoreValues(restoreValues) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void setRestoreValues ( boolean restoreValues ) Set the default value for the RestoreValues property . If true , at rollback, fields ... does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: restoreValues - the value of the restoreValues property Since: JDO 1.0 | |
javax.jdo.annotations.PersistenceModifier JDO Enum PersistenceModifier java.lang.Object ∟ java.lang.Enum ∟ javax.jdo.annotations.PersistenceModifier Enumeration of the persistence-modifier values for a field or property . This corresponds to the "persistence-modifier" attribute of the "field" and " property " elements. Since: JDO | |
javax.jdo.annotations.Joins.value JDO Annotation Attribute in javax.jdo.annotations.Joins Join [] value default null The join definitions used for the mapping of this type. Joins for secondary tables are usually defined at the type level and not the field or property level. This allows multiple fields and properties to share | |
javax.jdo.annotations.Joins at the type level and not the field or property level. This allows multiple fields and properties to share |