ObjectDB Database Search
101-150 of 200 resultsGeneral Performance Issues Illustrated with a Specific Method listPatientsByIDsWithBasicData(String ids) { Long st = new Date ().getTime(); System.out.println ... ); System.out.println("cs size = " + cs.size()); Long ed = new Date ().getTime(); System.out.println ... java.io.Serializable; import java.util. Date ; import javax.jdo.annotations.Index; import javax | |
jakarta.persistence.EntityManagerFactory, then the EntityManager is associated with this current transaction. If the given function returns ... : synchronizationType - how and when the entity manager should be synchronized with the current JTA ... - how and when the entity manager should be synchronized with the current JTA transaction map - properties | |
jakarta.persistence.EntityTransaction (JPA) 1.0 void commit () Commit the current resource transaction, writing any unflushed changes ... fails. Since: Jakarta Persistence (JPA) 1.0 boolean getRollbackOnly () Determine whether the current ... back the current resource transaction. Throws: IllegalStateException - if isActive is false. PersistenceException | |
jakarta.persistence.SynchronizationType with the current transaction or whether the persistence context must be explicitly joined to the current ... Enum Constants SYNCHRONIZED Persistence context is automatically synchronized with the current ... joined to the current transaction Since: Jakarta Persistence (JPA) 1.0 Synthetic Public Static Methods | |
jakarta.persistence.criteria.CriteriaBuilder.extract(TemporalField,Expression) that returns the value of a field extracted from a date , time, or datetime. Parameters: field - a temporal field type temporal - a date , time, or datetime Returns: expression for the value of the extracted field. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EmbeddedId empName, Date birthDay) {} Example 2: @Embeddable public class DependentId { String name; EmployeeId | |
jakarta.persistence.EntityExistsException. The current transaction, if one is active, will be marked for rollback. If the entity already exists ... the EntityExistsException or another PersistenceException may be thrown at flush or commit time. The current transaction | |
jakarta.persistence.PersistenceContext whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManager | |
jakarta.persistence.EntityManager.getLockMode(Object) ( Object entity ) Get the current lock mode held by this persistence context on the given ... currently held. Throws: IllegalArgumentException - if a transaction is active but the given instance ... if the entity manager has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 2.0 | |
combined index not used the current date (in your case the date of the last Action). The endDate is created as soon as an Action ... :notNull])" eval="0.9675" variable="a" / = current -java.sql. Date )),(a.state=3)),(a.subType=3)),(a.type=0 ... ="[]" = current -java.sql. Date )),(a.state=3)),(a.subType=3)),(a.type=0)) v$1:bound(a.objectsInCharge | |
jakarta.persistence.TypedQuery.setParameter(String,Calendar,TemporalType) is of incorrect type. Deprecated: Newly-written code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setParameter(Parameter,Calendar,TemporalType) code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setParameter(int,Calendar,TemporalType) is of incorrect type. Deprecated: Newly-written code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Temporal.value Jakarta Persistence (JPA) Method in jakarta.persistence.Temporal TemporalType value The type used in mapping Date or Calendar . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.setParameter(int,Calendar,TemporalType) the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.setParameter(String,Calendar,TemporalType) or if the value argument is of incorrect type. Deprecated: Newly-written code should use the date | |
jakarta.persistence.MapKeyTemporal.value Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyTemporal TemporalType value (Required) The type used in mapping java.util. Date or java.util.Calendar . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.greatest(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression greatest ( Expression x ) Create an aggregate expression for finding the greatest of the values (strings, dates , etc). Parameters: x - expression representing input value to greatest operation | |
jakarta.persistence.criteria.CriteriaBuilder.least(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression least ( Expression x ) Create an aggregate expression for finding the least of the values (strings, dates , etc). Parameters: x - expression representing input value to least operation Returns: least expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.StoredProcedureQuery.setParameter(Parameter,Calendar,TemporalType). Deprecated: Newly-written code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Query.setParameter(String,Calendar,TemporalType) type. Deprecated: Newly-written code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Query.setParameter(int,Calendar,TemporalType) is of incorrect type. Deprecated: Newly-written code should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Query.setParameter(Parameter,Calendar,TemporalType) should use the date /time types defined in java.time . Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.PersistenceContext.synchronization synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManager.joinTransaction method. Default | |
jakarta.persistence.EntityManager.isJoinedToTransaction() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active. Returns: boolean. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.criteria.CriteriaBuilder.currentTimestamp() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression currentTimestamp() Create expression to return current timestamp. Returns: expression for current timestamp. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.currentTime() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression currentTime() Create expression to return current time. Returns: expression for current time. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.localDateTime() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression localDateTime() Create expression to return current local datetime. Returns: expression for current timestamp. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.localTime() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression localTime() Create expression to return current local time. Returns: expression for current time. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PessimisticLockException may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active | |
jakarta.persistence.FlushModeType is unspecified. If there is no transaction active or the persistence context is not joined to the current | |
jakarta.persistence.LockTimeoutException. The current transaction, if one is active, will be not be marked for rollback. Since: Jakarta Persistence | |
jakarta.persistence.EntityNotFoundException and the entity no longer exists in the database. The current transaction, if one is active | |
jakarta.persistence.PrimaryKeyJoinColumn of the primary key column of the current table. Defaults to the same name as the primary key column | |
jakarta.persistence.QueryTimeoutException the persistence provider when a query times out and only the statement is rolled back. The current | |
jakarta.persistence.NonUniqueResultException and there is more than one result from the query. This exception does not cause the current | |
jakarta.persistence.NoResultException and there is no result to return. This exception does not cause the current transaction, if one is active | |
jakarta.persistence.OptimisticLockException may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active | |
jakarta.persistence.PersistenceException , NonUniqueResultException , LockTimeoutException , and QueryTimeoutException , cause the current transaction | |
jakarta.persistence.EntityManagerFactory.runInTransaction(Consumer) with the caller, then the EntityManager is associated with this current transaction. If the given function | |
jakarta.persistence.EntityTransaction.commit() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void commit() Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if EntityTransaction.isActive is false. RollbackException - if the commit fails. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityTransaction.rollback() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void rollback() Roll back the current resource transaction. Throws: IllegalStateException - if EntityTransaction.isActive is false. PersistenceException - if an unexpected error condition is encountered. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityManagerFactory.callInTransaction(Function), then the EntityManager is associated with this current transaction. If the given function returns | |
jakarta.persistence.EntityTransaction.setRollbackOnly() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction void setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if EntityTransaction.isActive is false. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.EntityTransaction.getRollbackOnly() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback. Throws: IllegalStateException | |
jakarta.persistence.EntityManager.joinTransaction() to associate it with the current JTA transaction. Throws: TransactionRequiredException | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType) with the current JTA transaction Returns: entity manager instance. Throws: IllegalStateException | |
jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map) - how and when the entity manager should be synchronized with the current JTA transaction map - properties | |
jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...) - if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.refresh(Object,LockModeType) on an extended entity manager that has not been joined to the current transaction and any lock mode other than NONE was specified. Since: Jakarta Persistence (JPA) 2.0 |