About API

forum_thread

ObjectDB and JPA

Hello !! I am new in JPA / ObjectDB development and I have many questions:   ... this list ). Hibernate supports JPA + its own old API + extensions. ObjectDB supports also JDO. But in the JPA context Hibernate ...

 
forum_thread

Enhancer problem

During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ... During development, I have used the enhancer API in a static block in the code that creates the EntityManagerFactory, ie. ...

 
issue

Better OSGI Compability

We are currently using objectdb using osgi. However, the objectdb jar seems to be very monolithic and should be more modular to make it easier to use it with osgi, samples are: - Remove SWING dependency from core objectdb bundle - Externalize persistence and jdo apis and not putting them into objectdb jar (conflicts with glassfish jars otherwise) - Build objectdb as ready-made osgi jar bundle (We're doing this currently) Feature Request Version: 2.2.3 Priority: Normal Status: Fixed Replies: 2 Type:  Feature Request ...

 
manual

ObjectDB 2.6 Developer's Guide

... applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB ...

 
forum_thread

Log is almost empty (log level 'trace')

Hi, Using 2.4.6_01 version on Linux (2.6.18, VPS)..  Just wondering what should I suppose to see in a log file with a log level 'trace'/'debug'.. Trying to fix an issue that server version sometimes accidentally quits without any notice.. My log file (independently on whats specified in config file) has only database open/close messages, some query.compiler info but nothing more..  Is that right behaviour? Are there are server statistics API/logs available? Regards, ... Is that right behaviour? Are there are server statistics API/logs available? Regards, Yuri ...

 
api-jpa

setLockMode(lockMode)

Set the lock mode type to be used for the query execution.(Method of javax.persistence.Query)

 
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. ... Hi.. Building a REST API (Jersey-based one) I noticed that every object I serialize to JSON has a ...

 
api-jpa

javax.persistence.criteria.SetJoin

The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.ListJoin

The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List.(Interface of JPA)

 
forum_thread

Recommendation - concurrent access multiple class v

Hi! I've just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for parallel deployments (same app across multiple servers). I am considering using ObjectDB, because of its advantages and easy usage, but I'm afraid that it might get corrupted because the manual says that we must not access ObjectDB with different versions of a class. Let's take the following scenario: ... just started to architect a new system, stateless JSON API, which is expected to have very high load and to require more servers for ...