ObjectDB Database Search
1-50 of 200 resultsjakarta.persistence.TypedQuery.setParameter(Parameter,Date,TemporalType); Parameter param , Date value , TemporalType temporalType ) Bind an instance of Date to a Parameter object. Parameters : temporalType - temporal type param - parameter object value - parameter value Returns: the same query instance. Throws: IllegalArgumentException | |
jakarta.persistence.TypedQuery.setParameter(Parameter,T); Parameter param , T value ) Bind the value of a Parameter object. Parameters : param - parameter object value - parameter value Returns: the same query instance. Throws: IllegalArgumentException - if the parameter does not correspond to a parameter of the query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setParameter(Parameter,Calendar,TemporalType); Parameter param , Calendar value , TemporalType temporalType ) Bind an instance of Calendar to a Parameter object. Parameters : temporalType - temporal type param - parameter object value - parameter value Returns: the same query instance. Throws | |
jakarta.persistence.StoredProcedureQuery.setParameter(Parameter,Date,TemporalType) setParameter ( Parameter param , Date value , TemporalType temporalType ) Bind an instance of Date to a Parameter object. Parameters : temporalType - temporal type param - parameter object value - parameter value Returns: the same query instance. Throws | |
Navigation and Parameters Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter , can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x ... . So if the parameter y is a collection the expression y.b is invalid. support Support | |
Query over the keySet of a map field with collection parameter It is possible to execute a query over a keySet of a map field with comparing to a collection parameter ? Set values = new HashSet (); values.add("c2"); String query = // "SELECT e " + "FROM ... with a parameter which is a collection of strings. SELECT e FROM EntityParent e JOIN e . map key | |
Collections in JPQL and Criteria Queries Collections can appear in JPQL queries in the following ways: As parameters when a collection ... to check other collections, such as a collection passed as a query parameter . For example: 'English' IN :languages evaluates to TRUE if the languages parameter collection contains 'English' , and FALSE | |
jakarta.persistence.EntityManager, the persistence provider must mark the transaction for rollback. Parameters : function - the function Returns ... to the current persistence context. Parameters : entity - entity instance Returns: boolean value indicating ... mutable EntityGraph , allowing dynamic definition of an entity graph. Parameters : rootType - class | |
Strings in JPQL and Criteria Queries' and '' . As parameters when string values are passed as query arguments. As path expressions ... a path expression), and the right operand is the pattern (usually a parameter or literal). For example ... : // Create path and parameter expressions: Expression path = country. get ("name"); Expression param = cb | |
jakarta.persistence.EntityGraph Jakarta Persistence (JPA) Interface jakarta.persistence.EntityGraph Type Parameters : - The type ... if there is no existing node. Inherited from Graph Parameters : attributeName - name of the attribute ... . Inherited from Graph Parameters : attribute - attribute Returns: the attribute node. Throws | |
jakarta.persistence.Graph. Parameters : attributeName - name of the attribute Returns: the attribute node. Throws ... attribute node if there is no existing node. Parameters : attribute - attribute Returns: the attribute ... , that particular argument is ignored and has no effect. Parameters : attributeName - name | |
JPA Criteria Query Expressions predicate ├─ Path # Navigation path (attributes) ├─ ParameterExpression # Query parameter ... of a query parameter used for binding runtime values. Advanced expressions Additional interfaces | |
Bug when using SIZE in combination with date lower parameter cannot be both before and after the date parameter . support Support Hello, to archieve the results the date parameter used in both queries is obviously not the same. For the first query it is 1 year in the future | |
jakarta.persistence.EntityManagerFactory with the given name already exists, it is replaced. Parameters : graphName - name for the entity graph ... .createNamedStoredProcedureQuery methods. Any configuration of the query object (except for actual parameter ... mapping information, and information about stored procedure parameters . When the query is executed | |
Database Management Settings parameter . The elements To remove the ObjectDB evaluation restrictions (a limit of 10 entity classes | |
JPA Named Queries Annotations. A container annotation that groups multiple @NamedQuery definitions on a single class. Supplies parameters | |
Date and Time in JPQL and Criteria Queries Date and time expressions can appear in JPQL queries in the following ways: As date and time literals --for example, {d '2011-12-31'} and {t '23:59:59'} . As parameters --when date and time values are passed as arguments. As path expressions --to navigate to persistent date and time fields. As | |
JPA Query Expressions (JPQL / Criteria) JPQL / Criteria Parameters JPQL / Criteria Literals Every query expression consists | |
jakarta.persistence.PersistenceUnitUtil. This method may, but is not required to, load the given entity by side effect. Parameters : entity ... until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters : entity ... until after the database insert has occurred. Returns null if the entity does not yet have an id. Parameters : entity | |
jakarta.persistence.PessimisticLockException PessimisticLockException exception with the specified detail message. Parameters : message - the detail 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 | |
jakarta.persistence.LockTimeoutException. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 LockTimeoutException ... detail message and cause. Parameters : cause - the cause. message - the detail message. Since: Jakarta ... LockTimeoutException exception with the specified cause. Parameters : cause - the cause. Since: Jakarta Persistence (JPA | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String) through an INOUT or OUT parameter . For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters . Parameters : parameterName - name of the parameter as registered or specified in metadata Returns: the result that is passed | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int) through an INOUT or OUT parameter . For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters . Parameters : position - parameter position Returns: the result that is passed back through the parameter . Throws: IllegalArgumentException | |
jakarta.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.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.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.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 : connection | |
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. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1.0 EntityNotFoundException ... with the specified detail message. Parameters : message - the detail message. Since: Jakarta Persistence (JPA) 1 | |
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.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.IdClass with no parameters , unless it is a record type, and implement Annotation.java.lang.annotation | |
jakarta.persistence.Converter type parameter of AttributeConverter . If autoApply = true , the persistence provider | |
jakarta.persistence.Embeddable, have a public or protected constructor with no parameters , unless it is a record type, and have no final | |
jakarta.persistence.Entity with no parameters , and have no final methods or persistent instance variables. An enum, record, or | |
jakarta.persistence.EntityTransaction, in seconds. This is a hint. Parameters : timeout - the timeout, in seconds, or null to indicate | |
jakarta.persistence.Cache.evict(Class,Object) Jakarta Persistence (JPA) Method in jakarta.persistence.Cache void evict ( Class cls , Object primaryKey ) Remove the data for the given entity from the cache. Parameters : cls - entity class primaryKey - primary key Since: Jakarta Persistence (JPA) 1.0 |