ObjectDB Database Search

51-100 of 200 results

Entity Update - Is the documentation up to date?

The online manual is always expected to be up to date with the last ObjectDB version.  First, I've ... , because an object is identified as dirty by comparing its old content with the current content. With enhanced ... when a setter is called with the field's current value, I can test for equality inside the setter, like

log entry date/time

It would be very useful if each entry in the log file has a date /time stamp. Thanks, Carl   FastModel Ben Schreiber Version 2.2.2 adds date /time stamps to the log. Thank you for your suggestion. support Support

ObjectDB current status of the BIRT plugin

ObjectDB current status of the BIRT plugin

General 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

Database Transaction Replayer

.objectdb.Replayer my.odb If objectdb.jar is not in the current directory, you must specify a path

Storing JPA Entities

. The exception is thrown either by persist , if the existing entity is currently managed by

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Container Injection Annotations

a shared, thread-safe proxy associated with the current transaction. Specifies the lifetime scope

Database Doctor

objectdb.jar com.objectdb.Doctor my.odb If objectdb.jar is not in the current directory

JPA Criteria Queries

(Note: Subqueries are currently not supported by ObjectDB). Top-level queries and subqueries share

jakarta.persistence.MapKeyTemporal

of type Date and Calendar . It may only be specified for map keys of these types. The MapKeyTemporal ... with the ElementCollection , OneToMany , or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal( DATE ) protected Map employees; Deprecated: Newly-written code should use the date /time types defined in java

jakarta.persistence.Embeddable

EmploymentPeriod { @Temporal( DATE ) java.util. Date startDate; @Temporal( DATE ) java.util. Date endDate

jakarta.persistence.Id

primitive wrapper type; String ; UUID ; Date ; Date ; BigDecimal ; BigInteger . The mapped column

jakarta.persistence.IdClass

Date birthDay; ... } public record EmployeePK(String empName, Date birthDay) {} See Also: EmbeddedId

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

jakarta.persistence.EntityManager.getFlushMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence context. Returns: the current FlushModeType . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.lock(Object,LockModeType)

to the current transaction. Since: Jakarta Persistence (JPA) 1.0

JPA Web App Tutorial - Maven Project

: mvn package jetty:run The current directory should be  guestbook-web (containing the  pom

Java EE JPA Tutorial - Maven Project

the command line: mvn package The current directory should be  guestbook-jee6

Getting Started with JPA - Maven Project

The current directory should be points-console (containing the pom.xml file). No need to download

Spring MVC JPA Tutorial - Maven Project

jetty:run The current directory should be  guestbook-spring (containing the  pom.xml file