Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 159 resultsRefresh
6

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
6

addInstanceLifecycleListener(listener, classes)

listener, Class... classes ) Adds the listener instance to the list of lifecycle event listeners ... as null, events for all persistent classes and interfaces will be sent to listenerInstance. The listenerInstance will be called for each event for which it implements the corresponding listenerInstance
6

javax.jdo.spi.RegisterClassListener

" event gets fired whenever a persistence-capable class is loaded and gets registered ... of a persistence-capable class. Since: JDO 1.0 void registerClass( RegisterClassEvent event) This method gets ... -capable class is registered. Parameters: event - a RegisterClassEvent instance describing the registered class plus metadata. Since: JDO 1.0
6

addInstanceLifecycleListener(listener, classes)

( InstanceLifecycleListener listener, Class[] classes ) Add the parameter listener to the list of instance lifecycle event ... all of the classes of interest. If the classes parameter is specified as null, events for all persistent classes and interfaces will be sent to the listener. The listener will be called for each event
4

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"
4

getDetachedInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached 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"
4

Query fails with failed to read

.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128 ... :69) org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame
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
4

Exception makes the system unusable for several minutes

.onWebSocketText(WebSocketServerListener.java:172) at org.eclipse.jetty.websocket.common.events ... .jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextFrame
3

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support