ObjectDB Database Search

51-100 of 200 results

Glassfish 3.1.2.1 and ObjectDB 2.4.3

[http- listener -2] on host/port [0.0.0.0:8181] INFO: REST00001: Listening to REST requests at context ... Successfully INFO: WEB0169: Created HTTP listener [http- listener -1] on host/port [0.0.0.0:8080] INFO: WEB0169: Created HTTP listener [http- listener -2] on host/port [0.0.0.0:8181] INFO: WEB0169: Created HTTP

Database is erased after deploying a new web application version

That may be the problem. The servlet context is available in specific listener and servlet methods ... the web-app from Tomcat's manager? Should I set some kind of listener ? Yotam Yotam Boaz You can set a listener for creating and destroying the EntityManagerFactory: https://www.objectdb.com/tutorial

JBoss 7 startup fails

_ObjectDB_web]] (MSC service thread 1-3) Exception sending context destroyed event to listener instance ... -INF dir contains: context .xml persistence.xml com.objectdb.jpa.Provider java:/DefaultDS ... subsystem 13:49:26,858 INFO [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0.1:9999

jakarta.persistence.StoredProcedureQuery

or the persistence context has not been joined to the transaction. QueryTimeoutException ... context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds

jakarta.persistence.EntityListeners.value

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityListeners Class [] value The callback listener classes Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.merge(T)

context , resulting in, respectively, an insert or possible update when the persistence context ... to this persistence context , and has not been marked for removal, it is itself ignored, but the operation

jakarta.persistence.PersistenceContext.type

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default: PersistenceContextType.TRANSACTION Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.synchronization

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext SynchronizationType synchronization (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

attribute of an entity belonging to the persistence unit and to an open persistence context ... persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.PersistenceUnitUtil.load(Object)

and to an open persistence context . After this method returns, PersistenceUnitUtil.isLoaded must return true ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context

jakarta.persistence.EntityManager.contains(Object)

to the current persistence context . Parameters: entity - entity instance Returns: boolean value indicating if entity belongs to the persistence context . Throws: IllegalArgumentException - if not an entity. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.detach(Object)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void detach (    Object entity ) Evict the given managed or removed entity from the persistence context , causing ... associated with this persistence context , it is ignored. Parameters: entity - a managed or removed

jakarta.persistence.EntityManager.persist(Object)

the database when the persistence context is synchronized with the database, or make a removed entity ... is already managed, that is, if it already belongs to this persistence context , and has not been marked

jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...)

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

jakarta.persistence.EntityManager.find(Class,Object,LockModeType)

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

jakarta.persistence.EntityManager.find(Class,Object,LockModeType,Map)

. 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

jakarta.persistence.EntityManager.find(Class,Object,FindOption...)

it with respect 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

jakarta.persistence.PersistenceUnitUtil.isInstance(Object,Class)

belonging to the persistence unit and to an open persistence context is an instance of the given entity ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context

jakarta.persistence.PersistenceUnitUtil.getClass(T)

unit and to an open persistence context . This method may, but is not required to, load the given ... with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.JoinColumn

) The name of the foreign key column. The table in which this column is found depends on the context

jakarta.persistence.MapKeyColumn

) The name of the map key column. The table in which it is found depends upon the context . If the map key

jakarta.persistence.MapKeyJoinColumn

upon the context . If the join is for a map key for an element collection, the foreign key column is in

jakarta.persistence.MappedSuperclass

are interpreted in the context of each entity class which inherits the mapped superclass

jakarta.persistence.EntityNotFoundException

and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager

jakarta.persistence.EntityExistsException

, if one is active and the persistence context has been joined to it, will be marked for rollback

jakarta.persistence.criteria.CriteriaUpdate

. The persistence context is not automatically synchronized with the result of the bulk update

jakarta.persistence.criteria.CriteriaDelete

context is not synchronized with the result of the bulk delete. A CriteriaDelete object

jakarta.persistence.NamedQuery

and the persistence context joined to the transaction. Default: LockModeType.NONE Since: Jakarta Persistence (JPA) 2

jakarta.persistence.PersistenceException

, if one is active and if the persistence context has been joined to it, to be marked for rollback

jakarta.persistence.PersistenceContexts

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PersistenceContexts Implemented Interfaces: Annotation Target: Type Declares one or more PersistenceContext annotations. It is used to express a dependency on container-managed entity manager persistence contexts

jakarta.persistence.PersistenceUnit

referencing context ; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence

jakarta.persistence.PersistenceContext.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context ; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnit.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (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. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getResultStream()

other than NONE has been set and there is no transaction or the persistence context has not been joined

jakarta.persistence.TypedQuery.getSingleResult()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1.0

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.TypedQuery.getResultList()

- if a lock mode other than NONE has been set and there is no transaction or the persistence context has not

jakarta.persistence.StoredProcedureQuery.executeUpdate()

back. TransactionRequiredException - if there is no transaction or the persistence context has not been joined

jakarta.persistence.JoinColumn.name

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String name (Optional) The name of the foreign key column. The table in which this column is found depends on the context . If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key

jakarta.persistence.PersistenceContextType.TRANSACTION

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PersistenceContextType TRANSACTION Transaction-scoped persistence context Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContextType.EXTENDED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PersistenceContextType EXTENDED Extended persistence context Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.joinTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void joinTransaction() Indicate to the entity manager that a JTA transaction is active and join the persistence context to it. This method should be called on a JTA application managed entity manager that was created outside

jakarta.persistence.EntityManager.close()

is joined to an active transaction, the persistence context remains managed until the transaction completes

jakarta.persistence.EntityManager.runWithConnection(ConnectionConsumer)

with a transaction, the action is executed in the context of the transaction. The given action should close

jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction)

is executed in the context of the transaction. The given function should close any resources it creates

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

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void lock (    Object entity ,    LockModeType lockMode ,    LockOption... options ) Lock an entity instance belonging to the persistence context , obtaining the specified lock mode , using

jakarta.persistence.EntityManager.setFlushMode(FlushModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setFlushMode (    FlushModeType flushMode ) Set the flush mode that applies to all objects contained in the persistence context . Parameters: flushMode - flush mode Since: Jakarta Persistence (JPA) 1.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)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void lock (    Object entity ,    LockModeType lockMode ) Lock an entity instance belonging to the persistence context , obtaining the specified lock mode . If a pessimistic lock mode type is specified