ObjectDB Database Search
101-150 of 200 resultsjakarta.persistence.TypedQuery.setParameter(String,Object); String name , Object value ) Bind an argument value to a named parameter . Parameters : name - parameter name value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or | |
jakarta.persistence.TypedQuery.setParameter(String,Calendar,TemporalType) an instance of Calendar to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument | |
jakarta.persistence.TypedQuery.setParameter(String,Date,TemporalType) an instance of Date to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument | |
jakarta.persistence.StoredProcedureQuery.setParameter(String,Object) to a named parameter . Parameters : name - parameter name value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter | |
jakarta.persistence.StoredProcedureQuery.setParameter(String,Calendar,TemporalType) temporalType ) Bind an instance of java.util.Calendar to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query | |
jakarta.persistence.StoredProcedureQuery.setParameter(String,Date,TemporalType) temporalType ) Bind an instance of java.util.Date to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or | |
jakarta.persistence.StoredProcedureQuery.registerStoredProcedureParameter(int,Class,ParameterMode); ParameterMode mode ) Register a positional parameter . All parameters must be registered. Parameters : mode - parameter mode position - parameter position type - type of the parameter Returns | |
jakarta.persistence.Query.setParameter(String,Calendar,TemporalType) of Calendar to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect | |
jakarta.persistence.Query.setParameter(String,Date,TemporalType) of Date to a named parameter . Parameters : name - parameter name temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type | |
jakarta.persistence.Query.getParameterValue(int); int position ) Return the input value bound to the positional parameter . (Note that OUT parameters are unbound.) Parameters : position - position Returns: parameter value. Throws: IllegalStateException - if the parameter has not been bound. IllegalArgumentException - if the parameter | |
jakarta.persistence.Query.getParameter(int) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Parameter getParameter ( int position ) Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries. Parameters | |
jakarta.persistence.Query.getParameter(int,Class) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Parameter getParameter ( int position , Class type ) Get the parameter object corresponding to the declared positional parameter with the given position and type. This method is not required to be supported by | |
jakarta.persistence.Query.setParameter(String,Object); String name , Object value ) Bind an argument value to a named parameter . Parameters : name - parameter name value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the argument is of incorrect type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityExistsException EntityExistsException exception with the specified detail message. Parameters : message ... . Parameters : cause - the cause. message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods | |
jakarta.persistence.AttributeConverter Jakarta Persistence (JPA) Interface jakarta.persistence.AttributeConverter Type Parameters ... into the data representation to be stored in the database. Parameters : attribute - the entity ... . Parameters : dbData - the data from the database column to be converted Returns: the converted value | |
jakarta.persistence.RollbackException. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 RollbackException ... detail message and cause. Parameters : cause - the cause. message - the detail message ... exception with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceException detail message. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... with the specified detail message and cause. Parameters : cause - the cause. message ... a new PersistenceException exception with the specified cause. Parameters : cause - the cause | |
jakarta.persistence.StoredProcedureQuery.registerStoredProcedureParameter(String,Class,ParameterMode) , ParameterMode mode ) Register a named parameter . Parameters : mode - parameter mode parameterName - name of the parameter as registered or specified in metadata type - type of the parameter | |
jakarta.persistence.TypedQuery.setParameter(int,Object); int position , Object value ) Bind an argument value to a positional parameter . Parameters : position - position value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or | |
jakarta.persistence.TypedQuery.setParameter(int,Calendar,TemporalType) an instance of Calendar to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument | |
jakarta.persistence.TypedQuery.setParameter(int,Date,TemporalType) an instance of Date to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument | |
jakarta.persistence.StoredProcedureQuery.setParameter(int,Object) to a positional parameter . Parameters : position - position value - parameter value Returns: the same query ... parameter of the query or if the argument is of incorrect type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.setParameter(int,Calendar,TemporalType) temporalType ) Bind an instance of java.util.Calendar to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter | |
jakarta.persistence.StoredProcedureQuery.setParameter(int,Date,TemporalType) temporalType ) Bind an instance of java.util.Date to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or | |
jakarta.persistence.Query.setParameter(int,Date,TemporalType) of Date to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: 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 | |
jakarta.persistence.Query.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 of the parameter objects. Throws: IllegalStateException - if invoked on a native query | |
jakarta.persistence.Query.setParameter(int,Object); int position , Object value ) Bind an argument value to a positional parameter . Parameters : position - position value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or | |
jakarta.persistence.Query.setParameter(int,Calendar,TemporalType) of Calendar to a positional parameter . Parameters : position - position temporalType - temporal type value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument | |
jakarta.persistence.PersistenceUtil ) Determine the load state of a given persistent attribute. Parameters : attributeName - name of attribute ... to unintended loading of state. Parameters : entity - whose load state is to be determined Returns | |
jakarta.persistence.ConnectionConsumer Jakarta Persistence (JPA) Interface jakarta.persistence.ConnectionConsumer Type Parameters : - the connection type, usually java.sql.Connection An executable action which makes use of a native ... Methods void accept ( C connection ) Execute the action using the given connection. Parameters | |
jakarta.persistence.ConnectionFunction Jakarta Persistence (JPA) Interface jakarta.persistence.ConnectionFunction Type Parameters : - the connection type, usually java.sql.Connection A function which makes use of a native database ... Instance Methods T apply ( C connection ) Compute a result using the given connection. Parameters | |
jakarta.persistence.EntityNotFoundException detail message. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... with the specified detail message. Parameters : message - the detail message. Since: Jakarta Persistence | |
jakarta.persistence.criteria.Selection Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Selection Type Parameters : - the type of the selection item Super Interfaces: TupleElement The Selection interface defines an item ... reassigned. Returns the same selection item. Parameters : name - alias Returns: selection item | |
jakarta.persistence.criteria.CompoundSelection Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CompoundSelection Type Parameters : - the type of the selection item Super Interfaces: Selection , TupleElement The CompoundSelection ... selection item. Inherited from Selection Parameters : name - alias Returns: selection item | |
jakarta.persistence.SchemaManager it may ignore the problem and continue. Parameters : createSchemas - if true , attempt to create schemas ... may throw an exception, or it may ignore the problem and continue. Parameters : dropSchemas - if true | |
jakarta.persistence.TransactionRequiredException with the specified detail message. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... TransactionRequiredException exception with the specified detail message. Parameters : message - the detail message | |
jakarta.persistence.NonUniqueResultException with the specified detail message. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 ... NonUniqueResultException exception with the specified detail message. Parameters : message - the detail message | |
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.EntityManagerFactory.addNamedQuery(String,Query) 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 ... is replaced. Parameters : name - name for the query query - a Query , TypedQuery , or StoredProcedureQuery Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.StoredProcedureParameter.mode Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureParameter ParameterMode mode 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. Default: ParameterMode.IN Since: Jakarta Persistence (JPA) 1.0 | |
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.EntityManagerFactory.getNamedQueries(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedQueries ( Class resultType ) Type Parameters : - the specified upper bound on the query result ... is assignable to the given Java type. Parameters : resultType - any Java type, including Object.class | |
jakarta.persistence.EntityManagerFactory.getNamedEntityGraphs(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedEntityGraphs ( Class entityType ) Type Parameters : - the specified upper bound on the entity ... is assignable to the given Java type. Parameters : entityType - any Java type, including Object.class meaning | |
jakarta.persistence.EntityManager.createNamedStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored ... is returned as a list of type Object[] . Parameters : name - name assigned to the stored procedure query in | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored ... is returned as a list of type Object[] . Parameters : procedureName - name of the stored procedure in | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...) ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters ... . Parameters : resultClasses - classes to which the result sets produced by the stored procedure | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...). Parameters must be registered before the stored procedure can be executed. The resultSetMapping arguments ... invocation. Parameters : resultSetMappings - the names of the result set mappings to be used in mapping | |
jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void runWithConnection ( ConnectionConsumer action ) Type Parameters : - the connection type, usually java.sql ... the transaction for rollback. Parameters : action - the action Throws: PersistenceException - wrapping the checked | |
jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T callWithConnection ( ConnectionFunction function ) Type Parameters : - the type of result returned by the function ... action throws an exception, the persistence provider must mark the transaction for rollback. Parameters | |
jakarta.persistence.StoredProcedureParameter.name Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureParameter String name 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 . Default: "" Since: Jakarta Persistence (JPA) 1.0 |