About page


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: ... initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled = ...


Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... initial = "256kb" resize = "256kb" page = "2kb" /> <recovery enabled = "true" sync = ...


Heap Limit reached although the option 'objectdb.temp.page-file' is activated

We persisted many entities in a transaction, unfortunately the heap reached its limit at any time although the flush and the GC were invoked regularly. The attachments show the memory heap dump of the biggest consumer. Which objects you would actually expect to remove by the garbage collector? Why the option objectdb.temp.page-file does not perform?   Options: <temp path="$temp" threshold="512mb" /> ... garbage collector? Why the option objectdb.temp.page-file does not perform?   Options: <temp ... /> System.setProperty("objectdb.temp.page-file", "true"); Version objectdb-2.6.6_05 ...



Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.(Annotation of JPA)


JPA Exceptions

Reference (JavaDoc) of the JPA exception classes, including PersistenceException, EntityExistsException, EntityNotFoundException, LockTimeoutException, NonUniqueResultException, NoResultException, OptimisticLockException, PessimisticLockException, QueryTimeoutException, RollbackException, TransactionRequiredException. JPA exceptions are represented by a hierarchy of unchecked exceptions: java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.persi ...


JPQL Case Statements (JPA 2.0)

JPQL 2.0 adds support of CASE statements in queries for conditional expressions (similar switch/case/default in Java), following the SQL syntax. Case statements are currently not supported by ObjectDB.... expose a named link (with id parameter) to the full view page of a fully loaded Element entity, and similarly links to the project or ...


Replicated cluster recovery

If I create a replicated database cluster as per http://www.objectdb.com/java/jpa/tool/replication what is the behaviour of the master database after a failure? For example, say I have MasterDB and SlaveDB in the cluster. If MasterDB goes offline the application will automatically switch to SlaveDB. When MasterDB comes back online it will have missed any activity that occured during the downtime. ... to read only (it is indicated at the beginning of the page but probably has to be emphasised). Your idea of switching the ...


Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. #1 2011-06-03 20:30 This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. This conce ...



... in queries. Fixed a critical bug in page caching (issues #116 , #119 , #121 ). Fixed a bug ... user count" bug ( issue #83 ). Fixed a page cache purge deadlock ( issue #85 ). Fixed handling ;drop ...


Understanding limitations of schema evolution

Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how to handle the case where one re-factors a class by moving one if it's Fields to a different class. Is this case managable? Thanks... of defferent objects)? Going over the schema update page http://www.objectdb.com/java/jpa/setting/schema it is not clear how to ...