ObjectDB ObjectDB

Internal Website Search

91-100 of 159 resultsRefresh

locks on pure query activities

.events.JettyListenerEventDriver.onTextMessage(JettyListenerEventDriver.java:128) at org ... ) at org.eclipse.jetty.websocket.common.events.AbstractEventDriver.appendMessage(AbstractEventDriver.java:65) at org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver

NullPointerException in ENH.g(ENH.java:401)

cannot reproduce the error on request since I do not know the exact event which causes this state. Is there any ... .entities.event.Participant: transient (non entity class), used as the field type of Event.participants. com.mvolution.domain.entities.event.participant.Participant: an entity class with no instances

Calendar in Criteria Querys

().begin();         em.persist(new Event());         em.getTransaction().commit ... ();         Root e = query1.from(Event.class);         query1.select(e);         query1.where(cb ... ();         e = query.from(Event.class);         query.select(e);         ParameterExpression

Entity is not related to ObjectDB, but i get exception from ObjectDB

.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultLoadEventListener.loadFromDatasource ... .event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:420) [hibernate-core-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.event.internal.DefaultLoadEventListener.load

@PrePersist Implementation

You will have to collect 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

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 ... of A Then I expect a PostUpdate event to be fired for entity A, but no events are fired

Exception after update of indices of Entity class

.related"}) }) public class Event extends Entity {     @Embedded     private Recurrence ... = null;     private Event recurringEvent = null;     ... } @Embeddable public abstract class Relation {     private String relatedId = null;     private Event related = null;      ... } I

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 ... (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 that the attachments field is still empty). You find

com.objectdb.o.InternalException: null

.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1680) at java.awt.event.InvocationEvent ... ) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1680) at java.awt.event ... .awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue


= em.createQuery( "SELECT e,g FROM Event e, Guest g WHERE e.calendarId = :calendarId ... well: TypedQuery<Event> q1 = em.createQuery("SELECT e FROM Event e WHERE e.calendarId = :calendarId ... " + " AND :userId IN e.guests", Event.class); bensteele Ben Steele Maybe it was a cache problem and restarting

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