About event

forum_thread

Managing software release cycles.

How do you manage software release cycles with objectDB? For example we might have different installation of a given web application, and we might need to introduce new fields with default values or to change something in the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any command line tools like sqlPlus to connect to a DB and execute queries / scripts? ... you may have to write code. You can use the PostLoad event to adjust old objects to new format when they are loaded. ...

 
manual

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA. This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: Database Connection using JPA Working with JPA Entity Objects ...

 
forum_thread

Guestbook Tutorial (Eclipse/Glassfish)

I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have found one problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset on occasions; I am not sure what set of events causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be when restarting Glassfish or re-publishing the application, the database is empty. Any help would be much appreciated. #1 2012-09-19 19:07 I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have foun ...

 
forum_thread

Failed to read the value of field using reflection

I have recently encountered an issue with reading objects: ... (and added a converter callback attached to @PostLoad event so I get my concurrent hashmaps back after load). However, I noticed that ...

 
api-jdo

JDO Internal Callbacks

The following interfaces can be implemented by persistence capable classes in order to response to JDO lifecycle events: javax.jdo.listener.AttachCallback javax.jdo.listener.ClearCallback javax.jdo.listener.DeleteCallback ...

 
api-jpa

ValidationMode.AUTO

If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities.(Enum Constant of javax.persistence.ValidationMode)

 
api-jdo

javax.jdo.spi.RegisterClassEvent

A RegisterClassEvent event gets delivered whenever a persistence-capable class registers itself with the JDOImplHelper.(Class of JDO)

 
api-jdo

javax.jdo.listener.LoadCallback

This interface is used to notify instances of load events.(Interface of JDO)

 
issue

Server crash - Mismatch client-server protocol prefix

We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.  I've reviewed the server-side logs, and there are no events logged shortly before the crash.  Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot the entire server on which it's running.  The only recorded symptom is a client-side error (which fortunately gets auto-mailed to me): Bug Version: 2.5.2 Priority: High Status: Closed Replies: 4 Type:  Bug ...

 
forum_thread

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

After updating some of my code to java 8, enhancement threw "unexpected" exceptions from two of the source files I applied the most (maybe all) of the changes to. Problem might or might not have been related to the java 8 update. In any event, my enhancement problem went away when I updated ObjectDB from 2.5.6.x to 2.5.7_03. Maybe this will save someone a bit of time and effort. - Ron ... might not have been related to the java 8 update. In any event, my enhancement problem went away when I updated ObjectDB from ...