ObjectDB ObjectDB

Internal Website Search

101-110 of 161 resultsRefresh
2

@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
2

Method Invocation On All Entities

the deletion. You may define a callback or listener for JPA lifecycle events (see this manual page ... something? Yotam Yotam Boaz That is correct. Lifecycle events are implemented in JPA as client side events. DELETE and UPDATE queries bypass the JPA client side for direct execution in the database
2

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
2

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
2

InternalException

= 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
2

Dirty checking

there is: void postDirty(InstanceLifecycleEvent event) http://www.objectdb.com/api/java/jdo/listener ... can see, there are: a) Lifecycle Listener classes, e.g: http://www.objectdb.com/java/jpa/persistence/event and b) some ... /entities examples would be helpful dmoshal David Moshal You can use JPA lifecycle event methods, as
2

Missing (null) elements in eager loaded references

when I made an export, which happens all in one Thread. Is there an event, notification ... ? Kevin Kevin Pfaff > Is there an event, notification which indicates that all references have been resolved? Loading is not asynchronous, so there is no need for any event, and it is not
2

Problem upgrading

.event.ListenerMethod.receiveEvent(ListenerMethod.java:508) ~[vaadin-server-7.5.6.jar:7.5.6] at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198) ~[vaadin-server-7.5.6.jar:7.5.6] at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161) ~[vaadin-server-7.5.6.jar:7.5.6] at com.vaadin
2

@Convert is not supported?

lifecycle event (PostLoad). The purpose of converters is totally different (i.e. mapping RDBMS columns to Java types). support Support Thanks for "JPA lifecycle event" I didn't know ... of same currency object..." so this could be achieved by JPA lifecycle events. support Support Yes
2

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

but one corrupt instance is still included). I error happens when reading the field "Event.participants ... issue with the database file (before deleting all other entities of type "Event" I could not read the field "Event.participants" from any of them). Thanks in advance Markus Ritter doppelrittberger Markus

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