ObjectDB Database Search
101-150 of 200 resultsjakarta.persistence.ConnectionFunction EntityManager.callWithConnection(ConnectionFunction) Since: Jakarta Persistence (JPA) 3 .2 Public ... Jakarta Persistence (JPA) Interface jakarta. persistence .ConnectionFunction Type Parameters ... the connection, usually a java.sql.SQLException . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.LockOption. See Also: LockModeType PessimisticLockScope Timeout EntityManager.lock(Object, LockModeType, LockOption...) Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Interface jakarta. persistence .LockOption An option influencing the behavior of EntityManager.lock . Built-in options control scope , and timeouts . This interface | |
jakarta.persistence.FindOption Timeout EntityManager.find(Class, Object, FindOption...) EntityManager.find(EntityGraph, Object, FindOption...) Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Interface jakarta. persistence .FindOption An option influencing the behavior of EntityManager.find . Built-in options control locking , cache interaction , and timeouts | |
jakarta.persistence.EnumeratedValue Jakarta Persistence (JPA) Annotation Type jakarta. persistence .EnumeratedValue Implemented ... intValue) { this.intValue = intValue; } } See Also: Enumerated EnumType Since: Jakarta Persistence (JPA) 3 .2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK | |
jakarta.persistence.criteria.TemporalField. See Also: LocalDateField LocalTimeField LocalDateTimeField CriteriaBuilder.extract(TemporalField, Expression) Since: Jakarta Persistence (JPA) 3 .2 ... 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 | |
jakarta.persistence.criteria.CriteriaSelect Jakarta Persistence (JPA) Interface jakarta. persistence .criteria.CriteriaSelect Type Parameters: - the type returned by the query Abstracts over top-level queries and unions and intersections of top-level queries. Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.RefreshOption EntityManager.refresh(Object, RefreshOption...) Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Interface jakarta. persistence .RefreshOption An option influencing the behavior of EntityManager.refresh . Built-in options control locking , cache interaction | |
jakarta.persistence.Persistence.createEntityManagerFactory(PersistenceConfiguration) configured according to the specified persistence unit. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence . Persistence EntityManagerFactory ... an EntityManagerFactory for the named persistence unit, using the given properties. Parameters | |
JPA Core Types and inheritance relationships. Jakarta Persistence (JPA) 3 .2 Core Types Bootstrapping and Configuration Initialize the persistence context and configure the engine using these classes: The primary bootstrap class ... Core Jakarta Persistence (JPA) types provide the foundation for bootstrapping the persistence | |
Entity Management Settings the Enhancer Agent to enhance persistable types on the fly, even if you do not specify it explicitly ... represent different policies: "error" - All persistable classes must be enhanced; otherwise, ObjectDB ... -dirty entities in the persistence context of the EntityManager , which serves as a first-level cache | |
JPA Metamodel Types The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence (JPA) 3 .2 Base type definitions The core abstractions of model types | |
ObjectDB Object Database Features database files (the ObjectDB Doctor ). Standard Persistence APIs ObjectDB is the only Object-Oriented Database with built in support for JPA . Java Persistence API (JPA) Most features of JPA ... Objects (JDO) Complete JDO 2 support (passed the JDO 2 TCK). Support for JDO 3 new features is in | |
Numbers in JPQL and Criteria Queries to persistent numeric fields. As aggregate expressions , such as COUNT . As collection functions ... . For example: MOD(11, 3 ) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2 | |
JPA Metamodel Attributes The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3 . Base attribute definitions | |
jakarta.persistence.PersistenceUnitUtil.load(Object,String) with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil void load ( Object entity , String attributeName ) Load the persistent value of a given | |
jakarta.persistence.PersistenceUnitUtil.load(E,Attribute) persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil void load ( E entity , Attribute attribute ) Load the persistent value of a given persistent | |
jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class) or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil boolean isInstance ... belonging to the persistence unit and to an open persistence context is an instance of the given entity | |
jakarta.persistence.PersistenceUnitUtil.load(Object) or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil void load ( Object entity ) Load the persistent state of an entity belonging to the persistence unit | |
jakarta.persistence.PersistenceUnitUtil.getClass(T) with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil Class getClass ( T entity ) Return the concrete entity class if the given entity belonging to the persistence | |
jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...) transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager T find (   ... type. If the entity instance is contained in the persistence context, it is returned from | |
jakarta.persistence.EntityManager.getReference(T). IllegalArgumentException - if the given object is not an entity, or if it is neither persistent nor detached. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager T getReference (   ... may be persistent or detached, but may be neither new nor removed. If the requested instance does not exist in | |
jakarta.persistence.EntityManager.find(Class,Object,FindOption...) transaction and a lock mode other than NONE is specified. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager T find ( Class ... it with respect to the specified lock type. If the entity instance is contained in the persistence context | |
JPA Extended API Reference Guide Jakarta Persistence API (JPA) 3 .2 documentation, generated from the official JavaDoc and enriched ... the fundamental classes and interfaces for entity management and persistence operations. Covers the query API ... for representing the persistent object model. Use these interfaces to inspect entity structures | |
JPA Criteria FROM and JOIN is structured as follows: Criteria Query From Components in Jakarta Persistence (JPA) 3 .2  ... The Jakarta Persistence Criteria API uses a specific set of interfaces to construct the FROM ... variable, whose scope is all values of a specific persistent attribute. The base interface | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute) if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .PersistenceUnitUtil boolean isLoaded ... persistent attribute of an entity belonging to the persistence unit. Parameters: attribute - attribute | |
jakarta.persistence.TypedQuery.getSingleResultOrNull() and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .TypedQuery X getSingleResultOrNull ... if there is no result. Throws: IllegalStateException - if called for a Jakarta Persistence query | |
jakarta.persistence.EntityManagerFactory.runInTransaction(Consumer) - a function to be executed in the scope of the transaction Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManagerFactory void runInTransaction ... type of the persistence unit is JTA, and there is a JTA transaction already associated | |
jakarta.persistence.EntityManagerFactory.callInTransaction(Function) Returns: the value returned by the given function. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManagerFactory R callInTransaction ... of the persistence unit is JTA, and there is a JTA transaction already associated with the caller | |
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 (JPA) Method in jakarta. persistence .EntityManager void lock (   ... an entity instance belonging to the persistence context, obtaining the specified lock mode , using | |
jakarta.persistence.Query.getSingleResultOrNull() the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .Query Object getSingleResultOrNull ... if there is no result. Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or | |
jakarta.persistence.metamodel.Metamodel.entity(String): IllegalArgumentException - if not an entity. See Also: jakarta. persistence .Entity.name Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .metamodel.Metamodel EntityType entity ( String entityName ) Return the metamodel entity type representing the entity. Parameters | |
jakarta.persistence.TypedQuery.setTimeout(Integer), and is an alternative to setting the hint jakarta. persistence .query.timeout . Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .TypedQuery TypedQuery setTimeout (   | |
jakarta.persistence.StoredProcedureQuery.setTimeout(Integer), and is an alternative to setting the hint jakarta. persistence .query.timeout . Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .StoredProcedureQuery StoredProcedureQuery | |
jakarta.persistence.EntityManagerFactory.getTransactionType() Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManagerFactory PersistenceUnitTransactionType getTransactionType() The type of transaction management used by this persistence unit, either resource-local transaction management, or JTA. Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.EntityManagerFactory.getSchemaManager() factory has been closed. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManagerFactory SchemaManager getSchemaManager() Return interface providing access to schema management operations for the persistence | |
jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer) Exception thrown by ConnectionConsumer.accept , if any. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager void runWithConnection ... back the transaction. If the given action throws an exception, the persistence provider must mark | |
jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction): PersistenceException - wrapping the checked Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager T callWithConnection (   ... action throws an exception, the persistence provider must mark the transaction for rollback. Parameters | |
jakarta.persistence.EntityManagerFactory.getName() Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManagerFactory String getName() The name of the persistence unit. Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.EntityManager.setCacheRetrieveMode(CacheRetrieveMode) Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager void setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context. Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.EntityManager.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context. Parameters: cacheStoreMode - cache storage mode Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.EntityManager.getCacheRetrieveMode() Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode for this persistence context. Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.EntityManager.getCacheStoreMode() Jakarta Persistence (JPA) Method in jakarta. persistence .EntityManager CacheStoreMode getCacheStoreMode() The cache storage mode for this persistence context. Since: Jakarta Persistence (JPA) 3 .2 | |
jakarta.persistence.Query.setTimeout(Integer) to setting the hint jakarta. persistence .query.timeout . Parameters: timeout - the timeout, in milliseconds, or null to indicate no timeout Returns: the same query instance. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .Query Query setTimeout (   | |
jakarta.persistence.criteria.CriteriaBuilder.union(CriteriaSelect,CriteriaSelect) of the results of the given queries. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .criteria.CriteriaBuilder CriteriaSelect union ( CriteriaSelect left , CriteriaSelect right ) Create a query | |
jakarta.persistence.criteria.CriteriaBuilder.unionAll(CriteriaSelect,CriteriaSelect) criteria query which returns the union of the results of the given queries. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .criteria.CriteriaBuilder CriteriaSelect unionAll ( CriteriaSelect left , CriteriaSelect right ) Create a query | |
jakarta.persistence.criteria.CriteriaBuilder.intersect(CriteriaSelect,CriteriaSelect) the intersection of the results of the given queries. Since: Jakarta Persistence (JPA) 3 .2 ... Jakarta Persistence (JPA) Method in jakarta. persistence .criteria.CriteriaBuilder CriteriaSelect intersect ( CriteriaSelect left , CriteriaSelect right ) Create a query | |
Step 1: Create a Maven Web Project.objectdb.com com.objectdb objectdb 2.8.1 org.eclipse. persistence javax. persistence 2.1.0 javax ... .springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE org.springframework spring-orm 3 .0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2.2 org.aspectj aspectjweaver | |
Step 1: Create a Maven Web Project. persistence javax. persistence 2.1.0   ... org.springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE | |
NetBeans/JPA Java EE Tutorial that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed ... and menus might look slightly different but the code would be the same). Note: ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps: | |
ObjectDB 1.0 Manual on programming with ObjectDB and JDO: Chapter 3 - Persistent Classes Explains what a persistence capable ... metadata for persistence capable classes. Chapter 5 - JDO Connections Shows how to use database connections and transactions in JDO. Chapter 6 - Persistent Objects Shows how to store, retrieve, update |