ObjectDB Database Search
1-50 of 200 resultsJPA Fetch Plan Graphs the hierarchy and scope of your fetch plans: The root interface for defining a fetch plan. An EntityGraph serves as a template for a query or find operation, allowing you to override the default fetch strategies ... for defining fetch plans of related entities or embeddables. It enables fine-grained control over deep | |
JPA Fetch Graphs Annotations Named entity graphs provide a static mechanism for defining fetch plans using annotations ... . It is defined on an entity class and contains a list of attribute nodes that constitute the fetch ... . It indicates that the specific attribute should be included in the fetch plan. Defines a nested | |
jakarta.persistence.criteria.Fetch Jakarta Persistence (JPA) Interface jakarta.persistence.criteria. Fetch Type Parameters: - the source type of the fetch - the target type of the fetch Super Interfaces: FetchParent Represents a join- fetched association or attribute. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Fetch | |
jakarta.persistence.criteria.FetchParent.fetch(String) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( String attributeName ) Create a fetch join to the specified attribute using an inner join ... fetch join. Throws: IllegalArgumentException - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.FetchParent.fetch(String,JoinType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( String attributeName , JoinType jt ) Create a fetch join to the specified ... of the join jt - join type Returns: the resulting fetch join. Throws: IllegalArgumentException | |
jakarta.persistence.criteria.FetchParent.fetch(SingularAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.FetchParent.fetch(SingularAttribute,JoinType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join to the specified ... of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Basic.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched . The EAGER ... fetched . The LAZY strategy is a hint to the persistence provider runtime. If not specified | |
jakarta.persistence.OneToOne.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.OneToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched | |
jakarta.persistence.OneToMany.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.OneToMany FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched | |
jakarta.persistence.ManyToOne.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched | |
jakarta.persistence.ManyToMany.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.ManyToMany FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched | |
jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute,JoinType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch ( PluralAttribute attribute , JoinType jt ) Create a fetch join to the specified collection-valued attribute using the given join type. Parameters: jt - join type attribute - target | |
jakarta.persistence.ElementCollection.fetch Jakarta Persistence (JPA) Method in jakarta.persistence.ElementCollection FetchType fetch (Optional) Whether the collection should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched | |
jakarta.persistence.criteria.Fetch.getParent() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Fetch FetchParent getParent() Return the parent of the fetched item. Returns: fetch parent. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Fetch.getAttribute() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Fetch Attribute getAttribute() Return the metamodel attribute corresponding to the fetch join. Returns: metamodel attribute for the join. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Fetch.getJoinType() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Fetch JoinType getJoinType() Return the join type used in the fetch join. Returns: join type. Since: Jakarta Persistence (JPA) 1.0 | |
FROM clause (JPQL / Criteria API), the OUTER JOIN variant returns Nauru with a NULL value as its capital. [LEFT [OUTER] | INNER] JOIN FETCH JPA support for transparent navigation and fetching is convenient because it provides the illusion ... FROM Country c JOIN FETCH c.capital The JOIN FETCH expression is not a regular JOIN , and it does not | |
Retrieving JPA Entities a relationship on another entity. Retrieval by eager fetch Retrieval of Retrieving an entity from the database ... from this automatic cascaded retrieval by specifying a lazy fetch type: @Entity class Employee { : @ManyToOne ( fetch = FetchType . LAZY ) private Employee manager; : } The default for non-collection | |
How do I achieve a Deep Fetch using JOIN FETCH? of eager fetch in JPQL as follows: SELECT c FROM C JOIN FETCH c.bList WHERE c.id=:id But when I attempt to take it to the 2nd level: SELECT c FROM C JOIN FETCH c.bList JOIN FETCH c.bList.aList WHERE c.id=:id I get an error along the lines of: Invalid fetch path: bList.aList for type C (#element | |
JPA Criteria FROM and JOIN FETCH virtual variables Fetch joins optimize performance by pre- fetching specified related data with query results. The following interfaces manage fetch operations within the Criteria API ... other query components other than in additional fetches . The only purpose is pre- fetching | |
JPQL JOIN FETCH Error fetch doi.metadata metadata left join fetch metadata.titles titles left join fetch metadata.creators creators left join fetch metadata.descriptions descriptions left join fetch metadata.publishers publishers left join fetch metadata.contributors contributors left join fetch metadata.dates dates left | |
ObjectDB Object Database Features. Configurable JPA eager/lazy fetch and JPA query FETCH JOIN . Configurable JDO fetch groups . Ease ... FETCH ). WHERE (with both JPQL and JDOQL expressions). GROUP BY (including HAVING and aggregates | |
jakarta.persistence.criteria.FetchParent the parent of Fetches . Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.PluralJoin testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.MapJoin for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.Root to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute | |
jakarta.persistence.criteria.SetJoin for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.CollectionJoin against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner ... fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute , JoinType jt | |
jakarta.persistence.criteria.ListJoin testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.From. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join ... : attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join to the specified | |
jakarta.persistence.criteria.Join to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute | |
JPA Entity Fields . ALL ) MyEntity field2; @OneToMany ( fetch = FetchType . EAGER ) List field3; } The preceding entity class ... an exception if you try to store an entity with a null value in that field. Cascade and fetch settings | |
Setting and Tuning of JPA Queries with ObjectDB. "objectdb.result- fetch " - Sets the fetch mode for the query result to either "EAGER" (the default | |
JPA Attributes Annotations Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties) are managed. These annotations control data persistence behavior, including fetching strategies ... , wrappers, Strings). While optional for supported types, it allows configuration of fetch strategies | |
JPA Named Queries Annotations, cache usage, or fetch graphs. For details and examples, see the JPA Named Queries section | |
JPA Query Structure (JPQL / Criteria) ( select , distinct , multiselect , array , tuple , construct ) Criteria FROM ( from , join , fetch | |
JPA Extended API Reference Guide dynamically, build type-safe queries, and optimize database fetching . Lists additional dynamic | |
JPA Queries clause, representing roots, joins, and fetches . General expressions used within query logic, such as | |
JPA Core Types attributes, and access entity content not yet fetched due to lazy loading. Provides an API for programmatic | |
JPA Metamodel and Graphs The API supports the definition of fetch graphs to optimize data loading strategies at runtime | |
JPA Relationships Annotations to configure specific cascade behaviors and fetch policies. Configuration enums Configure | |
JPA Annotations associations between entities, such as one-to-one or many-to-many, and specify cascade and fetch | |
JPA Criteria API Queries , multiselect , array , tuple , construct ) FROM clause ( from , join , fetch ) WHERE clause ( where ) GROUP | |
jakarta.persistence.FetchType strategies for fetching data from the database. The EAGER strategy is a requirement on the persistence provider runtime that data must be eagerly fetched . The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed. The implementation | |
jakarta.persistence.Basic annotation. Example 1: @Basic protected String name; Example 2: @Basic( fetch = LAZY) protected String ... [] and byte[] . Since: Jakarta Persistence (JPA) 1.0 Annotation Elements FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched | |
jakarta.persistence.Graph of an attribute mapped for eager fetching . The effect of this call may be overridden by subsequent ... of an attribute mapped for eager fetching . The effect of this call may be overridden by subsequent ... inclusion of attributes mapped for eager fetching . The effect of this call may be overridden by subsequent | |
jakarta.persistence.ManyToMany being cascaded. Default: {} Since: Jakarta Persistence (JPA) 1.0 FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched . The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched . The LAZY strategy | |
jakarta.persistence.ManyToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched ... must be eagerly fetched . The LAZY strategy is a hint to the persistence provider runtime. If not |