ObjectDB Database Search
1-50 of 129 results| Setting and Tuning of JPA Queries Hints Additional settings can be applied to queries via hints . Supported Query Hints ObjectDB supports the following query hints : "javax.persistence.query.timeout" - sets maximum query execution time ... . Setting Query Hint (Scopes) Query hints can be set in the following scopes (from global to local | |
| query hint some years ago there was a chat around query hints http://www.objectdb.com/issue/2417 we are currently trying that with the latest version but we do not see that our hint is used this is the query ... )']] but the index that is in the hint is not used   the MultiVarPlan that is listed shows our index in | |
| AnnotationAttrRef jakarta.persistence.NamedStoredProcedureQuery.hints JPA Annotation Attribute in jakarta.persistence.NamedStoredProcedureQuery QueryHint [] hints default {} Query properties and hints . (May include vendor-specific query hints .) Since: JPA 2.1  | |
| AnnotationAttrRef jakarta.persistence.NamedQuery.hints JPA Annotation Attribute in jakarta.persistence.NamedQuery QueryHint [] hints default {} (Optional) Query properties and hints . May include vendor-specific query hints . Since: JPA 1.0  | |
| AnnotationAttrRef jakarta.persistence.NamedNativeQuery.hints JPA Annotation Attribute in jakarta.persistence.NamedNativeQuery QueryHint [] hints default {} Query properties and hints . (May include vendor-specific query hints .) Since: JPA 1.0  | |
| Locking in JPA occurs a LockTimeoutException is thrown immediately. The "javax.persistence.lock.timeout"   hint ... ;The hint can be set in several scopes: For the entire persistence unit - using a persistence.xml   ... . setProperty ("javax.persistence.lock.timeout", 4000); In addition, the hint can be set for a specific | |
| Database Management Settings and the database file can improve performance. The max attribute is a hint that specifies the space ... engine settings: The cache attribute is a hint that specifies the amount of memory that is used | |
| JPA Named Queries itself and are demonstrated above. The two optional elements,  lockMode and hints , provide static replacement | |
| Read only hint for query Second thing after @FetchGroup I've found is read-only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted. My understanding of this is that each entity returned from query is in detached state as default state. query | |
| InterfaceRef jakarta.persistence.EntityManager only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint . Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed | |
| InterfaceRef jakarta.persistence.Query 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 LockModeType getLockMode () Get the current lock ... property or hint . The hints elements may be used to specify query properties and hints . Properties defined | |
| InterfaceRef jakarta.persistence.TypedQuery and hints and associated values that are in effect for the query instance. Return: query properties and hints Inherited from: Query Since: JPA 2.0 LockModeType getLockMode () Get the current lock mode ... property or hint . The hints elements may be used to specify query properties and hints . Properties | |
| InterfaceRef jakarta.persistence.StoredProcedureQuery: 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 Since: JPA 2 ... , Object value) Set a query property or hint . The hints elements may be used to specify | |
| 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 the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable | |
| 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 the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored | |
| 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 must be observed by the provider. Vendor-specific hints that are not recognized by a provider | |
| AnnotationRef jakarta.persistence.NamedStoredProcedureQuery strategies for the mapping of stored procedure result sets is undefined. The hints element may be used to specify query properties and hints . Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be ignored | |
| 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 the property or hint value - value for the property or hint Throws: IllegalArgumentException | |
| InterfaceRef jakarta.persistence.TypedQueryReference. See Also: EntityManager.createQuery Since: JPA 3.2 Public Methods Map getHints () A map keyed by hint name of all hints specified via NamedQuery. hints or NamedNativeQuery. hints . Since: JPA 3.2 String getName | |
| TypedQueryReference.getHints() - JPA Method JPA Method in jakarta.persistence.TypedQueryReference Map getHints () A map keyed by hint name of all hints specified via NamedQuery. hints or NamedNativeQuery. hints . Since: JPA 3.2  | |
| AnnotationRef jakarta.persistence.QueryHint JPA Annotation QueryHint Implemented Interfaces: Annotation Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation. Vendor-specific hints that are not recognized by ... of the hint . Since: JPA 1.0 String value default null Value of the hint . Since: JPA 1.0  | |
| EntityManager.refresh(entity,lockMode,properties) - JPA Method or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint . Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed. Parameters: entity - a managed entity instance lockMode | |
| EntityManager.lock(entity,lockMode,properties) - JPA Method if the database locking failure causes only statement-level rollback If a vendor-specific property or hint ... timeout hint . Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed. Parameters: entity - a managed entity instance lockMode - lock mode | |
| EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method If a vendor-specific property or hint is not recognized, it is silently ignored. Portable applications should not rely on the standard timeout hint . Depending on the database in use and the locking mechanisms used by the provider, the hint may or may not be observed. Parameters: entityClass - entity | |
| AnnotationRef jakarta.persistence.NamedQuery article explains how to use NamedQuery . Public Annotation Attributes QueryHint [] hints default {} (Optional) Query properties and hints . May include vendor-specific query hints . Since: JPA 1.0 | |
| AnnotationRef jakarta.persistence.NamedNativeQuery to entities. May not be used in combination with resultSetMapping . Since: JPA 3.2 QueryHint [] hints default {} Query properties and hints . (May include vendor-specific query hints .) Since: JPA 1.0 | |
| Query.getHints() - JPA Method JPA Method in jakarta.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  | |
| AnnotationRef jakarta.persistence.Basic. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER ... property may be null. This is a hint and is disregarded for primitive types; it may be used in schema | |
| ClassRef jakarta.persistence.PersistenceConfiguration lock timeout hint . Since: JPA 3.2 QUERY_TIMEOUT Default query timeout hint . Since: JPA 3.2 SCHEMAGEN | |
| EntityManager.getProperties() - JPA Method JPA Method in jakarta.persistence.EntityManager Map getProperties () The properties and hints and their associated values which are in effect for this entity manager. Modifying the contents of the returned map does not change the configuration in effect. Return: a map of properties and hints currently in effect Since: JPA 2.0  | |
| EnumRef jakarta.persistence.FetchType on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint ... . The implementation is permitted to eagerly fetch data for which the LAZY strategy hint has been specified | |
| EntityManager.refresh(entity,properties) - JPA Method . If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entity - a managed entity instance properties - standard and vendor-specific properties and hints Throws | |
| EntityManager.find(entityClass,primaryKey,properties) - JPA Method-specific property or hint is not recognized, it is silently ignored. Parameters: entityClass - entity class primaryKey - primary key properties - standard and vendor-specific properties and hints Return | |
| AnnotationRef jakarta.persistence.ManyToMany that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence | |
| AnnotationRef jakarta.persistence.ElementCollection that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider | |
| StoredProcedureQuery.setTimeout(timeout) - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setTimeout (   Integer timeout ) Set the query timeout, in milliseconds. This is a hint , and is an alternative to plain jakarta.persistence.query.timeout . Parameters: timeout - the timeout, in milliseconds | |
| InterfaceRef jakarta.persistence.EntityTransaction the transaction timeout, in seconds. This is a hint . Parameters: timeout - the timeout, in seconds, or | |
| ClassRef jakarta.persistence.Timeout JPA Class Timeout java.lang.Object ∟  jakarta.persistence.Timeout Implemented Interfaces: FindOption , LockOption , RefreshOption Specifies a timeout for a database request. This option is always a hint , and may be ignored by the provider. Since: JPA 3.2 Public Methods int milliseconds | |
| EntityManagerFactory.addNamedQuery(name,query) - JPA Method, hints , flush mode, lock mode, result set mapping information, and information about stored | |
| InterfaceRef jakarta.persistence.EntityManagerFactory definition. This includes configuration information such as max results, hints , flush mode, lock mode | |
| TypedQuery.setTimeout(timeout) - JPA Method JPA Method in jakarta.persistence.TypedQuery TypedQuery setTimeout (   Integer timeout ) Set the query timeout, in milliseconds. This is a hint , and is an alternative to plain jakarta.persistence.query.timeout . Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout Return: the same query instance Since: JPA 3.2  | |
| AnnotationRef jakarta.persistence.OneToOne must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not | |
| AnnotationAttrRef jakarta.persistence.OneToOne.fetch fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER . Since: JPA 1.0  | |
| AnnotationRef jakarta.persistence.OneToMany is a hint to the persistence provider runtime. Since: JPA 1.0 String mappedBy default "" The field | |
| AnnotationAttrRef jakarta.persistence.OneToMany.fetch must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0  | |
| EntityManager.refresh(entity,options) - JPA Method the provider, the hint may or may not be observed. Parameters: entity - a managed entity instance | |
| AnnotationAttrRef jakarta.persistence.ManyToMany.fetch must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to LAZY . Since: JPA 1.0  | |
| AnnotationAttrRef jakarta.persistence.ManyToOne.fetch must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER . Since: JPA 1.0  | |
| AnnotationRef jakarta.persistence.ManyToOne must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified | |
| EntityTransaction.setTimeout(timeout) - JPA Method JPA Method in jakarta.persistence.EntityTransaction void setTimeout (   Integer timeout ) Set the transaction timeout, in seconds. This is a hint . Parameters: timeout - the timeout, in seconds, or null to indicate that the database server should set the timeout Since: JPA 3.2  |