ObjectDB Database Search
51-100 of 200 resultsCriteriaBuilder createCriteriaUpdate are not executing Regards all!! CriteriaBuilder createCriteriaUpdate are not executing . CriteriaUpdate criteriaUpdate = cb.createCriteriaUpdate(Order.class); java.lang.UnsupportedOperationException at com.objectdb.jpa.criteria. CriteriaBuilderImpl.createCriteriaUpdate(CriteriaBuilderImpl.java:1502 | |
Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" ExceptionExecuting JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception | |
Unable to execute update queryUnable to execute update query | |
[Explorer] Executing Queries The new Explorer of ObjectDB 2 supports retrieval of database objects by classes and navigation. Retrieval of database objects by executing queries visually should also be supported. This is one of the features that have been supported by the old Explorer of ObjectDB 1. It has been temporarily | |
Query execution creates a wrong result Hello, we analysed an unexpected behavior and find out that the result of an Query are wrong. We prepared an Example that shows the BUG. (see attachment) The Example executes two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional | |
Query execution causes an unexpected internal exception (Error 990)Query execution causes an unexpected internal exception (Error 990) | |
@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions.@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions. | |
NullpointerException when execute a commitNullpointerException when execute a commit | |
jakarta.persistence.criteria.CriteriaQuery specified selection(s), if any. The type of the result of the query execution depends ... from the query execution . If the type of the criteria query is CriteriaQuery for some user-defined ... of the result of the query execution depends on the specification of the type of the criteria query | |
jakarta.persistence.NamedQuery. Query names are scoped to the persistence unit. A named query may be executed by calling EntityManager ... FROM Customer c WHERE c.name LIKE :custName") The named query may be executed like ... ) 1.0 LockModeType lockMode (Optional) The lock mode type to use in query execution . If a lockMode | |
jakarta.persistence.EntityManagerFactory mapping information, and information about stored procedure parameters. When the query is executed ... transaction, and execute the given function, passing the EntityManager to the function. If the transaction ... - a function to be executed in the scope of the transaction Since: Jakarta Persistence (JPA) 3.2 T | |
jakarta.persistence.criteria.CriteriaBuilder to specify a constructor that is applied to the results of the query execution . If the constructor is for an entity class, the resulting entities will be in the new state after the query is executed ... ) Create an expression for the execution of a database function. Parameters: name - function name args | |
jakarta.persistence.FlushModeType Enumerates flush modes recognized by the EntityManager . When queries are executed ... Constants AUTO (Default) Flushing to occur at query execution . Since: Jakarta Persistence (JPA) 1.0 | |
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.PersistenceConfiguration-provided SQL script to be executed when the schema is created. Since: Jakarta Persistence (JPA) 1.0 ... _SOURCE An application-provided SQL script to be executed when the schema is dropped. Since: Jakarta | |
jakarta.persistence.TypedQuery.getResultStream()() Execute a SELECT query and return the query result as a typed Stream . By default, this method delegates ... and only the statement is rolled back. PersistenceException - if the query execution exceeds the query timeout value set ... to the transaction. QueryTimeoutException - if the query execution exceeds the query timeout value set | |
jakarta.persistence.TypedQuery.getSingleResult() Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery X getSingleResult() Execute ... back. NonUniqueResultException - if more than one result. QueryTimeoutException - if the query execution exceeds the query ... . PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled | |
jakarta.persistence.TypedQuery.getSingleResultOrNull()() Execute a SELECT query that returns a single untyped result. Returns: the result, of type X , or null ... - 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 | |
jakarta.persistence.TypedQuery.getResultList() Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery List getResultList() Execute ... fails and only the statement is rolled back. PersistenceException - if the query execution exceeds ... been joined to the transaction. QueryTimeoutException - if the query execution exceeds the query | |
jakarta.persistence.StoredProcedureQuery.executeUpdate() count. The provider will call execute on the query if needed. Returns: the update count or -1 ... - if the query execution exceeds the query timeout value set and the transaction is rolled ... to the transaction. QueryTimeoutException - if the statement execution exceeds the query timeout | |
jakarta.persistence.StoredProcedureQuery.getResultList()() Retrieve the list of results from the next result set. The provider will call execute on the query ... . Throws: PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query execution exceeds the query timeout | |
jakarta.persistence.StoredProcedureQuery.getSingleResult() getSingleResult() Retrieve a single result from the next result set. The provider will call execute on the query ... - if more than one result. PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query execution exceeds the query | |
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull() getSingleResultOrNull() Retrieve a single result from the next result set. The provider will call execute ... - if more than one result. PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query execution exceeds the query timeout | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed . If the stored procedure returns one or more result sets, any result set ... - if a stored procedure of the given name does not exist (or if query execution will fail). Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...) ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed . The resultClass arguments ... exist (or if query execution will fail). Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...) ) Create an instance of StoredProcedureQuery for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed . The resultSetMapping arguments ... procedure or result set mapping of the given name does not exist (or the query execution will fail). Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Query.getSingleResultOrNull()() Execute a SELECT query that returns a single untyped result. Returns: the result, or null ... 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 | |
jakarta.persistence.Query.executeUpdate() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int executeUpdate() Execute ... . PersistenceException - if the query execution exceeds the query timeout value set ... context has not been joined to the transaction. QueryTimeoutException - if the statement execution | |
jakarta.persistence.Query.getResultList() Jakarta Persistence (JPA) Method in jakarta.persistence.Query List getResultList() Execute ... and only the statement is rolled back. PersistenceException - if the query execution exceeds the query timeout ... to the transaction. QueryTimeoutException - if the query execution exceeds the query timeout value set | |
jakarta.persistence.Query.getResultStream() Jakarta Persistence (JPA) Method in jakarta.persistence.Query Stream getResultStream() Execute ... back. PersistenceException - if the query execution exceeds the query timeout value set ... . QueryTimeoutException - if the query execution exceeds the query timeout value set and only the statement | |
jakarta.persistence.Query.getSingleResult() Jakarta Persistence (JPA) Method in jakarta.persistence.Query Object getSingleResult() Execute ... - if more than one result. QueryTimeoutException - if the query execution exceeds the query timeout ... . PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled | |
jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...) that is applied to the results of the query execution . If the constructor is for an entity class, the resulting entities will be in the new state after the query is executed . Parameters: selections - arguments | |
jakarta.persistence.StoredProcedureQuery.hasMoreResults() if next result corresponds to result set. Throws: PersistenceException - if the query execution exceeds ... execution exceeds the query timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.getUpdateCount() an update count. Throws: PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled back. QueryTimeoutException - if the query execution exceeds the query | |
jakarta.persistence.EntityManagerFactory.runInTransaction(Consumer) transaction, and execute the given function, passing the EntityManager to the function. If the transaction ... - a function to be executed in the scope of the transaction Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.createNamedStoredProcedureQuery(String) for executing a stored procedure in the database. Parameters must be registered before the stored procedure can be executed . If the stored procedure returns one or more result sets, any result set | |
jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer).Connection Execute the given action using the database connection underlying this EntityManager . Usually ... with a transaction, the action is executed in the context of the transaction. The given action should close | |
jakarta.persistence.EntityManager.createNativeQuery(String) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Query createNativeQuery ( String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. If the query is not an update or delete query, query execution will result | |
jakarta.persistence.NamedQuery.lockMode Jakarta Persistence (JPA) Method in jakarta.persistence.NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution . If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined | |
jakarta.persistence.criteria.CriteriaQuery.multiselect(Selection...) of the query execution depends on the specification of the type of the criteria query object ... , will be instantiated and returned for each row that results from the query execution . If the type | |
jakarta.persistence.criteria.CriteriaQuery.multiselect(List) of the query execution depends on the specification of the type of the criteria query object created as ... execution . If the type of the criteria query is CriteriaQuery for some user-defined class X (i.e | |
jakarta.persistence.MapKeyEnumerated, IN_PROGRESS} public enum SalaryRate {JUNIOR, SENIOR, MANAGER, EXECUTIVE } @Entity public class | |
jakarta.persistence.NamedEntityGraph fetched when an operation which retrieves an instance or instances of the root entity is executed | |
jakarta.persistence.Enumerated SalaryRate {JUNIOR, SENIOR, MANAGER, EXECUTIVE } @Entity public class Employee { public EmployeeStatus | |
jakarta.persistence.CacheRetrieveMode is read from the database via the EntityManager.find methods and execution of queries. USE indicates | |
jakarta.persistence.NamedStoredProcedureQuery.createNamedStoredProcedureQuery method to create an executable StoredProcedureQuery object. Names are scoped | |
jakarta.persistence.NonUniqueResultException Thrown by the persistence provider when Query.getSingleResult or TypedQuery.getSingleResult is executed | |
jakarta.persistence.NoResultException the persistence provider when Query.getSingleResult or TypedQuery.getSingleResult is executed | |
jakarta.persistence.NamedNativeQuery may be executed by calling EntityManager.createNamedQuery . In simple cases, a resultClass specifies | |
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 |