Internal Website Search
51-100 of 160 resultsJava FX tableview fill with an aggregated query$ControllerMethodEventHandler.handle(FXMLLoader.java:1729) at javafx.base/com.sun.javafx. event .CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at javafx.base/com.sun.javafx. event .EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234) at javafx.base/com.sun.javafx. event | |
Multiple joins did not return expected result Hello, I have 3 entity classes: Event - String title Calendar - List @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. events AS event INNER JOIN | |
Error 363 - Failed to read value of inverse relationship { @Id 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 setEvents(Set events ) { this. events = events ; } } Storing the objects works fine | |
Mismatch client-server protocol prefix void login(TrackerUser loggedInUser, AccessType accessType, String note) { LoginEvent event = new LoginEvent(); event .setAccessType(AccessType.REST); event .setNote(note); event .setTimestamp(new Date()); if(accessType != null) { event .setAccessType(accessType); } event .setTrackerUser(loggedInUser | |
locks on pure query activities(WebSocketServerListener.java:123) at org.eclipse.jetty.websocket.common. events .JettyListenerEventDriver ... .SimpleTextMessage.messageComplete(SimpleTextMessage.java:69) at org.eclipse.jetty.websocket.common. events ... . events .JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122) at org.eclipse.jetty | |
NullPointerException in ENH.g(ENH.java:401) on request since I do not know the exact event which causes this state. Is there any other way to fix ... . Two different classes with a similar name exist in the database: com.mvolution.domain.entities. event .Participant: transient (non entity class), used as the field type of Event .participants. com | |
Calendar in Criteria Querys; em.persist(new Event ());   ... = query1.from( Event .class); query1.select(e);   ... = query.from( Event .class); query.select(e);   | |
Entity is not related to ObjectDB, but i get exception from ObjectDB.java:3697) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate. event .internal ... .1.Final] at org.hibernate. event .internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:420) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate. event .internal | |
@PrePersist Implementation the information in a combination of more than one event . When a managed entity object is updated, to get the entity before the update use the @PreUpdate event , and to get the entity after the update use @PostUpdate. In order to be able to get told value in the @PreUpdate event , the entity | |
PostUpdate on array changes of strings. All other property changes fire events just fine. thoughts? dmoshal David Moshal Note: PostUpdate events are fired if the list contains other Entities ! So, the question ... to the b_list of and instance of A Then I expect a PostUpdate event to be fired for entity | |
javax.persistence.PostLoad JPA Annotation PostLoad 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.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.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.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.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 | |
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.EntityListeners JPA Annotation EntityListeners Target: TYPE Implemented Interfaces: Annotation Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied to an entity class or mapped superclass. Since: JPA 1.0 The JPA Lifecycle Events article explains | |
javax.persistence.ValidationMode.NONE JPA Enum Constant in javax.persistence.ValidationMode NONE The persistence provider must not perform lifecycle event validation. Since: JPA 2.0 | |
javax.persistence.ValidationMode.CALLBACK JPA Enum Constant in javax.persistence.ValidationMode CALLBACK The persistence provider must perform the lifecycle event validation. It is an error if there is no Bean Validation provider present in the environment. Since: JPA 2.0 | |
javax.persistence.ValidationMode.AUTO JPA Enum Constant in javax.persistence.ValidationMode AUTO If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities. If no Bean Validation provider is present in the environment, no lifecycle event validation takes place. This is the default behavior. Since: JPA 2.0 | |
javax.persistence.ExcludeDefaultListeners JPA Annotation ExcludeDefaultListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of default 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 | |
javax.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 | |
javax.persistence.GenerationType one. A vendor may provide documentation on how to create such resources in the event that it does not | |
javax.persistence.GenerationType.AUTO documentation 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 | |
Query fails with failed to read.onWebSocketText(WebSocketServerListener.java:166) org.eclipse.jetty.websocket.common. events ... .SimpleTextMessage.messageComplete(SimpleTextMessage.java:69) org.eclipse.jetty.websocket.common. events ... . events .JettyListenerEventDriver.onTextFrame(JettyListenerEventDriver.java:122) org.eclipse.jetty | |
Exception makes the system unusable for several minutes.common. events .JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128) at org.eclipse ... .eclipse.jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common. events .JettyListenerEventDriver.onTextFrame | |
Errors in log to repprt(WebSocketServerListener.java:171) at org.eclipse.jetty.websocket.common. events .JettyListenerEventDriver ... .messageComplete(SimpleTextMessage.java:69) at org.eclipse.jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common. events | |
again merger missing logs + objectdb exception. events .JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128) at org.eclipse ... .eclipse.jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common. events .JettyListenerEventDriver.onTextFrame | |
Collection update does not increase entity version and is not persisted Hello, I found a bug when adding elements to a collection of Entities: Event { Collection ... { String filename } If I call this method (all classes are enhanced) the version of the event does not increase and the updated event is not stored in the database (retrieve the event shows | |
com.objectdb.o.InternalException: null$ProcessingRunnable.run(RepaintManager.java:1680) at java.awt. event .InvocationEvent.dispatch(InvocationEvent ... ) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1680) at java.awt. event ... :1680) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue | |
missing merger$DoPostEvent.run(Timer.java:243) at java.desktop/java.awt. event .InvocationEvent.dispatch ... ) at org.eclipse.jetty.websocket.common. events .JettyListenerEventDriver ... .jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:67)   | |
retrieval again and again started(WebSocketServerListener.java:200) at org.eclipse.jetty.websocket.common. events ... ; at org.eclipse.jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:67) at org.eclipse.jetty.websocket.common. events | |
javax.jdo.InstanceCallbacks , StoreCallback A PersistenceCapable class that provides callback methods for life cycle events ... require callbacks on specific JDO instance life cycle events in order to correctly populate ... . When the persistent instance is made hollow, it can no longer generate change events | |
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 | |
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 | |
PersistenceManagerFactory.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void removeInstanceLifecycleListener ( InstanceLifecycleListener listener ) Remove the parameter listener instance from the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager | |
PersistenceManager.removeInstanceLifecycleListener(listener) - JDO Method JDO Method in javax.jdo.PersistenceManager void removeInstanceLifecycleListener ( InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0 | |
Query.deletePersistentAll() - JDO Method instances. Similarly, if there are lifecycle listeners registered for delete events on affected | |
javax.jdo.Query. Similarly, if there are lifecycle listeners registered for delete events on affected classes | |
javax.jdo.listener.StoreCallback JDO Interface StoreCallback This interface is used to notify instances of store events . Since: JDO 2.0 Public Methods void jdoPreStore () Called before the values are stored from this instance to the data store. Data store fields that might have been affected by modified non-persistent fields | |
javax.jdo.listener.LoadCallback JDO Interface LoadCallback This interface is used to notify instances of load events . Since: JDO 2.0 Public Methods void jdoPostLoad () Called after the values are loaded from the data store into this instance. This method is not modified by the enhancer. Derived fields should be initialized in | |
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.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 | |
javax.jdo.listener.DetachCallback JDO Interface DetachCallback This interface is used to notify instances of detach events . Since: JDO 2.0 Public Methods void jdoPostDetach (Object detached) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy | |
javax.jdo.listener.DeleteCallback JDO Interface DeleteCallback This interface is used to notify instances of delete events . Since: JDO 2.0 Public Methods 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 | |
PersistenceManager.makePersistent(pc) - JDO Method should use the jdoPostAttach callback or the postAttach lifecycle event listener. Any references | |
javax.jdo.listener.ClearCallback JDO Interface ClearCallback This interface is used to notify instances of clear events . Since: JDO 2.0 Public Methods 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 | |
javax.jdo.listener.AttachCallback JDO Interface AttachCallback This interface is used to notify instances of attach events . Since: JDO 2.0 Public Methods void jdoPostAttach (Object attached) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy | |
javax.jdo.spi.RegisterClassEvent JDO Class RegisterClassEvent java.lang.Object ∟ java.util.EventObject ∟ javax.jdo.spi.RegisterClassEvent A RegisterClassEvent event gets delivered whenever a persistence-capable class registers itself with the JDOImplHelper . Since: JDO 1.0 Public Constructors RegisterClassEvent |