ObjectDB Database Search
51-100 of 200 resultsTomcat + JPA Problem sending context initialized event to listener instance of class OcspServer.CertEntryListener java.lang ... to the tomcat directory ( context .xml). In my opinion this caused the trouble. Another Question ... The database location is specified on: http://www.objectdb.com/tutorial/jpa/eclipse/web/ listener | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities_persistence_ context _in_stateful This however has the consequence of a long conversation until the stateful ... lazy relationships after they are detached as long as the context is still avalable ... only once, and not in any way related to extended EntityManager or persistence context . - "container detached | |
Migration problem.springframework.boot. context .properties.bind.DefaultValue; import org.springframework.data ... and listeners . Is there anything specific in this code that you want to check? support Support | |
AnnotationRef jakarta.persistence.ExcludeSuperclassListeners JPA Annotation ExcludeSuperclassListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: JPA 1.0 The JPA Lifecycle Events article explains how to use | |
AnnotationRef jakarta.persistence.PrePersist JPA Annotation PrePersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. A generated primary key value is available | |
AnnotationRef jakarta.persistence.PostUpdate JPA Annotation PostUpdate Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.PostRemove JPA Annotation PostRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.PostPersist JPA Annotation PostPersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Any generated primary key value | |
AnnotationRef jakarta.persistence.PreUpdate JPA Annotation PreUpdate Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 The JPA Lifecycle Events | |
AnnotationRef jakarta.persistence.PreRemove JPA Annotation PreRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 The JPA Lifecycle Events | |
EntityManager.merge(entity) - JPA Method the state of the given new or detached entity instance into the current persistence context , resulting in, respectively, an insert or possible update when the persistence context is synchronized ... =MERGE . If the given entity instance is managed, that is, if it belongs to this persistence context | |
EntityManager.persist(entity) - JPA Method when the persistence context is synchronized with the database, or make a removed entity managed, undoing ... , that is, if it already belongs to this persistence context , and has not been marked for removal, it is itself ignored | |
EntityManager.find(entityClass,primaryKey,options) - JPA Method to the specified lock type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type | |
EntityManager.find(entityGraph,primaryKey,options) - JPA Method type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic and the entity | |
AnnotationAttrRef jakarta.persistence.PersistenceContext.type JPA Annotation Attribute in jakarta.persistence.PersistenceContext PersistenceContextType type default PersistenceContextType.TRANSACTION (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.PersistenceContext.synchronization JPA Annotation Attribute in jakarta.persistence.PersistenceContext SynchronizationType synchronization default SynchronizationType.SYNCHRONIZED (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context | |
PersistenceUnitUtil.isInstance(entity,entityClass) - JPA Method to the persistence unit and to an open persistence context is an instance of the given entity class, or ... unit PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database Since: JPA 3.2 | |
PersistenceUnitUtil.load(entity) - JPA Method context . After this method returns, isLoaded must return true with the given entity instance ... - if the entity is not associated with an open persistence context or cannot be loaded from the database Since: JPA 3.2 | |
PersistenceUnitUtil.getClass(entity) - JPA Method and to an open persistence context . This method may, but is not required to, load the given entity by ... persistence context or cannot be loaded from the database Since: JPA 3.2 | |
PersistenceUnitUtil.load(entity,attribute) - JPA Method of an entity belonging to the persistence unit and to an open persistence context . After this method ... PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database Since: JPA 3.2 | |
PersistenceUnitUtil.load(entity,attributeName) - JPA Method attribute of an entity belonging to the persistence unit and to an open persistence context ... unit PersistenceException - if the entity is not associated with an open persistence context or cannot be loaded from the database Since: JPA 3.2 | |
EntityManager.contains(entity) - JPA Method context . Parameters: entity - entity instance Return: boolean value indicating if entity belongs to the persistence context Throws: IllegalArgumentException - if not an entity Since: JPA 1.0 | |
EntityManager.detach(entity) - JPA Method JPA Method in jakarta.persistence.EntityManager void detach ( Object entity ) Evict the given managed or removed entity from the persistence context , causing the entity ... with this persistence context , it is ignored. Parameters: entity - a managed or removed entity instance | |
InterfaceRef jakarta.persistence.StoredProcedureQuery: TransactionRequiredException - if there is no transaction or the persistence context has not been joined ... NONE} has been set and there is no transaction or the persistence context has not been joined to the transaction | |
EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method is contained in the persistence context , it is returned from there, and the effect of this method ... within the persistence context and the lock mode type is pessimistic and the entity has a version attribute | |
EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method to the specified lock type. If the entity instance is contained in the persistence context , it is returned from there. If the entity is found within the persistence context and the lock mode type is pessimistic | |
Unexpected error when loading all entity instance of ObjectDB (e.g. two separate class loader contexts in the same process that function as ... if there are two different class loader contexts (which is common with web applications). support Support Hello, I ... . using a contextDestroyed listener ? During the last corruption did you have hot deployments (i.e | |
InterfaceRef jakarta.persistence.criteria.CriteriaDelete to database delete operations. The persistence context is not synchronized with the result | |
ClassRef jakarta.persistence.EntityNotFoundException the database. The current transaction, if one is active and the persistence context has been joined | |
AnnotationAttrRef jakarta.persistence.NamedQuery.lockMode JPA Annotation Attribute in jakarta.persistence.NamedQuery LockModeType lockMode default LockModeType.NONE (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 to the transaction. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.PersistenceUnit factory is to be accessed in the environment referencing context ; not needed when dependency injection | |
AnnotationRef jakarta.persistence.NamedQuery and the persistence context joined to the transaction. Since: JPA 2.0 String name default null (Required | |
AnnotationAttrRef jakarta.persistence.PersistenceUnit.name JPA Annotation Attribute in jakarta.persistence.PersistenceUnit String name default "" (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context ; not needed when dependency injection is used. Since: JPA 1.0 | |
EnumConstRef jakarta.persistence.SynchronizationType.SYNCHRONIZED JPA Enum Constant in jakarta.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: JPA 2.1 | |
AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.name JPA Annotation Attribute in jakarta.persistence.MapKeyJoinColumn String name default "" (Optional) The name of the foreign key column for the map key. The table in which it is found depends upon the context . If the join is for a map key for an element collection, the foreign key column is in | |
AnnotationRef jakarta.persistence.MapKeyJoinColumn for the map key. The table in which it is found depends upon the context . If the join is for a map key | |
EnumConstRef jakarta.persistence.SynchronizationType.UNSYNCHRONIZED JPA Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: JPA 2.1 | |
Query.executeUpdate() - JPA Method TransactionRequiredException - if there is no transaction or the persistence context has not been joined to the transaction | |
EntityManager.setCacheStoreMode(cacheStoreMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default plain for this persistence context . Parameters: cacheStoreMode - cache storage mode Since: JPA 3.2 | |
EntityManager.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default plain for this persistence context . Parameters: cacheRetrieveMode - cache retrieval mode Since: JPA 3.2 | |
EntityManager.getCacheStoreMode() - JPA Method JPA Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode () The cache storage mode for this persistence context . Since: JPA 3.2 | |
EntityManager.getCacheRetrieveMode() - JPA Method JPA Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode for this persistence context . Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.MapKeyColumn.name JPA Annotation Attribute in jakarta.persistence.MapKeyColumn String name default "" (Optional) The name of the map key column. The table in which it is found depends upon the context . If the map key is for an element collection, the map key column is in the collection table for the map value | |
Query.getResultStream() - JPA Method NONE} has been set and there is no transaction or the persistence context has not been joined | |
Query.getSingleResult() - JPA Method the persistence context has not been joined to the transaction PessimisticLockException - if pessimistic locking | |
AnnotationRef jakarta.persistence.MapKeyColumn in which it is found depends upon the context . If the map key is for an element collection, the map | |
Query.getResultList() - JPA Method other than {@code NONE} has been set and there is no transaction or the persistence context has not been joined | |
TypedQuery.getSingleResult() - JPA Method the persistence context has not been joined to the transaction PessimisticLockException | |
TypedQuery.getResultList() - JPA Method context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails | |
TypedQuery.getResultStream() - JPA Method NONE} has been set and there is no transaction or the persistence context has not been joined to the transaction |