Home » Search

About event

21-30 of 138Refresh
Forum
22

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id ... . ObjectArts   JPA lifecycle events are not applicable for embeddable classes. You can set an event
JDO Doc
21

javax.jdo.listener.InstanceLifecycleEvent

javax.jdo.listener.InstanceLifecycleEvent Implemented Interfaces: Serializable This is the event class used in life cycle event notifications. Note that although InstanceLifecycleEvent inherits ... InstanceLifecycleEvent(Object source, int type) Creates a new event object with the specified source and type. Creates
Result
14

Apache License, Version 2.0, January 2004

associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event
Manual
14

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section:
JDO Doc
14

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.
JDO Doc
14

JDO Internal Callbacks

The following interfaces can be implemented by persistence capable classes in order to response to JDO lifecycle events:
JPA Doc
14

JPA 2 Annotations

JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: Annotations for fields in JPA persistable classes: Annotations for additional JPA configuration: Annotations for JPA lifecycle event callbacks: Java EE container annotations: Many
JPA Doc
14

JPA Annotations for Callback Methods

The following annotations can mark methods as JPA callback methods: The Lifecycle Events section of the ObjectDB Manual explains how to use all these annotations on callback methods and with listener classes.
JPA Doc
14

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener
Result
14

ObjectDB Web Site - Terms and Conditions of Use

. 4. Limitations In no event shall ObjectDB Software, ObjectDB authors, ObjectDB Software