ObjectDB Database Search
101-150 of 200 resultsIssue with Casting / Joins EmbeddedA); ... // Try to query using join From from = criteria.from(MyEntity.class); MapJoin join = from.joinMap("embeddeds"); Path pathToEmbeddedAName = join .value().get("name") | |
Detaching objects after JOIN FETCH Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I ... with all A classes skipping lazy loading: select b from B b join fetch b.aClasses After closing entity manager, B ... thought, that after join fetch and CascadeType.DETACH list of A classes should be accessible from B | |
"Problem" with cross join. JOINED ) ... @ManyToOne private CI ci; subclass CIstring private String text; I am not sure ... fields in JOIN queries). Please try the new build (2.0.4_01) that should fix the bug. The attached | |
joining of tables Hi In objectdb site i found : Note: This ORM/SQL annotation is silently ignored by ObjectDB so i want join tow table and generate a third table. Ex: table 1: employee table 2: address and the generate table will be table 3: emp_add employee: e_id, e_name address: add | |
Join performance in Objectdb, executing the JOIN may require iteration over 160,000 x 160,000 x 160,000 tuples. The following test | |
Query execution time issue inner join e.person person inner join person.address address left join address.place addressPlace left join address.city addressCity left join address.county addressCounty left join person.birthPlace birthPlace left join person.birthCounty birthCounty left join person.citizenship citizenship left | |
Performance issues on aggregate query) from ObjectNode o INNER JOIN o.properties p1 INNER JOIN o.properties p2 INNER JOIN o.properties p3 INNER JOIN o.properties p4 INNER JOIN o.properties p5 INNER JOIN o.properties p6 INNER JOIN o.properties p7 join o.linkedObjects c1 where o.classIdentifier = '(OP)' and (o.linkedObjects | |
jakarta.persistence.criteria.From.joinMap(String,JoinType); String attributeName , JoinType jt ) Create a join to the specified Map -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join . Throws: IllegalArgumentException | |
jakarta.persistence.criteria.FetchParent.fetch(String,JoinType); String attributeName , JoinType jt ) Create a fetch join to the specified attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting fetch join . Throws: IllegalArgumentException | |
jakarta.persistence.criteria.FetchParent.fetch(SingularAttribute,JoinType); SingularAttribute attribute , JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: jt - join type attribute - target of the join Returns: the resulting fetch join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute,JoinType); 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 of the join Returns: the resulting join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.From.joinCollection(String,JoinType) joinCollection ( String attributeName , JoinType jt ) Create a join to the specified Collection -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join . Throws | |
jakarta.persistence.criteria.From.joinSet(String,JoinType); String attributeName , JoinType jt ) Create a join to the specified Set -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join . Throws: IllegalArgumentException | |
jakarta.persistence.criteria.From.joinList(String,JoinType); String attributeName , JoinType jt ) Create a join to the specified List -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join . Throws: IllegalArgumentException | |
Mapped by fields are not initialized by JOIN FETCH in queries As demonstrated in this forum thread , a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support Build 2.4.1_06 fixes this issue (fields are now initialized | |
jakarta.persistence.criteria.Subquery.correlate(CollectionJoin) ( CollectionJoin parentCollection ) Create a subquery collection join object correlated to a collection join object of the enclosing query. Parameters: parentCollection - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.correlate(SetJoin) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery SetJoin correlate ( SetJoin parentSet ) Create a subquery set join object correlated to a set join object of the enclosing query. Parameters: parentSet - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.correlate(ListJoin) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery ListJoin correlate ( ListJoin parentList ) Create a subquery list join object correlated to a list join object of the enclosing query. Parameters: parentList - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.Subquery.correlate(MapJoin) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery MapJoin correlate ( MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.ForeignKey for the join column(s) to which the foreign key annotation is applied. See Also: JoinColumn JoinColumns ... it determines most appropriate for the join column or columns to which the foreign key annotation | |
jakarta.persistence.InheritanceType Since: Jakarta Persistence (JPA) 1.0 Enum Constants JOINED A table for each abstract or concrete entity class ... rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery or the persistence context has not been joined to the transaction. QueryTimeoutException ... context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds | |
jakarta.persistence.SynchronizationType with the current transaction or whether the persistence context must be explicitly joined to the current ... joined to the current transaction Since: Jakarta Persistence (JPA) 1.0 Synthetic Public Static Methods | |
jakarta.persistence.OneToMany to a join table using the JoinTable annotation. The OneToMany annotation may be used ... : @OneToMany(orphanRemoval = true) @JoinColumn(name = "CUST_ID") // join column is in table | |
jakarta.persistence.criteria.CollectionJoin.on(Expression) on ( Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CollectionJoin.on(Predicate...) on ( Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.SetJoin.on(Expression); Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.SetJoin.on(Predicate...); Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.Subquery.getCorrelatedJoins() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Set getCorrelatedJoins() Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins . Modifications to the set do not affect the query. Returns: the correlated joins of the subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.ListJoin.on(Expression); Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.MapJoin.on(Expression); Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.MapJoin.on(Predicate...); Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.ListJoin.on(Predicate...); Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.JoinColumn.referencedColumnName is in the entity table of the owning entity, or inverse entity if the join is part of the inverse join definition. When used in a CollectionTable mapping, the referenced column is in the table of the entity containing the collection. Default (only applies if single join column is being used | |
jakarta.persistence.criteria.From.getJoins() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From Set getJoins() Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query. Returns: joins made from this type. 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 | |
jakarta.persistence.criteria.FetchParent.getFetches() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Set getFetches() Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Returns: fetch joins made from this type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.CollectionTable.joinColumns of the entity. The default only applies if a single join column is used. The default is the same as ... of the referenced primary key column.) However, if there is more than one join column, a JoinColumn annotation must be specified for each join column using the JoinColumns annotation. In this case | |
jakarta.persistence.criteria.CriteriaQuery.select(Selection) API may need to specify the type of the select item when it results from a get or join operation ... = cb.createQuery(Product.class); q2.select(q2.from(Order.class) . join ("items") . join ("product | |
jakarta.persistence.criteria.CriteriaBuilder.treat(SetJoin,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder SetJoin treat ( SetJoin join , Class type ) Downcast SetJoin object to the specified type. Parameters: join - SetJoin object type - type to be downcast to Returns: SetJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.treat(ListJoin,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder ListJoin treat ( ListJoin join , Class type ) Downcast ListJoin object to the specified type. Parameters: join - ListJoin object type - type to be downcast to Returns: ListJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.treat(MapJoin,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder MapJoin treat ( MapJoin join , Class type ) Downcast MapJoin object to the specified type. Parameters: join - MapJoin object type - type to be downcast to Returns: MapJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.PluralJoin.getModel() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.PluralJoin PluralAttribute getModel() Return the metamodel representation for the collection-valued attribute corresponding to the join . Returns: metamodel collection-valued attribute corresponding to the target of the join . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PessimisticLockScope.NORMAL. If a joined inheritance strategy is used, or if the entity is otherwise mapped to a secondary table ... to join tables or unidirectional one-to-many relationships for which the target entity contains | |
jakarta.persistence.PessimisticLockScope.EXTENDED and relationships owned by the entity that are contained in join tables are locked if the property ... ). Locking such a relationship or element collection generally locks only the rows in the join table | |
jakarta.persistence.EntityManager.isJoinedToTransaction() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active. Returns: boolean. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.MapKeyColumn.name. If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the map key column is in a join table. If the map key is for a OneToMany entity relationship | |
jakarta.persistence.MapKeyColumn.table entity relationship using a join table, the name of the join table for the map. If the map key | |
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.PrimaryKeyJoinColumn.referencedColumnName Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn String referencedColumnName (Optional) The name of the primary key column of the table being joined to. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy |