About time

manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... reference to an object whose type is persistent at storage time, e.g. an Integer , or null value. Similarly, a field whose type is ... that contains objects of non persistent types, at storage time. As an extension to JDO, ObjectDB supports storing instances of any of ...

 
forum_thread

Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). ... 4. The point is, it has been a goal of mine for some time now, to find a way of programming basic "editor" interfaces like this, so that I am not spending a long time (I'm slow) programming what I'll call "mapping the UI to the ...

 
forum_thread

PersistenceManager.getObjectsById(Collection,boolean) throwing JDOException

I have a call to getObjectsById(Collection,boolean) that is throwing a JDOException the first time I'm attempting to retrieve an object. If I try again, then the second request succeeds. Any idea why this might occur? We're using ObjectDB 2.2.4_02. The collection being passed in is a HashSet<Object> containing a single oid object (the method is written to support multiple objects, but it seems to only be failing irregularly when only a single oid is present). I'm passing false in as the verification argument.... that is throwing a JDOException the first time I'm attempting to retrieve an object. If I try again, then the second ... to ignore them explains why it would work the second time around.  I believe that the same issue is occurring on calls to ...

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... in the instance tree. Checking for references each time would be too time consuming and complex. So my question is: is there a reliable way ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes.... an extent for a class has some overhead in terms of time and storage space. When extent management is not needed, it can be omitted ... by field f9 , null values are replaced at storage time with default values (e.g. new Integer(0) for a java.lang.Integer ...

 
forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have a server on ... complains with the following error every second (every time an object is added on the master DB) com.objectdb.o.UserException: ...

 
release

2.2.6

... Changed log format to include date and time . Changed class loader management. Fixed ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... line), or starting the server automatically at boot time and stopping it at shutdown time, or on restarting the server periodically (for instance, using crontab). ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... Something is really wrong with new build. First, every time I run Doctor or server, ODB is creating directory with some Windows path ... ( 10 ) execution time : 214 ms 2012 - 09 - 20 11 : 15 : 19.408 ... ( ) execution time : 612 ms 2012 - 09 - 20 11 : 15 : 20.021 ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... be more than 12 threads accessing the server at anyone time - if you're seeing more then it sounds like the threads are not ... you're right - the number of threads is growing each time I've changed it to clean up properly and also to open/close ...