About Object Database

forum_thread

Custom Classloader: Issues with the Enhancer Agent

In my use case I generate some classes dynamically and load them with a custom classloader. The classloader is very standard and does something like this (simplified): ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... default ObjectDB configuration can be placed at deploy/object.conf , the ObjectDB log directory is deploy/log , and the database is created by default at deploy/db/guests.odb . I hope ...

 
forum_thread

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town; public ETown getTown() { return town; } public void setTown(ETown town) { this.town = town; } } And: ... (both forward and inverse) behave as expected in the Object DB Explorer, however when I try to read the Event type, I'm getting ... these two classes also a main with the failed query and a database (or code in the main that populates the database)? ...

 
forum_thread

Java 6/7 Performance Comparison

Hey, I've been using ObjectDB for a small scale home project to gain some familiarity before proposing it in a commercial project at work. What I've noticed though is that when using objectdb in embedded mode based on the console tutorial, there seems to be a bit of a performance gap running the same code between Java 6 & 7 Tracing it through I can see the bottle neck seems to be at the creation of the entity manager and I was wondering if there are any additional configuration options I may have missed while running under java 7. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

NoResultException: No matching results for a unique query

I am very often getting a "com.objectdb.o._NoResultException: No matching results for a unique query" when modifying my already persisted entities within a transaction. I cannot replicate it however because it happens infrequently. The weird thing is that the entity nevertheless gets comitted perfectly right and all data is correctly written so I have no clue what's going on!?? Here's the stacktrace (copy+paste from debug output): ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

InternalException during EntityManager.find()

Hello, we got following exception (ObjectDB version 2.7.1.b03). Can you explain what was happened? ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. ... a REST API (Jersey-based one) I noticed that every object I serialize to JSON has a clone field with "__odbHidden" suffix, ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: ... 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

Named Query Exception

[ObjectDB 2.4.6_06] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.6.0_25 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.LFL.X(LFL.java:1154) at com.objectdb.o.LFL.P(LFL.java:934) at com.objectdb.o.FIW.af(FIW.java:94) at com.objectdb.o.FIW.ad(FIW.java:55) at com.objectdb.o.SSS.aj(SSS.java:907)... 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) ... 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...