ObjectDB Database Search

101-150 of 200 results

StoredProcedureQuery.registerStoredProcedureParameter(parameterName,type,mode) - JPA Method

;  ParameterMode  mode ) Register a named parameter . Parameters : parameterName - name of the parameter as registered or specified in metadata type - type of the parameter mode - parameter mode Return: the same query instance Since: JPA 2.1

InterfaceRef jakarta.persistence.spi.PersistenceProvider

, Map  map) Called by the container when an EntityManagerFactory is to be created. Parameters ... ;configuration) Called by Persistence class when an EntityManagerFactory is to be created. Parameters ... Persistence class when an EntityManagerFactory is to be created. Parameters : emName - the name

InterfaceRef jakarta.persistence.criteria.Path

JPA Interface Path Type Parameters : - the type referenced by the path Super Interfaces: Expression ... to the referenced map-valued attribute. Parameters : map - map-valued attribute Return: expression ... ) Create a path corresponding to the referenced collection-valued attribute. Parameters : collection

InterfaceRef jakarta.persistence.metamodel.EntityType

JPA Interface EntityType Type Parameters : - The represented entity type. Super Interfaces ... that corresponds to the id attribute declared by the entity or mapped superclass. Parameters : type ... declared by the entity or mapped superclass. Parameters : type - the type of the represented declared

InterfaceRef jakarta.persistence.metamodel.Metamodel

the metamodel embeddable type representing the embeddable class. Parameters : cls - the type of the represented ... representing the entity. Parameters : cls - the type of the represented entity Return: the metamodel ... (String entityName) Return the metamodel entity type representing the entity. Parameters

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$SimpleCase

;result) Add an "else" clause to the case expression. Parameters : result - "else" result expression Return ... expression. Parameters : result - "else" result Return: expression Since: JPA 2.0 CriteriaBuilder ... expression. Parameters : condition - "when" condition result - "then" result expression Return: simple

Query.getParameters() - JPA Method

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. Return: set of the parameter objects

Query.setParameter(position,value,temporalType) - JPA Method

of java.util.Date to a positional parameter . Parameters : position - position value - parameter value ... - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 1.0

Query.setParameter(position,value,temporalType) - JPA Method

an instance of java.util.Calendar to a positional parameter . Parameters : position - position value - parameter value temporalType - temporal type Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 1.0

Query.setParameter(position,value) - JPA Method

;   Object value ) Bind an argument value to a positional parameter . Parameters : position - position value - parameter value Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the argument is of incorrect type Since: JPA 1.0

ClassRef jakarta.persistence.Persistence

the given properties. Parameters : configuration - configuration of the persistence unit Return ... and return an EntityManagerFactory for the named persistence unit. Parameters : persistenceUnitName ... an EntityManagerFactory for the named persistence unit, using the given properties. Parameters

StoredProcedureQuery.setParameter(position,value) - JPA Method

parameter . Parameters : position - position value - parameter value Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter

StoredProcedureQuery.setParameter(position,value,temporalType) - JPA Method

;temporalType ) Bind an instance of java.util.Calendar to a positional parameter . Parameters : position - position value - parameter value temporalType - temporal type Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter

StoredProcedureQuery.setParameter(position,value,temporalType) - JPA Method

;temporalType ) Bind an instance of java.util.Date to a positional parameter . Parameters : position - position value - parameter value temporalType - temporal type Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 2.1

TypedQuery.setParameter(position,value,temporalType) - JPA Method

an instance of java.util.Calendar to a positional parameter . Parameters : position - position value - parameter value temporalType - temporal type Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 2.0

TypedQuery.setParameter(position,value,temporalType) - JPA Method

an instance of java.util.Date to a positional parameter . Parameters : position - position value - parameter value temporalType - temporal type Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 2.0

TypedQuery.setParameter(position,value) - JPA Method

;position,    Object value ) Bind an argument value to a positional parameter . Parameters : position - position value - parameter value Return: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the argument is of incorrect type Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$Case

to the case expression. Parameters : result - "else" result expression Return: expression Since: JPA 2.0 Expression otherwise (R result) Add an "else" clause to the case expression. Parameters ... ;condition,  Expression  result) Add a when/then clause to the case expression. Parameters

InterfaceRef jakarta.persistence.Cache

for the given entity. Parameters : cls - entity class primaryKey - primary key Return: boolean indicating ... for entities of the specified class (and its subclasses) from the cache. Parameters : cls - entity class ... entity from the cache. Parameters : cls - entity class primaryKey - primary key Since: JPA 2.0 void

InterfaceRef jakarta.persistence.criteria.SetJoin

JPA Interface SetJoin Type Parameters : - the source type of the join - the element type ... to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters ... . Parameters : restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

EntityManagerFactory.addNamedQuery(name,query) - JPA Method

of the query object (except for actual parameter binding) in effect when the named query is added ... procedure parameters . When the query is executed, information that can be set by means of the query APIs ... is replaced. Parameters : name - name for the query query - a {@link Query} , {@link TypedQuery} , or {@link StoredProcedureQuery} Since: JPA 2.1

CommonAbstractCriteria.getParameters() - JPA Method

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. Return: the query parameters Since: JPA 2.1

InterfaceRef jakarta.persistence.AttributeConverter

JPA Interface AttributeConverter Type Parameters : - the target type, that is, the type ... in the entity attribute into the data representation to be stored in the database. Parameters ... . Parameters : dbData - the data from the database column to be converted Return: the converted value to be stored in the entity attribute Since: JPA 1.0

ClassRef jakarta.persistence.PersistenceException

with the specified detail message. Parameters : message - the detail message. Since: JPA 1.0 ... with the specified detail message and cause. Parameters : message - the detail message. cause ... PersistenceException exception with the specified cause. Parameters : cause - the cause. Since: JPA 1.0 Method inherited

ClassRef jakarta.persistence.RollbackException

. Parameters : message - the detail message. Since: JPA 1.0 RollbackException (String message,  ... and cause. Parameters : message - the detail message. cause - the cause. Since: JPA 1.0 ... . Parameters : cause - the cause. Since: JPA 1.0 Method inherited from class java.lang.Throwable

InterfaceRef jakarta.persistence.criteria.CollectionJoin

JPA Interface CollectionJoin Type Parameters : - the source type of the join - the element type ... . Replaces the previous ON condition, if any. Parameters : restriction - a simple or compound boolean ... the join object. Replaces the previous ON condition, if any. Parameters : restrictions - zero or

ClassRef jakarta.persistence.spi.TransformerException

with the specified detail message. Parameters : message - the detail message. Since: JPA 3.1 ... exception with the specified detail message and cause. Parameters : message - the detail message. cause ... TransformerException exception with the specified cause. Parameters : cause - the cause. Since: JPA 3.1 Method

AnnotationAttrRef jakarta.persistence.StoredProcedureParameter.mode

JPA Annotation Attribute in jakarta.persistence.StoredProcedureParameter ParameterMode mode default ParameterMode.IN Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter . REF_CURSOR parameters are used by some databases to return result sets from a stored procedure. Since: JPA 2.1

InterfaceRef jakarta.persistence.spi.ProviderUtil

a different provider. Parameters : entity - whose loaded status is to be determined Return: load status ... .) Parameters : entity - entity instance attributeName - name of attribute whose load status ... state if the entity has been provided by a different provider. Parameters : entity - entity instance

InterfaceRef jakarta.persistence.criteria.ListJoin

JPA Interface ListJoin Type Parameters : - the source type of the join - the element type ... the previous ON condition, if any. Parameters : restriction - a simple or compound boolean expression Return ... the previous ON condition, if any. Parameters : restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

InterfaceRef jakarta.persistence.criteria.MapJoin

JPA Interface MapJoin Type Parameters : - the source type of the join - the type of the target Map ... ON condition and return the join object. Replaces the previous ON condition, if any. Parameters : restriction ... ON condition and return the join object. Replaces the previous ON condition, if any. Parameters

CriteriaQuery.getParameters() - JPA Method

JPA Method in javax.persistence.criteria.CriteriaQuery 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. Return: the query parameters Since: JPA 2.0

ClassRef jakarta.persistence.EntityExistsException

EntityExistsException exception with the specified detail message. Parameters : message ... ) Constructs a new EntityExistsException exception with the specified detail message and cause. Parameters ...  cause) Constructs a new EntityExistsException exception with the specified cause. Parameters

InterfaceRef jakarta.persistence.criteria.Selection

JPA Interface Selection Type Parameters : - the type of the selection item Super Interfaces: TupleElement The Selection interface defines an item that is to be returned in a query result. Since: JPA ... cannot be changed or reassigned. Returns the same selection item. Parameters : name - alias Return

InterfaceRef jakarta.persistence.PersistenceUtil

the load state of an attribute. Not doing so might lead to unintended loading of state. Parameters : entity ... the load state of a given persistent attribute. Parameters : entity - entity containing the attribute

ClassRef jakarta.persistence.EntityNotFoundException

with the specified detail message. Parameters : message - the detail message. Since: JPA 1.0 ... exception with the specified detail message. Parameters : message - the detail message. Since: JPA 1

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$In

against. Parameters : value - expression Return: in predicate Since: JPA 2.0 CriteriaBuilder.In value (T value) Add to list of values to be tested against. Parameters : value - value Return: in predicate Since: JPA 2.0

InterfaceRef jakarta.persistence.SchemaManager

. Parameters : createSchemas - if {@code true} , attempt to create schemas, otherwise, assume the schemas ... and continue. Parameters : dropSchemas - if {@code true} , drop schemas, otherwise, leave them be Since: JPA 3.2

InterfaceRef jakarta.persistence.ConnectionConsumer

JPA Interface ConnectionConsumer Type Parameters : - the connection type, usually {@code java.sql.Connection} An executable action which makes use of a native database connection. The connection ... . Parameters : connection - the connection to use Throws: Exceptionif a problem occurs calling

InterfaceRef jakarta.persistence.ConnectionFunction

JPA Interface ConnectionFunction Type Parameters : - the connection type, usually {@code java.sql.Connection} A function which makes use of a native database connection to compute a result ... . Parameters : connection - the connection to use Return: the result Throws: Exceptionif a problem

ClassRef jakarta.persistence.NonUniqueResultException

a new NonUniqueResultException exception with the specified detail message. Parameters : message ... ;cause) Constructs a new NonUniqueResultException exception with the specified detail message. Parameters

ClassRef jakarta.persistence.TransactionRequiredException

detail message. Parameters : message - the detail message. Since: JPA 1.0 TransactionRequiredException ... exception with the specified detail message. Parameters : message - the detail message. Since: JPA 1.0

EnumConstRef jakarta.persistence.ParameterMode.REF_CURSOR

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: JPA 2.1

InterfaceRef jakarta.persistence.criteria.CompoundSelection

JPA Interface CompoundSelection Type Parameters : - the type of the selection item Super Interfaces: Selection , TupleElement The CompoundSelection interface defines a compound selection item ... . Returns the same selection item. Parameters : name - alias Return: selection item Inherited from

EntityManager.createStoredProcedureQuery(procedureName,resultClasses) - JPA Method

an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters ... in the order in which the result sets is returned by the stored procedure invocation. Parameters

AnnotationAttrRef jakarta.persistence.StoredProcedureParameter.name

JPA Annotation Attribute in jakarta.persistence.StoredProcedureParameter String name default "" The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters . Since: JPA 2.1

CriteriaBuilder.locate(x,pattern,from) - JPA Method

is not found, 0 is returned. Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL. Parameters : x - expression for string to be searched

CriteriaBuilder.locate(x,pattern,from) - JPA Method

is returned. Warning: the order of the first two parameters of this method is reversed compared to the corresponding function in JPQL. Parameters : x - expression for string to be searched pattern

CriteriaBuilder.locate(x,pattern) - JPA Method

of the parameters of this method is reversed compared to the corresponding function in JPQL. Parameters

CriteriaBuilder.locate(x,pattern) - JPA Method

: the order of the parameters of this method is reversed compared to the corresponding function in JPQL. Parameters : x - expression for string to be searched pattern - expression for string to be located