ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.criteria.LocalDateTimeField

, numbered from 1. Since: Jakarta Persistence (JPA) 1.0 HOUR The hour of the day in 24-hour time ... a fractional part representing fractions of a second Since: Jakarta Persistence (JPA) 1.0 TIME The time

jakarta.persistence.Column

of decimal digits to use for storing fractional seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional seconds should not be stored in a time column, or that the maximum number of digits supported by the database and JDBC

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.EntityManagerFactory.createEntityManager(SynchronizationType)

EntityManager instance each time it is invoked. The EntityManager.isOpen method will return true on the returned ... with the current JTA transaction Returns: entity manager instance. Throws: IllegalStateException

jakarta.persistence.EntityManagerFactory.createEntityManager(SynchronizationType,Map)

of properties. This method returns a new EntityManager instance each time it is invoked. The EntityManager ... - how and when the entity manager should be synchronized with the current JTA transaction map - properties

jakarta.persistence.MapKeyTemporal

) protected Map employees; Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 2.0 Annotation Elements TemporalType value (Required

jakarta.persistence.Enumerated

to be EnumType.ORDINAL . Example: public enum EmployeeStatus {FULL_ TIME , PART_ TIME , CONTRACT} public enum

jakarta.persistence.criteria.TemporalField

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type (date, time , or datetime) Each instance represents a type of field which can be extracted from a date, time , or datetime

jakarta.persistence.Temporal

/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable Types

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

jakarta.persistence.Column.secondPrecision

) The number of decimal digits to use for storing fractional seconds in a SQL time or timestamp column. Applies only to columns of time or timestamp type. The default value -1 indicates that fractional seconds should not be stored in a time column, or that the maximum number of digits supported by

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.currentDate()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression currentDate() Create expression to return current date. Returns: expression for current date. Since: Jakarta Persistence (JPA) 1.0

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.localDate()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression localDate() Create expression to return current local date. Returns: expression for current date. 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.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.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.PersistenceException

, NonUniqueResultException , LockTimeoutException , and QueryTimeoutException , cause the current transaction

jakarta.persistence.TypedQuery.setParameter(Parameter,Date,TemporalType)

should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

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(String,Date,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.TypedQuery.setParameter(int,Date,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.StoredProcedureQuery.setParameter(int,Calendar,TemporalType)

the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.setParameter(int,Date,TemporalType)

if the value argument 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.StoredProcedureQuery.setParameter(Parameter,Date,TemporalType)

: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.setParameter(String,Calendar,TemporalType)

/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery.setParameter(String,Date,TemporalType)

if the value argument 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.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(int,Date,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(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(String,Date,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(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.Query.setParameter(Parameter,Date,TemporalType)

the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 2.0

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.criteria.LocalTimeField

of the day in 24-hour time , numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1.0 MINUTE The minute

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.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