Internal Website Search
101-150 of 200 resultsCatching exceptions from online backup . join ( ) ; } catch ( InterruptedException e ) { e . printStackTrace ... . backupThread . start ( ) ; backupThread . join ... of the inner catch block. jakab Gergely Jakab Maybe the catch block is executed | |
No clue how to query with collection INNER JOIN c.addresses ORDER BY SIZE(c.addresses) 0 ? CONCAT(c.addresses[0].street + c.addresses[1 ... this query: SELECT c, a FROM Customer INNER JOIN c.addresses a ORDER BY a.street WHERE a.active ... itself... Alex quasado Alexander Adam Maybe something like: SELECT c, a FROM Customer LEFT JOIN c.addresses | |
slow performance for a complex query. When the inner query is not dependent on the outer query - no JOIN is required. But such nested ... of Organisation . The inner loop is executed about 100M times. In cases with complex AND/OR structures like this, sometimes JOIN can only be implemented by nested full scan (and indexes cannot help | |
@OneToOne query issue with OR and IS NULL query: SELECT a FROM A a JOIN a.another b WHERE a.another IS NULL OR b.counter = 0 You missed the A instance with no another because navigation through a relationship is implemented using JOIN (i.e. INNER JOIN ), and only the A instance that has another passes the FROM clause, which precedes | |
javax.persistence.EntityManager (which will return false). If this method is called when the entity manager is joined to an active ... on an entity manager which has not been joined to the current transaction and a lock mode ... if invoked on an entity manager which has not been joined to the current transaction and a lock mode | |
javax.persistence.criteria.SetJoin JPA Interface SetJoin Type Parameters: - the source type of the join - the element type of the target Set Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The SetJoin interface is the type of the result of joining to a collection | |
javax.persistence.criteria.CollectionJoin JPA Interface CollectionJoin Type Parameters: - the source type of the join - the element type of the target Collection Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The CollectionJoin interface is the type of the result of joining | |
javax.persistence.criteria.ListJoin JPA Interface ListJoin Type Parameters: - the source type of the join - the element type of the target List Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin , Selection , TupleElement The ListJoin interface is the type of the result of joining to a collection | |
javax.persistence.criteria.MapJoin JPA Interface MapJoin Type Parameters: - the source type of the join - the type of the target Map key - the type of the target Map value Super Interfaces: Expression , FetchParent , From , Join ... of joining to a collection over an association or element collection that has been specified as a java.util | |
javax.persistence.PrimaryKeyJoinColumn Specifies a primary key column that is used as a foreign key to join to another table. It is used to join the primary table of an entity subclass in the JOINED mapping strategy to the primary table of its superclass; it is used within a SecondaryTable annotation to join a secondary table | |
javax.persistence.JoinColumn.name) The name of the foreign key column. The table in which it is found depends upon the context. If the join ... is in the table of the source entity or embeddable. If the join is for a unidirectional OneToMany ... . If the join is for a ManyToMany mapping or for a OneToOne or bidirectional ManyToOne/OneToMany mapping | |
javax.persistence.AssociationOverride element is used. If the relationship mapping uses a join table, the joinTable element must be specified to override the mapping of the join table and/or its join columns. Example 1: Overriding ... default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements | |
javax.persistence.MapKeyJoinColumn.table) The name of the table that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join ... a join table, the foreign key column is in a join table. If the join is for a OneToMany entity | |
javax.persistence.JoinTable the mapping of associations. It is applied to the owning side of an association. A join table is typically ... -to-one relationships, and one-to-one associations (both bidirectional and unidirectional). When a join table is used in ... of the join table is assumed to be the table names of the associated primary tables concatenated | |
javax.persistence.MapKeyJoinColumn.name upon the context. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the foreign key column is in a join table | |
Subquery.correlate(parentJoin) - JPA Method JPA Method in javax.persistence.criteria.Subquery Join correlate ( Join parentJoin ) Create a subquery join object correlated to a join object of the enclosing query. Parameters: parentJoin - join object of the containing query Return: subquery join Since: JPA 2.0 | |
javax.persistence.JoinColumn.table to be in the primary table of the applicable entity. Default: If the join is for a OneToOne or ManyToOne ... . If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the name of the table of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or | |
FetchParent.fetch(attribute,jt) - JPA Method JPA Method in javax.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: attribute - target of the join jt - join type Return: the resulting join Since: JPA 2.0 | |
FetchParent.fetch(attribute,jt) - JPA Method JPA Method in javax.persistence.criteria.FetchParent Fetch fetch ( SingularAttribute attribute, JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Return: the resulting fetch join Since: JPA 2.0 | |
FetchParent.fetch(attributeName,jt) - JPA Method;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 Return: the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0 | |
From | |
From | |
From | |
From | |
javax.persistence.PessimisticLockScope , element collections and relationships owned by the entity that are contained in join tables ... locks only the rows in the join table or collection table for that relationship or collection ... to the non-collection-valued persistent state of that instance. If a joined inheritance strategy is used, or | |
javax.persistence.criteria.PluralJoin type of the collection Super Interfaces: Expression , FetchParent , From , Join , Path , Selection , TupleElement The PluralJoin interface defines functionality that is common to joins to all collection ... corresponding to the join . Return: metamodel collection-valued attribute corresponding to the target of the join Since: JPA 2.0 | |
Subquery.correlate(parentList) - JPA Method JPA Method in javax.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 Return: subquery join Since: JPA 2.0 | |
Subquery.correlate(parentMap) - JPA Method JPA Method in javax.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 Return: subquery join Since: JPA 2.0 | |
javax.persistence.CollectionTable join column name @AttributeOverrides({ @AttributeOverride(name="street", column=@Column(name="HOME ... the primary table of the entity. The default only applies if a single join column is used. The default ... ; "_"; the name of the referenced primary key column.) However, if there is more than one join column | |
Subquery.correlate(parentSet) - JPA Method JPA Method in javax.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 Return: subquery join Since: JPA 2.0 | |
Subquery.correlate(parentCollection) - JPA Method JPA Method in javax.persistence.criteria.Subquery CollectionJoin correlate ( 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 Return: subquery join Since: JPA 2.0 | |
javax.persistence.MapKeyColumn using a join table, the map key column is in a join table. If the map key is for a OneToMany entity ... . If the map key is for a OneToMany or ManyToMany entity relationship using a join table, the name of the join table for the map. If the map key is for a OneToMany entity relationship using a foreign key | |
javax.persistence.Query - if there is no transaction or the persistence context has not been joined to the transaction QueryTimeoutException ... other than NONE has been set and there is no transaction or the persistence context has not been joined ... context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails | |
javax.persistence.TypedQuery been joined to the transaction QueryTimeoutException - if the statement execution exceeds the query ... and there is no transaction or the persistence context has not been joined to the transaction ... other than NONE has been set and there is no transaction or the persistence context has not been joined | |
javax.persistence.criteria.CriteriaQuery from a get or join operation and the query result type is specified. For example: CriteriaQuery q = cb ... ) . join ("items") . join ("product")); Parameters: selection - selection specifying the item | |
Subquery.getCorrelatedJoins() - JPA Method JPA Method in javax.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. Return: the correlated joins of the subquery Since: JPA 2.0 | |
javax.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 | |
javax.persistence.SecondaryTable table. If no primary key join columns are specified, the join columns are assumed to reference ... PrimaryKeyJoinColumn [] pkJoinColumns default {} (Optional) The columns that are used to join | |
CollectionJoin.on(restrictions) - JPA Method... 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 Return: the modified join object Since: JPA 2.1 | |
CollectionJoin.on(restriction) - JPA Method; 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 Return: the modified join object Since: JPA 2.1 | |
FetchParent.getFetches() - JPA Method JPA Method in javax.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. Return: fetch joins made from this type Since: JPA 2.0 | |
From | |
Fetch.getJoinType() - JPA Method JPA Method in javax.persistence.criteria.Fetch JoinType getJoinType () Return the join type used in the fetch join . Return: join type Since: JPA 2.0 | |
javax.persistence.ForeignKey actions it determines most appropriate for the join column(s) to which the foreign key annotation ... a constraint whose update and delete actions it determines most appropriate for the join column(s ... (which may or may not result in the generation of a constraint for the given join column(s). Since: JPA 2.1 | |
ListJoin.on(restrictions) - JPA Method;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 Return: the modified join object Since: JPA 2.1 | |
ListJoin.on(restriction) - JPA Method;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 Return: the modified join object Since: JPA 2.1 | |
MapJoin.on(restrictions) - JPA Method;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 Return: the modified join object Since: JPA 2.1 | |
MapJoin.on(restriction) - JPA Method;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 Return: the modified join object Since: JPA 2.1 | |
javax.persistence.JoinColumn.referencedColumnName column 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 | |
SetJoin.on(restrictions) - JPA Method;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 Return: the modified join object Since: JPA 2.1 |