About error

forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... Hi, I am getting the following error when trying to open a database: "Attempt to open an database file ...

 
forum_thread

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   ... ]) as a primary key (error 691) at com.objectdb.jpa.EMImpl.find(EMImpl.java:554) at ...

 
release

2.0.3

... duplicate / missing JDO metadata. New error message when persisting a reference to a new (non managed) entity ...

 
forum_thread

Objectdb server out of heap space

I have had a server crash with the following stack trace: #1 2013-05-20 04:55 I have had a server crash with the following stack trace: java. lang . OutOfMemoryError : Java hea ...

 
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: ... The slave DB server complains with the following error every second (every time an object is added on the master DB) ...

 
release

2.0.5

... duplicate / missing JDO metadata. New error message when persisting a reference to a new (non managed) entity ...

 
forum_thread

Entity with java.util.Date column gives ClassCastException in BIRT

Copied a straightforward entity class from my coleague. Using Eclipse Kepler (Reporting) and stored it in ObjectDB 2.5.3_02. After creating an ObjectDB BIRT DataSource and a DataSet, entered a simple JPQL query to select the fields. Entity looks like this: ... classes. Is this a bug in ObjectDB or BIRT or is there an error in my entity class? edit ...

 
release

2.0.2

... duplicate / missing JDO metadata. New error message when persisting a reference to a new (non managed) entity ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... and try again in the catch block. If you still get the error then you can try waiting before trying the transaction again or trying ...

 
forum_thread

Java 8 Enhancer Problem

Hello! I am currently migrating my project to Java 8. I'm using Spring and AspectJ load time weaving. Unluckily the LTW option of Spring is global. If it's enabled it also tries to find other class transformers on the classpath. This is normaly not a problem because the ObjectDB enhancer ignores non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws an exception which causes Spring to stop weaving.  ... 14:13 The new error is not related to the Enhancer fix, but to another fix ( issue #222 ). ...