Home » Search

About event

51-60 of 139Refresh
JDO Doc
5

getPersistentInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getPersistentInstance() Returns the persistent instance involved in the event. Returns: The persistent instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"
Forum
4

Multiple joins did not return expected result

Hello, I have 3 entity classes: Event - String title Calendar - List<Event> @OneToMany SharedCalendar extends Calendar - Calendar original Now I want to retrieve all events from a specific calendar by its id like: SELECT event FROM Calendar c1, SharedCalendar c2 INNER JOIN c1
Forum
4

Error 363 - Failed to read value of inverse relationship

private String id; @OneToMany(mappedBy="town") private Set events; public Set getEvents() { Set events = new HashSet(); if(this.events != null) { events.addAll(this.events); } return events; } public void
JDO Doc
4

deletePersistentAll()

. Similarly, if there are lifecycle listeners registered for delete events on affected classes
JPA Doc
4

GenerationType.AUTO

on how to create such resources in the event that it does not support schema generation or cannot create the schema resource at runtime. Since: JPA 1.0
JDO Doc
4

getSource()

Method 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. Returns: The persistent instance on any pre- callback
JDO Doc
4

getTarget()

Method 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. Returns: The detached instance for preDetach and postAttach
JDO Doc
4

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String OPTION_PREDIRTY_EVENT "javax.jdo.option
JDO Doc
4

javax.jdo.listener.AttachCallback

javax.jdo.listener Interface AttachCallback This interface is used to notify instances of attach events. Since: JDO 2.0 void jdoPostAttach(Object attached) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy
JDO Doc
4

javax.jdo.listener.ClearCallback

javax.jdo.listener Interface ClearCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of clear events. Since: JDO 2.0 void jdoPreClear() Called before the values in the instance are cleared. Called before the values in the instance are cleared. Transient fields