ObjectDB Database Search

151-200 of 200 results

jakarta.persistence.criteria.Nulls

Specifies the precedence of null values within query result sets . See Also: CriteriaBuilder.asc ... Constants FIRST Null values occur at the beginning of the result set . Since: Jakarta Persistence (JPA) 1.0 LAST Null values occur at the end of the result set . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CommonAbstractCriteria

(JPA) 2.1 Public Instance Methods Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns

jakarta.persistence.criteria.Fetch

attribute for the join. Since: Jakarta Persistence (JPA) 1.0 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. Inherited from FetchParent Returns: fetch

jakarta.persistence.criteria.CriteriaDelete

corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set

jakarta.persistence.criteria.FetchParent

Persistence (JPA) 1.0 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

jakarta.persistence.OneToMany

= "customer") public Set getOrders() { return orders; } // In Order class: @ManyToOne @JoinColumn(name = "CUST ... .class, cascade = ALL, mappedBy = "customer") public Set getOrders() { return orders; } // In Order class ... table for Order public Set getOrders() { return orders; } Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.getResultList()

() Retrieve the list of results from the next result set . The provider will call execute on the query if needed. A REF_CURSOR result set , if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: a list of the results or null is the next item is not a result set

jakarta.persistence.metamodel.ManagedType.getPluralAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getPluralAttributes() Return all multi-valued attributes (Collection-, Set -, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Returns

jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set -, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multivalued

jakarta.persistence.criteria.AbstractQuery.getRoots()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Set getRoots ... itself, including any subquery roots defined as a result of correlation. Returns an empty set if no roots have been defined. Modifications to the set do not affect the query. Returns: the set of query roots. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.execute()

() Return true if the first result corresponds to a result set , and false if it is an update count or ... result corresponds to result set . Throws: PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query

jakarta.persistence.StoredProcedureQuery.hasMoreResults()

hasMoreResults() Return true if the next result corresponds to a result set , and false if it is an update count ... if next result corresponds to result set . Throws: PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query

jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...)

must be specified in the order in which the result sets is returned by the stored procedure invocation. Parameters: resultSetMappings - the names of the result set mappings to be used in mapping result sets returned by the stored procedure procedureName - name of the stored procedure in the database

jakarta.persistence.EntityTransaction

is false. Since: Jakarta Persistence (JPA) 1.0 void setTimeout ( Integer timeout ) Set the transaction ... that the database server should set the timeout Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.metamodel.PluralAttribute.CollectionType

Map-valued attribute Since: Jakarta Persistence (JPA) 1.0 SET Set -valued attribute Since: Jakarta

jakarta.persistence.CollectionTable

; ... @ElementCollection // use default table (PERSON_NICKNAMES) @Column(name = "name", length = 50) protected Set ... = "HOME_STATE"))}) protected Set vacationHomes = new HashSet(); ... } This annotation may not be applied

jakarta.persistence.criteria.CommonAbstractCriteria.getParameters()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria Set getParameters() Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns: the query parameters. Since: Jakarta Persistence (JPA) 1.0

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.TypedQuery.getResultStream()

and only the statement is rolled back. PersistenceException - if the query execution exceeds the query timeout value set ... other than NONE has been set and there is no transaction or the persistence context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query timeout value set

jakarta.persistence.TypedQuery.getSingleResult()

timeout value set and only the statement is rolled back. PessimisticLockException - if pessimistic locking ... . PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set

jakarta.persistence.TypedQuery.getSingleResultOrNull()

- if the query execution exceeds the query timeout value set and only the statement is rolled ... back. PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set

jakarta.persistence.TypedQuery.getResultList()

the query timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set and there is no transaction or the persistence context has not ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.NamedNativeQuery.resultSetMapping

The name of a SqlResultSetMapping , as defined in metadata. The named result set mapping is used to interpret the result set of the native SQL query. Alternatively, the elements NamedNativeQuery.entities , NamedNativeQuery.classes , and NamedNativeQuery.columns may be used to specify a result set

jakarta.persistence.NamedNativeQuery.resultClass

The class of each query result. If a result set mapping is specified, the specified result class must agree with the type inferred from the result set mapping. If a resultClass is not explicitly specified, then it is inferred from the result set mapping, if any, or defaults to Object or Object

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.From.join(SetAttribute,JoinType)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From SetJoin join (    SetAttribute set ,    JoinType jt ) Create a join to the specified Set -valued attribute using the given join type. Parameters: jt - join type set - target of the join Returns: the resulting join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From.join(SetAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From SetJoin join (    SetAttribute set ) Create an inner join to the specified Set -valued attribute. Parameters: set - target of the join Returns: the resulting join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.getParameters()

Jakarta Persistence (JPA) Method in jakarta.persistence.Query Set getParameters() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Returns: set

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.Query.getSingleResultOrNull()

execution exceeds the query timeout value set and only the statement is rolled ... - if the query execution exceeds the query timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set and there is no transaction or

jakarta.persistence.Query.getResultList()

value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set and there is no transaction or the persistence context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query timeout value set

jakarta.persistence.Query.getResultStream()

is rolled back. PersistenceException - if the query execution exceeds the query timeout value set ... other than NONE has been set and there is no transaction or the persistence context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query timeout value set

jakarta.persistence.Query.getSingleResult()

value set and only the statement is rolled back. PessimisticLockException - if pessimistic locking ... . PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set

jakarta.persistence.metamodel.Metamodel.getEmbeddables()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel Set getEmbeddables() Return the metamodel embeddable types. Returns am empty set if there are no embeddable types. Returns: the metamodel embeddable types. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getSingularAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getSingularAttributes() Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes. Returns: single-valued attributes. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredSingularAttributes() Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes. Returns: declared single-valued attributes. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredAttributes() Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Returns: declared attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setTimeout(Integer)

Jakarta Persistence (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 setting the hint jakarta.persistence.query.timeout . Parameters: timeout - the timeout, in

jakarta.persistence.criteria.SetJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.SetJoin SetAttribute getModel() Return the metamodel representation for the set attribute. Returns: metamodel type representing the Set that is the target of the 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.StoredProcedureQuery.setTimeout(Integer)

Jakarta Persistence (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 setting the hint jakarta.persistence.query.timeout . Parameters: timeout

jakarta.persistence.StoredProcedureQuery.getUpdateCount()

an update count. Throws: PersistenceException - if the query execution exceeds the query timeout value set ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.executeUpdate()

- if the query execution exceeds the query timeout value set and the transaction is rolled ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManagerFactory.addNamedQuery(String,Query)

results, hints, flush mode, lock mode, result set mapping information, and information about stored procedure parameters. When the query is executed, information that can be set by means of the query

jakarta.persistence.EntityTransaction.setTimeout(Integer)

Jakarta Persistence (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: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityManager.createNamedStoredProcedureQuery(String)

procedure can be executed. If the stored procedure returns one or more result sets , any result set

jakarta.persistence.EntityManager.createStoredProcedureQuery(String)

procedure can be executed. If the stored procedure returns one or more result sets , any result set

jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...)

must be specified in the order in which the result sets is returned by the stored procedure invocation. Parameters: resultClasses - classes to which the result sets produced by the stored procedure

jakarta.persistence.Query.setTimeout(Integer)

Jakarta Persistence (JPA) Method in jakarta.persistence.Query Query setTimeout (    Integer timeout ) Set the query timeout, in milliseconds. This is a hint, and is an alternative to setting the hint jakarta.persistence.query.timeout . Parameters: timeout - the timeout, in milliseconds

jakarta.persistence.Query.executeUpdate()

. PersistenceException - if the query execution exceeds the query timeout value set ... exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0