ObjectDB Database Search
101-150 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 | |
javax.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. Since: JPA 1.0 The JPA Lifecycle Events | |
javax.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 | |
javax.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 | |
javax.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. Since: JPA 1.0 The JPA Lifecycle Events | |
javax.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 | |
javax.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 | |
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 | |
javax.persistence.EntityExistsException context has been joined to it, will be marked for rollback. See Also: javax.persistence.EntityManager | |
EntityManager.merge(entity) - JPA Method JPA Method in javax.persistence.EntityManager T merge ( T entity ) Merge the state of the given entity into the current persistence context . Parameters: entity - entity instance Return: the managed instance that the state was merged to Throws: IllegalArgumentException | |
EntityManager.find(entityClass,primaryKey) - JPA Method JPA Method in javax.persistence.EntityManager T find ( Class entityClass, Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence context , it is returned | |
EntityManager.find(entityClass,primaryKey,properties) - JPA Method. If the entity instance is contained in the persistence context , it is returned from there. If a vendor | |
EntityManager.flush() - JPA Method JPA Method in javax.persistence.EntityManager void flush () Synchronize the persistence context to the underlying database. Throws: TransactionRequiredException - if there is no transaction or if the entity manager has not been joined to the current transaction PersistenceException - if the flush fails Since: JPA 1.0 | |
EntityManager.setFlushMode(flushMode) - JPA Method JPA Method in javax.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: JPA 1.0 | |
EntityManager.getFlushMode() - JPA Method JPA Method in javax.persistence.EntityManager FlushModeType getFlushMode () Get the flush mode that applies to all objects contained in the persistence context . Return: flushMode Since: JPA 1.0 | |
EntityManager.lock(entity,lockMode) - JPA Method JPA Method in javax.persistence.EntityManager void lock ( Object entity, LockModeType lockMode ) Lock an entity instance that is contained in the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified | |
EntityManager.lock(entity,lockMode,properties) - JPA Method JPA Method in javax.persistence.EntityManager void lock ( Object entity, LockModeType lockMode, Map properties ) Lock an entity instance that is contained in the persistence context with the specified lock mode type | |
EntityManager.clear() - JPA Method JPA Method in javax.persistence.EntityManager void clear () Clear the persistence context , causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0 | |
EntityManager.detach(entity) - JPA Method JPA Method in javax.persistence.EntityManager void detach ( Object entity ) Remove the given entity from the persistence context , causing a managed entity to become detached. Unflushed changes made to the entity if any (including removal of the entity), will not be synchronized | |
EntityManager.joinTransaction() - JPA Method JPA Method in javax.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 the scope of the active | |
EntityManager.close() - JPA Method). If this method is called when the entity manager is joined to an active transaction, the persistence context | |
javax.jdo.JDOUserCallbackException This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners | |
AttachCallback.jdoPreAttach() - JDO Method JDO Method in javax.jdo. listener .AttachCallback void jdoPreAttach () This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the detached instance before the copy is made. Since: JDO 2.0 | |
AttachCallback.jdoPostAttach(attached) - JDO Method JDO Method in javax.jdo. listener .AttachCallback void jdoPostAttach ( Object attached ) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy is made. Parameters: attached The - corresponding (non | |
AttachLifecycleListener.preAttach(event) - JDO Method JDO Method in javax.jdo. listener .AttachLifecycleListener void preAttach ( InstanceLifecycleEvent event ) This method is called before a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the detached instance | |
AttachLifecycleListener.postAttach(event) - JDO Method JDO Method in javax.jdo. listener .AttachLifecycleListener void postAttach ( InstanceLifecycleEvent event ) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the corresponding persistent | |
ClearCallback.jdoPreClear() - JDO Method JDO Method in javax.jdo. listener .ClearCallback void jdoPreClear () Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared. This method is not modified by the enhancer. Since: JDO 2.0 | |
ClearLifecycleListener.preClear(event) - JDO Method JDO Method in javax.jdo. listener .ClearLifecycleListener void preClear ( InstanceLifecycleEvent event ) This method is called before the implementation calls the instance method ClearCallback.jdoPreClear and before it clears the values in the instance to their Java default values | |
ClearLifecycleListener.postClear(event) - JDO Method JDO Method in javax.jdo. listener .ClearLifecycleListener void postClear ( InstanceLifecycleEvent event ) This method is called after the ClearCallback.jdoPreClear method is invoked on the instance and the fields have been cleared by the JDO implementation. Parameters: event - the clear event. Since: JDO 2.0 | |
CreateLifecycleListener.postCreate(event) - JDO Method JDO Method in javax.jdo. listener .CreateLifecycleListener void postCreate ( InstanceLifecycleEvent event ) Invoked whenever an instance is made persistent via a call to javax.jdo.PersistenceManager.makePersistent or during persistence by reachability. Parameters: event - the create event. Since: JDO 2.0 | |
DeleteCallback.jdoPreDelete() - JDO Method JDO Method in javax.jdo. listener .DeleteCallback void jdoPreDelete () Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values | |
DeleteLifecycleListener.preDelete(event) - JDO Method JDO Method in javax.jdo. listener .DeleteLifecycleListener void preDelete ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent . Access to field values within this call are permitted | |
DeleteLifecycleListener.postDelete(event) - JDO Method JDO Method in javax.jdo. listener .DeleteLifecycleListener void postDelete ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent . This method is called after the instance transitions | |
DetachCallback.jdoPreDetach() - JDO Method JDO Method in javax.jdo. listener .DetachCallback void jdoPreDetach () This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the persistent instance before the copy is made. Since: JDO 2.0 | |
DetachCallback.jdoPostDetach(detached) - JDO Method JDO Method in javax.jdo. listener .DetachCallback void jdoPostDetach ( Object detached ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made. Parameters: detached - The corresponding (attached) persistent instance. Since: JDO 2.0 | |
DetachLifecycleListener.preDetach(event) - JDO Method JDO Method in javax.jdo. listener .DetachLifecycleListener void preDetach ( InstanceLifecycleEvent event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before the detached copy is made. It is called before the method DetachCallback | |
DetachLifecycleListener.postDetach(event) - JDO Method JDO Method in javax.jdo. listener .DetachLifecycleListener void postDetach ( InstanceLifecycleEvent event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy after the detached copy is made. It is called after the method DetachCallback | |
DirtyLifecycleListener.preDirty(event) - JDO Method JDO Method in javax.jdo. listener .DirtyLifecycleListener void preDirty ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed. Since: JDO 2.0 | |
DirtyLifecycleListener.postDirty(event) - JDO Method JDO Method in javax.jdo. listener .DirtyLifecycleListener void postDirty ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed. Since: JDO 2.0 | |
InstanceLifecycleEvent.InstanceLifecycleEvent(source,type) - JDO Constructor JDO Constructor in javax.jdo. listener .InstanceLifecycleEvent InstanceLifecycleEvent ( Object source, int type ) Creates a new event object with the specified source and type . Parameters: source - the instance that triggered the event type - the event type Since: JDO 2.0 | |
InstanceLifecycleEvent.InstanceLifecycleEvent(source,type,target) - JDO Constructor JDO Constructor in javax.jdo. listener .InstanceLifecycleEvent InstanceLifecycleEvent ( Object source, int type, Object target ) Creates a new event object with the specified source , type , and target . Parameters: source - the instance | |
InstanceLifecycleEvent.getEventType() - JDO Method JDO Method in javax.jdo. listener .InstanceLifecycleEvent int getEventType () Returns the event type that triggered this event. Return: the event type Since: JDO 2.0 | |
InstanceLifecycleEvent.getSource() - JDO Method JDO Method in javax.jdo. listener .InstanceLifecycleEvent Object getSource () The source object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Return: The persistent instance on any pre- callback | |
InstanceLifecycleEvent.getTarget() - JDO Method JDO Method in javax.jdo. listener .InstanceLifecycleEvent Object getTarget () The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Return: The detached instance for preDetach and postAttach | |
InstanceLifecycleEvent.getPersistentInstance() - JDO Method JDO Method in javax.jdo. listener .InstanceLifecycleEvent Object getPersistentInstance () Returns the persistent instance involved in the event. Return: The persistent instance involved in the event, or null if there was none. See Also: "Section 12.15, Java Data Objects 2.0 Specification" Since: JDO 2.0 | |
InstanceLifecycleEvent.getDetachedInstance() - JDO Method JDO Method in javax.jdo. listener .InstanceLifecycleEvent Object getDetachedInstance () Returns the detached instance involved in the event. Return: The detached instance involved in the event, or null if there was none. See Also: "Section 12.15, Java Data Objects 2.0 Specification" Since: JDO 2.0 | |
LoadLifecycleListener.postLoad(event) - JDO Method JDO Method in javax.jdo. listener .LoadLifecycleListener void postLoad ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is loaded from the data store. It is called after the method LoadCallback.jdoPostLoad is invoked on the persistent instance. Parameters: event - the load event. Since: JDO 2.0 | |
StoreLifecycleListener.preStore(event) - JDO Method JDO Method in javax.jdo. listener .StoreLifecycleListener void preStore ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit . It is called before the method | |
StoreLifecycleListener.postStore(event) - JDO Method JDO Method in javax.jdo. listener .StoreLifecycleListener void postStore ( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit . It is called after the field values |