ObjectDB Database Search

101-150 of 200 results

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.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.PessimisticLockException

,String, Set ), printStackTrace(), printStackTrace(PrintStream), printStackTrace(PrintStreamOrWriter

jakarta.persistence.JoinColumn

public Set getOrders() { return orders; } See Also: ManyToOne OneToMany OneToOne JoinTable

jakarta.persistence.LockTimeoutException

,String, Set ), printStackTrace(), printStackTrace(PrintStream), printStackTrace(PrintStreamOrWriter

jakarta.persistence.ManyToOne

optional (Optional) Whether the association is optional. If set to false then a non-null relationship

jakarta.persistence.ElementCollection

Person { @Id protected String ssn; protected String name; ... @ElementCollection protected Set

jakarta.persistence.EntityNotFoundException

), printEnclosedStackTrace(PrintStreamOrWriter,StackTraceElement~,String,String, Set ), printStackTrace

jakarta.persistence.EntityExistsException

(PrintStreamOrWriter,StackTraceElement~,String,String, Set ), printStackTrace(), printStackTrace

jakarta.persistence.metamodel.Attribute

boolean isCollection () Is the attribute collection-valued (represents a Collection , Set , List , or

jakarta.persistence.metamodel.ListAttribute

a Collection , Set , List , or Map ). Inherited from Attribute Returns: boolean indicating

jakarta.persistence.metamodel.CollectionAttribute

collection-valued (represents a Collection , Set , List , or Map ). Inherited from Attribute Returns

jakarta.persistence.metamodel.SingularAttribute

(represents a Collection , Set , List , or Map ). Inherited from Attribute Returns: boolean indicating

jakarta.persistence.metamodel.MapAttribute

(represents a Collection , Set , List , or Map ). Inherited from Attribute Returns: boolean

jakarta.persistence.metamodel.PluralAttribute

(JPA) 1.0 boolean isCollection () Is the attribute collection-valued (represents a Collection , Set

jakarta.persistence.criteria.CriteriaBuilder

( M map ) Create an expression that returns the keys of a map. Parameters: map - map Returns: set

jakarta.persistence.PersistenceConfiguration.property(String,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration property (    String name ,    Object value ) Set a property of this persistence unit. Parameters: name - the property name value - the property value Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties(Map)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration properties (    Map properties ) Set multiple properties of this persistence unit. Parameters: properties - the properties Returns: this configuration. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceConfiguration.properties()

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration Map properties() Standard and vendor-specific property settings . Returns: the configured properties. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.properties

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor

jakarta.persistence.metamodel.ManagedType.getSet(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getSet (    String name ) Return the Set -valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: SetAttribute

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getDeclaredSet (    String name ) Return the Set -valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute

jakarta.persistence.metamodel.Metamodel.getManagedTypes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel Set getManagedTypes() Return the metamodel managed types. Returns: the metamodel managed types. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Metamodel.getEntities()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel Set getEntities() Return the metamodel entity types. Returns: the metamodel entity types. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.getSelection()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Selection getSelection() Return the selection of the query, or null if no selection has been set . Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.isCollection()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Attribute boolean isCollection() Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Returns: boolean indicating whether the attribute is collection-valued. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setFirstResult(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setFirstResult (    int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Returns: the same query instance. Throws

jakarta.persistence.TypedQuery.setHint(String,Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setHint (    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

jakarta.persistence.metamodel.IdentifiableType.getIdClassAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType Set getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes. Throws: IllegalArgumentException - if the identifiable type does not have an id class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setLockMode(LockModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setLockMode (    LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance. Throws: IllegalStateException

jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheRetrieveMode (    CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by

jakarta.persistence.metamodel.ManagedType.getAttributes()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getAttributes() Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheStoreMode (    CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution. This cache storage mode overrides the cache storage mode in use by the entity manager

jakarta.persistence.ParameterMode.REF_CURSOR

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF_CURSOR parameters to return result sets from stored procedures. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setFlushMode(FlushModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setFlushMode (    FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager

jakarta.persistence.metamodel.ManagedType.getSet(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType SetAttribute getSet (    String name ,    Class elementType ) Return the Set -valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name